<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% \iffalse meta-comment
%
%% File: latex-lab-testphase.dtx
% Copyright (C) 2021-2025 The LaTeX Project
%
% It may be distributed and/or modified under the conditions of the
% LaTeX Project Public License (LPPL), either version 1.3c of this
% license or (at your option) any later version.  The latest version
% of this license is in the file
%
%    https://www.latex-project.org/lppl.txt
%
%
% The development version of the bundle can be found below
%
%    https://github.com/latex3/latex2e/required/latex-lab
%
% for those people who are interested or want to report an issue.
%
%&lt;*driver&gt;
\documentclass{l3doc}
\EnableCrossrefs
\CodelineIndex
\begin{document}
  \DocInput{latex-lab-testphase.dtx}
\end{document}
%&lt;/driver&gt;
%
% \fi
%

% \title{The \texttt{latex-lab-testphase} code\thanks{}}
% \author{Ulrike Fischer \LaTeX{} Project}
%
% \maketitle
%
%
% \begin{abstract}
% \end{abstract}
%
% \section{Introduction}
%
%    This code implements small files which can be loaded with the |testphase|
%    key of \cs{DocumentMetadata} and which bundle various testphase modules. 
%    This will be extended to allow user to load
%    well defined parts of the tagged PDF project.
%
%    Currently the values |phase-I|, |phase-II|, |phase-III| and |new-or| (bundles |new-or-1|
%    and |new-or-2|) are provided.
%    |tagpdf| is an undocumented alias for |phase-II| which is kept for compatibility.
%    The value |math| combines various math related files.
%
% \StopEventually{\setlength\IndexMin{200pt}  \PrintIndex  }
%
%
% \section{The Implementation}
% new-or-1 contains the code for header and footer (tagging and
% suppressing links) and is always loaded

% new-or combines all new-or parts (currently 1+2)
%    \begin{macrocode}
%&lt;*new-or&gt; 
\ProvidesFile{new-or-latex-lab-testphase.ltx}
              [2023-06-15 v0.1b  latex-lab wrapper new-or]
%&lt;/new-or&gt;
%    \end{macrocode}
%    \begin{macrocode}
%&lt;*phase-I&gt; 
\ProvidesFile{phase-I-latex-lab-testphase.ltx}
              [2023-02-04 v0.1b  latex-lab wrapper phase-I]
%&lt;/phase-I&gt;
%    \end{macrocode}
%    \begin{macrocode}
%&lt;*phase-II&gt; 
\ProvidesFile{phase-II-latex-lab-testphase.ltx}
              [2023-06-15 v0.1b  latex-lab wrapper phase-II]
%&lt;/phase-II&gt;
%    \end{macrocode}
%    \begin{macrocode}
%&lt;*phase-III&gt; 
\ProvidesFile{phase-III-latex-lab-testphase.ltx}
              [2024-02-12 v0.1c  latex-lab wrapper phase-III]
\input{phase-II-latex-lab-testphase.ltx}
\IfFormatAtLeastTF{2023-06-01}
 {
  \RequirePackage{latex-lab-testphase-block}
  \RequirePackage{latex-lab-testphase-sec}
  \RequirePackage{latex-lab-testphase-toc}             
  \RequirePackage{latex-lab-testphase-minipage}             
  \RequirePackage{latex-lab-testphase-graphic}             
  \RequirePackage{latex-lab-testphase-float}
  \RequirePackage{latex-lab-testphase-bib}
  \RequirePackage{latex-lab-testphase-text}
  \RequirePackage{latex-lab-testphase-marginpar}
 }
 {\PackageWarning{latex-lab}{Testphase III needs newer format}{}} 
%&lt;/phase-III&gt;
%    \end{macrocode}
%
% this is only provided for compatibility
%    \begin{macrocode}
%&lt;*tagpdf&gt; 
\ProvidesFile{tagpdf-latex-lab-testphase.ltx}
              [2022-11-04 v0.1a  latex-lab wrapper tagpdf (deprecated)]
%&lt;/tagpdf&gt;
%    \end{macrocode}
%    \begin{macrocode}
%&lt;*tagpdf|phase-I|phase-II|new-or&gt;
\RequirePackage{latex-lab-testphase-new-or-1}
%&lt;/tagpdf|phase-I|phase-II|new-or&gt;
%    \end{macrocode}  
%  Support for the new output routine code are loaded in phase-II and new-or:
%    \begin{macrocode}
%&lt;*tagpdf|phase-II|new-or&gt;
\RequirePackage{latex-lab-testphase-new-or-2}
%&lt;/tagpdf|phase-II|new-or&gt;
%    \end{macrocode}
%    \begin{macrocode}
%&lt;*tagpdf|phase-I|phase-II&gt;
%    \end{macrocode}
%
%    \begin{macrocode}
\RequirePackage{tagpdf}
\AddToDocumentProperties [document]{testphase/tagpdf}{loaded}
%&lt;/tagpdf|phase-I|phase-II&gt;
%&lt;tagpdf|phase-II&gt;\tagpdfsetup{activate,para/tagging,activate/spaces}
%&lt;tagpdf|phase-II&gt;\AddToDocumentProperties [document]{tagging/para}{active}
%&lt;phase-I&gt;\tagpdfsetup{activate,activate/spaces}
%&lt;*tagpdf|phase-I|phase-II&gt;
\AddToDocumentProperties [document]{tagging}{active}
\AddToDocumentProperties [document]{tagging/interwordspace}{active}
%    \end{macrocode}
%
%    \begin{macrocode}
%&lt;/tagpdf|phase-I|phase-II&gt;
%    \end{macrocode}
% testphase wrapper files for math:
%    \begin{macrocode}
%&lt;*math&gt;
\ProvidesFile{math-latex-lab-testphase.ltx}
        [2023-07-20 v0.8a latex-lab wrapper math]
\RequirePackage{latex-lab-testphase-math}
%&lt;/math&gt;
%    \end{macrocode}
%    \begin{macrocode}
%&lt;*math-package&gt;
\ProvidesPackage{latex-lab-testphase-math}
        [2025-01-24 v0.8c code related to the math tagging]
\input{latex-lab-math.ltx}
\AddToHook{package/amsmath/after}{\input{latex-lab-amsmath.ltx}}
\AddToHook{package/mathtools/after}{\input{latex-lab-mathtools.ltx}}
\input{latex-lab-mathpkg.ltx}
\input{latex-lab-mathintent.ltx}
\AddToHook{package/unicode-math/after}{\input{latex-lab-unicode-math.ltx}}
%&lt;/math-package&gt;
%    \end{macrocode}
% \Finale
%
</pre></body></html>