From edfc750b8c9536b4fdeeff5dbc137c68666c833c Mon Sep 17 00:00:00 2001 From: Ulrike Fischer Date: Mon, 16 Sep 2024 19:05:18 +0200 Subject: [PATCH] change suspend/resume message. --- CHANGELOG.md | 5 ++++- tagpdf-checks.dtx | 8 ++++---- testfiles-luatex/debug-structures-2.tlg | 12 ++++++------ testfiles-luatex/debug-structures.tlg | 12 ++++++------ testfiles-pdftex/debug-structures-2.pdftexmain.tlg | 12 ++++++------ testfiles-pdftex/debug-structures-2.tlg | 12 ++++++------ testfiles-pdftex/debug-structures.pdftexmain.tlg | 12 ++++++------ testfiles-pdftex/debug-structures.tlg | 12 ++++++------ testfiles-pdftex/para-main-struct.tlg | 8 ++++---- testfiles-pdftex/test-ref2.tlg | 8 ++++---- 10 files changed, 52 insertions(+), 49 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fa11229..74be1f30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), this project uses date-based 'snapshot' version identifiers. ## [Unreleased] -### Added a structure key `firstkid` that adds a structure as first kid of its parent. +### Added + + - a structure key `firstkid` that adds a structure as first kid of its parent. + - `\tag_suspend:n` and `\tag_resume:n`. ## [2024-09-11] diff --git a/tagpdf-checks.dtx b/tagpdf-checks.dtx index 2ccc102e..61a2eece 100644 --- a/tagpdf-checks.dtx +++ b/tagpdf-checks.dtx @@ -1145,16 +1145,16 @@ { \int_if_zero:nTF {#1} - {Tagging~stopped} - {Tagging~(not)~stopped~(already~inactive)}\\ + {Tagging~suspended} + {Tagging~(not)~suspended~(already~inactive)}\\ level:~#1~==>~\int_eval:n{#1+1}\tl_if_empty:nF{#2}{,~label:~#2}~[\msg_line_context:] } \msg_new:nnn { tag / debug } {tag-resume} { \int_if_zero:nTF {#1} - {Tagging~restarted} - {Tagging~(not)~restarted}\\ + {Tagging~resumed} + {Tagging~(not)~resumed}\\ level:~\int_eval:n{#1+1}~==>~#1\tl_if_empty:nF{#2}{,~label:~#2}~[\msg_line_context:] } % \end{macrocode} diff --git a/testfiles-luatex/debug-structures-2.tlg b/testfiles-luatex/debug-structures-2.tlg index 7a609afa..94dbccfb 100644 --- a/testfiles-luatex/debug-structures-2.tlg +++ b/testfiles-luatex/debug-structures-2.tlg @@ -1,16 +1,16 @@ This is a generated file for the l3build validation system. Don't change this file in any respect. -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: hangfrom [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: hangfrom [on line ...] -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: headfoot [on line ...] [1 ] (debug-structures-2.aux) diff --git a/testfiles-luatex/debug-structures.tlg b/testfiles-luatex/debug-structures.tlg index 30e3441b..3d5d80f9 100644 --- a/testfiles-luatex/debug-structures.tlg +++ b/testfiles-luatex/debug-structures.tlg @@ -1,16 +1,16 @@ This is a generated file for the l3build validation system. Don't change this file in any respect. -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: hangfrom [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: hangfrom [on line ...] -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: headfoot [on line ...] [1 ] (debug-structures.aux) diff --git a/testfiles-pdftex/debug-structures-2.pdftexmain.tlg b/testfiles-pdftex/debug-structures-2.pdftexmain.tlg index df3a6846..8f65c86b 100644 --- a/testfiles-pdftex/debug-structures-2.pdftexmain.tlg +++ b/testfiles-pdftex/debug-structures-2.pdftexmain.tlg @@ -1,16 +1,16 @@ This is a generated file for the l3build validation system. Don't change this file in any respect. -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: hangfrom [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: hangfrom [on line ...] -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: headfoot [on line ...] [1 ] (debug-structures-2.aux) diff --git a/testfiles-pdftex/debug-structures-2.tlg b/testfiles-pdftex/debug-structures-2.tlg index df3a6846..8f65c86b 100644 --- a/testfiles-pdftex/debug-structures-2.tlg +++ b/testfiles-pdftex/debug-structures-2.tlg @@ -1,16 +1,16 @@ This is a generated file for the l3build validation system. Don't change this file in any respect. -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: hangfrom [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: hangfrom [on line ...] -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: headfoot [on line ...] [1 ] (debug-structures-2.aux) diff --git a/testfiles-pdftex/debug-structures.pdftexmain.tlg b/testfiles-pdftex/debug-structures.pdftexmain.tlg index a3dfdd31..5a9141b3 100644 --- a/testfiles-pdftex/debug-structures.pdftexmain.tlg +++ b/testfiles-pdftex/debug-structures.pdftexmain.tlg @@ -1,16 +1,16 @@ This is a generated file for the l3build validation system. Don't change this file in any respect. -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: hangfrom [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: hangfrom [on line ...] -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: headfoot [on line ...] [1 ] (debug-structures.aux) diff --git a/testfiles-pdftex/debug-structures.tlg b/testfiles-pdftex/debug-structures.tlg index a3dfdd31..5a9141b3 100644 --- a/testfiles-pdftex/debug-structures.tlg +++ b/testfiles-pdftex/debug-structures.tlg @@ -1,16 +1,16 @@ This is a generated file for the l3build validation system. Don't change this file in any respect. -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: hangfrom [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: hangfrom [on line ...] -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: headfoot [on line ...] [1 ] (debug-structures.aux) diff --git a/testfiles-pdftex/para-main-struct.tlg b/testfiles-pdftex/para-main-struct.tlg index 20012a7d..ba92ef86 100644 --- a/testfiles-pdftex/para-main-struct.tlg +++ b/testfiles-pdftex/para-main-struct.tlg @@ -95,13 +95,13 @@ The structure 8 contains: The structure has the following kids: > MC 2 ========================= -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: headfoot [on line ...] [1 ] (para-main-struct.aux) diff --git a/testfiles-pdftex/test-ref2.tlg b/testfiles-pdftex/test-ref2.tlg index b310cff6..5011db3d 100644 --- a/testfiles-pdftex/test-ref2.tlg +++ b/testfiles-pdftex/test-ref2.tlg @@ -274,13 +274,13 @@ The structure 19 contains: The structure has the following kids: > MC 10 ========================= -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging stopped +tagpdf DEBUG Info: Tagging suspended (tagpdf DEBUG) level: 0 ==> 1, label: headfoot [on line ...] -tagpdf DEBUG Info: Tagging restarted +tagpdf DEBUG Info: Tagging resumed (tagpdf DEBUG) level: 1 ==> 0, label: headfoot [on line ...] [1 ] (test-ref2.aux)