local node_insert_before = node.insert_before
local node_insert_after = node.insert_after
local node_hpack = node.hpack
-local round = tex.round
local id_penalty = node.id('penalty')
local id_glyph = node.id('glyph')
local s
local pt=node_type(p.id)
local base = debug_depth .. string.format('%X', has_attr(p,attr_icflag) or 0)
- .. ' ' .. pt .. ' ' .. p.subtype
+ .. ' ' .. pt .. ' ' .. tostring(p.subtype )
if pt == 'glyph' then
s = base .. ' ' .. utf.char(p.char) .. ' ' .. tostring(p.font)
.. ' (' .. print_scaled(p.height) .. '+'
s = s .. node.subtype(p.subtype)
end
print_fn(s)
- -- ここから数式用 node
+ -------- math node --------
elseif pt=='noad' then
s = base ; print_fn(s)
if p.nucleus then