From f1a5f28111d7d87025b43e25cff4c985410b0918 Mon Sep 17 00:00:00 2001
From: William Victor Mote
- Set the language attribute somewhere and explicitly enable hyphenation.
- Check whether you use a language for which hyphenation is supported.
- Supported languages can be deduced from the files in the {fop-dir}/src/hyph
- directory of the FOP source distribution. If you want to use a language
- FOP currently doesn't hyphenate, please see the
- Configuration page.
-
- Set the language (on fo:page-sequence, fo:block or fo:character):
- Make sure you have set the language and/or country attributes for an appropriate XSL-FO element (fo:page-sequence, fo:block or fo:character):
- Enable hyphenation on a block:
- See Standard Hyphenation Support for a list of supported language and country codes, and Custom Hyphenation Support for instructions on adding support for other languages and countries. Explicitly enable hyphenation for an appropriate XSL-FO element (fo:block, fo:character): FOP includes hyphenation support for the following languages: FOP uses an XML-based TeX-like hyphenation pattern scheme.
-Hyphenation pattern files for many languages are included in the standard FOP distribution.
However, because of licensing issues, there are currently some significant holes in FOP's hyphenation support.
-The information on this page is intended to help you work around these limitations, if possible, add support for other languages, or enhance FOP's support of current languages.
+
+
+
+ language_COUNTRY code
+ Description
+
+
+ en
+ English
+
+
+ es
+ Spanish
+
+
+ fi
+ Finnish
+
+
+ hu
+ Hungarian
+
+
+ it
+ Italian
+
+
+ pl
+ Polish
+
+
+ pt
+ Portuguese
+
+
+ ru
+ Russian
+
Many of the hyphenation files distributed with TeX and its offspring are licenced under the
The most important source of hyphenation pattern files is the
To install custom a custom hyphenation pattern for use with FOP: