-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
getter function for structure numbers from lua
- Loading branch information
Showing
5 changed files
with
107 additions
and
1 deletion.
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
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
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,38 @@ | ||
\ExplSyntaxOn | ||
\debug_on:n { check-declarations , deprecation } | ||
\msg_redirect_module:nnn { pdf } { none } { warning } | ||
\ExplSyntaxOff | ||
\DocumentMetadata{testphase=phase-III} | ||
\input{regression-test} | ||
|
||
\documentclass{article} | ||
\ExplSyntaxOn | ||
\cs_set_eq:NN\tagget\tag_get:n | ||
\ExplSyntaxOff | ||
\begin{document} | ||
\START\showoutput | ||
|
||
\section{blub} | ||
blub | ||
|
||
blub | ||
\emph{ | ||
\tagget{struct_num}, \tagget{struct_counter} | ||
\directlua | ||
{texio.write_nl | ||
("term and log", | ||
" current structcounter "..ltx.tag.get_struct_counter(), | ||
" current structnum " ..ltx.tag.get_struct_num(), | ||
" next struct " ..ltx.tag.get_struct_num_next() | ||
)} | ||
} | ||
xxx | ||
\tagget{struct_num}, \tagget{struct_counter} | ||
\directlua | ||
{texio.write_nl | ||
("term and log", | ||
" current structcounter "..ltx.tag.get_struct_counter(), | ||
" current structnum " ..ltx.tag.get_struct_num(), | ||
" next struct " ..ltx.tag.get_struct_num_next() | ||
)} | ||
\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,25 @@ | ||
This is a generated file for the l3build validation system. | ||
Don't change this file in any respect. | ||
current structcounter 12 | ||
current structnum 12 | ||
next struct 13 | ||
current structcounter 12 | ||
current structnum 11 | ||
next struct 13 | ||
[1 | ||
] (getstructnum.aux) | ||
Package tagpdf Info: Finalizing the tagging structure: | ||
(tagpdf) Writing out ~12 structure objects | ||
(tagpdf) with ~9 '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 | ||
*************** | ||
Compilation 1 of test file completed with exit status 0 | ||
Compilation 2 of test file completed with exit status 0 | ||
Compilation 3 of test file completed with exit status 0 |