Debian Codegraph @

texmf-dist/source/fonts/berenisadf/berenisadf.ins

raw
1 %% $Id: berenisadf.ins 10306 2024-09-01 19:01:55Z cfrees $
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 %% berenisadf.ins
4 %% Additions and changes Copyright (C) 2010-2024 Clea F. Rees.
5 %% Code from skeleton.ins Copyright (C) 2015-2024 Scott Pakin (see below).
6 %%
7 %% This work may be distributed and/or modified under the
8 %% conditions of the LaTeX Project Public License, either version 1.3c
9 %% of this license or (at your option) any later version.
10 %% The latest version of this license is in
11 %% https://www.latex-project.org/lppl.txt
12 %% and version 1.3c or later is part of all distributions of LaTeX
13 %% version 2008-05-04 or later.
14 %%
15 %% This work has the LPPL maintenance status `maintained'.
16 %%
17 %% The Current Maintainer of this work is Clea F. Rees.
18 %%
19 %% This work consists of all files listed in manifest.txt.
20 %%
21 %% The file berenisadf.ins is a derived work under the terms of the
22 %% LPPL. It is based on version 2.4 of skeleton.ins which is part of
23 %% dtxtut by Scott Pakin. A copy of dtxtut, including the
24 %% unmodified version of skeleton.ins is available from
25 %% https://www.ctan.org/pkg/dtxtut and released under the LPPL.
26 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
27
28 \input docstrip.tex
29 \keepsilent
30
31 \usedir{tex/latex/berenis}
32
33 \declarepreamble\safonol
34
35 -------------------------------------------------
36 Copyright (C) 2010-2024 Clea F. Rees.
37
38 This work may be distributed and/or modified under the
39 conditions of the LaTeX Project Public License, either version 1.3c
40 of this license or (at your option) any later version.
41 The latest version of this license is in
42 https://www.latex-project.org/lppl.txt
43 and version 1.3c or later is part of all distributions of LaTeX
44 version 2008-05-04 or later.
45
46 This work has the LPPL maintenance status `maintained'.
47
48 The Current Maintainer of this work is Clea F. Rees.
49
50 This file may only be distributed together with a copy of the package
51 berenisadf. You may however distribute the package berenisadf without
52 such generated files.
53
54 This work consists of all files listed in manifest.txt.
55 -------------------------------------------------
56 \endpreamble
57
58 \newcommand* \baseFileName{t1-cfr.etx}
59 \newcommand* \encName{T1}
60 \newcommand* \targFontName{BERENIS-TC}
61
62 \newcommand* \preChanges{%
63 - The commentary in the original is deleted in this version. For
64 information about the \encName{} etc., typeset the original \baseFileName{}
65 included with fontinst.
66 - Slots are altered to accommodate characters which are named
67 differently. For example, this encoding uses "endash" and "emdash"
68 whereas \baseFileName{} called for "rangedash" and "punctdash".
69 - The original notices at the top of that file concerning authors,
70 maintenance etc. are replaced by this notice.
71 - The file is renamed.
72 - The encoding name is modified.
73 - f_f, f_f_i and f_f_l replace ff, ffi and ffl.
74 - The encoding has been modified for use with \targFontName.}
75 \newcommand* \targType{The encoding }
76
77 \declarepreamble\derfontinst
78
79 -------------------------------------------------
80 Additions and changes Copyright (C) 2010-2024 Clea F. Rees.
81 Code from t1.etx Copyright 2002 Alan Jeffrey and Sebastian
82 Rahtz and Ulrik Vieth and Lars Hellström (see below)
83
84 This work may be distributed and/or modified under the
85 conditions of the LaTeX Project Public License, either version 1.3c
86 of this license or (at your option) any later version.
87 The latest version of this license is in
88 https://www.latex-project.org/lppl.txt
89 and version 1.3c or later is part of all distributions of LaTeX
90 version 2008-05-04 or later.
91
92 This work has the LPPL maintenance status `maintained'.
93
94 The Current Maintainer of this work is Clea F. Rees.
95
96 This work consists of all files listed in manifest.txt.
97
98 \targType\outFileName is a derived work under the terms of the
99 LPPL. The original file, \baseFileName, is supplied with fontinst. A copy
100 of fontinst including an unmodified copy of \baseFileName is available from
101 https://tug.ctan.org/tex-archive/fonts/utilities/fontinst.
102 The main modifications made to this file are as follows:
103 \preChanges
104 -------------------------------------------------
105 \endpreamble
106
107 \declarepreamble\fntencyy
108 -------------------------------------------------
109 Modifications Copyright (C) 2010-2024 Clea F. Rees.
110 Code from texnansi.enc Copyright 2009 Y&Y, Inc.
111
112 This work may be distributed and/or modified under the
113 conditions of the LaTeX Project Public License, either version 1.3c
114 of this license or (at your option) any later version.
115 The latest version of this license is in
116 https://www.latex-project.org/lppl.txt
117 and version 1.3c or later is part of all distributions of LaTeX
118 version 2008-05-04 or later.
119
120 This work has the LPPL maintenance status `maintained'.
121
122 The Current Maintainer of this work is Clea F. Rees.
123
124 This work consists of all files listed in manifest.txt.
125
126 \targType\outFileName is a derived work under the terms of the
127 LPPL. The original file, texnansi.enc, is part of ly1. A copy
128 of ly1 including an unmodified copy of texnansi.enc is available from
129 http://tug.ctan.org/tex-archive/fonts/psfonts/ly1.
130 The main modifications made to this file are as follows:
131 - The original notices at the top of that file concerning authors,
132 maintenance etc. are replaced by this notice.
133 - The file is renamed.
134 - The encoding name is modified.
135 -------------------------------------------------
136 \endpreamble
137
138 \declarepreamble\fntencyyfancy
139 -------------------------------------------------
140 Modifications Copyright (C) 2010-2024 Clea F. Rees.
141 Code from texnansi.enc Copyright 2009 Y&Y, Inc.
142
143 This work may be distributed and/or modified under the
144 conditions of the LaTeX Project Public License, either version 1.3c
145 of this license or (at your option) any later version.
146 The latest version of this license is in
147 https://www.latex-project.org/lppl.txt
148 and version 1.3c or later is part of all distributions of LaTeX
149 version 2008-05-04 or later.
150
151 This work has the LPPL maintenance status `maintained'.
152
153 The Current Maintainer of this work is Clea F. Rees.
154
155 This work consists of all files listed in manifest.txt.
156
157 \targType\outFileName is a derived work under the terms of the
158 LPPL. The original file, texnansi.enc, is part of ly1. A copy
159 of ly1 including an unmodified copy of texnansi.enc is available from
160 http://tug.ctan.org/tex-archive/fonts/psfonts/ly1.
161 The main modifications made to this file are as follows:
162 - The original notices at the top of that file concerning authors,
163 maintenance etc. are replaced by this notice.
164 - The file is renamed.
165 - The encoding name is modified.
166 - Note that dieresis is moved to 168 since this is where ly1enc.def
167 - Note that Oslash is moved to 216 since this is where ly1enc.def
168 seems to expect it.
169 - Note that oslash is moved to 248 since this is where ly1enc.def
170 seems to expect it.
171 - Note that AE is moved to 198 since this is where ly1enc.def
172 seems to expect it.
173 - Note that ae is moved to 230 since this is where ly1enc.def
174 seems to expect it.
175 -------------------------------------------------
176
177 \endpreamble
178
179 \newcommand* \baseETX{t1-cfr}
180 \newcommand* \bspre {\backslash}
181
182 % a fudge because the existing preambles seem nonsensical
183 \declarepreamble\fntenc
184
185 -------------------------------------------------
186 !PS-Adobe-3.0 Resource-Encoding
187 @psencodingfile{
188 author = "See file \baseETX.etx",
189 version = "See file \baseETX.etx",
190 date = "generated 2013/11/19",
191 filename = "\outFileName",
192 email = "See file \baseETX.etx",
193 codetable = "ISO/ASCII",
194 checksum = "",
195 abstract = "This is a postscript encoding file, automatically generated by fontinst from \baseETX.etx."
196 }
197
198 Created by: tex finstmsc
199 Created using: \bspre etxtoenc{\baseETX}{\baseETX}
200
201 This file should be installed somewhere that your DVI
202 to postscript driver looks for files. It is needed for
203 reencoding some font you have transformed.
204
205 After installing this file, you should add the following
206 line (minus \perCent) to your finstmsc.rc file:
207 \bspre declarepsencoding{\baseETX}{fontinst-autoenc-\baseETX}{\bspre download{\baseETX}}
208
209 Further adapted for ybd
210 -------------------------------------------------
211 \endpreamble
212
213 \askonceonly
214
215 \usepreamble\safonol
216
217 \generate{\file{berenis.sty}{\from{berenisadf.dtx}{sty}}
218 \file{ly1ybd.fd}{\from{berenisadf.dtx}{fd-ly1ybd}}
219 \file{ly1ybd0.fd}{\from{berenisadf.dtx}{fd-ly1ybd0}}
220 \file{ly1ybd1.fd}{\from{berenisadf.dtx}{fd-ly1ybd1}}
221 \file{ly1ybd2.fd}{\from{berenisadf.dtx}{fd-ly1ybd2}}
222 \file{ly1ybd2j.fd}{\from{berenisadf.dtx}{fd-ly1ybd2j}}
223 \file{ly1ybd2jw.fd}{\from{berenisadf.dtx}{fd-ly1ybd2jw}}
224 \file{ly1ybd2w.fd}{\from{berenisadf.dtx}{fd-ly1ybd2w}}
225 \file{ly1ybdj.fd}{\from{berenisadf.dtx}{fd-ly1ybdj}}
226 \file{ly1ybdjw.fd}{\from{berenisadf.dtx}{fd-ly1ybdjw}}
227 \file{ly1ybdw.fd}{\from{berenisadf.dtx}{fd-ly1ybdw}}
228 \file{t1ybd.fd}{\from{berenisadf.dtx}{fd-t1ybd}}
229 \file{t1ybd0.fd}{\from{berenisadf.dtx}{fd-t1ybd0}}
230 \file{t1ybd1.fd}{\from{berenisadf.dtx}{fd-t1ybd1}}
231 \file{t1ybd2.fd}{\from{berenisadf.dtx}{fd-t1ybd2}}
232 \file{t1ybd2j.fd}{\from{berenisadf.dtx}{fd-t1ybd2j}}
233 \file{t1ybdj.fd}{\from{berenisadf.dtx}{fd-t1ybdj}}
234 \file{ts1ybd.fd}{\from{berenisadf.dtx}{fd-ts1ybd}}
235 \file{ts1ybd0.fd}{\from{berenisadf.dtx}{fd-ts1ybd0}}
236 \file{ts1ybd1.fd}{\from{berenisadf.dtx}{fd-ts1ybd1}}
237 \file{ts1ybd2.fd}{\from{berenisadf.dtx}{fd-ts1ybd2}}
238 \file{ts1ybd2j.fd}{\from{berenisadf.dtx}{fd-ts1ybd2j}}
239 \file{ts1ybdj.fd}{\from{berenisadf.dtx}{fd-ts1ybdj}}
240 % etx -> encs
241 \file{ybd-encs.tex}{\from{berenisadf.dtx}{etx-enc}}
242 % encs
243 \usepreamble\fntenc
244 % t1-cfr.etx
245 \file{t1-ybd.enc}{\from{berenisadf.dtx}{enc-t1-ybd}}
246 \file{t1-ybd2j.enc}{\from{berenisadf.dtx}{enc-t1-ybd2j}}
247 \file{t1-ybdj.enc}{\from{berenisadf.dtx}{enc-t1-ybdj}}
248 % according to the .enc t1-cfr.enc was generated from t1-ybd2.etx
249 % but this is clearly nonsense, so assume vice-versa
250 \file{t1-ybd2.enc}{\from{berenisadf.dtx}{enc-t1-ybd2}}
251 % from now on reversals are not noted
252 % too much nonsense in this
253 \def\baseETX{t1-dotinferior}
254 \file{t1-ybd0.enc}{\from{berenisadf.dtx}{enc-t1-ybd0}}
255 \def\baseETX{t1-dotsuperior}
256 \file{t1-ybd1.enc}{\from{berenisadf.dtx}{enc-t1-ybd1}}
257 \usepreamble\fntencyy
258 \file{texnansi-ybd.enc}{\from{berenisadf.dtx}{enc-texnansi-ybd}}
259 \file{texnansi-ybd0.enc}{\from{berenisadf.dtx}{enc-texnansi-ybd0}}
260 \file{texnansi-ybd1.enc}{\from{berenisadf.dtx}{enc-texnansi-ybd1}}
261 \file{texnansi-ybd2.enc}{\from{berenisadf.dtx}{enc-texnansi-ybd2}}
262 \file{texnansi-ybd2j.enc}{\from{berenisadf.dtx}{enc-texnansi-ybd2j}}
263 \file{texnansi-ybdj.enc}{\from{berenisadf.dtx}{enc-texnansi-ybdj}}
264 \usepreamble\fntencyyfancy
265 \file{texnansx-ybd2jw.enc}{\from{berenisadf.dtx}{enc-texnansx-ybd2jw}}
266 \file{texnansx-ybd2w.enc}{\from{berenisadf.dtx}{enc-texnansx-ybd2w}}
267 \file{texnansx-ybdjw.enc}{\from{berenisadf.dtx}{enc-texnansx-ybdjw}}
268 \file{texnansx-ybdw.enc}{\from{berenisadf.dtx}{enc-texnansx-ybdw}}
269 \usepreamble\fntenc
270 \def\baseETX{ts1-dotoldstyle}
271 \file{ts1-ybd.enc}{\from{berenisadf.dtx}{enc-ts1-ybd}}
272 \file{ts1-ybd2.enc}{\from{berenisadf.dtx}{enc-ts1-ybd2}}
273 \file{ts1-ybd2j.enc}{\from{berenisadf.dtx}{enc-ts1-ybd2j}}
274 \file{ts1-ybdj.enc}{\from{berenisadf.dtx}{enc-ts1-ybdj}}
275 \def\baseETX{ts1-dotinferior}
276 \file{ts1-ybd0.enc}{\from{berenisadf.dtx}{enc-ts1-ybd0}}
277 \def\baseETX{ts1-dotsuperior}
278 \file{ts1-ybd1.enc}{\from{berenisadf.dtx}{enc-ts1-ybd1}}
279 % ligs
280 % not sure what a comment would look like here so drop
281 \nopreamble
282 \nopostamble
283 \file{ybd-8t.lig}{\from{berenisadf.dtx}{lig-ybd-8t}}
284 \file{ybd-8y.lig}{\from{berenisadf.dtx}{lig-ybd-8y}}
285 }
286
287
288 % don't pollute scripts with wrongly marked up comments
289 \edef\MetaPrefix{\string#}
290 % redeclare preamble above with correct \MetaPrefix
291 \declarepreamble\safonol
292 -------------------------------------------------
293 Copyright (C) 2010-2024 Clea F. Rees.
294
295 This work may be distributed and/or modified under the
296 conditions of the LaTeX Project Public License, either version 1.3c
297 of this license or (at your option) any later version.
298 The latest version of this license is in
299 https://www.latex-project.org/lppl.txt
300 and version 1.3c or later is part of all distributions of LaTeX
301 version 2008-05-04 or later.
302
303 This work has the LPPL maintenance status `maintained'.
304
305 The Current Maintainer of this work is Clea F. Rees.
306
307 This file may only be distributed together with a copy of the package
308 berenisadf. You may however distribute the package berenisadf without
309 such generated files.
310
311 This work consists of all files listed in manifest.txt.
312 -------------------------------------------------
313 \endpreamble
314 \nopostamble
315 \usepreamble\safonol
316 \generate{
317 \file{ybd.nam}{\from{berenisadf.dtx}{nam-ybd}}
318 }
319 % David Carlisle: https://chat.stackexchange.com/transcript/message/66210359#66210359
320 % David Carlisle: https://tex.stackexchange.com/a/453323/
321 \catcode9=12
322 \generate{
323 \file{Makefile.make}{\from{berenisadf.dtx}{make}}
324 \nopreamble
325 \file{ff-ybd.pe}{\from{berenisadf.dtx}{ff-ybd}}
326 }
327
328 \obeyspaces
329 \Msg{*************************************************************}
330 \Msg{* *}
331 \Msg{* To finish the installation you have to move the following *}
332 \Msg{* files into directories searched by TeX: *}
333 \Msg{* *}
334 \Msg{* berenis.sty *}
335 \Msg{* *.enc *}
336 \Msg{* *.fd *}
337 \Msg{* *.map *}
338 \Msg{* *.otf (optional) *}
339 \Msg{* *.pfb *}
340 \Msg{* *.tfm *}
341 \Msg{* *}
342 \Msg{* update the filename database, if applicable, and install *}
343 \Msg{* the map file(s) with updmap-sys or similar. *}
344 \Msg{* *}
345 \Msg{* If the .map, .tfm or certain .enc files are missing, you *}
346 \Msg{* may need to regenerate them by hand or using the GNU *}
347 \Msg{* Makefile provided. *}
348 \Msg{* *}
349 \Msg{* If you received only opentype fonts (no .pfb), the *}
350 \Msg{* the process requires FontForge. *}
351 \Msg{* *}
352 \Msg{* To produce the documentation run the file berenisadf.dtx *}
353 \Msg{* through LaTeX. *}
354 \Msg{* *}
355 \Msg{* Happy TeXing! *}
356 \Msg{* *}
357 \Msg{*************************************************************}
358
359 \endbatchfile