Problem Installing fop under Linux

2002-11-11 Thread david zuccaro
Greetings!, I'm trying to install fop. When I try to run it I get this error: java org.apache.fop.apps.Fop -fo bgimage.fo -pdf myfile.pdf Exception in thread main java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger at org.apache.fop.apps.Fop.main(Unknown

RE: Problem Installing fop under Linux

2002-11-11 Thread Roland Neilands
David, I'm trying to install fop. 0.20.4 is the newest version. RC means Release Candidate. java org.apache.fop.apps.Fop -fo bgimage.fo -pdf myfile.pdf Exception in thread main java.lang.NoClassDefFoundError: org/apache/avalon/framework/logger/Logger at

RE: Problem Installing fop under Linux

2002-11-11 Thread david zuccaro
0.20.4 is what I am trying to install. then compare the CLASSPATH with the actual command line. not sure what you mean. This is my command line: java org.apache.fop.apps.Fop -fo bgimage.fo -pdf myfile.pdf

RE: Problem Installing fop under Linux

2002-11-11 Thread Roland Neilands
David, 0.20.4 is what I am trying to install. then compare the CLASSPATH with the actual command line. not sure what you mean. Have a look in fop.bat : uses the -cp parameter to pass in the classpath. I think you're missing logkit-1.0.jar. This is my command line: java

RE: Problem Installing fop under Linux

2002-11-11 Thread david zuccaro
I apologize Roland, I didn't quite catch the distinction between 0.20.4 and 0.20.4rc. I have now installed the correct version of fop and updated the directories appropriately. Unfortunately I still get the same error. Have a look in fop.bat : uses the -cp parameter to pass in the classpath.

RE: Problem Installing fop under Linux

2002-11-11 Thread Roland Neilands
David, logkit-1.0.jar doesn't seem to come with the linux version of fop. My mistake; Open mouth, change foot. Check each jar in the 'build' 'lib' dirs are in your CLASSPATH. If you're happy this is correct, check the current value `echo $CLASSPATH` when you run it. Other suggestions: Run

RE: Problem Installing fop under Linux

2002-11-11 Thread david zuccaro
Doh! I see the problem: /usr/local/src/fop-0.20.4rc/avalon-framework-cvs-20020315.jar should be: /usr/local/src/fop-0.20.4rc/lib/avalon-framework-cvs-20020315.jar Thank you very much for your help Roland. Regards, David

Problem reading userconfig.xml on UNIX

2002-11-11 Thread Müller, Markus
Hi there, I have trouble using the userconfig.xml on UNIX. FOP generates these messages: -- some lines omitted -- [DEBUG] OPTIONS [DEBUG] user configuration file: /u/BSK27/fop0.20.4/conf/userconfig.xml [DEBUG] debug mode on [DEBUG] dump configuration [DEBUG] quiet mode on [DEBUG] Using

Re: dynamic sizing of label-end() body-start()

2002-11-11 Thread Oleg Tkachenko
Eric Smith wrote: I cannot see in the docs how to have the label size automatcally set by the width of the label. I am using with level=multiple. Accordingly the label may be 1. or 1.4 or 1.4.2.7 or whatever. Anyone know how to do this? Well, fo lists are not very smart objects and without a

Re: Table and first/last page

2002-11-11 Thread Jeremias Maerki
Here's a sample of a layout-master-set that has different page headers for the first and other pages. The important hint is the region-name that is overridden in fo:region-before. fo:layout-master-set fo:simple-page-master master-name=IS-11 page-height=29.7cm page-width=21cm

Space After fo:block

2002-11-11 Thread Balajee Chandrasekaran
Hi All, In my generated PDF file from FO... within the fo:flow element continuous fo:block elements are separated with some space but continuous fo:table elements are not separated by any space.. my element descriptions in fo are as follows

Re: Problem reading userconfig.xml on UNIX

