About Arbortext Styler > Defining Page Layout > Hyphenation
  
Hyphenation
To set up hyphenation in your stylesheet, you need to configure the following settings:
1. Document language
See the Language tab of the Stylesheet Properties dialog box.
In the Document language specification group, set a default value for the document language and (optionally) specify the attribute that holds document language information in a document. When the language is not specified in the user document, the default language is used for the document language. You then have the option to set a (Use document language) option for hyphenation, which will pick up the current document language based on these settings.
You may also set hyphenation language to <Derive>. If no ancestor specifies a hyphenation language to inherit, then US English is used.
2. Hyphenation setting for elements or contexts
See the Breaks category in the Elements or Property Sets lists.
In the Word breaking field, specify if you want the words in the content of the element or context to break. You may use these settings:
Hyphenate: hyphenate as necessary to avoid overruns in lines
Break without hyphen: break the word without inserting a hyphen, when necessary to avoid overruns in lines. Valid break points are immediately after any of the following characters:
Character
Unicode
Name
Common name
-
002D
Hyphen
/
002F
Solidus
Forward slash
\
005C
Reverse solidus
Back slash
=
003D
Equals
_
005F
Low line
Underscore
You may configure the characters at which words should break under this setting. Refer to the breakAfterChars attribute of the StylesheetInfo element in a .style file.
Do not break: effect depends on the print engine set for the PTC Arbortext environment:
PTC ALD will still hyphenate as necessary to avoid overruns in lines
FOSI and XSL-FO will not break at all. Lines can extend beyond their boundaries.
3. Hyphenation language for elements or contexts
See the Breaks category in the Elements or Property Sets lists.
Set the language model to which an element should be hyphenated. You can set this for the document element or on an individual element basis. You can configure three different types of value:
<Derive>: inherit the hyphenation language from system default, property set, or ancestor settings.
The default document language specified in the Language tab of the Stylesheet Properties dialog box will be used if there is no value to inherit.
(Use Document Language): use the current document language as the hyphenation language
Note that any context or condition inheriting this value will not inherit the document language from the previous evaluation. Document language analysis will be carried out again for the current context.
Specific language: select a value from the drop down list provided, or enter a country code manually.
Refer to Languages Supported for Hyphenation for a list of supported hyphenation languages and their associated language codes.
How you set up these properties depends on how hyphenation should work in your document. Two examples are given below: