Hello all, 

I've checked through the archives and FAQ, and sure enough, hyphenation
looks like a pretty common issue.... but I'm still having a little
trouble with it.

I'm using a docbook XML file which I converted to .fo using xmlto, and
I'm now trying to take that file and turn it into a PDF.

 I've got a Java runtime installed (j2re) and JAVA_HOME is set
correctly, and I've downloaded Jimi and taken the class file and put it
in my fop directory, and now I've hit a brick wall. 

When I run the program like so:

[EMAIL PROTECTED] fop-0.20.5rc2]$ ./fop.sh -fop mydocument.fo -pdf
mydocument.pdf

I get a complete fop usage help message, then the output:

[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] FOP 0.20.5rc2
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[ERROR] null

at that point the program apparently crashes, returning me to the
command line and not leaving me a pdf.  

(I tried this with one and two dashes in front of the flags, in case I'd
read wrong and it was --pdf and not -pdf).

It should be the same to run it with just the file names, not the flags:
./fop.sh rcserver.fo rcserver.pdf

But it isn't: it crashes in a completely different way, repeating this
warning several hundred times:

[ERROR] Error building hyphenation tree for language en
[ERROR] Couldn't find hyphenation pattern en

Which baffles me completely. 

Isn't it supposed to default to en (English) when it can't find any
other hyphenation patterns? Shouldn't it give up and just not hyphenate?

Anyway, if you've got any clue about it, I'd appreciate it.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to