From 4139e3e92b9ee88bd3e689e06113c96726988dae Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Sun, 29 Apr 2018 16:20:38 +0300 Subject: Test Lua filter converting display math to inline math --- test/lua/math.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/lua/math.lua (limited to 'test/lua') diff --git a/test/lua/math.lua b/test/lua/math.lua new file mode 100644 index 000000000..34307dd9e --- /dev/null +++ b/test/lua/math.lua @@ -0,0 +1,10 @@ +return { + { + Math = function (elem) + if elem.mathtype == "DisplayMath" then + elem.mathtype = "InlineMath" + end + return elem + end, + } +} -- cgit v1.2.3