summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex-dev/latex-lab/latex-lab-testphase.dtx
blob: 217605d189bbb0f22b4506e3e8bcf8f45225fab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
% \iffalse meta-comment
%
%% File: latex-lab-testphase.dtx
% Copyright (C) 2021-2023 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.
%
%<*driver>
\documentclass{l3doc}
\EnableCrossrefs
\CodelineIndex
\begin{document}
  \DocInput{latex-lab-testphase.dtx}
\end{document}
%</driver>
%
% \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}. This will be extended to allow user to load
%    well defined parts of the tagged PDF project.
%    Currently the values |phase-I|, |phase-II| and |new-or| are provided.
%    |tagpdf| is an undocumented alias for |phase-II| which is kept for compability.
%
%
% \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
%    \begin{macrocode}
%<*new-or-1> 
\ProvidesFile{new-or-1-latex-lab-testphase.ltx}
              [2022-11-04 v0.1a  latex-lab wrapper new-or-1]
%</new-or-1>
%    \end{macrocode}
% new-or combines all new-or parts (currently 1+2)
%    \begin{macrocode}
%<*new-or> 
\ProvidesFile{new-or-latex-lab-testphase.ltx}
              [2022-11-04 v0.1a  latex-lab wrapper new-or]
%</new-or>
%    \end{macrocode}
%    \begin{macrocode}
%<*phase-I> 
\ProvidesFile{phase-I-latex-lab-testphase.ltx}
              [2023-02-04 v0.1b  latex-lab wrapper phase-I]
%</phase-I>
%    \end{macrocode}
%    \begin{macrocode}
%<*phase-II> 
\ProvidesFile{phase-II-latex-lab-testphase.ltx}
              [2022-11-04 v0.1a  latex-lab wrapper phase-II]
%</phase-II>
%    \end{macrocode}
%    \begin{macrocode}
%<*phase-III> 
\ProvidesFile{phase-III-latex-lab-testphase.ltx}
              [2023-03-06 v0.1a  latex-lab wrapper phase-III]
\input{phase-II-latex-lab-testphase.ltx}
\RequirePackage{latex-lab-testphase-block-tagging}
\RequirePackage{latex-lab-testphase-sec-tagging}
\RequirePackage{latex-lab-testphase-toc-tagging}             
%</phase-III>
%    \end{macrocode}
%
% this is only provided for compatibility
%    \begin{macrocode}
%<*tagpdf> 
\ProvidesFile{tagpdf-latex-lab-testphase.ltx}
              [2022-11-04 v0.1a  latex-lab wrapper tagpdf (deprecated)]
%</tagpdf>
%    \end{macrocode}
%    \begin{macrocode}
%<*tagpdf|phase-I|phase-II|new-or|new-or-1>
\RequirePackage{latex-lab-testphase-new-or-1}
%</tagpdf|phase-I|phase-II|new-or|new-or-1>
%    \end{macrocode}  
%  New output routine code is loaded in phase-II and new-or:
%    \begin{macrocode}
%<*tagpdf|phase-II|new-or>
\RequirePackage{latex-lab-testphase-new-or-2}
%</tagpdf|phase-II|new-or>
%    \end{macrocode}
%    \begin{macrocode}
%<*tagpdf|phase-I|phase-II>
%    \end{macrocode}
%
%    \begin{macrocode}
\RequirePackage{tagpdf}
\AddToDocumentProperties [document]{testphase/tagpdf}{loaded}
%</tagpdf|phase-I|phase-II>
%<tagpdf|phase-II>\tagpdfsetup{activate,paratagging,interwordspace}
%<tagpdf|phase-II>\AddToDocumentProperties [document]{tagging/para}{active}
%<phase-I>\tagpdfsetup{activate,interwordspace}
%<*tagpdf|phase-I|phase-II>
\AddToDocumentProperties [document]{tagging}{active}
\AddToDocumentProperties [document]{tagging/interwordspace}{active}
%    \end{macrocode}
%
%    \begin{macrocode}
%</tagpdf|phase-I|phase-II>
%    \end{macrocode}
% Wrapper files for math tagging:
%    \begin{macrocode}
%<*math-lab>
\ProvidesFile{math-latex-lab-testphase.ltx}
        [2023-01-07 v0.8 code related to the math tagging]
\RequirePackage{latex-lab-testphase-math}
%</math-lab>
%    \end{macrocode}
%    \begin{macrocode}
%<*math-sty>
\ProvidesPackage{latex-lab-testphase-math}
        [2023-01-07 v0.8 code related to the math tagging]
\input{latex-lab-mathtagging.ltx}
\input{latex-lab-amsmath.ltx}
\input{latex-lab-mathtools.ltx}
\input{latex-lab-mathpkg.ltx}
%</math-sty>
%    \end{macrocode}
% \Finale
%