From d1ef3292ee2860dd311700ce135682b999cc47ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Fabian=20Kr=C3=BCger?= Date: Sun, 31 Oct 2021 17:52:34 +0100 Subject: [PATCH] Adapt to new tagpdf versions --- luamml-structelemwriter.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luamml-structelemwriter.lua b/luamml-structelemwriter.lua index bd0a59f..d74513d 100644 --- a/luamml-structelemwriter.lua +++ b/luamml-structelemwriter.lua @@ -35,8 +35,8 @@ local attributes = setmetatable({}, {__index = function(t, k) return attr_name end}) -local mc_type = token.create'l__tag_mc_type_attr'.index -local mc_cnt = token.create'l__tag_mc_cnt_attr'.index +local mc_type = luatexbase.attributes.g__tag_mc_type_attr +local mc_cnt = luatexbase.attributes.g__tag_mc_cnt_attr -- print('!!!', mc_type, mc_cnt) local stash_cnt = 0