[latex3-commits] [latex3/latex2e] latexlab/tagging-9: ensure that tagpdf-base is loaded (bf9bb224)

github at latex-project.org github at latex-project.org
Sun Sep 3 11:58:26 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : latexlab/tagging-9
Link       : https://github.com/latex3/latex2e/commit/bf9bb224e5b12a7c714a25440ff95fb4ebe260ed

>---------------------------------------------------------------

commit bf9bb224e5b12a7c714a25440ff95fb4ebe260ed
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Sep 3 11:58:26 2023 +0200

    ensure that tagpdf-base is loaded


>---------------------------------------------------------------

bf9bb224e5b12a7c714a25440ff95fb4ebe260ed
 required/latex-lab/latex-lab-block.dtx                   | 15 ++++-----------
 required/latex-lab/testfiles-block/blocks-000.luatex.tlg | 12 ++++++++----
 required/latex-lab/testfiles-block/blocks-000.tlg        | 12 ++++++++----
 3 files changed, 20 insertions(+), 19 deletions(-)

diff --git a/required/latex-lab/latex-lab-block.dtx b/required/latex-lab/latex-lab-block.dtx
index f890818e..0d0929d0 100644
--- a/required/latex-lab/latex-lab-block.dtx
+++ b/required/latex-lab/latex-lab-block.dtx
@@ -682,6 +682,10 @@
 %    \begin{macrocode}
 \RequirePackage{latex-lab-kernel-changes}
 %    \end{macrocode}
+% We ensure that the core tagging commands are defined:
+%    \begin{macrocode}
+\RequirePackage{tagpdf-base}
+%    \end{macrocode}
 %    \begin{macrocode}
 \ExplSyntaxOn
 %    \end{macrocode}
@@ -915,17 +919,6 @@
 %  \end{macro}
 %    
 %
-%  \begin{macro}{\tag_if_active:T}
-%    If tagging support is not loaded then we shouldn't try to execute
-%    any tagging related commands. Eventually this can go once the
-%    basic support is available in the kernel.
-%    \fmi{can vanish one day}   
-%    \begin{macrocode}
-\cs_if_exist:NF \tag_if_active:T
-   { \cs_new_eq:NN \tag_if_active:T \use_none:n }
-%    \end{macrocode}
-%  \end{macro}
-%
 % \subsubsection{Debugging}
 %
 %    
diff --git a/required/latex-lab/testfiles-block/blocks-000.luatex.tlg b/required/latex-lab/testfiles-block/blocks-000.luatex.tlg
index 83925a97..b2641dae 100644
--- a/required/latex-lab/testfiles-block/blocks-000.luatex.tlg
+++ b/required/latex-lab/testfiles-block/blocks-000.luatex.tlg
@@ -12,17 +12,21 @@ Package: xtemplate ....-..-.. L3 Experimental prototype document functions
 Package: latex-lab-kernel-changes ....-..-.. v... General kernel and class changes
 (glyphtounicode.tex) (glyphtounicode-cmex.tex)
 \g__kernel_target_int=\count...
+) (../tagpdf-base.sty
+Package: tagpdf-base ....-..-.. v... part of tagpdf - provide base, no-op versions of the user commands 
+\c at g__tag_MCID_abs_int=\count...
+\c at g__tag_struct_abs_int=\count...
 )
 Package xtemplate Info: Declaring object type 'blockenv' taking 1 argument(s)
 (xtemplate)             on line ....
 Package xtemplate Info: Declaring object type 'block' taking 1 argument(s) on
-(xtemplate)             line 66.
-Package xtemplate Info: Declaring object type 'para' taking 1 argument(s) on
 (xtemplate)             line 67.
-Package xtemplate Info: Declaring object type 'list' taking 1 argument(s) on
+Package xtemplate Info: Declaring object type 'para' taking 1 argument(s) on
 (xtemplate)             line 68.
-Package xtemplate Info: Declaring object type 'item' taking 1 argument(s) on
+Package xtemplate Info: Declaring object type 'list' taking 1 argument(s) on
 (xtemplate)             line 69.
+Package xtemplate Info: Declaring object type 'item' taking 1 argument(s) on
+(xtemplate)             line 70.
 \l__block_flattened_level_int=\count...
 \c at maxblocklevels=\count...
 \l__par_start_skip=\skip...
diff --git a/required/latex-lab/testfiles-block/blocks-000.tlg b/required/latex-lab/testfiles-block/blocks-000.tlg
index a9ecd1a2..77f1065f 100644
--- a/required/latex-lab/testfiles-block/blocks-000.tlg
+++ b/required/latex-lab/testfiles-block/blocks-000.tlg
@@ -12,17 +12,21 @@ Package: xtemplate ....-..-.. L3 Experimental prototype document functions
 Package: latex-lab-kernel-changes ....-..-.. v... General kernel and class changes
 (glyphtounicode-cmex.tex)
 \g__kernel_target_int=\count...
+) (../tagpdf-base.sty
+Package: tagpdf-base ....-..-.. v... part of tagpdf - provide base, no-op versions of the user commands 
+\c at g__tag_MCID_abs_int=\count...
+\c at g__tag_struct_abs_int=\count...
 )
 Package xtemplate Info: Declaring object type 'blockenv' taking 1 argument(s)
 (xtemplate)             on line ....
 Package xtemplate Info: Declaring object type 'block' taking 1 argument(s) on
-(xtemplate)             line 66.
-Package xtemplate Info: Declaring object type 'para' taking 1 argument(s) on
 (xtemplate)             line 67.
-Package xtemplate Info: Declaring object type 'list' taking 1 argument(s) on
+Package xtemplate Info: Declaring object type 'para' taking 1 argument(s) on
 (xtemplate)             line 68.
-Package xtemplate Info: Declaring object type 'item' taking 1 argument(s) on
+Package xtemplate Info: Declaring object type 'list' taking 1 argument(s) on
 (xtemplate)             line 69.
+Package xtemplate Info: Declaring object type 'item' taking 1 argument(s) on
+(xtemplate)             line 70.
 \l__block_flattened_level_int=\count...
 \c at maxblocklevels=\count...
 \l__par_start_skip=\skip...





More information about the latex3-commits mailing list.