From a616b343d8dfe81008c9e8aee253cf31f088f35b Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Sat, 25 Feb 2017 17:26:17 +0100 Subject: 2017-02-25 16:30:00 --- doc/context/documents/general/manuals/luatex.pdf | Bin 1068950 -> 1096445 bytes doc/context/documents/general/qrcs/setup-cs.pdf | Bin 799457 -> 799566 bytes doc/context/documents/general/qrcs/setup-de.pdf | Bin 801457 -> 801777 bytes doc/context/documents/general/qrcs/setup-en.pdf | Bin 804461 -> 804624 bytes doc/context/documents/general/qrcs/setup-fr.pdf | Bin 799444 -> 799546 bytes doc/context/documents/general/qrcs/setup-it.pdf | Bin 800076 -> 799828 bytes doc/context/documents/general/qrcs/setup-nl.pdf | Bin 796878 -> 796964 bytes doc/context/documents/general/qrcs/setup-ro.pdf | Bin 796812 -> 796908 bytes .../general/manuals/luatex/luatex-languages.tex | 28 +++++++++++++++++++++ 9 files changed, 28 insertions(+) (limited to 'doc') diff --git a/doc/context/documents/general/manuals/luatex.pdf b/doc/context/documents/general/manuals/luatex.pdf index 749c8f0dc..c682888d2 100644 Binary files a/doc/context/documents/general/manuals/luatex.pdf and b/doc/context/documents/general/manuals/luatex.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-cs.pdf b/doc/context/documents/general/qrcs/setup-cs.pdf index e04d76f63..e1afecd3e 100644 Binary files a/doc/context/documents/general/qrcs/setup-cs.pdf and b/doc/context/documents/general/qrcs/setup-cs.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-de.pdf b/doc/context/documents/general/qrcs/setup-de.pdf index 2b5901530..7d92cfd0e 100644 Binary files a/doc/context/documents/general/qrcs/setup-de.pdf and b/doc/context/documents/general/qrcs/setup-de.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-en.pdf b/doc/context/documents/general/qrcs/setup-en.pdf index d847627dd..16463b9be 100644 Binary files a/doc/context/documents/general/qrcs/setup-en.pdf and b/doc/context/documents/general/qrcs/setup-en.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-fr.pdf b/doc/context/documents/general/qrcs/setup-fr.pdf index 2c5353265..cf56524af 100644 Binary files a/doc/context/documents/general/qrcs/setup-fr.pdf and b/doc/context/documents/general/qrcs/setup-fr.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-it.pdf b/doc/context/documents/general/qrcs/setup-it.pdf index c6e22bc1e..665926490 100644 Binary files a/doc/context/documents/general/qrcs/setup-it.pdf and b/doc/context/documents/general/qrcs/setup-it.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-nl.pdf b/doc/context/documents/general/qrcs/setup-nl.pdf index 9eb657054..aa321f78c 100644 Binary files a/doc/context/documents/general/qrcs/setup-nl.pdf and b/doc/context/documents/general/qrcs/setup-nl.pdf differ diff --git a/doc/context/documents/general/qrcs/setup-ro.pdf b/doc/context/documents/general/qrcs/setup-ro.pdf index 6889bb7bb..ebcdc6584 100644 Binary files a/doc/context/documents/general/qrcs/setup-ro.pdf and b/doc/context/documents/general/qrcs/setup-ro.pdf differ diff --git a/doc/context/sources/general/manuals/luatex/luatex-languages.tex b/doc/context/sources/general/manuals/luatex/luatex-languages.tex index 865ae0b58..990a8dcc0 100644 --- a/doc/context/sources/general/manuals/luatex/luatex-languages.tex +++ b/doc/context/sources/general/manuals/luatex/luatex-languages.tex @@ -345,6 +345,34 @@ character|-|handling code have been moved back inline. When \type {\tracingcommands} is on, this is visible because the full word is reported, instead of just the initial character. +Because we tend to make hard codes behaviour configurable a few new primitives +have been added: + +\starttyping +\hyphenpenaltymode +\automatichyphenpenalty +\explicithyphenpenalty +\stoptyping + +The first parameter has the following consequences for automatic discs (the ones +resulting from an \type {\exhyphenchar}: + +\starttabulate[|Tc|l|l|] +\BC mode \BC automatic disc \type{-} \BC explicit disc \type{\-} \NC \NR +\HL +\NC 0 \NC \type {\exhyphenpenalty} \NC \type {\exhyphenpenalty} \NC \NR +\NC 1 \NC \type {\hyphenpenalty} \NC \type {\hyphenpenalty} \NC \NR +\NC 2 \NC \type {\exhyphenpenalty} \NC \type {\hyphenpenalty} \NC \NR +\NC 3 \NC \type {\hyphenpenalty} \NC \type {\exhyphenpenalty} \NC \NR +\NC 4 \NC \type {\automatichyphenpenalty} \NC \type {\explicithyphenpenalty} \NC \NR +\NC 5 \NC \type {\exhyphenpenalty} \NC \type {\explicithyphenpenalty} \NC \NR +\NC 6 \NC \type {\hyphenpenalty} \NC \type {\explicithyphenpenalty} \NC \NR +\NC 7 \NC \type {\automatichyphenpenalty} \NC \type {\exhyphenpenalty} \NC \NR +\NC 8 \NC \type {\automatichyphenpenalty} \NC \type {\hyphenpenalty} \NC \NR +\stoptabulate + +other values do what we always did in \LUATEX: insert \type {\exhyphenpenalty}. + \section[patternsexceptions]{Loading patterns and exceptions} The hyphenation algorithm in \LUATEX\ is quite different from the one in \TEX82, -- cgit v1.2.3