aboutsummaryrefslogtreecommitdiffstats
path: root/src/documentation/content/xdocs/faq.xml
diff options
context:
space:
mode:
authorWilliam Victor Mote <vmote@apache.org>2003-07-15 01:12:33 +0000
committerWilliam Victor Mote <vmote@apache.org>2003-07-15 01:12:33 +0000
commitf1a5f28111d7d87025b43e25cff4c985410b0918 (patch)
tree73a84210b62cfc2d2dba06a7e16ee1132ac61f1f /src/documentation/content/xdocs/faq.xml
parent26d1267edb58ba004498e776896a342dffda556e (diff)
downloadxmlgraphics-fop-f1a5f28111d7d87025b43e25cff4c985410b0918.tar.gz
xmlgraphics-fop-f1a5f28111d7d87025b43e25cff4c985410b0918.zip
1. add list of supported country/language codes for hyphenation
2. update FAQ to point to the new hyphenation page git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196712 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/content/xdocs/faq.xml')
-rw-r--r--src/documentation/content/xdocs/faq.xml17
1 files changed, 3 insertions, 14 deletions
diff --git a/src/documentation/content/xdocs/faq.xml b/src/documentation/content/xdocs/faq.xml
index 7064e3417..75cad9b9f 100644
--- a/src/documentation/content/xdocs/faq.xml
+++ b/src/documentation/content/xdocs/faq.xml
@@ -531,21 +531,10 @@ Any easy way to check this is to cut&amp;paste the source URL from the fo:extern
<faq id="hyphenation-fails">
<question>Hyphenation does not work.</question>
<answer>
- <p>
- 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
- <link href="configuration.html#hyphenation">Configuration page</link>.
- </p>
- <p>
- Set the language (on fo:page-sequence, fo:block or fo:character):
- </p>
+ <p>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):</p>
<source><![CDATA[<fo:page-sequence language="fi">]]></source>
- <p>
- Enable hyphenation on a block:
- </p>
+ <p>See <link href="hyphenation.html#std">Standard Hyphenation Support</link> for a list of supported language and country codes, and <link href="hyphenation.html#custom">Custom Hyphenation Support</link> for instructions on adding support for other languages and countries.</p>
+ <p>Explicitly enable hyphenation for an appropriate XSL-FO element (fo:block, fo:character):</p>
<source><![CDATA[<fo:block hyphenate="true">]]></source>
</answer>
</faq>