-
-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tagging issues 777 and 778 #1607
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
6e70627
handle tagging/777 (par for \mainmatter)
u-fischer b358b28
Âtestfiles,changes.txt for latex3/tagging-project#777 and latex3/tagg…
u-fischer 10bccb5
add luatex testfile
u-fischer 57787b7
use ARIA role for presentation tables.
u-fischer 4689ed4
update changes.txt text
u-fischer 686c209
Merge branch 'develop' into tagging-777-778
u-fischer 26669e9
reenable the div option for presentation tables, WIP
u-fischer 0aaa350
correct docu
u-fischer 42acc75
extend test file
u-fischer 1fab902
forgot lvt
u-fischer c9d4de8
update changes.txt
u-fischer d793bd5
from review
u-fischer 9463d30
better command name
u-fischer 4cbc03f
Merge branch 'develop' into tagging-777-778
u-fischer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
2025-01-05 Ulrike Fischer <[email protected]> | ||
* latex-lab-sec.dtx: add \par before \mainmatter etc (tagging/777) | ||
* latex-lab-table.dtx: use ARIA-role as default for presentation tables (tagging/778), add option to use Div-structures instead of Table. | ||
|
||
|
||
2024-12-27 Frank Mittelbach <[email protected]> | ||
|
||
* latex-lab-table.dtx,latex-lab-toc-kernel-changes.dtx, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
required/latex-lab/testfiles-sec/test-gh777-sec-end.luatex.tlg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
This is a generated file for the l3build validation system. | ||
Don't change this file in any respect. | ||
Chapter 1. | ||
[1 | ||
] | ||
[2 | ||
] | ||
[1 | ||
Non-PDF special ignored!] | ||
[2 | ||
] | ||
Chapter 2. | ||
[1 | ||
] | ||
[2 | ||
] | ||
[3 | ||
Non-PDF special ignored!] | ||
[4 | ||
] | ||
[5 | ||
Non-PDF special ignored!] (test-gh777-sec-end.aux) | ||
Package tagpdf Info: Finalizing the tagging structure: | ||
(tagpdf) Writing out ~38 structure objects | ||
(tagpdf) with ~30 'MC' leaf nodes. | ||
(tagpdf) Be patient if there are lots of objects! | ||
Package tagpdf Info: writing ParentTree | ||
Package tagpdf Info: writing IDTree | ||
Package tagpdf Info: writing RoleMap | ||
Package tagpdf Info: writing ClassMap | ||
Package tagpdf Info: writing NameSpaces | ||
Package tagpdf Info: writing StructElems | ||
Package tagpdf Info: writing Root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
\DocumentMetadata | ||
{ | ||
lang=en-US, | ||
pdfversion=2.0, | ||
pdfstandard=ua-2, | ||
testphase={latest}, | ||
} | ||
\input{regression-test} | ||
\documentclass{book} | ||
|
||
\begin{document} | ||
\START | ||
\chapter{abc} | ||
blub | ||
\frontmatter | ||
\chapter{abc} | ||
blub | ||
\mainmatter | ||
\chapter{main} | ||
blub | ||
\backmatter | ||
\chapter{main} | ||
blub | ||
\appendix | ||
\chapter{main} | ||
blub | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
This is a generated file for the l3build validation system. | ||
Don't change this file in any respect. | ||
Chapter 1. | ||
[1 | ||
] | ||
[2 | ||
] | ||
[1 | ||
] | ||
[2 | ||
] | ||
Chapter 2. | ||
[1 | ||
] | ||
[2 | ||
] | ||
[3 | ||
] | ||
[4 | ||
] | ||
[5] (test-gh777-sec-end.aux) | ||
Package tagpdf Info: Finalizing the tagging structure: | ||
(tagpdf) Writing out ~38 structure objects | ||
(tagpdf) with ~30 'MC' leaf nodes. | ||
(tagpdf) Be patient if there are lots of objects! | ||
Package tagpdf Info: writing ParentTree | ||
Package tagpdf Info: writing IDTree | ||
Package tagpdf Info: writing RoleMap | ||
Package tagpdf Info: writing ClassMap | ||
Package tagpdf Info: writing NameSpaces | ||
Package tagpdf Info: writing StructElems | ||
Package tagpdf Info: writing Root |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably better would be to move the \par command into those comands eventually (to ensure that they always behave identically (with or without tagging).
Also (not checked) but isn't
\@@_sec_end:n{-10}
a related command and should be in a socket rather than a hook?Doesn't have to be done now, but there should be a TODO if this is something we should cleanup at some point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if a \par inside
\@@_sec_end:n
is always wanted that's why I added if here explicitly (In the other cases the command is currently is used inside the sectioning commands in vmode, so a \par inside the command is not needed).I'm not sure what you mean by sockets. \mainmatter etc are defined by the classes, so we can not simply redefine them to add a socket but have to use a generic hook. The problem was that the hook is before the \clearpage and so not necessarly in vmode.