-
Notifications
You must be signed in to change notification settings - Fork 9
/
tagpdf.ins
142 lines (110 loc) · 3.87 KB
/
tagpdf.ins
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
\iffalse meta-comment
File: tagpdf.ins
Copyright (C) 2019-2024 Ulrike Fischer
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
This file is part of the "tagpdf bundle" (The Work in LPPL)
and all files in that bundle must be distributed together.
The released version of this bundle is available from CTAN.
-----------------------------------------------------------------------
The development version of the bundle can be found at
https://github.com/latex3/tagpdf
for those people who are interested.
-----------------------------------------------------------------------
\fi
\input l3docstrip.tex
\askforoverwritefalse
\let\MetaPrefix\relax
\preamble
Copyright (C) 2019-2024 Ulrike Fischer
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
This file is part of the "tagpdf bundle" (The Work in LPPL)
and all files in that bundle must be distributed together.
\endpreamble
\let\MetaPrefix\DoubleperCent
% stop docstrip adding \endinput
\postamble
\endpostamble
\keepsilent
\generate
{\file{tagpdf.sty}
{
\from{tagpdf.dtx}{package}
\from{tagpdf-checks.dtx}{package}
\from{tagpdf-mc-shared.dtx}{shared}
\from{tagpdf.dtx}{mcloading}
\from{tagpdf-tree.dtx}{package}
\from{tagpdf-data.dtx}{package} %should be before the roles code
\from{tagpdf-roles.dtx}{package}
\from{tagpdf-struct.dtx}{package}%contains also the attr code.
\from{tagpdf-space.dtx}{package}
\from{tagpdf-user.dtx}{package}
}
}
\generate
{\file{tagpdf-base.sty}
{
\from{tagpdf.dtx}{base}
\from{tagpdf-mc-generic.dtx}{base}
\from{tagpdf-mc-shared.dtx}{base}
\from{tagpdf-struct.dtx}{base}
\from{tagpdf-checks.dtx}{base}
\from{tagpdf-user.dtx}{base}
\from{tagpdf-roles.dtx}{base}
}
}
\generate
{\file{tagpdf-luatex.def}{\from{tagpdf-backend.dtx}{luatex}}}
\generate
{\file{tagpdf-mc-code-generic.sty}{\from{tagpdf-mc-generic.dtx}{generic}}}
\generate
{\file{tagpdf-mc-code-lua.sty}{\from{tagpdf-mc-luacode.dtx}{luamode}}}
\generate
{\file{tagpdf-ns-pdf.def}{\from{tagpdf-data.dtx}{ns-pdf}}}
\generate
{\file{tagpdf-ns-pdf2.def}{\from{tagpdf-data.dtx}{ns-pdf2}}}
\generate
{\file{tagpdf-ns-mathml.def}{\from{tagpdf-data.dtx}{ns-mathml}}}
\generate
{\file{tagpdf-ns-latex.def}{\from{tagpdf-data.dtx}{ns-latex}}}
\generate
{\file{tagpdf-ns-latex-book.def}{\from{tagpdf-data.dtx}{ns-latex-book}}}
\generate
{\file{tagpdf-ns-latex-inline.def}{\from{tagpdf-data.dtx}{ns-latex-inline}}}
\generate
{\file{tagpdf-parent-child.csv}{\from{tagpdf-data.dtx}{parent-child}}}
\generate
{\file{tagpdf-parent-child-2.csv}{\from{tagpdf-data.dtx}{parent-child-2}}}
% check later if the mc-code uses debug guards too.
\generate
{\file{tagpdf-debug.sty}
{
\from{tagpdf.dtx}{debug}
\from{tagpdf-checks.dtx}{debug}
\from{tagpdf-user.dtx}{debug}
\from{tagpdf-mc-shared.dtx}{debug}
\from{tagpdf-tree.dtx}{debug}
\from{tagpdf-roles.dtx}{debug}
\from{tagpdf-struct.dtx}{debug}%
\from{tagpdf-space.dtx}{debug}
}
}
\generate
{\file{tagpdf-debug-generic.sty}{\from{tagpdf-mc-generic.dtx}{debug}}}
\generate
{\file{tagpdf-debug-lua.sty}{\from{tagpdf-mc-luacode.dtx}{debug}}}
\def\MetaPrefix{-- }
\def\defaultpostamble{%
\MetaPrefix^^J%
\MetaPrefix\space End of File `\outFileName'.%
}
\def\currentpostamble{\defaultpostamble}%
\generate{\file{tagpdf.lua} {\from{tagpdf-backend.dtx}{lua}}}
\endbatchfile