[oXygen-user] Couldn't find hyphenation pattern en_US
Sorin Ristache
Wed May 5 04:46:54 CDT 2010
Hello,
The remedy is to add a jar file with the hyphenation files for the
language of the TEI file (en_US) to the [Oxygen-install-folder]/lib
folder. Apache FOP does not embed hyphenation files due to licensing
restrictions but these files can be downloaded from the OFFO project:
http://offo.sourceforge.net/hyphenation/index.html
However that error does not stop FOP processing on my computer in Oxygen
10.3 (which includes Saxon-B 9.1.0.7) and in later Oxygen versions. I
get the following error in the Apache FOP output:
SEVERE: Couldn't find hyphenation pattern en_US
but the PDF output file is generated. I just saved the content of
http://tei.oucs.ox.ac.uk/ENRICH/gBank/gBank.xml?style=raw
as a local XML file and applied the predefined TEI P5 PDF transformation
scenario. I get the same result if I apply the scenario directly to the
URL.
What Oxygen build number do you use? It is available in the Help ->
About dialog. Do you run a custom transformation scenario? Did you set
an Apache FOP configuration file in Preferences? Do you get the same
result if you open the URL from menu File -> Open URL and apply the same
scenario?
Regards,
Sorin
On 5/4/2010 8:23 PM, Janusz S. Bień wrote:
>
> I experiment with transforming TEI to PDF using the file
>
> http://tei.oucs.ox.ac.uk/ENRICH/gBank/gBank.xml?style=raw
>
> The first error I get is
>
> --8<---------------cut here---------------start------------->8---
> SystemID: /home/jsbien/ENRICH/all/gBank.xml
> Engine name: Saxon-B 9.1.0.7
> Severity: error
> Description: The process 'FOP' ended with code: 1.
> The error was:
> 2010-05-04 14:32:51 org.apache.fop.hyphenation.Hyphenator getHyphenationTree
> SEVERE: Couldn't find hyphenation pattern en_US
> --8<---------------cut here---------------end--------------->8---
>
> The problem seems independent of the current locale. What is the remedy?
>
> Best regards
>
> JSB
>
More information about the oXygen-user
mailing list