diff options
author | Hans Hagen <pragma@wxs.nl> | 2017-02-25 17:26:17 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2017-02-25 17:26:17 +0100 |
commit | a616b343d8dfe81008c9e8aee253cf31f088f35b (patch) | |
tree | ced45226ad64ca20c507fc062c2fcab8f8bf6693 /tex/context/base/mkiv/lang-dis.lua | |
parent | b614515b957fb2283a848d1204952a72f31b0ac7 (diff) | |
download | context-a616b343d8dfe81008c9e8aee253cf31f088f35b.tar.gz |
2017-02-25 16:30:00
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 |