fop/hyph
William Victor Mote 016a452dc5 white-space and line-ending fixes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195679 13f79535-47bb-0310-9956-ffa450edef68
2002-11-30 01:14:52 +00:00
..
cs.xml white-space and line-ending fixes 2002-11-30 01:14:52 +00:00
da.xml white-space and line-ending fixes 2002-11-30 01:14:52 +00:00
de_DR.xml white-space and line-ending fixes 2002-11-30 01:14:52 +00:00
de.xml white-space and line-ending fixes 2002-11-30 01:14:52 +00:00
el.xml white-space and line-ending fixes 2002-11-30 01:14:52 +00:00
en_GB.xml white-space and line-ending fixes 2002-11-30 01:14:52 +00:00
en_US.xml white-space and line-ending fixes 2002-11-30 01:14:52 +00:00
en.xml white-space and line-ending fixes 2002-11-30 01:14:52 +00:00
es.xml white-space and line-ending fixes 2002-11-30 01:14:52 +00:00
fi.xml hpyhenation pattern file for Finnish (by Jarno Elovirta) 2000-12-13 12:59:28 +00:00
fr.xml white-space and line-ending fixes 2002-11-30 01:14:52 +00:00
hu.xml white-space and line-ending fixes 2002-11-30 01:14:52 +00:00
hyphenation.dtd white-space and line-ending fixes 2002-11-30 01:14:52 +00:00
it.xml white-space and line-ending fixes 2002-11-30 01:14:52 +00:00
nl.xml white-space and line-ending fixes 2002-11-30 01:14:52 +00:00
no.xml Added Norwegian hyphenation based on Rune Kleveland's original 2001-06-07 21:06:16 +00:00
pl.xml white-space and line-ending fixes 2002-11-30 01:14:52 +00:00
pt.xml white-space and line-ending fixes 2002-11-30 01:14:52 +00:00
readme white-space and line-ending fixes 2002-11-30 01:14:52 +00:00
ru.xml white-space and line-ending fixes 2002-11-30 01:14:52 +00:00
sk.xml added slovak hyphenation patterns 2001-08-02 12:48:38 +00:00
tr.xml white-space and line-ending fixes 2002-11-30 01:14:52 +00:00

Hyphenation

Fop comes with some hyphenation pattern. If you need a hyphenation
pattern which isn't included in the distribution, do the following:

1. get the TeX hyphenation pattern file and turn it into an xml file
   which conforms to the hyphenation.dtd in the sub directory /hyph

2. name this new file following this schema: languageCode_countryCode.xml.
   If you don't need a country code, leave it away, p.e. the file name
   for an American english hyphenation pattern would look like this:
   en_US.xml.
   For an Italian file: it.xml.
   Language and country codes must be the same as in xsl:fo, that is follow
   ISO 639 <http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt> and
   ISO 3166 <http://www.ics.uci.edu/pub/ietf/http/related/iso3166.txt>
   respectively.
   NOTE: The ISO 639/ISO 3166 convention is that language names are
   written in lower case, while country codes are written in upper case.

3. If you have build your new hyphenation pattern file successfully there are
   two ways to make it accessible to Fop.
   a) Put this new file into the directory /hyph and rebuild Fop. The file will
      be picked up and added to the fop.jar.
   b) Put the file into a directory of your choice and specify this directory
      in the userconfig.xml in the entry <hyphenation-dir>

4. If the license of your hyphenation pattern file does allow it, please send
   it to the list fop-dev, so it can be made part of the Fop distribution.

the following hyphenation patterns are part of the Fop distribution

da      Danish
de      German (traditional)
de_DR   German (new spelling)
en      American English
en_GB   British English
en_US   American English
es      Spanish
fi      Finnish
fr      French
it      Italian
nl      Dutch (new official Dutch spelling)