1
<?xml version="1.0" encoding="US-ASCII"?>
3
Copyright 1999-2004 The Apache Software Foundation
5
Licensed under the Apache License, Version 2.0 (the "License");
6
you may not use this file except in compliance with the License.
7
You may obtain a copy of the License at
9
http://www.apache.org/licenses/LICENSE-2.0
11
Unless required by applicable law or agreed to in writing, software
12
distributed under the License is distributed on an "AS IS" BASIS,
13
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
See the License for the specific language governing permissions and
15
limitations under the License.
18
<!ELEMENT hyphenation-info (hyphen-char?, hyphen-min?,
19
classes, exceptions?, patterns)>
21
<!-- Hyphen character to be used in the exception list as shortcut for
22
<hyphen pre-break="-"/>. Defaults to '-'
24
<!ELEMENT hyphen-char EMPTY>
25
<!ATTLIST hyphen-char value CDATA #REQUIRED>
27
<!-- Default minimun length in characters of hyphenated word fragments
28
before and after the line break. For some languages this is not
29
only for aesthetic purposes, wrong hyphens may be generated if this
32
<!ELEMENT hyphen-min EMPTY>
33
<!ATTLIST hyphen-min before CDATA #REQUIRED>
34
<!ATTLIST hyphen-min after CDATA #REQUIRED>
36
<!-- Character equivalent classes: space separated list of character groups, all
37
characters in a group are to be treated equivalent as far as
38
the hyphenation algorithm is concerned. The first character in a group
39
is the group's equivalent character. Patterns should only contain
40
first characters. It also defines word characters, i.e. a word that
41
contains characters not present in any of the classes is not hyphenated.
43
<!ELEMENT classes (#PCDATA)>
45
<!-- Hyphenation exceptions: space separated list of hyphenated words.
46
A hyphen is indicated by the hyphen tag, but you can use the
47
hyphen-char defined previously as shortcut. This is in cases
48
when the algorithm procedure finds wrong hyphens or you want
49
to provide your own hyphenation for some words.
51
<!ELEMENT exceptions (#PCDATA|hyphen)* >
53
<!-- The hyphenation patterns, space separated. A pattern is made of 'equivalent'
54
characters as described before, between any two word characters a digit
55
in the range 0 to 9 may be specified. The absence of a digit is equivalent
56
to zero. The '.' character is reserved to indicate begining or ending
58
<!ELEMENT patterns (#PCDATA)>
60
<!-- A "full hyphen" equivalent to TeX's \discretionary
61
with pre-break, post-break and no-break attributes.
62
To be used in the exceptions list, the hyphen character is not
63
automatically added -->
64
<!ELEMENT hyphen EMPTY>
65
<!ATTLIST hyphen pre CDATA #IMPLIED>
66
<!ATTLIST hyphen no CDATA #IMPLIED>
67
<!ATTLIST hyphen post CDATA #IMPLIED>