diff options
author | Hans Hagen <pragma@wxs.nl> | 2022-01-06 20:05:31 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2022-01-06 20:05:31 +0100 |
commit | 40c16033d164a969e06aacc991371592731baf2a (patch) | |
tree | d74d6ccd0713b41105b83b1410d27915c7b68649 /tex/context/base/mkxl/buff-ini.lmt | |
parent | 9b1c3470a7a222ef9ae20106d750c4a0127819a7 (diff) | |
download | context-40c16033d164a969e06aacc991371592731baf2a.tar.gz |
2022-01-06 19:50:00
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, } |