[latex3-commits] [git/LaTeX3-latex3-latex2e] testmetadata: add phase-I, phase-II (fd6c20b3)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Jan 11 22:30:45 CET 2022


Repository : https://github.com/latex3/latex2e
On branch  : testmetadata
Link       : https://github.com/latex3/latex2e/commit/fd6c20b311234aea3e17537216c02a2e561b2639

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

commit fd6c20b311234aea3e17537216c02a2e561b2639
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Jan 11 22:30:45 2022 +0100

    add phase-I, phase-II


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

fd6c20b311234aea3e17537216c02a2e561b2639
 required/latex-lab/documentmetadata-support.dtx | 11 ++++++++---
 required/latex-lab/documentmetadata-support.ins |  5 ++++-
 required/latex-lab/latex-lab-testphase.dtx      | 10 ++++++----
 3 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/required/latex-lab/documentmetadata-support.dtx b/required/latex-lab/documentmetadata-support.dtx
index e7e06062..99080bee 100644
--- a/required/latex-lab/documentmetadata-support.dtx
+++ b/required/latex-lab/documentmetadata-support.dtx
@@ -67,9 +67,14 @@
 %    \item[\texttt{testphase}] This key is used to load testphase code. The values it accepts
 %    and their effect will change over time, when testphase packages are added or
 %    removed or when the code is moved into the kernel. The value
-%    \texttt{tagpdf} will load the tagpdf package. It will also issue
-%    |\tagpdfsetup{activate,paratagging,interwordspace}| and so activate tagging.
-%    Other values will be added later.
+%    \texttt{phase-I} will load the tagpdf package. It will also issue
+%    |\tagpdfsetup{activate,interwordspace}| and so activate tagging. This phase
+%    is frozen.
+%    \texttt{phase-II} is the current development phase.
+%    Currently it differs from \texttt{phase-I} only in one point: It will
+%     additionally activate tagging of paragraphs with
+%    |\tagpdfsetup{paratagging}|.
+%  
 %    The |testphase| key can only be used in the first \cs{DocumentMetadata}.
 %    \item[\texttt{debug}] This key activates some debug options. It takes a list of key-values
 %    as value. Currently the following keys are known:
diff --git a/required/latex-lab/documentmetadata-support.ins b/required/latex-lab/documentmetadata-support.ins
index d792e3ed..431f88d8 100644
--- a/required/latex-lab/documentmetadata-support.ins
+++ b/required/latex-lab/documentmetadata-support.ins
@@ -3,7 +3,7 @@
 %% driver files from the dtx file(s) in this package when run through
 %% LaTeX or TeX.
 %%
-%% Copyright 2021 LaTeX Project
+%% Copyright (C) 2021-2022 The LaTeX Project
 %%
 %%
 %% This file is part of the `LaTeX-lab Bundle' for LaTeX.
@@ -65,4 +65,7 @@ where one can also log issues in case there are any.
 \generate{\file{documentmetadata-support.ltx}{\from{documentmetadata-support.dtx}{code}}}
 
 \generate{\file{tagpdf-latex-lab-testphase.ltx}{\from{latex-lab-testphase.dtx}{tagpdf}}}
+\generate{\file{phase-I-latex-lab-testphase.ltx}{\from{latex-lab-testphase.dtx}{phase-I}}}
+\generate{\file{phase-II-latex-lab-testphase.ltx}{\from{latex-lab-testphase.dtx}{phase-II}}}
+
 \endbatchfile
diff --git a/required/latex-lab/latex-lab-testphase.dtx b/required/latex-lab/latex-lab-testphase.dtx
index 757b785a..670bbaf4 100644
--- a/required/latex-lab/latex-lab-testphase.dtx
+++ b/required/latex-lab/latex-lab-testphase.dtx
@@ -53,21 +53,23 @@
 % \section{The Implementation}
 %
 %    \begin{macrocode}
-%<*tagpdf>
+%<*tagpdf|phase-I|phase-II>
 %    \end{macrocode}
 %
 %    \begin{macrocode}
 \RequirePackage{tagpdf}
 \AddToDocumentProperties [document]{testphase/tagpdf}{loaded}
-
-\tagpdfsetup{activate,paratagging,interwordspace}
+%</tagpdf|phase-I|phase-II>
+%<tagpdf|phase-II>\tagpdfsetup{activate,paratagging,interwordspace}
+%<phase-I>\tagpdfsetup{activate,interwordspace}
+%<*tagpdf|phase-I|phase-II>
 \AddToDocumentProperties [document]{tagging}{active}
 \AddToDocumentProperties [document]{tagging/para}{active}
 \AddToDocumentProperties [document]{tagging/interwordspace}{active}
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-%</tagpdf>
+%</tagpdf|phase-I|phase-II>
 %    \end{macrocode}
 % \Finale
 %





More information about the latex3-commits mailing list.