From 76a1861b8ff7c2befbc41270833a4a0919c93c30 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Fri, 9 Aug 2019 21:12:52 +0200 Subject: 2019-08-09 18:36:00 --- tex/context/base/mkiv/math-tag.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tex/context/base/mkiv/math-tag.lua') diff --git a/tex/context/base/mkiv/math-tag.lua b/tex/context/base/mkiv/math-tag.lua index ee59e5f75..b758c1ff5 100644 --- a/tex/context/base/mkiv/math-tag.lua +++ b/tex/context/base/mkiv/math-tag.lua @@ -116,10 +116,10 @@ local function processsubsup(start) -- start_tagged("mrow") process(nucleus) -- stop_tagged() - start_tagged("mrow") + start_tagged("mrow", { subscript = true }) process(sub) stop_tagged() - start_tagged("mrow") + start_tagged("mrow", { superscript = true }) process(sup) stop_tagged() stop_tagged() @@ -204,7 +204,6 @@ process = function(start) -- we cannot use the processor as we have no finalizer local mtexttag = nil while start do local id = getid(start) --- print("!!!!!!!!!!",nodecodes[id]) -- showtag(start,id,true) if id == glyph_code or id == disc_code then if not mtexttag then @@ -583,9 +582,10 @@ end function noads.handlers.tags(head,style,penalties) start_tagged("math", { mode = (getattr(head,a_mathmode) == 1) and "display" or "inline" }) --- start_tagged("mrow") setattr(head,a_tagged,start_tagged("mrow")) +-- showtag(head,getid(head),true) process(head) +-- showtag(head,getid(head),false) stop_tagged() stop_tagged() end -- cgit v1.2.3