Vincent, Thanks for your replies.
On Mon, 2008-05-19 at 09:25 +0100, Vincent Hennebert wrote: > Hi, > > Tavmjong Bah wrote: > > Hi, > > > > Fop (0.95beta) is included in Fedora 9. Has anybody gotten hyphenation > > to work with this package? I get the error message: > > > > SEVERE: Couldn't find hyphenation pattern en > > > > I have downloaded the precompiled JAR file from OFFO and tried setting > > the CLASSPATH to include it. I've also tried setting the > > Are you writing your own program embedding FOP, or are you using the > command-line version? Command line version. > You can copy the fop-hyph.jar file into the lib/ or build/ directory of > the FOP distribution. This makes hyphenation patterns available to every > user of the machine (if this is of any interest for you), however the > file may not survive a subsequent update of the FOP rpm package. A. Since I wasn't building FOP myself, I didn't have a build directory (it's built already in Fedora 9). There also isn't an explicit lib directory. I tried putting it the same place where fop-0.95.jar is located. > > FOP_HYPHENATION_PATH to point to it. > > How did you do exactly? Note that the variable must explicitly include > ‘fop-hyph.jar’: > export FOP_HYPHENATION_PATH="/path/to/my/fop-hyph.jar" > Just setting the directory won’t work. Tried that... still doesn't work. > You can have a look at the following page for help: > http://offo.sourceforge.net/hyphenation/fop-stable/installation.html > (although I’ve just noticed that the explanation about > FOP_HYPHENATION_PATH is slighty inexact —will need correction.) That's where I looked first. I am thinking that maybe it's due to the way it was packaged by Fedora. I will try to email the person that did the packaging. I have built fop myself... and it is now finding the hyphenation file. Tav --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]