From fcbad724ed28565196163a7975cdd7220fbbae05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Fabian=20Kr=C3=BCger?= Date: Thu, 18 Jul 2019 18:12:53 +0200 Subject: [PATCH] Switch between horizontal and vertical --- luametalatex-back-pdf.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luametalatex-back-pdf.lua b/luametalatex-back-pdf.lua index 8327273..0d9cf25 100644 --- a/luametalatex-back-pdf.lua +++ b/luametalatex-back-pdf.lua @@ -5,9 +5,9 @@ local fontdirs = setmetatable({}, {__index=function(t, k)t[k] = pfile:getobj() r local usedglyphs = {} token.luacmd("shipout", function() local voff = node.new'kern' - voff.kern = tex.voffset + pdf.variable.horigin + voff.kern = tex.voffset + pdf.variable.vorigin voff.next = token.scan_list() - voff.next.shift = tex.hoffset + pdf.variable.vorigin + voff.next.shift = tex.hoffset + pdf.variable.horigin local list = node.vpack(voff) list.height = tex.pageheight list.width = tex.pagewidth