From acc0ad0559ea1192cd282877bb2f667be6051952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Fabian=20Kr=C3=BCger?= Date: Wed, 1 Jul 2020 13:49:38 +0200 Subject: [PATCH] Don't enforce bug compatibility --- luametalatex-back-pdf.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luametalatex-back-pdf.lua b/luametalatex-back-pdf.lua index c91b676..00a0c3d 100644 --- a/luametalatex-back-pdf.lua +++ b/luametalatex-back-pdf.lua @@ -759,7 +759,7 @@ token.luacmd("saveboxresource", function(imm) end local attr = token.scan_keyword'attr' and token.scan_string() or nil local resources = token.scan_keyword'resources' and token.scan_string() or nil - local margin = token.scan_keyword'margin' and token.scan_int() or nil -- Why not a dimension? + local margin = token.scan_keyword'margin' and token.scan_dimen() or nil local box = token.scan_int() local index = tex.saveboxresource(box, attr, resources, imm == 'immediate', type, margin)