diff options
author | Hans Hagen <pragma@wxs.nl> | 2017-10-07 00:12:29 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2017-10-07 00:12:29 +0200 |
commit | edaa6851d5c096acba2ad5817f70d3eb7cec46e6 (patch) | |
tree | 404b6d6cf0a5e403a046a405917fece6f3832d81 /tex/context/base/mkiv/supp-box.lua | |
parent | 73b98c1460debac19577c07301220a0d7944fbd7 (diff) | |
download | context-edaa6851d5c096acba2ad5817f70d3eb7cec46e6.tar.gz |
2017-10-06 23:26:00
Diffstat (limited to 'tex/context/base/mkiv/supp-box.lua')
-rw-r--r-- | tex/context/base/mkiv/supp-box.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/supp-box.lua b/tex/context/base/mkiv/supp-box.lua index 4fe062a1c..fc8ad1ae4 100644 --- a/tex/context/base/mkiv/supp-box.lua +++ b/tex/context/base/mkiv/supp-box.lua @@ -166,8 +166,10 @@ end implement { name = "showhyphenatedinlist", arguments = "integer", - actions = function(box) - report_hyphenation("show: %s",listtoutf(checkedlist(n),false,true)) + actions = function(n) + -- we just hyphenate (as we pass a hpack) .. a bit too much casting but ... + local l = languages.hyphenators.handler(tonode(checkedlist(n))) + report_hyphenation("show: %s",listtoutf(l,false,true)) end } |