diff options
Diffstat (limited to 'tex/context/base/mkiv/lang-dis.lua')
-rw-r--r-- | tex/context/base/mkiv/lang-dis.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/lang-dis.lua b/tex/context/base/mkiv/lang-dis.lua index 42abea569..448966d49 100644 --- a/tex/context/base/mkiv/lang-dis.lua +++ b/tex/context/base/mkiv/lang-dis.lua @@ -96,6 +96,12 @@ local expanders = { return template end, [automatic_code] = function(d,template) + -- the penalty has been determined by the mode (currently we force 1): + -- + -- 0 : exhyphenpenalty + -- 1 : hyphenpenalty + -- 2 : automatichyphenpenalty + -- -- following a - : the pre and post chars are already appended and set -- so we have pre=preex and post=postex .. however, the previous -- hyphen is already injected ... downside: the font handler sees this |