From ec4c05eb534d8038353f24a68cc69b1802c6742d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 19 Nov 2023 21:30:46 +0000 Subject: tagpdf (19nov23) git-svn-id: svn://tug.org/texlive/trunk@68908 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/latex/tagpdf/tagpdf-backend.dtx | 8 +- .../source/latex/tagpdf/tagpdf-checks.dtx | 4 +- .../texmf-dist/source/latex/tagpdf/tagpdf-data.dtx | 18 ++-- .../source/latex/tagpdf/tagpdf-mc-generic.dtx | 6 +- .../source/latex/tagpdf/tagpdf-mc-luacode.dtx | 6 +- .../source/latex/tagpdf/tagpdf-mc-shared.dtx | 4 +- .../source/latex/tagpdf/tagpdf-roles.dtx | 4 +- .../source/latex/tagpdf/tagpdf-space.dtx | 4 +- .../source/latex/tagpdf/tagpdf-struct.dtx | 6 +- .../texmf-dist/source/latex/tagpdf/tagpdf-tree.dtx | 4 +- .../texmf-dist/source/latex/tagpdf/tagpdf-user.dtx | 4 +- Master/texmf-dist/source/latex/tagpdf/tagpdf.dtx | 118 ++++----------------- 12 files changed, 54 insertions(+), 132 deletions(-) (limited to 'Master/texmf-dist/source/latex') diff --git a/Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx b/Master/texmf-dist/source/latex/tagpdf/tagpdf-backend.dtx index b189742c5d1..d02333ad24f 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.98p, released 2023-11-17} +% \date{Version 0.98q, released 2023-11-19} % \maketitle % \begin{implementation} % \begin{macrocode} %<@@=tag> %<*luatex> -\ProvidesExplFile {tagpdf-luatex.def} {2023-11-17} {0.98p} +\ProvidesExplFile {tagpdf-luatex.def} {2023-11-19} {0.98q} {tagpdf~driver~for~luatex} % \end{macrocode} % \section{Loading the lua} @@ -158,8 +158,8 @@ local ProvidesLuaModule = { name = "tagpdf", - version = "0.98p", --TAGVERSION - date = "2023-11-17", --TAGDATE + version = "0.98q", --TAGVERSION + date = "2023-11-19", --TAGDATE description = "tagpdf lua code", license = "The LATEX Project Public License 1.3c" } diff --git a/Master/texmf-dist/source/latex/tagpdf/tagpdf-checks.dtx b/Master/texmf-dist/source/latex/tagpdf/tagpdf-checks.dtx index 8a281250dff..9b4de607d48 100644 --- a/Master/texmf-dist/source/latex/tagpdf/tagpdf-checks.dtx +++ b/Master/texmf-dist/source/latex/tagpdf/tagpdf-checks.dtx @@ -48,7 +48,7 @@ % }^^A % } % -% \date{Version 0.98p, released 2023-11-17} +% \date{Version 0.98q, released 2023-11-19} % \maketitle % \begin{documentation} % \section{Commands} @@ -313,7 +313,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-checks-code} {2023-11-17} {0.98p} +\ProvidesExplPackage {tagpdf-checks-code} {2023-11-19} {0.98q} {part of tagpdf - code related to checks, conditionals, debugging and messages} % % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/tagpdf/tagpdf-data.dtx b/Master/texmf-dist/source/latex/tagpdf/tagpdf-data.dtx index b866058c83c..6803d0c2801 100644 --- a/Master/texmf-dist/source/latex/tagpdf/tagpdf-data.dtx +++ b/Master/texmf-dist/source/latex/tagpdf/tagpdf-data.dtx @@ -47,7 +47,7 @@ % }^^A % } % -% \date{Version 0.98p, released 2023-11-17} +% \date{Version 0.98q, released 2023-11-19} % \maketitle % \begin{documentation} % This files contains a various data files which are read in @@ -60,7 +60,7 @@ % It lists the new tag, the rolemap and the namespace of the rolemap. % \begin{macrocode} %<*ns-latex> -%% \ProvidesExplFile {tagpdf-ns-latex.def} {2023-11-17} {0.98p} +%% \ProvidesExplFile {tagpdf-ns-latex.def} {2023-11-19} {0.98q} %% {latex} {https://www.latex-project.org/ns/dflt/2022}{} title, Title, pdf2, part, Title, pdf2, @@ -92,7 +92,7 @@ text, P, pdf2, % It is bound to change % \begin{macrocode} %<*ns-latex-book> -%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2023-11-17} {0.98p} +%% \ProvidesExplFile {tagpdf-ns-latex-book.def} {2023-11-19} {0.98q} %% {latex-book} {https://www.latex-project.org/ns/book/2022}{} chapter, H1,pdf2, section, H2,pdf2, @@ -108,7 +108,7 @@ subparagraph, H6,pdf2, % loaded. % \begin{macrocode} %<*ns-latex-inline> -%% \ProvidesExplFile {tagpdf-ns-latex-inline.def} {2023-11-17} {0.98p} +%% \ProvidesExplFile {tagpdf-ns-latex-inline.def} {2023-11-19} {0.98q} %% {latex-inline} {https://www.latex-project.org/ns/inline/2022}{} chapter, Span, pdf2, section, Span, pdf2, @@ -122,7 +122,7 @@ P, Span, pdf2, % \section{The pdf namespace data} % \begin{macrocode} %<*ns-pdf> -%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2023-11-17} {0.98p} +%% \ProvidesExplFile {tagpdf-ns-pdf.def} {2023-11-19} {0.98q} %% {pdf} {http://iso.org/pdf/ssn}{} StructTreeRoot,StructTreeRoot,pdf,D, Document,Document,pdf,D, @@ -190,7 +190,7 @@ Strong,Span,pdf,I, % \section{The pdf 2.0 namespace data} % \begin{macrocode} %<*ns-pdf2> -%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2023-11-17} {0.98p} +%% \ProvidesExplFile {tagpdf-ns-pdf2.def} {2023-11-19} {0.98q} %% {pdf2} {http://iso.org/pdf2/ssn}{} Document,Document,pdf2,D, Part,Part,pdf2,G, @@ -246,7 +246,7 @@ Strong,Strong,pdf2,I, % \section{The mathml namespace data} % \begin{macrocode} %<*ns-mathml> -%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2023-11-17} {0.98p} +%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2023-11-19} {0.98q} % {mathml}{http://www.w3.org/1998/Math/MathML}{} abs,abs,mathml, and,and,mathml, @@ -481,7 +481,7 @@ xor,xor,mathml, % This will perhaps change in future. % \begin{macrocode} %<*parent-child> -%% \ProvidesExplFile {tagpdf-parent-child.csv} {2023-11-17} {0.98p} +%% \ProvidesExplFile {tagpdf-parent-child.csv} {2023-11-19} {0.98q} ,,,StructTreeRoot,Document,Art,Part,Div,Sect,BlockQuote,NonStruct,TOC,TOCI,Index,Private,Quote,Note,Reference,BibEntry,P,Hn,H,Lbl,Code,Span,Link,Annot,Form,Ruby,RB,RT,RP,Warichu,WT,WP,L,LI,LBody,Table,TR,TH,TD,THead,TBody,TFoot,Caption,Figure,Formula,MC Document,both,document level,1,0..n,∅,‡,‡,∅,0..n,‡,∅,∅,∅,0..n,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅ Art,1.7,grouping,∅,0..n,∅,‡,‡,0..n,0..n,‡,∅,∅,∅,0..n,∅,0..n,∅,∅,∅,0..1,0..1,∅,∅,∅,0..n,0..n,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,0..n,∅,∅,0..n,0..n,∅,∅,∅,0..n,0..n,∅,∅ @@ -536,7 +536,7 @@ MC,both,---,∅,∅,∅,∅,∅,∅,0..n,‡,∅,∅,∅,0..n,0..n,0..n,0..n,0.. % This will perhaps change in future. % \begin{macrocode} %<*parent-child-2> -%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2023-11-17} {0.98p} +%% \ProvidesExplFile {tagpdf-parent-child-2.csv} {2023-11-19} {0.98q} ,,,StructTreeRoot,Document,DocumentFragment,Art,Part,Div,Sect,Aside,BlockQuote,NonStruct,TOC,TOCI,Index,Private,Title,Sub,Quote,Note,Reference,BibEntry,P,Hn,H,Lbl,Code,Em,Strong,Span,Link,Annot,Form,Ruby,RB,RT,RP,Warichu,WT,WP,FENote,L,LI,LBody,Table,TR,TH,TD,THead,TBody,TFoot,Caption,Figure,Formula,math,mathml,Artifact,MC Document,both,document level,1,0..n,0..n,∅,‡,‡,∅,0..n,0..n,‡,∅,∅,∅,0..n,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,0..n,∅ DocumentFragment,2.0,document level,∅,0..n,0..n,0..n,‡,‡,0..n,0..n,0..n,‡,∅,∅,∅,0..n,∅,∅,∅,∅*,∅,∅,∅,∅,∅,∅,∅*,∅,∅,∅,∅*,∅*,∅,∅,∅,∅,∅,∅,∅,∅,∅*,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅,∅*,∅,∅,∅,∅,0..n,∅ diff --git a/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-generic.dtx b/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-generic.dtx index be9830837ad..ff030a6c6e9 100644 --- a/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-generic.dtx +++ b/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-generic.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98p, released 2023-11-17} +% \date{Version 0.98q, released 2023-11-19} % \maketitle % \begin{documentation} % \end{documentation} @@ -55,11 +55,11 @@ % \begin{macrocode} %<@@=tag> %<*generic> -\ProvidesExplPackage {tagpdf-mc-code-generic} {2023-11-17} {0.98p} +\ProvidesExplPackage {tagpdf-mc-code-generic} {2023-11-19} {0.98q} {part of tagpdf - code related to marking chunks - generic mode} % %<*debug> -\ProvidesExplPackage {tagpdf-debug-generic} {2023-11-17} {0.98p} +\ProvidesExplPackage {tagpdf-debug-generic} {2023-11-19} {0.98q} {part of tagpdf - debugging code related to marking chunks - generic mode} % % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-luacode.dtx b/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-luacode.dtx index 5d4930fcc38..c3454bb45de 100644 --- a/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-luacode.dtx +++ b/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-luacode.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98p, released 2023-11-17} +% \date{Version 0.98q, released 2023-11-19} % \maketitle % \begin{implementation} % The code is splitted into three parts: code shared by all engines, @@ -86,11 +86,11 @@ % \begin{macrocode} %<@@=tag> %<*luamode> -\ProvidesExplPackage {tagpdf-mc-code-lua} {2023-11-17} {0.98p} +\ProvidesExplPackage {tagpdf-mc-code-lua} {2023-11-19} {0.98q} {tagpdf - mc code only for the luamode } % %<*debug> -\ProvidesExplPackage {tagpdf-debug-lua} {2023-11-17} {0.98p} +\ProvidesExplPackage {tagpdf-debug-lua} {2023-11-19} {0.98q} {part of tagpdf - debugging code related to marking chunks - lua mode} % % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-shared.dtx b/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-shared.dtx index de0facacc46..169b9f900c4 100644 --- a/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-shared.dtx +++ b/Master/texmf-dist/source/latex/tagpdf/tagpdf-mc-shared.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98p, released 2023-11-17} +% \date{Version 0.98q, released 2023-11-19} % \maketitle % \begin{documentation} % \section{Public Commands} @@ -181,7 +181,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-mc-code-shared} {2023-11-17} {0.98p} +\ProvidesExplPackage {tagpdf-mc-code-shared} {2023-11-19} {0.98q} {part of tagpdf - code related to marking chunks - code shared by generic and luamode } % diff --git a/Master/texmf-dist/source/latex/tagpdf/tagpdf-roles.dtx b/Master/texmf-dist/source/latex/tagpdf/tagpdf-roles.dtx index de76d3a1d10..bd97e8d7d45 100644 --- a/Master/texmf-dist/source/latex/tagpdf/tagpdf-roles.dtx +++ b/Master/texmf-dist/source/latex/tagpdf/tagpdf-roles.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98p, released 2023-11-17} +% \date{Version 0.98q, released 2023-11-19} % \maketitle % \begin{documentation} % \begin{function} @@ -98,7 +98,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-roles-code} {2023-11-17} {0.98p} +\ProvidesExplPackage {tagpdf-roles-code} {2023-11-19} {0.98q} {part of tagpdf - code related to roles and structure names} % % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx b/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx index 16b5ec5e551..f4bfab54181 100644 --- a/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx +++ b/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98p, released 2023-11-17} +% \date{Version 0.98q, released 2023-11-19} % \maketitle % \begin{documentation} % \begin{function}{interwordspace (setup-key)} @@ -64,7 +64,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-space-code} {2023-11-17} {0.98p} +\ProvidesExplPackage {tagpdf-space-code} {2023-11-19} {0.98q} {part of tagpdf - code related to real space chars} % % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/tagpdf/tagpdf-struct.dtx b/Master/texmf-dist/source/latex/tagpdf/tagpdf-struct.dtx index 76b23e8e4c2..9f839f8bc07 100644 --- a/Master/texmf-dist/source/latex/tagpdf/tagpdf-struct.dtx +++ b/Master/texmf-dist/source/latex/tagpdf/tagpdf-struct.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98p, released 2023-11-17} +% \date{Version 0.98q, released 2023-11-19} % \maketitle % \begin{documentation} % \section{Public Commands} @@ -264,7 +264,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-struct-code} {2023-11-17} {0.98p} +\ProvidesExplPackage {tagpdf-struct-code} {2023-11-19} {0.98q} {part of tagpdf - code related to storing structure} % % \end{macrocode} @@ -1850,7 +1850,7 @@ % \section{Attributes and attribute classes} % \begin{macrocode} %<*header> -\ProvidesExplPackage {tagpdf-attr-code} {2023-11-17} {0.98p} +\ProvidesExplPackage {tagpdf-attr-code} {2023-11-19} {0.98q} {part of tagpdf - code related to attributes and attribute classes} % % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/tagpdf/tagpdf-tree.dtx b/Master/texmf-dist/source/latex/tagpdf/tagpdf-tree.dtx index d244a8dc4ce..37fc53b6447 100644 --- a/Master/texmf-dist/source/latex/tagpdf/tagpdf-tree.dtx +++ b/Master/texmf-dist/source/latex/tagpdf/tagpdf-tree.dtx @@ -47,13 +47,13 @@ % }^^A % } % -% \date{Version 0.98p, released 2023-11-17} +% \date{Version 0.98q, released 2023-11-19} % \maketitle % \begin{implementation} % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-tree-code} {2023-11-17} {0.98p} +\ProvidesExplPackage {tagpdf-tree-code} {2023-11-19} {0.98q} {part of tagpdf - code related to writing trees and dictionaries to the pdf} % % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/tagpdf/tagpdf-user.dtx b/Master/texmf-dist/source/latex/tagpdf/tagpdf-user.dtx index 4724b322dc3..704a2f769d3 100644 --- a/Master/texmf-dist/source/latex/tagpdf/tagpdf-user.dtx +++ b/Master/texmf-dist/source/latex/tagpdf/tagpdf-user.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.98p, released 2023-11-17} +% \date{Version 0.98q, released 2023-11-19} % \maketitle % \begin{documentation} % \section{Setup commands} @@ -250,7 +250,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-user} {2023-11-17} {0.98p} +\ProvidesExplPackage {tagpdf-user} {2023-11-19} {0.98q} {tagpdf - user commands} % % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/tagpdf/tagpdf.dtx b/Master/texmf-dist/source/latex/tagpdf/tagpdf.dtx index cfe2ff9df88..907f466a435 100644 --- a/Master/texmf-dist/source/latex/tagpdf/tagpdf.dtx +++ b/Master/texmf-dist/source/latex/tagpdf/tagpdf.dtx @@ -93,7 +93,7 @@ % \begin{macrocode} %<@@=tag> %<*package> -\ProvidesExplPackage {tagpdf} {2023-11-17} {0.98p} +\ProvidesExplPackage {tagpdf} {2023-11-19} {0.98q} { A package to experiment with pdf tagging } \bool_if:nF @@ -119,7 +119,7 @@ % \end{macrocode} %<*debug> % \begin{macrocode} -\ProvidesExplPackage {tagpdf-debug} {2023-11-17} {0.98p} +\ProvidesExplPackage {tagpdf-debug} {2023-11-19} {0.98q} { debug code for tagpdf } \@ifpackageloaded{tagpdf}{}{\PackageWarning{tagpdf-debug}{tagpdf~not~loaded,~quitting}\endinput} % \end{macrocode} @@ -142,7 +142,7 @@ % we define a base package with dummy functions % \begin{macrocode} %<*base> -\ProvidesExplPackage {tagpdf-base} {2023-11-17} {0.98p} +\ProvidesExplPackage {tagpdf-base} {2023-11-19} {0.98q} {part of tagpdf - provide base, no-op versions of the user commands } % % \end{macrocode} @@ -168,10 +168,6 @@ \ProcessOptions % \end{macrocode} % \section{Packages} -% We need the temporary version of l3ref until this is in the kernel. -% \begin{macrocode} -\RequirePackage{l3ref-tmp} -% \end{macrocode} % To be on the safe side for now, load also the base definitions % \begin{macrocode} \RequirePackage{tagpdf-base} @@ -200,43 +196,23 @@ % \begin{macro}{\@@_lastpagelabel:} % \begin{macrocode} %<*package> -\cs_if_exist:NTF \property_new:nnnn - { - \cs_new_protected:Npn \@@_lastpagelabel: - { - \legacy_if:nT { @filesw } - { - \exp_args:NNne \exp_args:NNe\iow_now:Nn \@auxout - { - \token_to_str:N \new@label@record - {@tag@LastPage} - { - {abspage} { \int_use:N \g_shipout_readonly_int} - {tagmcabs}{ \int_use:N \c@g_@@_MCID_abs_int } - {tagstruct}{\int_use:N \c@g_@@_struct_abs_int } - } - } - } - } - } +\cs_new_protected:Npn \@@_lastpagelabel: { - \cs_new_protected:Npn \@@_lastpagelabel: - { - \legacy_if:nT { @filesw } - { - \exp_args:NNne \exp_args:NNe\iow_now:Nn \@auxout - { - \token_to_str:N \newlabeldata - {@tag@LastPage} - { - {abspage} { \int_use:N \g_shipout_readonly_int} - {tagmcabs}{ \int_use:N \c@g_@@_MCID_abs_int } - {tagstruct}{\int_use:N \c@g_@@_struct_abs_int } - } - } - } - } - } + \legacy_if:nT { @filesw } + { + \exp_args:NNne \exp_args:NNe\iow_now:Nn \@auxout + { + \token_to_str:N \new@label@record + {@tag@LastPage} + { + {abspage} { \int_use:N \g_shipout_readonly_int} + {tagmcabs}{ \int_use:N \c@g_@@_MCID_abs_int } + {tagstruct}{\int_use:N \c@g_@@_struct_abs_int } + } + } + } + } + \AddToHook{enddocument/afterlastpage} {\@@_lastpagelabel:} % \end{macrocode} @@ -372,10 +348,6 @@ % To ease transition to properties we setup internal definition. They can be replaced % by the property definitions once that is released. % \begin{macro}{\@@_property_new:nnnn,\@@_property_gset:nnnn,\@@_property_ref:nnn} -% \begin{macrocode} -\cs_if_exist:NTF \property_new:nnnn - { -% \end{macrocode} % At first a command to define new properties % \begin{macrocode} \cs_new_eq:NN \@@_property_new:nnnn \property_new:nnnn @@ -397,45 +369,7 @@ \property_record:nn{#1}{#2} \@esphack } - } -% \end{macrocode} -% now the same with l3ref-tmp -% \begin{macrocode} - { - \cs_new_protected:Npn \@@_property_new:nnnn #1 #2 #3 #4 - { - \ref_attribute_gset:nnnn {#1}{#3}{#2}{#4} - } - \cs_new_protected:Npn \@@_property_gset:nnnn #1 #2 #3 #4 - { - \ref_attribute_gset:nnnn {#1}{#3}{#2}{#4} - } - \cs_new:Npn \@@_property_ref:nnn #1#2#3 - { - \exp_args:Nee - \__ref_value:nnn - { \tl_to_str:n {#1} } { \tl_to_str:n {#2} } {#3} - } - \cs_new:Npn \__ref_value:nnn #1#2#3 - { - \tl_if_exist:cTF { g__ref_label_ #1 _ #2 _tl } - { \tl_use:c { g__ref_label_ #1 _ #2 _tl } } - { - #3 - } - } - \cs_new_eq:NN \@@_property_ref:nn \ref_value:nn - \cs_new_protected:Npn \@@_property_record:nn #1#2 - { - \@bsphack - \ref_label:nn {#1}{#2} - \@esphack - } -% \end{macrocode} -% to provide problems when switching between main and dev format: -% \begin{macrocode} - \providecommand\new@label@record[2]{} - } + % \end{macrocode} % And a few variants % \begin{macrocode} @@ -443,18 +377,6 @@ \cs_generate_variant:Nn \@@_property_ref:nn {en} \cs_generate_variant:Nn \@@_property_record:nn {en,eV} % \end{macrocode} -% The graphic code in latex-lab uses an internal tagpdf command, so until the next -% release we need to provide it -% \begin{macrocode} -\cs_new:Npn \@@_ref_value:enn #1#2#3 - { - \tl_if_exist:cTF { g__ref_label_ #1 _ #2 _tl } - { \tl_use:c { g__ref_label_ #1 _ #2 _tl } } - { - #3 - } - } -% \end{macrocode} % \end{macro} % % \begin{macro}{\@@_property_ref_lastpage:nn} -- cgit v1.2.3