Re: Norwegian hyphenation rules

2011-09-14 Thread Lars Bjørndal
Hello, Simon, and thank you much for your valuable feedback! You wrote: This should work. If you are using fop downloaded from Apache, use: fop --execdebug xxx.fo xxx.pdf to see the classpath, and check whether /home/lrs/fop/fop-hyph.jar is part of it. Also check if

Error messages from fop

2011-09-14 Thread Lars Bjørndal
Hello I'd like to convert the following file into PDF, using fop version 0.95. http://lamasti.net/filer/test.fo The fo file is generated from an Docbook XML file with xsltproc. The rest of this mail shows the output from fop, and I hope someon could help me find a way out... The CLASSPATH

Producing PDF from subset of IF file pages

2011-09-14 Thread jeanyo
Hi, I'm new to FOP. I could not find any discussion related to my question. My goal is to produce a PDF that contains only a subset of pages from a FOP intermediate (IF) file. I thought I could manipulate the IF file, deleting some of the page-sequence and page elements, but this does not

Re: Producing PDF from subset of IF file pages

2011-09-14 Thread Jeremias Maerki
Hi Melanie, IF page and page-segment elements are generally self-contained. I can imagine that there could be problems with document navigation tags, so they might need to be filtered, too. Did you get any specific error message? The X/Y coordinates are indendent between pages. You can filter

Re: Producing PDF from subset of IF file pages

2011-09-14 Thread jeanyo
Thanks for your help! I have attached two files: - premod.if.xml: This is the untouched IF file. - postmod.if.xml: This is premod.if.xml, but with many of the page elements and some page-sequence elements removed. You will notice extra white space where elements were deleted. The specific

Re: Producing PDF from subset of IF file pages

2011-09-14 Thread jeanyo
Actually, here are the file attachments... jeanyo wrote: I have attached two files: - http://old.nabble.com/file/p32464608/premod.if.xml premod.if.xml : This is the untouched IF file. - http://old.nabble.com/file/p32464608/postmod.if.xml postmod.if.xml : This is premod.if.xml, but

RE: Producing PDF from subset of IF file pages

2011-09-14 Thread Eric Douglas
Actually, did you upload them somewhere to link? I believe this distribution list does not allow attachments. -Original Message- From: jeanyo [mailto:melanie.dr...@gmail.com] Sent: Wednesday, September 14, 2011 11:43 AM To: fop-users@xmlgraphics.apache.org Subject: Re: Producing PDF

RE: Producing PDF from subset of IF file pages

2011-09-14 Thread jeanyo
Sorry, I believe these links should work: http://old.nabble.com/file/p32464608/premod.if.xml http://old.nabble.com/file/p32464608/postmod.if.xml Eric Douglas wrote: Actually, did you upload them somewhere to link? I believe this distribution list does not allow attachments. -- View

Re: Producing PDF from subset of IF file pages

2011-09-14 Thread Jeremias Maerki
Hmm, a NullPointerException is not a very nice way to handle this. Would you mind creating a Bugzilla issue for this maybe? https://issues.apache.org/bugzilla/enter_bug.cgi?product=Fop Anyway, if all you need are hard copies, you can probably just filter all nav:* elements

Can FOP work backwards?

2011-09-14 Thread Eric Douglas
I know the intention of FOP is to create PDF, but since FOP did create the PDF the code should be there to read the PDF. I want to take a PDF (generated by FOP) and read it back in, to be able to print it, or to display it in a Swing component. I already have a Swing component, if FOP can tell me

Re: Can FOP work backwards?

2011-09-14 Thread mehdi houshmand
On 14 September 2011 18:31, Eric Douglas edoug...@blockhouse.com wrote: I know the intention of FOP is to create PDF, but since FOP did create the PDF the code should be there to read the PDF. No, FOP doesn't parse PDF. I want to take a PDF (generated by FOP) and read it back in, to be able

Re: Error messages from fop

2011-09-14 Thread Simon Pepping
The problem does not occur in fop-1.0, nor in the current development version of fop. It may be bug 46386 (see https://issues.apache.org/bugzilla/show_bug.cgi?id=46386). That bug report suggests that the problem is due to an empty inline with an id. You may either remove such elements, or upgrade

Re: Norwegian hyphenation rules

2011-09-14 Thread Simon Pepping
Yes, I realized that FOP_HYPHENATION_PATH is used in debian and ubuntu, and in fop's own startup script, and apparently not in fedora. Does the fedora script have no option to add the path to the hyphenation jar file, other than modifying the script? Simon On Wed, Sep 14, 2011 at 11:03:43AM