summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/supp-box.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-10-07 00:12:29 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-10-07 00:12:29 +0200
commitedaa6851d5c096acba2ad5817f70d3eb7cec46e6 (patch)
tree404b6d6cf0a5e403a046a405917fece6f3832d81 /tex/context/base/mkiv/supp-box.lua
parent73b98c1460debac19577c07301220a0d7944fbd7 (diff)
downloadcontext-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.lua6
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
}