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 /home/lrs/fop/fop-hyph.jar exists and is
> readable.

I use Fedora 14 with a pre built RPM package, fop-0.95-5.fc14.noarch.
the fop-hyph.jar file exists, and is readable. I ended up modifying the
/usr/bin/fop shell script, by adding the path to the fop-hyph.jar file
to the CLASSPATH variable. BTW the ~/.foprc file is also read, but it
seems that putting the environment variable
FOP_HYPHENATION_PATH="/home/lrs/fop/fop-hyph.jar" in it, has no effect.

I still have problems and error message, let me mention those in another
mail.

Lars

> On Sun, Sep 11, 2011 at 08:39:28PM +0200, Lars Bjørndal wrote:
>> 
>> I then used 'unzip -v fop-hyph.jar' to list the content, and found the
>> file 'hyph/no.hyp'. In ~/.foprc, I put:
>> 'FOP_HYPHENATION_PATH="/home/lrs/fop/fop-hyph.jar"'.
>> 
>> In the .fo file, I've tried both, language="no" and language="nb". In
>> both cases, I get the following output while running fop:
>> 
>> 11.sep.2011 20:14:51 org.apache.fop.hyphenation.Hyphenator
>> getHyphenationTree
>> SEVERE: Couldn't find hyphenation pattern no
>> 
>> Any ideas?
>> 
>> Lars

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to