diff options
author | Karl Berry <karl@freefriends.org> | 2024-02-23 22:02:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-02-23 22:02:49 +0000 |
commit | 2f5ea0892234257ff5e8fbe7020bad98e6bfbe12 (patch) | |
tree | 7301eeae20005829467e11f708c914b1c31e55e7 /Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx | |
parent | b82f9a585a90846fa22e7e88783287716036d99c (diff) |
tagpdf (23feb24)
git-svn-id: svn://tug.org/texlive/trunk@70094 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx b/Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx index 8d0ba2593e4..e4078dbb6e8 100644 --- a/Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx +++ b/Master/texmf-dist/source/latex/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 |