[latex3-commits] [latex3/tagpdf] develop: fix parent structure in debug (d0dd228)

github at latex-project.org github at latex-project.org
Fri Mar 22 23:55:53 CET 2024


Repository : https://github.com/latex3/tagpdf
On branch  : develop
Link       : https://github.com/latex3/tagpdf/commit/d0dd228671e43280d5cc0070643362385785a5e2

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

commit d0dd228671e43280d5cc0070643362385785a5e2
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Mar 22 23:55:53 2024 +0100

    fix parent structure in debug


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

d0dd228671e43280d5cc0070643362385785a5e2
 CHANGELOG.md      | 1 +
 tagpdf-struct.dtx | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7caa706..696488d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,7 @@ this project uses date-based 'snapshot' version identifiers.
  
 ### Fixed
  - recording of used attributes. 
+ - debug/structures showed sometimes wrong parent structure 
 
 ## [2024-02-29]
 Version 0.98x
diff --git a/tagpdf-struct.dtx b/tagpdf-struct.dtx
index 16b8f11..0cf8eec 100644
--- a/tagpdf-struct.dtx
+++ b/tagpdf-struct.dtx
@@ -1618,7 +1618,7 @@
 %<debug>                 {no~parent:~stashed}
 %<debug>                 {
 %<debug>                   parent~structure:~\l_@@_struct_stack_parent_tmpa_tl\c_space_tl =~
-%<debug>                   \l_@@_get_parent_tmpa_tl
+%<debug>                   \prop_item:cn{ g__tag_struct_\l_@@_struct_stack_parent_tmpa_tl _prop }{S}
 %<debug>                 }  
 %<debug>             }
 %<debug>           \prop_gput:cne





More information about the latex3-commits mailing list.