aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2012-10-26 23:42:29 +0200
committerSebastian Geerken <devnull@localhost>2012-10-26 23:42:29 +0200
commit1e29fcb4dd5c5980dc3c0f0626d9373943790574 (patch)
treeb25e90a5548e603fa0d2ec1072e1e5d958d3d0ea /doc
parent416b4988e95937ec0ed5be205a1078df474c9706 (diff)
Only tests and docs: some insights about hyphens.
Diffstat (limited to 'doc')
-rw-r--r--doc/dw-line-breaking.doc9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/dw-line-breaking.doc b/doc/dw-line-breaking.doc
index afebf104..6492a579 100644
--- a/doc/dw-line-breaking.doc
+++ b/doc/dw-line-breaking.doc
@@ -338,7 +338,7 @@ be easily extended.
words containing hyphens already. Example: "Abtei-Stadt", which is
divided into "Abtei-" and "Stadt", resulting possibly in
&quot;Abtei-<span></span>-[new line]Stadt&quot;. See also below under
-"Low Priority", on how to deal with hyphens and dashes.
+"Medium Priority", on how to deal with hyphens and dashes.
<h3>Medium Priority</h3>
@@ -357,6 +357,13 @@ hyphenation.</li>
Where to implement? In the same dynamic, lazy way like hyphenation? As
part of hyphenation?
+Notice that Liang's algorithm may behave different regarding hyphens:
+"Abtei-Stadt" is (using the patterns from CTAN) divided into "Abtei-"
+and "Stadt", but "Nordrhein-Westfalen" is divided into "Nord",
+"rhein-West", "fa", "len": the part containing the hyphen
+("rhein-West") is untouched. (Sorry for the German words; if you have
+got English examples, send them me.)
+
<b>Incorrect calculation of extremes:</b> The minimal width of a text
block (as part of the width extremes, which are mainly used for
tables) is defined by everything between two possible breaks. A