[latex3-commits] [latex3/tagpdf] object-tracking: indexed structure destinations (4bdf8ab)
github at latex-project.org
github at latex-project.org
Wed Apr 3 13:39:50 CEST 2024
Repository : https://github.com/latex3/tagpdf
On branch : object-tracking
Link : https://github.com/latex3/tagpdf/commit/4bdf8aba913df12abf9632dac5ed46f77fd939e3
>---------------------------------------------------------------
commit 4bdf8aba913df12abf9632dac5ed46f77fd939e3
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Wed Apr 3 13:39:50 2024 +0200
indexed structure destinations
>---------------------------------------------------------------
4bdf8aba913df12abf9632dac5ed46f77fd939e3
tagpdf-tree.dtx | 2 +-
tagpdf-user.dtx | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tagpdf-tree.dtx b/tagpdf-tree.dtx
index 06f99c5..5472663 100644
--- a/tagpdf-tree.dtx
+++ b/tagpdf-tree.dtx
@@ -155,7 +155,7 @@
<<
/S/GoTo \c_space_tl
/D~\l_@@_tmpa_tl\c_space_tl
- /SD~[\pdf_object_ref:e{__tag/struct/\g_@@_tree_openaction_struct_tl}
+ /SD~[\pdf_object_ref_indexed:nn{@@/struct}{\g_@@_tree_openaction_struct_tl}
% \end{macrocode}
% there should be always a /Fit etc in the array but better play safe here ...
% \begin{macrocode}
diff --git a/tagpdf-user.dtx b/tagpdf-user.dtx
index 82732b4..05b211e 100644
--- a/tagpdf-user.dtx
+++ b/tagpdf-user.dtx
@@ -707,8 +707,8 @@
{ \g_@@_active_struct_bool }
{
\tl_set:Nn \l_pdf_current_structure_destination_tl
- { _@@/struct/\g_@@_struct_stack_current_tl }
- \pdf_activate_structure_destination:
+ { {@@/struct}{\g_@@_struct_stack_current_tl }}
+ \pdf_activate_indexed_structure_destination:
}
}
% \end{macrocode}
More information about the latex3-commits
mailing list.