From 246ae13e4e26eb828f9242d42e8a8dc7b6ce8310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Fabian=20Kr=C3=BCger?= Date: Mon, 3 May 2021 20:07:57 +0200 Subject: [PATCH] Always store MathML table --- luamml-tex.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luamml-tex.lua b/luamml-tex.lua index bbfeaa2..36edff8 100644 --- a/luamml-tex.lua +++ b/luamml-tex.lua @@ -66,8 +66,8 @@ luatexbase.add_to_callback('pre_mlist_to_hlist_filter', function(mlist, style) local xml = process_mlist(new_mlist, style == 'display' and 0 or 2) if flag & 2 == 0 then save_result(xml, style == 'display' or flag & 1 == 1) - else - assert(style == 'text') + end + if style == 'text' then local startmath = tex.nest.top.tail local props = properties[startmath] if not props then