Drawing a line between two region-body columns
I have divided the region-body in two. I would now like to draw a single line separating the two columns, can this be done ? Is there any way to write something in the column-gap ? Alternatively, since I am having a block flowing from one column to another could I have the right column block's left border to appear but not the left column block's left border to appear. I.e. right column of block ... | ... left column of block and not the usual | right column of block ... | ... left column of block which is easy to get with block border-left=1pt I see no way for this to work, but I would really like it to. Patrick Andries
Re: Debugging FOP
I had the same exception raised at that line number. I tried to debug looking into the source code. and found out that i was missing a page-sequence tag. Please check if you are missing any needed tags in your fo file. Thanks naveen Patrick Lanphier [EMAIL PROTECTED]To: [EMAIL PROTECTED] sgroup.com cc: Subject: Debugging FOP 04/19/02 07:16 AM Please respond to fop-user How do you debug an file being input in fo format to fop when all one gets is the following. It does not provide you with a line number. [EMAIL PROTECTED] fop-0.20.3]# ./fop.sh -d -fo test.fo -pdf test.pdf [DEBUG]: Input mode: [DEBUG]: FO [DEBUG]: fo input file: test.fo [DEBUG]: Output mode: [DEBUG]: pdf [DEBUG]: output file: test.pdf [DEBUG]: OPTIONS [DEBUG]: no user configuration file is used [default] [DEBUG]: debug mode on [DEBUG]: dump configuration [DEBUG]: quiet mode on [DEBUG]: base directory: file:/tmp/fop-0.20.3/ [INFO]: FOP 0.20.3 [DEBUG]: using SAX parser org.apache.xerces.parsers.SAXParser [INFO]: building formatting object tree [DEBUG]: setting up fonts [ERROR]: null org.apache.fop.apps.FOPException at org.apache.fop.apps.Driver.render(Driver.java:486) at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:72 ) at org.apache.fop.apps.Fop.main(Fop.java:19) - Patrick Lanphier The Artemis Group http://www.artemisgroup.com phone: 814-235-0444 fax: 800-582-9710
Re: Debugging FOP
I would agree most of the time it has to do with the formatting of the XML or XSL however, it's very hard to tell from the error messages that are recieved error messages need to be better. Thanks much for your input. Patrick Lanphier The Artemis Group http://www.artemisgroup.com phone: 814-235-0444 fax: 800-582-9710 On Fri, 19 Apr 2002 [EMAIL PROTECTED] wrote: I had the same exception raised at that line number. I tried to debug looking into the source code. and found out that i was missing a page-sequence tag. Please check if you are missing any needed tags in your fo file. Thanks naveen Patrick Lanphier [EMAIL PROTECTED]To: [EMAIL PROTECTED] sgroup.com cc: Subject: Debugging FOP 04/19/02 07:16 AM Please respond to fop-user How do you debug an file being input in fo format to fop when all one gets is the following. It does not provide you with a line number. [EMAIL PROTECTED] fop-0.20.3]# ./fop.sh -d -fo test.fo -pdf test.pdf [DEBUG]: Input mode: [DEBUG]: FO [DEBUG]: fo input file: test.fo [DEBUG]: Output mode: [DEBUG]: pdf [DEBUG]: output file: test.pdf [DEBUG]: OPTIONS [DEBUG]: no user configuration file is used [default] [DEBUG]: debug mode on [DEBUG]: dump configuration [DEBUG]: quiet mode on [DEBUG]: base directory: file:/tmp/fop-0.20.3/ [INFO]: FOP 0.20.3 [DEBUG]: using SAX parser org.apache.xerces.parsers.SAXParser [INFO]: building formatting object tree [DEBUG]: setting up fonts [ERROR]: null org.apache.fop.apps.FOPException at org.apache.fop.apps.Driver.render(Driver.java:486) at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:72 ) at org.apache.fop.apps.Fop.main(Fop.java:19) - Patrick Lanphier The Artemis Group http://www.artemisgroup.com phone: 814-235-0444 fax: 800-582-9710
Re: Drawing a line between two region-body columns
J.Pietschmann wrote: Patrick Andries wrote: I have divided the region-body in two. I would now like to draw a single line separating the two columns, can this be done ? Is there any way to write something in the column-gap ? Alternatively, since I am having a block flowing from one column to another could I have the right column block's left border to appear but not the left column block's left border to appear. You can use static content in a region overlapping the region-body with the text flow. Use an empty block or table with absolute positioning and height settings. Yes, as often the solutions proposed assume absolute positions, I would much prefer to be able to do this sort of thing starting after a number of arbitrary blocks (spanned here). I think that the region-body should not indicate the number of columns, but one or several flow-body (let's say) which could have varying number of columns (1,2,3...). A model superior to what is available today (one can only indicate a fixed number of columns or span them). Would also be nice if this flow-body could then have decoration attributes for the column gap or for the different borders of the columns defined. Just an idea. BTW please post this kind of questions only to fop-user. In general, avoid cross posting to both lists. Ok. P. Andries
error generating font metrics file
Have FOP 0.20.3 installed and have successfully used it to convert various FO to PDF (including the examples). Trying to install another font. Following instructions at xml/apache.org/fop/fonts.html I run the following small script --- FOPHOME=/java/java/Apache/fop LOCALCLASSPATH=\ ${FOPHOME}/build/fop.jar\ :${FOPHOME}/lib/xerces.jar\ :${FOPHOME}/lib/xalan.jar\ :${FOPHOME}/lib/batik.jar\ java -cp ${LOCALCLASSPATH} org.apache.fop.fonts.apps.PFMReader $* -- $ mkfopfont go01bjsa.pfm go01bjsa.xml Exception in thread main java.lang.NoClassDefFoundError: org/apache/xml/serialize/BaseMarkupSerializer Is this a known problem? Am I doing something wrong? I apologize for asking a question that has probably been asked 100 times BUT there doesn't seem to be any working archives for this list. What's up with that? R.Parr TemporalArts