summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tagpdf/tagpdf-backend.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-02-24 03:01:46 +0000
committerNorbert Preining <norbert@preining.info>2024-02-24 03:01:46 +0000
commitf325bd88d1d4db13f51277bc59c8ff8814e937bc (patch)
treee39af6619c91d812dd93cb57d25149da5a84d801 /macros/latex/contrib/tagpdf/tagpdf-backend.dtx
parente7a321bba289c40f39563c19bbeac355f7c0eeeb (diff)
CTAN sync 202402240301
Diffstat (limited to 'macros/latex/contrib/tagpdf/tagpdf-backend.dtx')
-rw-r--r--macros/latex/contrib/tagpdf/tagpdf-backend.dtx20
1 files changed, 13 insertions, 7 deletions
diff --git a/macros/latex/contrib/tagpdf/tagpdf-backend.dtx b/macros/latex/contrib/tagpdf/tagpdf-backend.dtx
index 8d0ba2593e..e4078dbb6e 100644
--- a/macros/latex/contrib/tagpdf/tagpdf-backend.dtx
+++ b/macros/latex/contrib/tagpdf/tagpdf-backend.dtx
@@ -47,13 +47,13 @@
% }^^A
% }
%
-% \date{Version 0.98v, released 2024-02-04}
+% \date{Version 0.98w, released 2024-02-22}
% \maketitle
% \begin{implementation}
% \begin{macrocode}
%<@@=tag>
%<*luatex>
-\ProvidesExplFile {tagpdf-luatex.def} {2024-02-04} {0.98v}
+\ProvidesExplFile {tagpdf-luatex.def} {2024-02-22} {0.98w}
{tagpdf~driver~for~luatex}
% \end{macrocode}
% \section{Loading the lua}
@@ -97,6 +97,12 @@
\lua_now:e { ltx.@@.tables.\cs_to_str:N#1 = {} }
}
+\cs_set_protected:Npn \@@_prop_new_linked:N #1
+ {
+ \prop_new_linked:N #1
+ \lua_now:e { ltx.@@.tables.\cs_to_str:N#1 = {} }
+ }
+
\cs_set_protected:Npn \@@_seq_new:N #1
{
@@ -158,8 +164,8 @@
local ProvidesLuaModule = {
name = "tagpdf",
- version = "0.98v", --TAGVERSION
- date = "2024-02-04", --TAGDATE
+ version = "0.98w", --TAGVERSION
+ date = "2024-02-22", --TAGDATE
description = "tagpdf lua code",
license = "The LATEX Project Public License 1.3c"
}
@@ -636,7 +642,7 @@ if tex.outputmode == 0 then
else -- assume a dvips variant
function @@_backend_create_bmc_node (tag)
local bmcnode = nodenew("whatsit","special")
- bmcnode.data = "ps:SDict begin mark/"..tag.." BMC pdfmark end"
+ bmcnode.data = "ps:SDict begin mark/"..tag.." /BMC pdfmark end"
return bmcnode
end
end
@@ -672,7 +678,7 @@ if tex.outputmode == 0 then
else -- assume a dvips variant
function @@_backend_create_bdc_node (tag,dict)
local bdcnode = nodenew("whatsit","special")
- bdcnode.data = "ps:SDict begin mark/"..tag.."<<"..dict..">> BDC pdfmark end"
+ bdcnode.data = "ps:SDict begin mark/"..tag.."<<"..dict..">> /BDC pdfmark end"
return bdcnode
end
end
@@ -699,7 +705,7 @@ end
% \begin{macrocode}
local function @@_pdf_object_ref (name)
local tokenname = 'c__pdf_backend_object_'..name..'_int'
- local object = token.create(tokenname).index..' 0 R'
+ local object = token.create(tokenname).mode ..' 0 R'
return object
end
ltx.@@.func.pdf_object_ref=@@_pdf_object_ref