Debian Codegraph @

texmf-dist/source/latex/tagpdf/tagpdf.ins

raw
1 \iffalse meta-comment
2
3 File: tagpdf.ins
4
5 Copyright (C) 2019-2025 Ulrike Fischer
6
7 It may be distributed and/or modified under the conditions of the
8 LaTeX Project Public License (LPPL), either version 1.3c of this
9 license or (at your option) any later version. The latest version
10 of this license is in the file
11
12 https://www.latex-project.org/lppl.txt
13
14 This file is part of the "tagpdf bundle" (The Work in LPPL)
15 and all files in that bundle must be distributed together.
16
17 The released version of this bundle is available from CTAN.
18
19 -----------------------------------------------------------------------
20
21 The development version of the bundle can be found at
22
23 https://github.com/latex3/tagpdf
24
25 for those people who are interested.
26
27 -----------------------------------------------------------------------
28
29 \fi
30
31 \input l3docstrip.tex
32 \askforoverwritefalse
33
34 \let\MetaPrefix\relax
35 \preamble
36
37 Copyright (C) 2019-2025 Ulrike Fischer
38
39 It may be distributed and/or modified under the conditions of
40 the LaTeX Project Public License (LPPL), either version 1.3c of
41 this license or (at your option) any later version. The latest
42 version of this license is in the file:
43
44 https://www.latex-project.org/lppl.txt
45
46 This file is part of the "tagpdf bundle" (The Work in LPPL)
47 and all files in that bundle must be distributed together.
48
49 \endpreamble
50 \let\MetaPrefix\DoubleperCent
51 % stop docstrip adding \endinput
52 \postamble
53 \endpostamble
54
55 \keepsilent
56
57 \generate
58 {\file{tagpdf.sty}
59 {
60 \from{tagpdf.dtx}{package}
61 \from{tagpdf-checks.dtx}{package}
62 \from{tagpdf-mc-shared.dtx}{shared}
63 \from{tagpdf.dtx}{mcloading}
64 \from{tagpdf-tree.dtx}{package}
65 \from{tagpdf-data.dtx}{package} %should be before the roles code
66 \from{tagpdf-roles.dtx}{package}
67 \from{tagpdf-struct.dtx}{package}%contains also the attr code.
68 \from{tagpdf-space.dtx}{package}
69 \from{tagpdf-user.dtx}{package}
70 }
71 }
72
73 \generate
74 {\file{tagpdf-base.sty}
75 {
76 \from{tagpdf.dtx}{base}
77 \from{tagpdf-mc-generic.dtx}{base}
78 \from{tagpdf-mc-shared.dtx}{base}
79 \from{tagpdf-struct.dtx}{base}
80 \from{tagpdf-checks.dtx}{base}
81 \from{tagpdf-user.dtx}{base}
82 \from{tagpdf-roles.dtx}{base}
83 }
84 }
85
86 \generate
87 {\file{tagpdf-luatex.def}{\from{tagpdf-backend.dtx}{luatex}}}
88 \generate
89 {\file{tagpdf-mc-code-generic.sty}{\from{tagpdf-mc-generic.dtx}{generic}}}
90 \generate
91 {\file{tagpdf-mc-code-lua.sty}{\from{tagpdf-mc-luacode.dtx}{luamode}}}
92
93 \generate
94 {\file{tagpdf-ns-pdf.def}{\from{tagpdf-data.dtx}{ns-pdf}}}
95 \generate
96 {\file{tagpdf-ns-pdf2.def}{\from{tagpdf-data.dtx}{ns-pdf2}}}
97 \generate
98 {\file{tagpdf-ns-mathml.def}{\from{tagpdf-data.dtx}{ns-mathml}}}
99 \generate
100 {\file{tagpdf-ns-latex.def}{\from{tagpdf-data.dtx}{ns-latex}}}
101 \generate
102 {\file{tagpdf-ns-latex-book.def}{\from{tagpdf-data.dtx}{ns-latex-book}}}
103 \generate
104 {\file{tagpdf-ns-latex-inline.def}{\from{tagpdf-data.dtx}{ns-latex-inline}}}
105 \generate
106 {\file{tagpdf-parent-child.csv}{\from{tagpdf-data.dtx}{parent-child}}}
107 \generate
108 {\file{tagpdf-parent-child-2.csv}{\from{tagpdf-data.dtx}{parent-child-2}}}
109
110
111 % check later if the mc-code uses debug guards too.
112 \generate
113 {\file{tagpdf-debug.sty}
114 {
115 \from{tagpdf.dtx}{debug}
116 \from{tagpdf-checks.dtx}{debug}
117 \from{tagpdf-user.dtx}{debug}
118 \from{tagpdf-mc-shared.dtx}{debug}
119 \from{tagpdf-tree.dtx}{debug}
120 \from{tagpdf-roles.dtx}{debug}
121 \from{tagpdf-struct.dtx}{debug}%
122 \from{tagpdf-space.dtx}{debug}
123 }
124 }
125
126 \generate
127 {\file{tagpdf-debug-generic.sty}{\from{tagpdf-mc-generic.dtx}{debug}}}
128
129 \generate
130 {\file{tagpdf-debug-lua.sty}{\from{tagpdf-mc-luacode.dtx}{debug}}}
131
132
133 \def\MetaPrefix{-- }
134 \def\defaultpostamble{%
135 \MetaPrefix^^J%
136 \MetaPrefix\space End of File `\outFileName'.%
137 }
138 \def\currentpostamble{\defaultpostamble}%
139 \generate{\file{tagpdf.lua} {\from{tagpdf-backend.dtx}{lua}}}
140
141
142 \endbatchfile