summaryrefslogtreecommitdiff
path: root/tex/context/base/node-ser.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/node-ser.lua')
-rw-r--r--tex/context/base/node-ser.lua10
1 files changed, 1 insertions, 9 deletions
diff --git a/tex/context/base/node-ser.lua b/tex/context/base/node-ser.lua
index 17d222633..63690d00a 100644
--- a/tex/context/base/node-ser.lua
+++ b/tex/context/base/node-ser.lua
@@ -235,14 +235,6 @@ function nodes.serializebox(n,flat,verbose,name)
return nodes.serialize(nodes.totable(tex.box[n],flat,verbose),name)
end
--- keep:
---
--- function nodes.visualizebox(...)
--- tex.print(ctxcatcodes,"\\starttyping")
--- tex.print(nodes.serializebox(...))
--- tex.print("\\stoptyping")
--- end
-
function nodes.visualizebox(...) -- to be checked .. will move to module anyway
context.starttyping()
context.pushcatcodes("verbatim")
@@ -257,7 +249,7 @@ function nodes.list(head,n) -- name might change to nodes.type -- to be checked
end
while head do
local id = head.id
- tex.write(rep(" ",n or 0) .. tostring(head) .. "\n")
+ context(rep(" ",n or 0) .. tostring(head) .. "\n")
if id == hlist_code or id == vlist_code then
nodes.list(head.list,(n or 0)+1)
end