diff options
Diffstat (limited to 'macros/luatex/generic/minim-math/minim-math.lua')
-rw-r--r-- | macros/luatex/generic/minim-math/minim-math.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/macros/luatex/generic/minim-math/minim-math.lua b/macros/luatex/generic/minim-math/minim-math.lua index 6373809e43..a4540a92b2 100644 --- a/macros/luatex/generic/minim-math/minim-math.lua +++ b/macros/luatex/generic/minim-math/minim-math.lua @@ -365,8 +365,9 @@ end -- list of noads. --]] -local listmathfields = { 'head', 'nucleus', 'sub', 'sup', 'accent', 'bot_accent', - 'display', 'text', 'script', 'scriptscript', 'num', 'denom', 'degree', 'next' } +local listmathfields = { 'head', 'nucleus', 'sub', 'sup', 'accent', + 'bot_accent', 'display', 'text', 'script', 'scriptscript', 'num', 'denom', + 'degree', 'next' } -- note that ‘next’ should be last! local function noad_iterator (head) local nodelist = { link=nil, content=head } @@ -385,7 +386,7 @@ end local math_char = node.id ('math_char') -local function inspect_noads (h,d,n) +local function inspect_noads (h, _, _) for nd in noad_iterator (h) do if nd.id == math_char then local sa = node.has_attribute(nd, style_attribute) @@ -431,7 +432,6 @@ local is_delimiter = } local function tex_accent(class, num, char) - kind = kind or '' return '\\math:'..accents[class]..'{'..num..'}'..char end |