docbook-apps

  • 1.  FOP on Mac OS X--missing hyphenation file for language "en"

    Posted 01-06-2008 23:42
    Thanks for all the previous help. I have just downloaded and unpacked
    fop-0.94 to a directory and am trying to run fop on my saxon-created .fo
    file. This is the message I get:

    redpoint:~/docbook/fop-0.94 mark$ ./fop /Users/mark/myfile.fo
    /Users/mark/myfile.pdf
    Jan 6, 2008 4:27:30 PM org.apache.fop.hyphenation.HyphenatorgetHyphenationTree
    SEVERE: Couldn't find hyphenation pattern en

    My understanding is that the English language hyphenation does not have to
    be downloaded separately and that the shell script fop sets its own
    CLASSPATH, so I don't have to. I'm looking for the problem, but decided to
    throw this out to the list in hopes that someone can save me hours of
    puzzling the out.

    Thanks,
    Mark

    --
    ________________
    Read my blog!
    http://chollapete.blogspot.com



  • 2.  Re: [docbook-apps] FOP on Mac OS X--missing hyphenation file for language "en"

    Posted 01-07-2008 10:11
    Hi Mark,

    Mark Twenhafel wrote:
    > Thanks for all the previous help. I have just downloaded and unpacked
    > fop-0.94 to a directory and am trying to run fop on my saxon-created .fo
    > file. This is the message I get:
    >
    > redpoint:~/docbook/fop-0.94 mark$ ./fop /Users/mark/myfile.fo
    > /Users/mark/myfile.pdf
    > Jan 6, 2008 4:27:30 PM org.apache.fop.hyphenation.HyphenatorgetHyphenationTree
    > SEVERE: Couldn't find hyphenation pattern en
    >
    > My understanding is that the English language hyphenation does not have to
    > be downloaded separately and that the shell script fop sets its own
    > CLASSPATH, so I don't have to.

    It used to be true in the past, but it no longer is. Where did you find
    such an indication? There is probably some documentation to update
    somewhere.
    Have a look a the following page:
    http://xmlgraphics.apache.org/fop/0.94/hyphenation.html
    Basically you have to download the hyphenation patterns from another
    website and put the fop-hyph.jar file you get in the build/ directory of
    your FOP installation. This separate process is necessary because of
    licensing issues (hyphenation patterns may not be distributed with FOP).

    HTH,
    Vincent


    --
    Vincent Hennebert Anyware Technologies
    http://people.apache.org/~vhennebert http://www.anyware-tech.com
    Apache FOP Committer FOP Development/Consulting