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
|
% \iffalse meta-comment
%
%% File: latex-lab-namespace.dtx
%%
% Copyright (C) 2023-2024 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
%
%<*driver>
\documentclass{l3doc}
\usepackage{amstext}
\EnableCrossrefs
\CodelineIndex
\usepackage{todonotes}
\begin{document}
\DocInput{latex-lab-namespace.dtx}
\end{document}
%</driver>
% \fi
% \title{Prototype reimplementation of \LaTeXe{}'s role mapping}
% \author{\LaTeX{} Project, initial implementation Ulrike Fischer}
% \date{v0.8 2023-09-04}
%
% \maketitle
%
% \begin{documentation}
%
%
%
% \section{Introduction}
%
% This short file collects tag names from the \LaTeX{} namespace and their role mapping used
% in the latex-lab files. The names and the roles are not necessarly the final ones!
%
% Later settings of the same tag overwrite previous settings.
% The syntax of a line is a list of three strings ending with commas:
% \begin{verbatim}
% latex-tag, PDF-tag, name space,
% \end{verbatim}
%
% The name space is normally pdf2 with the exception of the following PDF-tags
% which are only in pdf namespace:
% Art, BlockQuote, TOC, TOCI, Index, Private, Quote, Note,
% Reference, BibEntry, Code.
%
% \end{documentation}
% \begin{implementation}
% \begin{macrocode}
%<*ns-latex-lab>
%% \ProvidesExplFile {tagpdf-ns-latex-lab.def} {2023-09-04} {0.8}
%% {latex} {https://www.latex-project.org/ns/lab/2022}{}
% \end{macrocode}
% \subsection{Role from tagpdf}
% The following tags are already set by tagpdf, so deleting here will not remove them.
% \begin{macrocode}
title, Title, pdf2,
part, Title, pdf2,
section, H1, pdf2,
subsection, H2, pdf2,
subsubsection,H3, pdf2,
paragraph, H4, pdf2,
subparagraph, H5, pdf2,
list, L, pdf2,
itemize, L, pdf2,
enumerate, L, pdf2,
description, L, pdf2,
quote, BlockQuote,pdf,
quotation, BlockQuote,pdf,
verbatim, Div, pdf2,
item, LI, pdf2,
itemlabel, Lbl, pdf2,
itembody, LBody, pdf2,
footnote, FENote, pdf2,
footnotemark, Lbl, pdf2,
footnotelabel,Lbl, pdf2,
text-unit, Part, pdf2,
text, P, pdf2,
% \end{macrocode}
% \subsection{From block code}
% \begin{macrocode}
theorem-like, Sect, pdf2,
verbatim, P, pdf2,
codeline, Sub, pdf2,
% \end{macrocode}
% \subsection{From float code}
% \begin{macrocode}
float, Aside, pdf2,
figures, Sect, pdf2,
tables, Sect, pdf2,
% \end{macrocode}
% \begin{macrocode}
%</ns-latex-lab>
% \end{macrocode}
% \end{implementation}
\endinput
|