[latex3-commits] [latex3/latex2e] UF-latex-lab-refadaption: adapt ref handling to tagpdf 0.99f (503a6cd4)

github at latex-project.org github at latex-project.org
Thu Sep 19 10:47:27 CEST 2024


Repository : https://github.com/latex3/latex2e
On branch  : UF-latex-lab-refadaption
Link       : https://github.com/latex3/latex2e/commit/503a6cd48d958204bab88e0f2c371bea84ec5662

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

commit 503a6cd48d958204bab88e0f2c371bea84ec5662
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu Sep 19 10:47:27 2024 +0200

    adapt ref handling to tagpdf 0.99f


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

503a6cd48d958204bab88e0f2c371bea84ec5662
 required/latex-lab/changes.txt             |  3 +++
 required/latex-lab/latex-lab-footnotes.dtx |  9 +++------
 required/latex-lab/latex-lab-toc.dtx       | 10 +---------
 3 files changed, 7 insertions(+), 15 deletions(-)

diff --git a/required/latex-lab/changes.txt b/required/latex-lab/changes.txt
index f55d02d1..dfab1dea 100644
--- a/required/latex-lab/changes.txt
+++ b/required/latex-lab/changes.txt
@@ -1,3 +1,6 @@
+2024-09-19 Ulrike Fischer <Ulrike.Fischer at latex-project.org>
+	* latex-lab-toc.dtx,latex-lab-footnotes.dtx: adapt Ref handling to tagpdf 0.99f
+
 2024-09-13 Ulrike Fischer <Ulrike.Fischer at latex-project.org>
 	* documentmetadata-support.dtx: change warning to error if pdfstandard is unknown,
       see https://github.com/latex3/pdfresources/issues/77#issuecomment-2329522654. 
diff --git a/required/latex-lab/latex-lab-footnotes.dtx b/required/latex-lab/latex-lab-footnotes.dtx
index 039d8554..f18d40be 100644
--- a/required/latex-lab/latex-lab-footnotes.dtx
+++ b/required/latex-lab/latex-lab-footnotes.dtx
@@ -17,8 +17,8 @@
 %
 % for those people who are interested or want to report an issue.
 %
-\def\ltlabfootnotedate{2024-07-27}
-\def\ltlabfootnoteversion{0.8e}
+\def\ltlabfootnotedate{2024-09-19}
+\def\ltlabfootnoteversion{0.8f}
 
 %<*driver>
 \documentclass{l3doc}
@@ -1953,10 +1953,7 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_gput_ref:nn #1 #2 %#1 the structure number receiving the ref #2
   {
-    \tag_if_active:T
-      {
-        \tag_struct_gput:nne {#1}{ref}{\tag_struct_object_ref:e { #2 }}
-      }
+    \tag_struct_gput:nnn {#1}{ref_num}{#2}
   }
 \cs_new_protected:Npn \fnote_gput_refs:nn #1 #2 % pair of numbers
   {
diff --git a/required/latex-lab/latex-lab-toc.dtx b/required/latex-lab/latex-lab-toc.dtx
index 5ad0d3ce..1e393809 100644
--- a/required/latex-lab/latex-lab-toc.dtx
+++ b/required/latex-lab/latex-lab-toc.dtx
@@ -160,15 +160,7 @@
   {
     \prop_map_inline:Nn\g_@@_struct_ref_by_dest_prop
       {
-        \prop_get:NnNTF \g_@@_struct_dest_num_prop {##2} \l_@@_tmpa_tl
-          {
-            \@@_struct_gput_data_ref:ee
-              { ##1 }
-              { \tag_struct_object_ref:e{ \l_@@_tmpa_tl }}
-          }
-          {
-            \msg_warning:nnnn {tag}{struct-dest-unknown}{##2}{ ##1}
-          }
+        \tag_struct_gput:nnn {##1}{ref_dest}{##2}
       }
   }
 \hook_gput_code:nnn {tagpdf/finish/before}{tagpdf/struct/Ref}{\g_@@_struct_ref_by_dest:}





More information about the latex3-commits mailing list.