[latex3-commits] [latex3/latex2e] latex-lab/uf-review-05: update tagpdf to 0.98q (0b3e1e7a)

github at latex-project.org github at latex-project.org
Sun Nov 19 10:54:27 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : latex-lab/uf-review-05
Link       : https://github.com/latex3/latex2e/commit/0b3e1e7a3683bd869b326fd6a9fed6fd0d2b02c5

>---------------------------------------------------------------

commit 0b3e1e7a3683bd869b326fd6a9fed6fd0d2b02c5
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Nov 19 10:54:27 2023 +0100

    update tagpdf to 0.98q


>---------------------------------------------------------------

0b3e1e7a3683bd869b326fd6a9fed6fd0d2b02c5
 texmf/tex/latex/tagpdf/tagpdf-base.sty            |  2 +-
 texmf/tex/latex/tagpdf/tagpdf-debug-generic.sty   |  2 +-
 texmf/tex/latex/tagpdf/tagpdf-debug-lua.sty       |  2 +-
 texmf/tex/latex/tagpdf/tagpdf-debug.sty           |  2 +-
 texmf/tex/latex/tagpdf/tagpdf-luatex.def          |  2 +-
 texmf/tex/latex/tagpdf/tagpdf-mc-code-generic.sty |  2 +-
 texmf/tex/latex/tagpdf/tagpdf-mc-code-lua.sty     |  2 +-
 texmf/tex/latex/tagpdf/tagpdf-ns-latex-book.def   |  2 +-
 texmf/tex/latex/tagpdf/tagpdf-ns-latex-inline.def |  2 +-
 texmf/tex/latex/tagpdf/tagpdf-ns-latex.def        |  2 +-
 texmf/tex/latex/tagpdf/tagpdf-ns-mathml.def       |  2 +-
 texmf/tex/latex/tagpdf/tagpdf-ns-pdf.def          |  2 +-
 texmf/tex/latex/tagpdf/tagpdf-ns-pdf2.def         |  2 +-
 texmf/tex/latex/tagpdf/tagpdf-parent-child-2.csv  |  2 +-
 texmf/tex/latex/tagpdf/tagpdf-parent-child.csv    |  2 +-
 texmf/tex/latex/tagpdf/tagpdf.lua                 |  4 +-
 texmf/tex/latex/tagpdf/tagpdf.sty                 | 97 ++++-------------------
 17 files changed, 34 insertions(+), 97 deletions(-)

diff --git a/texmf/tex/latex/tagpdf/tagpdf-base.sty b/texmf/tex/latex/tagpdf/tagpdf-base.sty
index 5259ae6c..a85a5eca 100644
--- a/texmf/tex/latex/tagpdf/tagpdf-base.sty
+++ b/texmf/tex/latex/tagpdf/tagpdf-base.sty
@@ -25,7 +25,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf.dtx
-\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 }
 \AddToHook{begindocument}
  {
diff --git a/texmf/tex/latex/tagpdf/tagpdf-debug-generic.sty b/texmf/tex/latex/tagpdf/tagpdf-debug-generic.sty
index 8a741db7..51804390 100644
--- a/texmf/tex/latex/tagpdf/tagpdf-debug-generic.sty
+++ b/texmf/tex/latex/tagpdf/tagpdf-debug-generic.sty
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-mc-generic.dtx
-\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}
 \cs_set_protected:Npn \tag_mc_begin:n #1 %#1 keyval
   {
diff --git a/texmf/tex/latex/tagpdf/tagpdf-debug-lua.sty b/texmf/tex/latex/tagpdf/tagpdf-debug-lua.sty
index 9a21fe95..e07859b9 100644
--- a/texmf/tex/latex/tagpdf/tagpdf-debug-lua.sty
+++ b/texmf/tex/latex/tagpdf/tagpdf-debug-lua.sty
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-mc-luacode.dtx
-\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}
 \cs_set_protected:Npn \__tag_mc_handle_stash:n #1 %1 mcidnum
   {
diff --git a/texmf/tex/latex/tagpdf/tagpdf-debug.sty b/texmf/tex/latex/tagpdf/tagpdf-debug.sty
index af96fb61..704c280a 100644
--- a/texmf/tex/latex/tagpdf/tagpdf-debug.sty
+++ b/texmf/tex/latex/tagpdf/tagpdf-debug.sty
@@ -26,7 +26,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf.dtx
-\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}
 \prop_gput:Nnn \g_msg_module_type_prop { tag / debug} {}
diff --git a/texmf/tex/latex/tagpdf/tagpdf-luatex.def b/texmf/tex/latex/tagpdf/tagpdf-luatex.def
index 82ae95a0..27ab3efa 100644
--- a/texmf/tex/latex/tagpdf/tagpdf-luatex.def
+++ b/texmf/tex/latex/tagpdf/tagpdf-luatex.def
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-backend.dtx
-\ProvidesExplFile {tagpdf-luatex.def} {2023-11-17} {0.98p}
+\ProvidesExplFile {tagpdf-luatex.def} {2023-11-19} {0.98q}
   {tagpdf~driver~for~luatex}
 {
   \fontencoding{TU}\fontfamily{lmr}\fontseries{m}\fontshape{n}\fontsize{10pt}{10pt}\selectfont
diff --git a/texmf/tex/latex/tagpdf/tagpdf-mc-code-generic.sty b/texmf/tex/latex/tagpdf/tagpdf-mc-code-generic.sty
index 05851dc5..41fa6d93 100644
--- a/texmf/tex/latex/tagpdf/tagpdf-mc-code-generic.sty
+++ b/texmf/tex/latex/tagpdf/tagpdf-mc-code-generic.sty
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-mc-generic.dtx
-\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}
 \tl_new:N \l__tag_mc_ref_abspage_tl
 
