Hyphenation File not found
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 87
- Joined: Tue Jan 01, 2013 3:19 pm
Hyphenation File not found
Hi,
i have made a fresh installation of version 14.2. I have also copied hyphenation file from offo to
C:\Program Files\Oxygen XML Editor 14\lib\fop-hyph.jar
However, FOP says ERROR - Couldn't find hyphenation pattern for lang="de". Same for lang='de'.
At the end of this mail you can find the classpath from FOP message window. Since i can`t find any reference to fop-hyp.jar in it, i guess that this causes the problem. Is there any configuration that i have missed?
Environment: Windows 7 64 bit.
Thanks in advance,
Frank
Started: "c:\program files\oxygen xml editor 14\jre\bin\java" -Xmx400m "-Dhttp.proxySet=true" "-Dhttp.proxyHost=10.21.0.6" "-Dhttp.proxyPort=8080" "-Dcom.oxygenxml.editor.home.url=file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/" -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser "-Dlog4j.configuration=file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014//tools/config/log4j.xml" "-Dxml.catalog.files=file:/E:/cygwin/home/osci/oscisoftware/docbook%205/trunk/framework/kosit-catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/dita/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/dita/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/docbook/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/docbook/5.0/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/ead/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/fo/xsd/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/kml/schema/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/mathml/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/ncx/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/svg/dtd/svgcatalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/stratml/part1/xsd/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/stratml/part2/xsd/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/tei/xml/tei/custom/schema/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/tei/xml/tei/schema/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/tei/xml/teip4/custom/schema/dtd/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/tei/xml/teip4/schema/dtd/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/tei/xml/teip4/stylesheet/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/tei/xml/tei/custom/schema/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/tei/xml/tei/schema/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/tei/xml/tei/stylesheet/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/xhtml/dtd/xhtmlcatalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/xhtml/relaxng/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/xhtml/nvdl/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/xhtml11/dtd/xhtmlcatalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/xhtml11/schema/xhtmlcatalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/xmlschema/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/xmlspec/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks//catalog.xml" -cp "C:\Program Files\Oxygen XML Editor 14/classes/;C:\Program Files\Oxygen XML Editor 14/lib/oxygen.jar;C:\Program Files\Oxygen XML Editor 14/lib/oxygenAuthor.jar;C:\Program Files\Oxygen XML Editor 14/lib/oxygenDeveloper.jar;C:\Program Files\Oxygen XML Editor 14/lib/oxygenEclipse.jar;C:\Program Files\Oxygen XML Editor 14/lib/oxygenAuthorEclipse.jar;C:\Program Files\Oxygen XML Editor 14/lib/oxygenDeveloperEclipse.jar;C:\Program Files\Oxygen XML Editor 14/lib/org.eclipse.wst.xml.xpath2.processor_1.2.0.jar;C:\Program Files\Oxygen XML Editor 14/lib/icu4j.jar;C:\Program Files\Oxygen XML Editor 14/lib/xml-apis.jar;C:\Program Files\Oxygen XML Editor 14/lib/xercesImpl.jar;C:\Program Files\Oxygen XML Editor 14/lib/resolver.jar;C:\Program Files\Oxygen XML Editor 14/lib/log4j.jar;C:\Program Files\Oxygen XML Editor 14/lib/fop.jar;C:\Program Files\Oxygen XML Editor 14/lib/avalon-framework-4.2.0.jar;C:\Program Files\Oxygen XML Editor 14/lib/batik-all-1.7.jar;C:\Program Files\Oxygen XML Editor 14/lib/commons-io-1.3.1.jar;C:\Program Files\Oxygen XML Editor 14/lib/xmlgraphics-commons-1.5.jar;C:\Program Files\Oxygen XML Editor 14/lib/commons-logging-1.1.1.jar;C:\Program Files\Oxygen XML Editor 14/lib/saxon9ee.jar;C:\Program Files\Oxygen XML Editor 14/lib/serializer.jar;C:\Program Files\Oxygen XML Editor 14/lib/xml-apis-ext.jar;C:\Program Files\Oxygen XML Editor 14/lib/jeuclid-core.jar;C:\Program Files\Oxygen XML Editor 14/lib/jeuclid-fop.jar" org.apache.fop.cli.Main -c "C:\Program Files\Oxygen XML Editor 14/lib/fop-config.xml" -fo "E:\cygwin\home\osci\oscisoftware\docbook 5\trunk\abruf\kirchen-vorbereitung-db5.xml_xslt" -pdf "E:\cygwin\home\osci\oscisoftware\docbook 5\trunk\abruf\out\pdf\kirchen-vorbereitung-db5.pdf"
ERROR - Couldn't find hyphenation pattern for lang="de".
Process ended with exit code: 0
i have made a fresh installation of version 14.2. I have also copied hyphenation file from offo to
C:\Program Files\Oxygen XML Editor 14\lib\fop-hyph.jar
However, FOP says ERROR - Couldn't find hyphenation pattern for lang="de". Same for lang='de'.
At the end of this mail you can find the classpath from FOP message window. Since i can`t find any reference to fop-hyp.jar in it, i guess that this causes the problem. Is there any configuration that i have missed?
Environment: Windows 7 64 bit.
Thanks in advance,
Frank
Started: "c:\program files\oxygen xml editor 14\jre\bin\java" -Xmx400m "-Dhttp.proxySet=true" "-Dhttp.proxyHost=10.21.0.6" "-Dhttp.proxyPort=8080" "-Dcom.oxygenxml.editor.home.url=file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/" -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser "-Dlog4j.configuration=file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014//tools/config/log4j.xml" "-Dxml.catalog.files=file:/E:/cygwin/home/osci/oscisoftware/docbook%205/trunk/framework/kosit-catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/dita/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/dita/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/docbook/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/docbook/5.0/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/ead/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/fo/xsd/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/kml/schema/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/mathml/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/ncx/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/svg/dtd/svgcatalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/stratml/part1/xsd/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/stratml/part2/xsd/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/tei/xml/tei/custom/schema/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/tei/xml/tei/schema/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/tei/xml/teip4/custom/schema/dtd/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/tei/xml/teip4/schema/dtd/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/tei/xml/teip4/stylesheet/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/tei/xml/tei/custom/schema/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/tei/xml/tei/schema/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/tei/xml/tei/stylesheet/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/xhtml/dtd/xhtmlcatalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/xhtml/relaxng/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/xhtml/nvdl/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/xhtml11/dtd/xhtmlcatalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/xhtml11/schema/xhtmlcatalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/xmlschema/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks/xmlspec/catalog.xml;file:/C:/Program%20Files/Oxygen%20XML%20Editor%2014/frameworks//catalog.xml" -cp "C:\Program Files\Oxygen XML Editor 14/classes/;C:\Program Files\Oxygen XML Editor 14/lib/oxygen.jar;C:\Program Files\Oxygen XML Editor 14/lib/oxygenAuthor.jar;C:\Program Files\Oxygen XML Editor 14/lib/oxygenDeveloper.jar;C:\Program Files\Oxygen XML Editor 14/lib/oxygenEclipse.jar;C:\Program Files\Oxygen XML Editor 14/lib/oxygenAuthorEclipse.jar;C:\Program Files\Oxygen XML Editor 14/lib/oxygenDeveloperEclipse.jar;C:\Program Files\Oxygen XML Editor 14/lib/org.eclipse.wst.xml.xpath2.processor_1.2.0.jar;C:\Program Files\Oxygen XML Editor 14/lib/icu4j.jar;C:\Program Files\Oxygen XML Editor 14/lib/xml-apis.jar;C:\Program Files\Oxygen XML Editor 14/lib/xercesImpl.jar;C:\Program Files\Oxygen XML Editor 14/lib/resolver.jar;C:\Program Files\Oxygen XML Editor 14/lib/log4j.jar;C:\Program Files\Oxygen XML Editor 14/lib/fop.jar;C:\Program Files\Oxygen XML Editor 14/lib/avalon-framework-4.2.0.jar;C:\Program Files\Oxygen XML Editor 14/lib/batik-all-1.7.jar;C:\Program Files\Oxygen XML Editor 14/lib/commons-io-1.3.1.jar;C:\Program Files\Oxygen XML Editor 14/lib/xmlgraphics-commons-1.5.jar;C:\Program Files\Oxygen XML Editor 14/lib/commons-logging-1.1.1.jar;C:\Program Files\Oxygen XML Editor 14/lib/saxon9ee.jar;C:\Program Files\Oxygen XML Editor 14/lib/serializer.jar;C:\Program Files\Oxygen XML Editor 14/lib/xml-apis-ext.jar;C:\Program Files\Oxygen XML Editor 14/lib/jeuclid-core.jar;C:\Program Files\Oxygen XML Editor 14/lib/jeuclid-fop.jar" org.apache.fop.cli.Main -c "C:\Program Files\Oxygen XML Editor 14/lib/fop-config.xml" -fo "E:\cygwin\home\osci\oscisoftware\docbook 5\trunk\abruf\kirchen-vorbereitung-db5.xml_xslt" -pdf "E:\cygwin\home\osci\oscisoftware\docbook 5\trunk\abruf\out\pdf\kirchen-vorbereitung-db5.pdf"
ERROR - Couldn't find hyphenation pattern for lang="de".
Process ended with exit code: 0
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Hyphenation File not found
Post by sorin_ristache »
Hi,
Regards,
Sorin
Adding a jar file to the lib directory will not add it automatically to the classpath of the Apache FOP transformation. You have to create a new FO processor in Preferences as explained in the User Manual based on the fop.jar and fop-hyph.jar files and run the transformation with this new FO processor instead of the built-in one.fsteimke wrote:I have also copied hyphenation file from offo to
C:\Program Files\Oxygen XML Editor 14\lib\fop-hyph.jar
However, FOP says ERROR - Couldn't find hyphenation pattern for lang="de". Same for lang='de'.
At the end of this mail you can find the classpath from FOP message window. Since i can`t find any reference to fop-hyp.jar in it, i guess that this causes the problem. Is there any configuration that i have missed?
Regards,
Sorin
-
- Posts: 87
- Joined: Tue Jan 01, 2013 3:19 pm
Directory has changed?
Thanks Sorin,
it was my fault. Manual for 14.2 clearly states that the hyphenation file has to be placed in {INSTALLATION}/lib/fo Directory. After i did so, everything was fine with the internal FOP engine.
I have an oxygen 14.1 installation on another system, and on this system the hyphenation file is found in the {INSTALLATION}/lib Directory (without fo subdirectory). This has changed from 14.1 to 14.2?
Regards,
Frank
it was my fault. Manual for 14.2 clearly states that the hyphenation file has to be placed in {INSTALLATION}/lib/fo Directory. After i did so, everything was fine with the internal FOP engine.
I have an oxygen 14.1 installation on another system, and on this system the hyphenation file is found in the {INSTALLATION}/lib Directory (without fo subdirectory). This has changed from 14.1 to 14.2?
Regards,
Frank
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Hyphenation File not found
Post by sorin_ristache »
Hi Frank,
No, it hasn't changed in 14.2. You are right, it is easier to add a library to the built-in FOP by just dropping it in the lib/fop directory.
Regards,
Sorin
No, it hasn't changed in 14.2. You are right, it is easier to add a library to the built-in FOP by just dropping it in the lib/fop directory.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service