From 4bdf8aba913df12abf9632dac5ed46f77fd939e3 Mon Sep 17 00:00:00 2001 From: Ulrike Fischer Date: Wed, 3 Apr 2024 13:39:50 +0200 Subject: [PATCH] indexed structure destinations --- 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 06f99c54..5472663d 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 82732b44..05b211ee 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}