diff --git a/texmf/tex/latex/tagpdf/tagpdf-mc-code-lua.sty b/texmf/tex/latex/tagpdf/tagpdf-mc-code-lua.sty
index 6213ec2a..fecf9d13 100644
--- a/texmf/tex/latex/tagpdf/tagpdf-mc-code-lua.sty
+++ b/texmf/tex/latex/tagpdf/tagpdf-mc-code-lua.sty
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-mc-luacode.dtx
-\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 }
 \hook_gput_code:nnn{begindocument}{tagpdf/mc}
   {
diff --git a/texmf/tex/latex/tagpdf/tagpdf-ns-latex-book.def b/texmf/tex/latex/tagpdf/tagpdf-ns-latex-book.def
index af69e62d..2cfc97e6 100644
--- a/texmf/tex/latex/tagpdf/tagpdf-ns-latex-book.def
+++ b/texmf/tex/latex/tagpdf/tagpdf-ns-latex-book.def
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \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,
diff --git a/texmf/tex/latex/tagpdf/tagpdf-ns-latex-inline.def b/texmf/tex/latex/tagpdf/tagpdf-ns-latex-inline.def
index 8c92a20a..a2bf0928 100644
--- a/texmf/tex/latex/tagpdf/tagpdf-ns-latex-inline.def
+++ b/texmf/tex/latex/tagpdf/tagpdf-ns-latex-inline.def
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \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,
diff --git a/texmf/tex/latex/tagpdf/tagpdf-ns-latex.def b/texmf/tex/latex/tagpdf/tagpdf-ns-latex.def
index 771cd992..72ca9041 100644
--- a/texmf/tex/latex/tagpdf/tagpdf-ns-latex.def
+++ b/texmf/tex/latex/tagpdf/tagpdf-ns-latex.def
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \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,
diff --git a/texmf/tex/latex/tagpdf/tagpdf-ns-mathml.def b/texmf/tex/latex/tagpdf/tagpdf-ns-mathml.def
index 545e7c28..f889ac23 100644
--- a/texmf/tex/latex/tagpdf/tagpdf-ns-mathml.def
+++ b/texmf/tex/latex/tagpdf/tagpdf-ns-mathml.def
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2023-11-17} {0.98p}
+%% \ProvidesExplFile {tagpdf-ns-mathml.def} {2023-11-19} {0.98q}
 abs,abs,mathml,
 and,and,mathml,
 annotation,annotation,mathml,
diff --git a/texmf/tex/latex/tagpdf/tagpdf-ns-pdf.def b/texmf/tex/latex/tagpdf/tagpdf-ns-pdf.def
index 19a28e4f..48053b5d 100644
--- a/texmf/tex/latex/tagpdf/tagpdf-ns-pdf.def
+++ b/texmf/tex/latex/tagpdf/tagpdf-ns-pdf.def
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \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,
diff --git a/texmf/tex/latex/tagpdf/tagpdf-ns-pdf2.def b/texmf/tex/latex/tagpdf/tagpdf-ns-pdf2.def
index 8fc3602e..363b236e 100644
--- a/texmf/tex/latex/tagpdf/tagpdf-ns-pdf2.def
+++ b/texmf/tex/latex/tagpdf/tagpdf-ns-pdf2.def
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \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,
diff --git a/texmf/tex/latex/tagpdf/tagpdf-parent-child-2.csv b/texmf/tex/latex/tagpdf/tagpdf-parent-child-2.csv
index 8009e80a..7cc24567 100644
--- a/texmf/tex/latex/tagpdf/tagpdf-parent-child-2.csv
+++ b/texmf/tex/latex/tagpdf/tagpdf-parent-child-2.csv
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \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/texmf/tex/latex/tagpdf/tagpdf-parent-child.csv b/texmf/tex/latex/tagpdf/tagpdf-parent-child.csv
index cf2c9352..da619a39 100644
--- a/texmf/tex/latex/tagpdf/tagpdf-parent-child.csv
+++ b/texmf/tex/latex/tagpdf/tagpdf-parent-child.csv
@@ -19,7 +19,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf-data.dtx
-%% \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,∅,∅
diff --git a/texmf/tex/latex/tagpdf/tagpdf.lua b/texmf/tex/latex/tagpdf/tagpdf.lua
index 875c9df3..460ce786 100644
--- a/texmf/tex/latex/tagpdf/tagpdf.lua
+++ b/texmf/tex/latex/tagpdf/tagpdf.lua
@@ -24,8 +24,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/texmf/tex/latex/tagpdf/tagpdf.sty b/texmf/tex/latex/tagpdf/tagpdf.sty
index 910b8cb5..26eb303b 100644
--- a/texmf/tex/latex/tagpdf/tagpdf.sty
+++ b/texmf/tex/latex/tagpdf/tagpdf.sty
@@ -28,7 +28,7 @@
 %% and all files in that bundle must be distributed together.
 %% 
 %% File: tagpdf.dtx
-\ProvidesExplPackage {tagpdf} {2023-11-17} {0.98p}
+\ProvidesExplPackage {tagpdf} {2023-11-19} {0.98q}
   { A package to experiment with pdf tagging }
 
 \bool_if:nF
@@ -64,46 +64,25 @@
 \DeclareOption {disabledelayedshipout}{ \bool_gset_false:N\g__tag_delayed_shipout_bool }
 \ExecuteOptions{luamode}
 \ProcessOptions
-\RequirePackage{l3ref-tmp}
 \RequirePackage{tagpdf-base}
 
-\cs_if_exist:NTF \property_new:nnnn
+\cs_new_protected:Npn \__tag_lastpagelabel:
   {
-   \cs_new_protected:Npn \__tag_lastpagelabel:
-     {
-       \legacy_if:nT { @filesw }
-         {
-           \exp_args:NNne \exp_args:NNe\iow_now:Nn \@auxout
-              {
-                \token_to_str:N \new at label@record
-                  {@tag at LastPage}
-                  {
-                    {abspage} { \int_use:N \g_shipout_readonly_int}
-                    {tagmcabs}{ \int_use:N \c at g__tag_MCID_abs_int }
-                    {tagstruct}{\int_use:N \c at g__tag_struct_abs_int }
-                  }
-              }
-         }
-     }
-  }
-  {
-   \cs_new_protected:Npn \__tag_lastpagelabel:
-     {
-       \legacy_if:nT { @filesw }
-         {
-           \exp_args:NNne \exp_args:NNe\iow_now:Nn \@auxout
-              {
-                \token_to_str:N \newlabeldata
-                  {@tag at LastPage}
-                  {
-                    {abspage} { \int_use:N \g_shipout_readonly_int}
-                    {tagmcabs}{ \int_use:N \c at g__tag_MCID_abs_int }
-                    {tagstruct}{\int_use:N \c at g__tag_struct_abs_int }
-                  }
-              }
-         }
-     }
+    \legacy_if:nT { @filesw }
+      {
+        \exp_args:NNne \exp_args:NNe\iow_now:Nn \@auxout
+           {
+             \token_to_str:N \new at label@record
+               {@tag at LastPage}
+               {
+                 {abspage} { \int_use:N \g_shipout_readonly_int}
+                 {tagmcabs}{ \int_use:N \c at g__tag_MCID_abs_int }
+                 {tagstruct}{\int_use:N \c at g__tag_struct_abs_int }
+               }
+           }
+      }
   }
+
  \AddToHook{enddocument/afterlastpage}
   {\__tag_lastpagelabel:}
 \tl_new:N    \l__tag_tmpa_tl
@@ -144,8 +123,6 @@
 \cs_generate_variant:Nn \seq_set_split:Nnn{Nne}
 \cs_generate_variant:Nn \str_set_convert:Nnnn {Nonn, Noon, Nnon }
 \cs_generate_variant:Nn \clist_map_inline:nn {on}
-\cs_if_exist:NTF \property_new:nnnn
-  {
     \cs_new_eq:NN \__tag_property_new:nnnn \property_new:nnnn
     \cs_new_eq:NN \__tag_property_gset:nnnn \property_gset:nnnn
     \cs_new_eq:NN \__tag_property_ref:nnn \property_ref:nnn
@@ -156,50 +133,10 @@
         \property_record:nn{#1}{#2}
         \@esphack
       }
-  }
-  {
-    \cs_new_protected:Npn \__tag_property_new:nnnn #1 #2 #3 #4
-      {
-        \ref_attribute_gset:nnnn {#1}{#3}{#2}{#4}
-      }
-    \cs_new_protected:Npn \__tag_property_gset:nnnn #1 #2 #3 #4
-      {
-        \ref_attribute_gset:nnnn {#1}{#3}{#2}{#4}
-      }
-    \cs_new:Npn \__tag_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 \__tag_property_ref:nn \ref_value:nn
-     \cs_new_protected:Npn \__tag_property_record:nn #1#2
-       {
-         \@bsphack
-         \ref_label:nn {#1}{#2}
-         \@esphack
-       }
-     \providecommand\new at label@record[2]{}
-  }
+
 \cs_generate_variant:Nn \__tag_property_ref:nnn {enn}
 \cs_generate_variant:Nn \__tag_property_ref:nn {en}
 \cs_generate_variant:Nn \__tag_property_record:nn {en,eV}
-\cs_new:Npn \__tag_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
-           }
-  }
 \cs_new:Npn \__tag_property_ref_lastpage:nn #1 #2
   {
     \__tag_property_ref:nnn {@tag at LastPage}{#1}{#2}





More information about the latex3-commits mailing list.