2002-11-11 Thread Oleg Tkachenko
Müller, Markus wrote: I have trouble using the userconfig.xml on UNIX. FOP generates these messages: [DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [ERROR] Could not load user configuration file /u/BSK27/fop0.20.4/conf/userconfig.xml - error: Content is not allowed in prolog. Who

Re: Space After fo:block

2002-11-11 Thread Oleg Tkachenko
Balajee Chandrasekaran wrote: In my generated PDF file from FO... within the fo:flow element continuous fo:block elements are separated with some space but continuous fo:table elements are not separated by any space.. I cannot reproduce your problem, I multiplied your table and then block and

page-position=last, FOP vs XEP

2002-11-11 Thread Nwilan Glirt
It has come to my attention that page-position=last is not yet implemented in FOP. That is a big problem for the purpose I have. I tried with XEP (from RenderX) and it seems to work here. The problem with XEP is a) it does note support pcl output, which I need, and b) it is a

page-position=last vs. conditional blocks

2002-11-11 Thread Nwilan Glirt
Now that I discovered that page-position=last is not implemented in FOP, I am looking for alternative ways to produce first, middle and last specific pages. Is there any way to do some conditional stuff on blocks such as testing if we are currently writing the last page?

Re: page-position=last, FOP vs XEP

2002-11-11 Thread Jeremias Maerki
On Mon, 11 Nov 2002 14:33:22 +0100 Nwilan Glirt wrote: It has come to my attention that page-position=last is not yet implemented in FOP. That is a big problem for the purpose I have. I tried with XEP (from RenderX) and it seems to work here. The problem with XEP is a) it does note support

Re: page-position=last vs. conditional blocks

2002-11-11 Thread Jeremias Maerki
If you know what's exactly on your last page (ex. the last page is a form that the recipient of the document has to fill out) you could try to use two page-sequences, where the second page-sequence only defines a single page-master for the last page. But that won't work if content flows from the

RE: page-position=last, FOP vs XEP, business forms

2002-11-11 Thread Ward, Christopher
Would it be posible to iterate over your list of invoices (by using recursion with the head and tail approach in the xslt translation). But keep a counter of the number of invoices processed this page. When the counter hits a certain level start a new page by doing the carried forward/brought

Re: page-position=last vs. conditional blocks

2002-11-11 Thread Oleg Tkachenko
Nwilan Glirt wrote: Now that I discovered that page-position=last is not implemented in FOP, I am looking for alternative ways to produce first, middle and last specific pages. Is there any way to do some conditional stuff on blocks such as testing if we are currently writing the last page? No,

Re: page-position=last, FOP vs XEP, business forms

2002-11-11 Thread Jeremias Maerki
Of course. This approach has been proposed a number of times, but that only works if you really know the height of each invoice position in advance. But at least for me, it's not that general solution I'm looking for. Let's hope this helps at least Nwilan Glirt. On Mon, 11 Nov 2002 15:49:00 +

Re: page-position=last, FOP vs XEP, business forms

2002-11-11 Thread Oleg Tkachenko
Another *hypothetical* workaround for the last page problem might be the idea to use area tree output. FOP in xml output mode produces area tree xml document and in this document one can select /AreaTree/Page[last()] - that's exactly areas on the last page. Then fo should be changed somehow

Page subsequences exhausted. Using previous subsequence.

2002-11-11 Thread Moisio Juha
Hi, I'm having weird problem... I get error message Page subsequences exhausted. Using previous subsequence. when renderin xml xsl to pcl. PDF and PS is ok. Has somebody had this kind of problem? I attached my files... eka.xml eka.xsl jep.svg Regards, Juha Moisio / Tietonauha Oy

page-position=first

2002-11-11 Thread Scott Moore
As mentioned, page-position=last does not work. But does page-position=first? Scott

Re: Page subsequences exhausted. Using previous subsequence.

2002-11-11 Thread Oleg Tkachenko
Moisio Juha wrote: I'm having weird problem... I get error message Page subsequences exhausted. Using previous subsequence. when renderin xml xsl to pcl. PDF and PS is ok. Well, error message about page sequences seems to have nothing to do with a real problem - you are trying to render svg

Re: how to center a table horizontally on the page

2002-11-11 Thread Oleg Tkachenko
Biying Huang wrote: I have a table which has dynamic table-width. I need to put it in the center of the page horizontally so I put the fo:table in a fo:block and set text-align=center to the fo:block. But this doesn't work. The table is always on the left. text-align is about aligning *inline*