How to install hyphenation patterns in FOP?
In order to use hyphenation with the FOP processor, what files do I have to install, and how do I tell FOP where they are installed?
I think, I have tried all possible combinations, without success.
In the following sample usage scenario:
/home/work/
/home/work/
* The 'source.fo' file contains hyphenate="true" and language="en" and language="es" attributes where necessary.
* The fop-hyph.jar file was downloaded from the 'offo-hyphenati
The following instructions do not work. They produce "Couldn't find hyphenation pattern en" and "es" messages.
$ export FOP_HYPHENATION
$ fop source.fo result.pdf
$ export CLASSPATH=
$ fop source.fo result.pdf
I also tried other paths, such as 'hyphenation/
I also tried putting the FOP_HYPHENATION
The documentation also tells me to install the 'fop-hyph.jar' in a "lib directory of the your FOP installation" or in a "build directory of the your FOP installation". But I can't find such directories.
Since the documentation also mentions a 'hyphenation-base' configuration parameter, I tried putting absolute and relative paths to 'fop-hyph.jar' and 'hyphenation' in a '/home/
I also downloaded the 'offo-hyphenati
I have honestly tried to read and understand the available documentation:
* http://
* http://
* http://
* http://
Any help is really appreciated.
Thanks!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu fop Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jerzy Jalocha N
- Solved:
- Last query:
- Last reply: