Debian Codegraph @

texmf-dist/source/latex/tuda-ci/tuda-ci.ins

raw
1 %% This is file `tuda-ci.ins' version 4.05 (2025-11-13),
2 %% it is part of
3 %% TUDa-CI -- Corporate Design for TU Darmstadt
4 %% ----------------------------------------------------------------------------
5 %%
6 %% Copyright (C) 2018--2025 by Marei Peischl <[email protected]>
7 %%
8 %% ============================================================================
9 %% This work may be distributed and/or modified under the
10 %% conditions of the LaTeX Project Public License, either version 1.3c
11 %% of this license or (at your option) any later version.
12 %% The latest version of this license is in
13 %% http://www.latex-project.org/lppl.txt
14 %% and version 1.3c or later is part of all distributions of LaTeX
15 %% version 2008/05/04 or later.
16 %%
17 %% This work has the LPPL maintenance status `maintained'.
18 %%
19 %% The Current Maintainer of this work is
20 %% Marei Peischl <[email protected]>
21 %%
22 %% The development repository can be found at
23 %% https://github.com/tudace/tuda_latex_templates
24 %% Please use the issue tracker for feedback!
25 %%
26 %%
27 %% ==========================================
28 %%
29
30 \input docstrip.tex
31 \keepsilent
32
33 \usedir{tex/latex/tuda-ci}
34
35 \let\orig@ds@heading\ds@heading
36 \let\ds@heading\@empty
37 \declarepreamble\tudatop
38 it is part of
39 TUDa-CI -- Corporate Design for TU Darmstadt
40
41 ----------------------------------------------------------------------------
42
43 Copyright (C) 2018--2025 by Marei Peischl <[email protected]>
44
45 ============================================================================
46 \endpreamble
47 \declarepreamble\tudabottom
48 This work may be distributed and/or modified under the
49 conditions of the LaTeX Project Public License, either version 1.3c
50 of this license or (at your option) any later version.
51 The latest version of this license is in
52 http://www.latex-project.org/lppl.txt
53 and version 1.3c or later is part of all distributions of LaTeX
54 version 2008/05/04 or later.
55
56 This work has the LPPL maintenance status `maintained'.
57
58 The Current Maintainer of this work is
59 Marei Peischl <[email protected]>
60
61 The development repository can be found at
62 https://github.com/tudace/tuda_latex_templates
63 Please use the issue tracker for feedback!
64
65 ============================================================================
66
67 \endpreamble
68 \ExplSyntaxOn
69 \tl_replace_once:Nnn \tudatop{\ReferenceLines} {^^J}
70 \tl_replace_once:Nnn \tudabottom {\ReferenceLines} {^^J}
71 \ExplSyntaxOff
72
73 \let\ds@heading\orig@ds@heading
74 \declarepreamble\tudadefault\tudatop\tudabottom
75 \endpreamble
76
77 \usepreamble\tudadefault
78
79 \askforoverwritefalse
80
81 \generate{
82 %tudabeamer
83 \file{tudabeamer.cls}{
84 \from{tudabeamer.dtx}{class,initialize,options}
85 \from{tuda-ci.dtx}{options,tudabeamer,beamer}
86 \from{tudabeamer.dtx}{class,body}
87 }
88 %tudapub
89 \file{tudapub.cls}{\from{tuda-ci.dtx}{class,tudapub,pdfa,options}}
90 }
91
92 \generate{%
93 \file{tudaexercise.cls}{%
94 \from{tudaexercise.dtx}{class,initialization}%
95 \from{tuda-ci.dtx}{options,exercise,print}%
96 \from{tudaexercise.dtx}{class,center}%
97 \from{tuda-ci.dtx}{margin,geometry,exercise}%
98 \from{tudaexercise.dtx}{class,body}
99 }%
100 }
101 \generate{\file{tudaleaflet.cls}{%
102 \from{tudaleaflet.dtx}{class,initialization}%
103 \from{tuda-ci.dtx}{options,leaflet,print}%
104 \from{tudaleaflet.dtx}{class,body}%
105 }%
106 }
107 \generate{\file{tudaletter.cls}{%
108 \from{tudaletter.dtx}{class,initialization}%
109 \from{tuda-ci.dtx}{options,letter,print,process-options,pdfa}%
110 \from{tudaletter.dtx}{class,packages}%
111 \from{tuda-ci.dtx}{pdfx}%
112 \from{tudaletter.dtx}{class,body}%
113 \from{tuda-ci.dtx}{xmpdata}%
114 }%
115 }
116 \generate{\file{tudasciposter.cls}{%
117 \from{tudasciposter.dtx}{class,initialization}%
118 \from{tuda-ci.dtx}{options,sciposter,print,pdfa}%
119 \from{tudasciposter.dtx}{class,packages}%
120 \from{tuda-ci.dtx}{pdfx}%
121 \from{tudasciposter.dtx}{class,body}%
122 \from{tuda-ci.dtx}{xmpdata}%
123 }%
124 }
125 \generate{\file{tudaposter.cls}{%
126 \from{tudaposter.dtx}{class,initialization}%
127 \from{tuda-ci.dtx}{options,poster,print}%
128 \from{tudaposter.dtx}{class,body}%
129 }%
130 }
131 \generate{
132 \file{beamerouterthemeTUDa.sty}{
133 \from{beamerouterthemeTUDa.dtx}{package,initialize,main}
134 \from{tuda-ci.dtx}{options,beamer-outer}
135 \from{beamerouterthemeTUDa.dtx}{package,main,body}
136 }
137 \file{tudathesis.cfg}{\from{tuda-ci.dtx}{cfg,tudathesis}}
138 \file{tudacolors.sty}{\from{tudacolors.dtx}{package}}
139 \file{tudafonts.sty}{\from{tudafonts.dtx}{package}}
140 \file{tudarules.sty}{\from{tudarules.dtx}{package}}
141 }
142 \generate{
143 % tudabeamer
144 \file{beamerthemeTUDa.sty}{\from{tudabeamer.dtx}{package,main,initialize,body,options}}
145 \file{beamerthemeTUDa2008.sty}{\from{tudabeamer.dtx}{package,2008,initialize,body,options}}
146 \file{beamerthemeTUDa2023.sty}{\from{tudabeamer.dtx}{package,2023,initialize,body,options}}
147 % beamer font theme
148 \file{beamerfontthemeTUDa.sty}{\from{beamerfontthemeTUDa.dtx}{package,main}}
149 \file{beamerfontthemeTUDa2008.sty}{\from{beamerfontthemeTUDa.dtx}{package,2008}}
150 % beamer color theme
151 \file{beamercolorthemeTUDa.sty}{\from{beamercolorthemeTUDa.dtx}{package,main}}
152 \file{beamercolorthemeTUDa2008.sty}{\from{beamercolorthemeTUDa.dtx}{package,2008}}
153 % \file{beamerouterthemeTUDa2008.sty}{\from{beamerouterthemeTUDa.dtx}{package,2008}}
154 \file{beamerouterthemeTUDa2008.sty}{%
155 \from{beamerouterthemeTUDa.dtx}{package,initialize,2008}%
156 \from{tuda-ci.dtx}{options,beamer-outer}%
157 \from{beamerouterthemeTUDa.dtx}{package,2008,body}%
158 \from{beamerthemeTUDa2008.dtx}{outer}%
159 }%
160 % beamer inner theme
161 \file{beamerinnerthemeTUDa.sty}{\from{beamerinnerthemeTUDa.dtx}{package,main}}
162 \file{beamerinnerthemeTUDa2008.sty}{\from{beamerinnerthemeTUDa.dtx}{package,2008}}
163 \file{beamerinnerthemeTUDa2023.sty}{\from{beamerinnerthemeTUDa.dtx}{package,2023}}
164 }
165
166 \declarepreamble\tudakomasize
167 it is part of
168 TUDa-CI -- Corporate Design for TU Darmstadt
169
170 ----------------------------------------------------------------------------
171
172 Copyright (C) 2018--2025 by Marei Peischl <[email protected]>
173
174 ============================================================================
175
176 The source file includes parts of the files scrkernel-fonts.dtx and scrkernel-paragraphs.dtx
177 Copyright (c) 1994--2024 Markus Kohm [komascript at gmx info]
178 which are part of the KOMA-Script bundle.
179
180 The files were modified by Marei Peischl <[email protected]>
181
182 This work may be distributed and/or modified under the
183 conditions of the LaTeX Project Public License, either version 1.3c
184 of this license or (at your option) any later version.
185 The latest version of this license is in
186 http://www.latex-project.org/lppl.txt
187 and version 1.3c or later is part of all distributions of LaTeX
188 version 2008/05/04 or later.
189
190 This work has the LPPL maintenance status `maintained'.
191
192 The Current Maintainer of this work is
193 Marei Peischl <[email protected]>
194
195 The development repository can be found at
196 https://github.com/tudace/tuda_latex_templates
197 Please use the issue tracker for feedback!
198
199 ============================================================================
200
201 \endpreamble
202 \usepreamble\tudakomasize
203
204 \generate{%
205 \file{tudasize9pt.clo}{\from{tudasize.dtx}{scrsize,9pt}}%
206 \file{tudalettersize10pt.clo}{\from{tudasize.dtx}{scrsize,tudaletter}}%
207 }%
208
209 \usepreamble\tudadefault
210
211 \ExplSyntaxOn
212 \int_new:N \g_ptxcd_count_int
213
214 % redefine module replacement to allow custom replacements for paper size
215 \str_new:N \l_ptxcd__tmpa_str
216 \str_new:N \l_@@_customize_ins_str
217 \cs_set_eq:NN \_@@_customize_ins_prepareActiveModule:n \prepareActiveModule
218 \cs_set:Npn \prepareActiveModule#1{
219 \_@@_customize_ins_prepareActiveModule:n {#1}%
220 \tl_put_left:Nn \replaceModuleInLine{
221 \str_set:NV \l_ptxcd__tmpa_str \inLine
222 \exp_args:NNxx \str_replace_all:Nnn \l_ptxcd__tmpa_str {\tl_to_str:V \l_@@_customize_ins_str} {\use:c {\l_@@_customize_ins_str}}
223 \tl_set_rescan:NnV \inLine {} \l_ptxcd__tmpa_str
224 \int_gzero:N \g_ptxcd_count_int
225 }
226 }
227
228
229 \str_set:Nx \l_@@_customize_ins_str {\string\@@tudasizepaper@@\space}
230
231 \cs_set:Npn \generateTUDaPaperFiles #1 {
232 \str_set:Nx \l_@@_customize_ins_str {\string\@@tudasizepaper@@\space}
233 \clist_map_inline:nn {#1} {
234 \generate{
235 \tl_set:cn {\str_use:N \l_@@_customize_ins_str} {##1}
236 \file{tuda-##1paper.clo}{\from{tudasize.dtx}{##1,tudasize}}
237 }
238 }
239 }
240 \ExplSyntaxOff
241 \generateTUDaPaperFiles {a0,a1,a2,a3,a4,a5}
242
243 \endbatchfile