diff options
Diffstat (limited to 'tex/context/base/mkxl/buff-ini.lmt')
-rw-r--r-- | tex/context/base/mkxl/buff-ini.lmt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/context/base/mkxl/buff-ini.lmt b/tex/context/base/mkxl/buff-ini.lmt index 2cde7c72b..a14056f7d 100644 --- a/tex/context/base/mkxl/buff-ini.lmt +++ b/tex/context/base/mkxl/buff-ini.lmt @@ -1017,7 +1017,8 @@ do -- In the end we went for a somewhat hidden low level one (see low level math tests -- for usage): - local showbox = tex.showbox + local serialized = nodes.nuts.serialized + local getbox = nodes.nuts.getbox implement { name = "showboxinbuffer", @@ -1025,7 +1026,8 @@ do protected = true, arguments = { "argument", "integer", "integer" }, actions = function(buffer, box, detail) - assign(buffer or "",showbox(box, detail)) + local box = getbox(box) + assign(buffer or "",box and serialized(box,detail)) end, } |