Re: SVG rendering without border?

2005-08-22 Thread Jeremias Maerki
If you get borders around SVG files, it's not FOP that's creating them. But I don't know what DocBook does. If you have a small FO file that demonstrates the problem we might be able to help. On 19.08.2005 17:43:59 Martin Honermeyer wrote: I am creating a DocBook PDF using FOP. My SVG always

Re: FO - Adding Filler Pages for page count multiple of 16

2005-08-22 Thread Jeremias Maerki
I don't think such a thing is directly possible with XSL-FO. Your best chance is probably to do a two-pass approach, noting the number of generated pages in the first run and then injecting additional blank pages in the second run. On 20.08.2005 06:32:59 Prakash R wrote: Hi, I'm new to FO.

Need Help : FO file converted to pdf gets corrupted with '#'

2005-08-22 Thread fdbt dbt
Hi, I am trying to convert an xsl:fo (attached sample.xml) file to a pdf file using Apache FOP. The ouput gets partially corrupt displaying '#' instead of any character in the second half of the file. (output file sample.pdf attached). i'm trying to figure the reason but not really getting

Re: FO - Adding Filler Pages for page count multiple of 16

2005-08-22 Thread Chris Bowditch
Jeremias Maerki wrote: I don't think such a thing is directly possible with XSL-FO. Your best chance is probably to do a two-pass approach, noting the number of generated pages in the first run and then injecting additional blank pages in the second run. Jeremias is right, you can't do want

Re: Need Help : FO file converted to pdf gets corrupted with '#'

2005-08-22 Thread Jeremias Maerki
I'm afraid I can't reproduce it. The XML file looks fine. On 22.08.2005 13:56:53 fdbt dbt wrote: Hi, I am trying to convert an xsl:fo (attached sample.xml) file to a pdf file using Apache FOP. The ouput gets partially corrupt displaying '#' instead of any character in the second half of

Re: Specifying Fop 'fontBaseDir' property using command line parameters

2005-08-22 Thread Borut Hadžialić
On 8/22/05, Jeremias Maerki [EMAIL PROTECTED] wrote: Only if you implement it yourself by changing the source code. On 22.08.2005 14:46:42 Borut Hadžialiæ wrote: is there a way to specify the fontBaseDir property using a command-line option directly, instead of using -c and a

RE: Need Help : FO file converted to pdf gets corrupted with '#'

2005-08-22 Thread Rymasz Jacky
I tried it with the 0.20.5RC and works fine with me. I can't reproduce it. -Message d'origine- De : Jeremias Maerki [mailto:[EMAIL PROTECTED] Envoyé : lundi 22 août 2005 14:52 À : fop-users@xmlgraphics.apache.org Objet : Re: Need Help : FO file converted to pdf gets corrupted with '#'

Re: Need Help : FO file converted to pdf gets corrupted with '#'

2005-08-22 Thread David Delbecq
Tested with yuor attached sample.xml and fop-0.20.5 Could not reproduce. Output is fine (see attachement) Le Lundi 22 Août 2005 13:56, fdbt dbt a écrit : Hi, I am trying to convert an xsl:fo (attached sample.xml) file to a pdf file using Apache FOP. The ouput gets partially corrupt

Re: Specifying Fop 'fontBaseDir' property using command line parameters

2005-08-22 Thread Jeremias Maerki
Only if you implement it yourself by changing the source code. On 22.08.2005 14:46:42 Borut Hadžialiæ wrote: is there a way to specify the fontBaseDir property using a command-line option directly, instead of using -c and a configuration file, when executing org.apache.fop.apps.Fop?

Re: FO - Force Pages on same spread

2005-08-22 Thread Prakash R
I meant putting the two pages on two different pages but making sure they are side by side like when you open the book you can see the pages side by side(i.e. on the same spread). Thank you. Prakash --- Jeremias Maerki [EMAIL PROTECTED] wrote: Are you talking about imposition (two-up)? Putting

RE: FO - Force Pages on same spread

2005-08-22 Thread Rymasz Jacky
Do you mean using this property of fo:page-sequence: force-page-count=end-on-even This will give you a blank page at the end of your page sequence if the last page is odd... Making you last page even and blank. Is that what you're looking for? Jack -Message d'origine- De : Prakash R

Re: Need Help : FO file converted to pdf gets corrupted with '#'

2005-08-22 Thread fdbt dbt
I had a J2SE 6.0 early access release installation on my machine. (http://download.java.net/download/jdk6/binaries/jdk-6_0-ea-bin-b48-windows-i586-18_aug_2005.exe). This had taken precedence and hence was getting the error. The error is still reproducible by using this JRE. I was able to resolve

Re: FO - Adding Filler Pages for page count multiple of 16

2005-08-22 Thread Jeremias Maerki
No, you don't need an additional tool, only some custom Java code and probably an extension to your stylesheet. Step 1: Use the Driver.getResults() method to determine the number of pages generated during the first, normal run. See here for more info:

Re: FO - Force Pages on same spread

2005-08-22 Thread Jeremias Maerki
I'm still not sure I understand you correctly, but then I think you need to look at fo:conditional-page-master-reference which allows you to specify separate simple-page-masters for odd and even pages. http://www.w3.org/TR/xsl/slice6.html#fo_conditional-page-master-reference

RE: FO - Force Pages on same spread

2005-08-22 Thread Prakash R
No. I have two pages within my document(which has pages preceding and following these pages) and I need to make sure they end up side by side pages (as when you open the book the two pages are next to each other rather than having to turn pages). The first of these 2 pages needs to be on the

Re: FO - Force Pages on same spread

2005-08-22 Thread Chris Bowditch
Prakash R wrote: Let me try to explain this with an example. I have a document which has say 10 pages. Within this document somewhere in between I have 2 pages(page number not known until the PDF is generated) which are consecutive and are someway related. So I would like for these two pages

Re: Specifying Fop 'fontBaseDir' property using command line parameters

2005-08-22 Thread Borut Hadžialić
On 8/22/05, Borut Hadžialić [EMAIL PROTECTED] wrote: On 8/22/05, Jeremias Maerki [EMAIL PROTECTED] wrote: Only if you implement it yourself by changing the source code. On 22.08.2005 14:46:42 Borut Hadžialiæ wrote: is there a way to specify the fontBaseDir property using a

Building fop trunk

2005-08-22 Thread Teus Benschop
Hi, Http://xml.apache.org/fop/compiling.html describes how to build FOP from source code and it refers to a script called build.sh. When downloading all the source code using svn co http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk, it appears the script build.sh is not there. How to