Skip to content

Commit

Permalink
change suspend/resume message.
Browse files Browse the repository at this point in the history
  • Loading branch information
u-fischer committed Sep 16, 2024
1 parent 733085a commit edfc750
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 49 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
8 changes: 4 additions & 4 deletions tagpdf-checks.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
12 changes: 6 additions & 6 deletions testfiles-luatex/debug-structures-2.tlg
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
12 changes: 6 additions & 6 deletions testfiles-luatex/debug-structures.tlg
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
12 changes: 6 additions & 6 deletions testfiles-pdftex/debug-structures-2.pdftexmain.tlg
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
12 changes: 6 additions & 6 deletions testfiles-pdftex/debug-structures-2.tlg
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
12 changes: 6 additions & 6 deletions testfiles-pdftex/debug-structures.pdftexmain.tlg
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
12 changes: 6 additions & 6 deletions testfiles-pdftex/debug-structures.tlg
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
8 changes: 4 additions & 4 deletions testfiles-pdftex/para-main-struct.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 4 additions & 4 deletions testfiles-pdftex/test-ref2.tlg
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit edfc750

Please sign in to comment.