From 0ff7a9c5ff44b9b64ddccaeabd7cb3161388165d Mon Sep 17 00:00:00 2001 From: Ulrike Fischer Date: Sat, 7 Sep 2024 02:10:00 +0200 Subject: [PATCH] no expansion in tag_stop:n --- tagpdf.dtx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tagpdf.dtx b/tagpdf.dtx index b1d008a6..75d6fdb8 100644 --- a/tagpdf.dtx +++ b/tagpdf.dtx @@ -550,7 +550,8 @@ % \begin{macrocode} \cs_set_protected:Npn \tag_stop:n #1 { -% \msg_note:nnee {tag / debug }{tag-stop}{ \int_use:N \l_@@_tag_stop_int }{#1} +% \msg_note:nnee {tag / debug }{tag-stop} +% { \int_use:N \l_@@_tag_stop_int }{\exp_not:n{#1}} \int_incr:N \l_@@_tag_stop_int \bool_set_false:N \l_@@_active_struct_bool \bool_set_false:N \l_@@_active_mc_bool @@ -567,7 +568,8 @@ \bool_set_true:N \l_@@_active_socket_bool \@@_start_para_ints: } -% \msg_note:nnee {tag / debug }{tag-start}{ \int_use:N \l_@@_tag_stop_int }{#1} +% \msg_note:nnee {tag / debug }{tag-start} +% { \int_use:N \l_@@_tag_stop_int }{\exp_not:n{#1}} } % %<*base>