Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/tex:master commit in: 2021/texmf.d/
Date: Fri, 02 Apr 2021 06:39:51
Message-Id: 1617345567.cc9ab98b6525d8ed237105be751c4e02e94ed297.zlogene@gentoo
1 commit: cc9ab98b6525d8ed237105be751c4e02e94ed297
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 2 06:39:27 2021 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 2 06:39:27 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/tex.git/commit/?id=cc9ab98b
7
8 add kpathsea files for texlive '21
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11
12 2021/texmf.d/00header.cnf | 44 ++++
13 2021/texmf.d/05searchpaths.cnf | 103 +++++++++
14 2021/texmf.d/10standardpaths.cnf | 447 +++++++++++++++++++++++++++++++++++++++
15 2021/texmf.d/15options.cnf | 164 ++++++++++++++
16 2021/texmf.d/20sizes.cnf | 133 ++++++++++++
17 5 files changed, 891 insertions(+)
18
19 diff --git a/2021/texmf.d/00header.cnf b/2021/texmf.d/00header.cnf
20 new file mode 100644
21 index 0000000..dc74405
22 --- /dev/null
23 +++ b/2021/texmf.d/00header.cnf
24 @@ -0,0 +1,44 @@
25 +% original texmf.cnf -- runtime path configuration file for kpathsea.
26 +% Public domain.
27 +%
28 +% If you modify this original file, YOUR CHANGES WILL BE LOST when it is
29 +% updated. Instead, put your changes -- and only your changes, not an
30 +% entire copy! -- in ../../texmf.cnf. That is, if this file is
31 +% installed in /some/path/to/texlive/2020/texmf-dist/web2c/texmf.cnf,
32 +% add your custom settings to /some/path/to/texlive/2020/texmf.cnf.
33 +% (Below, we use YYYY in place of the specific year.)
34 +%
35 +% What follows is a super-summary of what this .cnf file can
36 +% contain. Please read the Kpathsea manual for more information.
37 +%
38 +% Each statement in this file boils down to:
39 +% <variable>[.<program>] [=] <value>
40 +%
41 +% Neither the <variable> nor the <value> may be empty.
42 +% Any identifier (sticking to A-Za-z_ for names is safest) can be assigned.
43 +% The `=' (and surrounding spaces) is optional.
44 +% $foo (or ${foo}) in a value expands to the envvar or cnf value of foo.
45 +% Lines can be continued with a \; no whitespace removal is done.
46 +%
47 +% Earlier entries (in the same or another file) override later ones, and
48 +% an environment variable foo overrides any texmf.cnf definition of foo.
49 +%
50 +% All definitions are read before anything is expanded, so you can use
51 +% variables before they are defined.
52 +%
53 +% If a variable assignment is qualified with `.PROGRAM', it is ignored
54 +% unless the current executable (last filename component of argv[0]) is
55 +% named PROGRAM. This foo.PROGRAM construct is not recognized on the
56 +% right-hand side. For environment variables, use FOO_PROGRAM.
57 +%
58 +% Which file formats use which paths for searches is described in the
59 +% various programs' and the Kpathsea documentation (http://tug.org/kpathsea).
60 +%
61 +% // means to search subdirectories (recursively).
62 +% A leading !! means to look only in the ls-R db, never on the disk.
63 +% In this file, either ; or : can be used to separate path components.
64 +% A leading/trailing/doubled path separator in the paths will be
65 +% expanded into the compile-time default. Probably not what you want.
66 +%
67 +% Brace notation is supported, for example: /usr/local/{mytex,othertex}
68 +% expands to /usr/local/mytex:/usr/local/othertex.
69
70 diff --git a/2021/texmf.d/05searchpaths.cnf b/2021/texmf.d/05searchpaths.cnf
71 new file mode 100644
72 index 0000000..f13be80
73 --- /dev/null
74 +++ b/2021/texmf.d/05searchpaths.cnf
75 @@ -0,0 +1,103 @@
76 +% Part 1: Search paths and directories.
77 +
78 +% This is the parent directory of our several trees, i.e.,
79 +% /usr/local/texlive/YYYY in the original TeX Live distribution.
80 +%
81 +% All trees must be organized according to the TeX Directory Structure
82 +% (http://tug.org/tds), or files may not be found.
83 +%
84 +% Redistributors will probably want $SELFAUTODIR/share, i.e., /usr/share.
85 +% Kpathsea sets SELFAUTOLOC (the directory with the binary),
86 +% SELFAUTODIR (its parent), and SELFAUTOPARENT (its grandparent).
87 +TEXMFROOT = $SELFAUTODIR/share
88 +
89 +% The main tree of distributed packages and programs:
90 +TEXMFDIST = $TEXMFROOT/texmf-dist
91 +
92 +% We used to have a separate /texmf tree with some core programs and files.
93 +% Keep the variable name.
94 +TEXMFMAIN = $TEXMFDIST
95 +
96 +% The Gentoo site tree
97 +TEXMFSITE = $TEXMFROOT/texmf-site
98 +
99 +% Local additions to the distribution trees.
100 +TEXMFLOCAL = $TEXMFROOT/../local/share/texmf
101 +
102 +% TEXMFSYSVAR, where *-sys store cached runtime data.
103 +TEXMFSYSVAR = $SELFAUTOPARENT/var/lib/texmf
104 +
105 +% TEXMFSYSCONFIG, where *-sys store configuration data.
106 +TEXMFSYSCONFIG = $SELFAUTOPARENT/etc/texmf
107 +
108 +% Per-user texmf tree(s) -- organized per the TDS, as usual. To define
109 +% more than one per-user tree, set this to a list of directories in
110 +% braces, as described above. (This used to be HOMETEXMF.) ~ expands
111 +% to %USERPROFILE% on Windows, $HOME otherwise.
112 +TEXMFHOME = ~/texmf
113 +
114 +% TEXMFVAR, where texconfig/updmap/fmtutil store cached runtime data.
115 +TEXMFVAR = ~/.texlive/texmf-var
116 +
117 +% TEXMFCONFIG, where texconfig/updmap/fmtutil store configuration data.
118 +TEXMFCONFIG = ~/.texlive/texmf-config
119 +
120 +% This is the value manipulated by tlmgr's auxtrees subcommand in the
121 +% root texmf.cnf. Kpathsea warns about a literally empty string for a
122 +% value, hence the empty braces.
123 +TEXMFAUXTREES = {}
124 +
125 +% List all the texmf trees. For an explanation of what they are, see the
126 +% TeX Live manual.
127 +%
128 +% For texconfig to work properly, TEXMFCONFIG and TEXMFVAR should be named
129 +% explicitly and before other trees.
130 +%
131 +% TEXMFLOCAL precedes TEXMFDIST because locally-installed versions
132 +% should take precedence over distribution files -- although it is
133 +% generally a source of confusion to have different versions of a
134 +% package installed, whatever the trees, so try to avoid it.
135 +%
136 +% The odd-looking $TEXMFAUXTREES$TEXMF... construct is so that if no auxtree is
137 +% ever defined (the 99% common case), no extra elements will be added to
138 +% the search paths. tlmgr takes care to end any value with a trailing comma.
139 +TEXMF = {$TEXMFAUXTREES$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!$TEXMFLOCAL,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFSITE,!!$TEXMFDIST}
140 +
141 +% Where to look for ls-R files. There need not be an ls-R in the
142 +% directories in this path, but if there is one, Kpathsea will use it.
143 +% By default, this is only the !! elements of TEXMF, so that mktexlsr
144 +% does not create ls-R files in the non-!! elements -- because if an
145 +% ls-R is present, it will be used, and the disk will not be searched.
146 +% This is arguably a bug in kpathsea.
147 +TEXMFDBS = {!!$TEXMFLOCAL,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFSITE,!!$TEXMFDIST}
148 +
149 +% The system trees. These are the trees that are shared by all users.
150 +% If a tree appears in this list, the mktex* scripts will use
151 +% VARTEXFONTS for generated files, if the original tree isn't writable;
152 +% otherwise the current working directory is used.
153 +SYSTEXMF = $TEXMFSYSVAR;$TEXMFLOCAL;$TEXMFSITE;$TEXMFDIST
154 +
155 +% First writable tree here is used by Lua(La)TeX for the font cache.
156 +% LuaLaTeX uses the value here, while ConTeXt uses the same variable but
157 +% from texmfcnf.lua; therefore the two values should be kept in sync.
158 +% (As should everything else in texmf.cnf <-> texmfcnf.lua.)
159 +TEXMFCACHE = $TEXMFSYSVAR;$TEXMFVAR
160 +
161 +% We use GLOBALVARTEXFONTS in order to always be able to search in the global
162 +% font cache even if VARTEXFONTS is overridden.
163 +GLOBALVARTEXFONTS = $SELFAUTOPARENT/var/cache/fonts
164 +
165 +% Where generated fonts may be written. This tree is used when the sources
166 +% were found in a system tree and either that tree wasn't writable, or the
167 +% varfonts feature was enabled in MT_FEATURES in mktex.cnf.
168 +VARTEXFONTS = $GLOBALVARTEXFONTS
169 +
170 +% On some systems, there will be a system tree which contains all the font
171 +% files that may be created as well as the formats. For example
172 +% TEXMFVAR = /var/lib/texmf
173 +% is used in many distros. In this case, set VARTEXFONTS like this
174 +%VARTEXFONTS = $TEXMFVAR/fonts
175 +% and do not mention it in TEXMFDBS (but _do_ mention TEXMFVAR).
176 +%
177 +% Remove $VARTEXFONTS from TEXMFDBS if the VARTEXFONTS directory is below
178 +% one of the TEXMF directories (avoids overlapping ls-R files).
179
180 diff --git a/2021/texmf.d/10standardpaths.cnf b/2021/texmf.d/10standardpaths.cnf
181 new file mode 100644
182 index 0000000..1a4e7fc
183 --- /dev/null
184 +++ b/2021/texmf.d/10standardpaths.cnf
185 @@ -0,0 +1,447 @@
186 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
187 +% Usually you will not need to edit any of the following variables.
188 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
189 +
190 +% WEB2C is for Web2C specific files. The current directory may not be
191 +% a good place to look for them.
192 +WEB2C = $TEXMF/web2c
193 +
194 +% This variable exists only to be redefined; it is used in nearly all
195 +% search paths. If a document has source files not only in the current
196 +% directory but also in subdirectories, it is convenient to set
197 +% TEXMFDOTDIR=.// so that everything will be searched automatically.
198 +% On the other hand, if you never want the current directory to be
199 +% searched at all, setting TEXMFDOTDIR=/nonesuch should come close.
200 +%
201 +TEXMFDOTDIR = .
202 +
203 +% TEXINPUTS is for TeX input files -- i.e., anything to be found by \input
204 +% or \openin, including .sty, .eps, etc. We specify paths for all known
205 +% formats, past or present. Not all of them are built these days.
206 +
207 +% Plain TeX. Have the command tex check all directories as a last
208 +% resort, we may have plain-compatible stuff anywhere. Prefer
209 +% latex/ to latex-dev/, implying that we have to add a latex, element to
210 +% every TEXINPUTS tree that recursively searches $TEXMF/tex//, which is
211 +% all of them except ConTeXt.
212 +TEXINPUTS.tex = $TEXMFDOTDIR;$TEXMF/tex/{plain,generic,latex,}//
213 +
214 +% Fontinst needs to read afm files.
215 +TEXINPUTS.fontinst = $TEXMFDOTDIR;$TEXMF/{tex,fonts/afm}//
216 +
217 +% Other plain-based formats.
218 +TEXINPUTS.amstex = $TEXMFDOTDIR;$TEXMF/tex/{amstex,plain,generic,latex,}//
219 +TEXINPUTS.csplain = $TEXMFDOTDIR;$TEXMF/tex/{csplain,plain,generic,latex,}//
220 +TEXINPUTS.eplain = $TEXMFDOTDIR;$TEXMF/tex/{eplain,plain,generic,latex,}//
221 +TEXINPUTS.ftex = $TEXMFDOTDIR;$TEXMF/tex/{formate,plain,generic,latex,}//
222 +TEXINPUTS.mex = $TEXMFDOTDIR;$TEXMF/tex/{mex,plain,generic,latex,}//
223 +TEXINPUTS.texinfo = $TEXMFDOTDIR;$TEXMF/tex/{texinfo,plain,generic,latex,}//
224 +
225 +% LaTeX2e specific macros are stored in latex/, macros that can only be
226 +% used with 2.09 in latex209/. In addition, we look in the directory
227 +% latex209, useful for macros that were written for 2.09 and do not
228 +% mention 2e at all, but can be used with 2e. The latex-dev/ subtree
229 +% may contain release candidates for testing.
230 +TEXINPUTS.cslatex = $TEXMFDOTDIR;$TEXMF/tex/{cslatex,csplain,latex,generic,}//
231 +TEXINPUTS.latex = $TEXMFDOTDIR;$TEXMF/tex/{latex,generic,}//
232 +TEXINPUTS.latex-dev = $TEXMFDOTDIR;$TEXMF/tex/{latex-dev,latex,generic,}//
233 +TEXINPUTS.latex209 = $TEXMFDOTDIR;$TEXMF/tex/{latex209,generic,latex,}//
234 +TEXINPUTS.olatex = $TEXMFDOTDIR;$TEXMF/tex/{latex,generic,}//
235 +
236 +% MLTeX.
237 +TEXINPUTS.frlatex = $TEXMFDOTDIR;$TEXMF/tex/{french,latex,generic,}//
238 +TEXINPUTS.frtex = $TEXMFDOTDIR;$TEXMF/tex/{french,plain,generic,latex,}//
239 +TEXINPUTS.mllatex = $TEXMFDOTDIR;$TEXMF/tex/{latex,generic,}//
240 +TEXINPUTS.mltex = $TEXMFDOTDIR;$TEXMF/tex/{plain,generic,latex,}//
241 +
242 +% e-TeX.
243 +TEXINPUTS.elatex = $TEXMFDOTDIR;$TEXMF/tex/{latex,generic,}//
244 +TEXINPUTS.etex = $TEXMFDOTDIR;$TEXMF/tex/{plain,generic,latex,}//
245 +
246 +% pdfTeX.
247 +TEXINPUTS.pdfcslatex = $TEXMFDOTDIR;$TEXMF/tex/{cslatex,csplain,latex,generic,}//
248 +TEXINPUTS.pdfcsplain = $TEXMFDOTDIR;$TEXMF/tex/{csplain,plain,generic,latex,}//
249 +TEXINPUTS.pdflatex = $TEXMFDOTDIR;$TEXMF/tex/{latex,generic,}//
250 +TEXINPUTS.pdflatex-dev = $TEXMFDOTDIR;$TEXMF/tex/{latex-dev,latex,generic,}//
251 +TEXINPUTS.pdfmex = $TEXMFDOTDIR;$TEXMF/tex/{mex,plain,generic,latex,}//
252 +TEXINPUTS.utf8mex = $TEXMFDOTDIR;$TEXMF/tex/{mex,plain,generic,latex,}//
253 +TEXINPUTS.pdftex = $TEXMFDOTDIR;$TEXMF/tex/{plain,generic,latex,}//
254 +TEXINPUTS.pdftexinfo = $TEXMFDOTDIR;$TEXMF/tex/{texinfo,plain,generic,latex,}//
255 +TEXINPUTS.pdfamstex = $TEXMFDOTDIR;$TEXMF/tex/{amstex,plain,generic,latex,}//
256 +
257 +% pdfeTeX.
258 +TEXINPUTS.pdfelatex = $TEXMFDOTDIR;$TEXMF/tex/{latex,generic,}//
259 +TEXINPUTS.pdfetex = $TEXMFDOTDIR;$TEXMF/tex/{plain,generic,latex,}//
260 +
261 +% LuaTeX.
262 +TEXINPUTS.luatex = $TEXMFDOTDIR;$TEXMF/tex/{luatex,plain,generic,latex,}//
263 +TEXINPUTS.luajittex = $TEXMFDOTDIR;$TEXMF/tex/{luatex,plain,generic,latex,}//
264 +TEXINPUTS.luahbtex = $TEXMFDOTDIR;$TEXMF/tex/{luatex,plain,generic,latex,}//
265 +TEXINPUTS.luajithbtex = $TEXMFDOTDIR;$TEXMF/tex/{luatex,plain,generic,latex,}//
266 +TEXINPUTS.dviluatex = $TEXMFDOTDIR;$TEXMF/tex/{luatex,plain,generic,latex,}//
267 +TEXINPUTS.lualatex = $TEXMFDOTDIR;$TEXMF/tex/{lualatex,latex,luatex,generic,}//
268 +TEXINPUTS.lualatex-dev = $TEXMFDOTDIR;$TEXMF/tex/{latex-dev,lualatex,latex,luatex,generic,}//
269 +TEXINPUTS.luajitlatex = $TEXMFDOTDIR;$TEXMF/tex/{lualatex,latex,luatex,generic,}//
270 +TEXINPUTS.luahblatex = $TEXMFDOTDIR;$TEXMF/tex/{lualatex,latex,luatex,generic,}//
271 +TEXINPUTS.luahblatex-dev = $TEXMFDOTDIR;$TEXMF/tex/{latex-dev,lualatex,latex,luatex,generic,}//
272 +TEXINPUTS.luajithblatex = $TEXMFDOTDIR;$TEXMF/tex/{lualatex,latex,luatex,generic,}//
273 +TEXINPUTS.dvilualatex = $TEXMFDOTDIR;$TEXMF/tex/{lualatex,latex,luatex,generic,}//
274 +TEXINPUTS.dvilualatex-dev = $TEXMFDOTDIR;$TEXMF/tex/{latex-dev,lualatex,latex,luatex,generic,}//
275 +
276 +% HarfTeX.
277 +TEXINPUTS.harftex = $TEXMFDOTDIR;$TEXMF/tex/{harftex,luatex,plain,generic,latex,}//
278 +TEXINPUTS.harflatex = $TEXMFDOTDIR;$TEXMF/tex/{harflatex,harftex,lualatex,latex,luatex,generic,}//
279 +TEXINPUTS.harflatex-dev = $TEXMFDOTDIR;$TEXMF/tex/{latex-dev,harflatex,harftex,lualatex,latex,luatex,generic,}//
280 +
281 +% XeTeX.
282 +TEXINPUTS.xelatex = $TEXMFDOTDIR;$TEXMF/tex/{xelatex,latex,xetex,generic,}//
283 +TEXINPUTS.xelatex-dev = $TEXMFDOTDIR;$TEXMF/tex/{latex-dev,xelatex,latex,xetex,generic,}//
284 +TEXINPUTS.xeplain = $TEXMFDOTDIR;$TEXMF/tex/{xeplain,eplain,plain,xetex,generic,latex,}//
285 +TEXINPUTS.xetex = $TEXMFDOTDIR;$TEXMF/tex/{xetex,plain,generic,latex,}//
286 +
287 +% Omega / Aleph.
288 +TEXINPUTS.aleph = $TEXMFDOTDIR;$TEXMF/tex/{plain,generic,latex,}//
289 +TEXINPUTS.elambda = $TEXMFDOTDIR;$TEXMF/tex/{lambda,latex,generic,}//
290 +TEXINPUTS.eomega = $TEXMFDOTDIR;$TEXMF/tex/{plain,generic,latex,}//
291 +TEXINPUTS.lambda = $TEXMFDOTDIR;$TEXMF/tex/{lambda,latex,generic,}//
292 +TEXINPUTS.lamed = $TEXMFDOTDIR;$TEXMF/tex/{lambda,latex,generic,}//
293 +TEXINPUTS.omega = $TEXMFDOTDIR;$TEXMF/tex/{plain,generic,latex,}//
294 +
295 +% p(La)TeX.
296 +TEXINPUTS.ptex = $TEXMFDOTDIR;$TEXMF/tex/{ptex,plain,generic,latex,}//
297 +TEXINPUTS.platex = $TEXMFDOTDIR;$TEXMF/tex/{platex,latex,generic,}//
298 +TEXINPUTS.platex-dev = $TEXMFDOTDIR;$TEXMF/tex/{latex-dev,platex,latex,generic,}//
299 +
300 +% epTeX, and use that engine for pmpost.
301 +TEXINPUTS.eptex = $TEXMFDOTDIR;$TEXMF/tex/{ptex,plain,generic,latex,}//
302 +TEX.pmpost = eptex
303 +
304 +% p(La)TeX-ng
305 +TEXINPUTS.ptex-ng = $TEXMFDOTDIR;$TEXMF/tex/{uptex,ptex,plain,generic,latex,}//
306 +TEXINPUTS.platex-ng = $TEXMFDOTDIR;$TEXMF/tex/{uplatex,platex,latex,generic,}//
307 +
308 +% (e)up(La)TeX, and for upmpost
309 +TEXINPUTS.uplatex = $TEXMFDOTDIR;$TEXMF/tex/{uplatex,platex,latex,generic,}//
310 +TEXINPUTS.uplatex-dev = $TEXMFDOTDIR;$TEXMF/tex/{latex-dev,uplatex,platex,latex,generic,}//
311 +TEXINPUTS.uptex = $TEXMFDOTDIR;$TEXMF/tex/{uptex,ptex,plain,generic,latex,}//
312 +TEXINPUTS.euptex = $TEXMFDOTDIR;$TEXMF/tex/{uptex,ptex,plain,generic,latex,}//
313 +TEX.upmpost = euptex
314 +
315 +% pBibTeX bibliographies and style files.
316 +BIBINPUTS.pbibtex = $TEXMFDOTDIR;$TEXMF/{pbibtex,bibtex}/bib//
317 +BSTINPUTS.pbibtex = $TEXMFDOTDIR;$TEXMF/{pbibtex,bibtex}/bst//
318 +
319 +% upBibTeX bibliographies and style files.
320 +BIBINPUTS.upbibtex = $TEXMFDOTDIR;$TEXMF/{upbibtex,pbibtex,bibtex}/bib//
321 +BSTINPUTS.upbibtex = $TEXMFDOTDIR;$TEXMF/{upbibtex,pbibtex,bibtex}/bst//
322 +
323 +% ConTeXt.
324 +TEXINPUTS.context = $TEXMFDOTDIR;$TEXMF/tex/{context,plain,generic,}//
325 +
326 +% jadetex.
327 +TEXINPUTS.jadetex = $TEXMFDOTDIR;$TEXMF/tex/{jadetex,latex,generic,latex,}//
328 +TEXINPUTS.pdfjadetex = $TEXMFDOTDIR;$TEXMF/tex/{jadetex,latex,generic,latex,}//
329 +
330 +% XMLTeX.
331 +TEXINPUTS.xmltex = $TEXMFDOTDIR;$TEXMF/tex/{xmltex,latex,generic,}//
332 +TEXINPUTS.pdfxmltex = $TEXMFDOTDIR;$TEXMF/tex/{xmltex,latex,generic,}//
333 +
334 +% Miscellany, no longer built.
335 +TEXINPUTS.lamstex = $TEXMFDOTDIR;$TEXMF/tex/{lamstex,plain,generic,latex,}//
336 +TEXINPUTS.lollipop = $TEXMFDOTDIR;$TEXMF/tex/{lollipop,plain,generic,latex,}//
337 +TEXINPUTS.frpdflatex = $TEXMFDOTDIR;$TEXMF/tex/{french,latex,generic,}//
338 +TEXINPUTS.frpdftex = $TEXMFDOTDIR;$TEXMF/tex/{french,plain,generic,latex,}//
339 +
340 +% Earlier entries override later ones, so put this generic one last.
341 +TEXINPUTS = $TEXMFDOTDIR;$TEXMF/tex/{$progname,generic,latex,}//
342 +
343 +% ttf2tfm.
344 +TTF2TFMINPUTS = $TEXMFDOTDIR;$TEXMF/ttf2pk//
345 +
346 +% Metafont, MetaPost inputs.
347 +MFINPUTS = $TEXMFDOTDIR;$TEXMF/metafont//;{$TEXMF/fonts,$VARTEXFONTS}/source//
348 +MPINPUTS = $TEXMFDOTDIR;$TEXMF/metapost//
349 +
350 +% Dump files (fmt/base/mem) for vir{tex,mf,mp} to read.
351 +% We want to find the engine-specific file, e.g., cont-en.fmt can
352 +% exist under both pdftex/ and xetex/. But just in case some formats
353 +% end up without an engine directory, look directly in web2c/ too.
354 +% We repeat the same definition three times because of the way fmtutil
355 +% is implemented; if we use ${TEXFORMATS}, the mpost/mf/etc. formats
356 +% will not be found.
357 +TEXFORMATS = $TEXMFDOTDIR;$TEXMF/web2c{/$engine,}
358 +MFBASES = $TEXMFDOTDIR;$TEXMF/web2c{/$engine,}
359 +MPMEMS = $TEXMFDOTDIR;$TEXMF/web2c{/$engine,}
360 +%
361 +% As of 2008, pool files don't exist any more (the strings are compiled
362 +% into the binaries), but just in case something expects to find these:
363 +TEXPOOL = $TEXMFDOTDIR;$TEXMF/web2c
364 +MFPOOL = ${TEXPOOL}
365 +MPPOOL = ${TEXPOOL}
366 +
367 +% support the original xdvi. Must come before the generic settings.
368 +PKFONTS.XDvi = $TEXMFDOTDIR;$TEXMF/%s;$VARTEXFONTS/pk/{%m,modeless}//
369 +VFFONTS.XDvi = $TEXMFDOTDIR;$TEXMF/%s
370 +PSHEADERS.XDvi = $TEXMFDOTDIR;$TEXMF/%q{dvips,fonts/type1}//
371 +TEXPICTS.XDvi = $TEXMFDOTDIR;$TEXMF/%q{dvips,tex}//
372 +
373 +% Device-independent font metric files.
374 +VFFONTS = $TEXMFDOTDIR;$TEXMF/fonts/vf//
375 +TFMFONTS = $TEXMFDOTDIR;{$TEXMF/fonts,$VARTEXFONTS}/tfm//
376 +
377 +% The $MAKETEX_MODE below means the drivers will not use a cx font when
378 +% the mode is ricoh. If no mode is explicitly specified, kpse_prog_init
379 +% sets MAKETEX_MODE to /, so all subdirectories are searched. See the manual.
380 +% The modeless part guarantees that bitmaps for PostScript fonts are found.
381 +PKFONTS = $TEXMFDOTDIR;{$TEXMF/fonts,$VARTEXFONTS}/pk/{$MAKETEX_MODE,modeless}//
382 +
383 +% Similarly for the GF format, which only remains in existence because
384 +% Metafont outputs it (and MF isn't going to change).
385 +GFFONTS = $TEXMFDOTDIR;$TEXMF/fonts/gf/$MAKETEX_MODE//
386 +
387 +% A backup for PKFONTS and GFFONTS. Not used for anything.
388 +GLYPHFONTS = $TEXMFDOTDIR;$TEXMF/fonts
389 +
390 +% A place to puth everything that doesn't fit the other font categories.
391 +MISCFONTS = $TEXMFDOTDIR;$TEXMF/fonts/misc//
392 +
393 +% font name map files. This isn't just fonts/map// because ConTeXt
394 +% wants support for having files with the same name in the different
395 +% subdirs. Maybe if the programs ever get unified to accepting the same
396 +% map file syntax the definition can be simplified again.
397 +TEXFONTMAPS = $TEXMFDOTDIR;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//
398 +
399 +% BibTeX bibliographies and style files. bibtex8 also uses these.
400 +BIBINPUTS = $TEXMFDOTDIR;$TEXMF/bibtex/bib//
401 +BSTINPUTS = $TEXMFDOTDIR;$TEXMF/bibtex/{bst,csf}//
402 +
403 +% MlBibTeX.
404 +MLBIBINPUTS = $TEXMFDOTDIR;$TEXMF/bibtex/bib/{mlbib,}//
405 +MLBSTINPUTS = $TEXMFDOTDIR;$TEXMF/bibtex/{mlbst,bst}//
406 +
407 +% .ris and .bltxml bibliography formats.
408 +RISINPUTS = $TEXMFDOTDIR;$TEXMF/biber/ris//
409 +BLTXMLINPUTS = $TEXMFDOTDIR;$TEXMF/biber/bltxml//
410 +
411 +% MFT style files.
412 +MFTINPUTS = $TEXMFDOTDIR;$TEXMF/mft//
413 +
414 +% PostScript headers and prologues (.pro); unfortunately, some programs
415 +% also use this for acessing font files (enc, type1, truetype)
416 +TEXPSHEADERS = $TEXMFDOTDIR;$TEXMF/{dvips,fonts/{enc,type1,type42,type3}}//
417 +TEXPSHEADERS.gsftopk = $TEXMFDOTDIR;$TEXMF/{dvips,fonts/{enc,type1,type42,type3,truetype}}//
418 +
419 +% OSFONTDIR is to provide a convenient hook for allowing TeX to find
420 +% fonts installed on the system (outside of TeX). An empty default
421 +% value would add "//" to the search paths, so we give it a dummy value.
422 +OSFONTDIR = /please/set/osfontdir/in/the/environment
423 +
424 +% PostScript Type 1 outline fonts.
425 +T1FONTS = $TEXMFDOTDIR;$TEXMF/fonts/type1//;$OSFONTDIR//
426 +
427 +% PostScript AFM metric files.
428 +AFMFONTS = $TEXMFDOTDIR;$TEXMF/fonts/afm//;$OSFONTDIR//
429 +
430 +% TrueType outline fonts.
431 +TTFONTS = $TEXMFDOTDIR;$TEXMF/fonts/{truetype,opentype}//;$OSFONTDIR//
432 +
433 +% OpenType outline fonts.
434 +OPENTYPEFONTS = $TEXMFDOTDIR;$TEXMF/fonts/{opentype,truetype}//;$OSFONTDIR//
435 +
436 +% Type 42 outline fonts.
437 +T42FONTS = $TEXMFDOTDIR;$TEXMF/fonts/type42//
438 +
439 +% Ligature definition files.
440 +LIGFONTS = $TEXMFDOTDIR;$TEXMF/fonts/lig//
441 +
442 +% Dvips' config.* files (this name should not start with `TEX'!).
443 +TEXCONFIG = $TEXMF/dvips//
444 +
445 +% Makeindex style (.ist) files.
446 +INDEXSTYLE = $TEXMFDOTDIR;$TEXMF/makeindex//
447 +
448 +% mendex dictionary files. Used internally by mendex and upmendex.
449 +% It is not necessary to introduce a new format in Kpathsea.
450 +INDEXDICTIONARY = $TEXMFDOTDIR;$TEXMF/makeindex//
451 +
452 +% Font encoding files (.enc).
453 +ENCFONTS = $TEXMFDOTDIR;$TEXMF/fonts/enc//
454 +
455 +% CMap files.
456 +CMAPFONTS = $TEXMFDOTDIR;$TEXMF/fonts/cmap//
457 +
458 +% Subfont definition files.
459 +SFDFONTS = $TEXMFDOTDIR;$TEXMF/fonts/sfd//
460 +
461 +% OpenType feature files (.fea).
462 +FONTFEATURES=$TEXMFDOTDIR;$TEXMF/fonts/fea//
463 +
464 +% .cid and .cidmap
465 +FONTCIDMAPS=$TEXMFDOTDIR;$TEXMF/fonts/cid//
466 +
467 +% pdftex config files:
468 +PDFTEXCONFIG = $TEXMFDOTDIR;$TEXMF/pdftex/{$progname,}//
469 +
470 +% Used by DMP (ditroff-to-mpx), called by makempx -troff.
471 +TRFONTS = /usr{/local,}/share/groff/{current/font,site-font}/devps
472 +MPSUPPORT = $TEXMFDOTDIR;$TEXMF/metapost/support
473 +
474 +% For xdvi to find mime.types and .mailcap, if they do not exist in
475 +% ~. These are single directories, not paths.
476 +% (But the default mime.types, at least, may well suffice.)
477 +MIMELIBDIR = $TEXMFROOT/etc
478 +MAILCAPLIBDIR = $TEXMFROOT/etc
479 +
480 +% Default settings for the fontconfig library as used by the Windows
481 +% versions of xetex/xdvipdfmx. Not used by xetex on Unixish systems.
482 +% ConTeXT MkIV (all platforms) also use these values.
483 +%
484 +FONTCONFIG_FILE = fonts.conf
485 +FONTCONFIG_PATH = $TEXMFSYSVAR/fonts/conf
486 +FC_CACHEDIR = $TEXMFSYSVAR/fonts/cache
487 +
488 +% TeX documentation and source files, for use with texdoc and kpsewhich.
489 +TEXDOCS = $TEXMF/doc//
490 +TEXSOURCES = $TEXMFDOTDIR;$TEXMF/source//
491 +
492 +% Top-level directory for any string translations for the binaries, in
493 +% the same structure as the usual system locale/ directories. This is a
494 +% single directory, not a path.
495 +TEXMFLOCALEDIR = $TEXMFMAIN/locale
496 +
497 +% Web and CWeb input paths.
498 +WEBINPUTS = $TEXMFDOTDIR;$TEXMF/web//
499 +CWEBINPUTS = $TEXMFDOTDIR;$TEXMF/cweb//
500 +
501 +% Omega-related fonts and other files.
502 +OFMFONTS = $TEXMFDOTDIR;{$TEXMF/fonts,$VARTEXFONTS}/{ofm,tfm}//
503 +OPLFONTS = $TEXMFDOTDIR;{$TEXMF/fonts,$VARTEXFONTS}/opl//
504 +OVFFONTS = $TEXMFDOTDIR;{$TEXMF/fonts,$VARTEXFONTS}/{ovf,vf}//
505 +OVPFONTS = $TEXMFDOTDIR;{$TEXMF/fonts,$VARTEXFONTS}/ovp//
506 +OTPINPUTS = $TEXMFDOTDIR;$TEXMF/omega/otp//
507 +OCPINPUTS = $TEXMFDOTDIR;$TEXMF/omega/ocp//
508 +
509 +% Some additional input variables for several programs. If you add
510 +% a program that uses the `other text files' or `other binary files'
511 +% search formats, you'll want to add their variables here as well.
512 +T4HTINPUTS = $TEXMFDOTDIR;$TEXMF/tex4ht//
513 +
514 +%% t4ht utility, sharing files with TeX4ht
515 +TEX4HTFONTSET=alias,iso8859,unicode
516 +TEX4HTINPUTS = $TEXMFDOTDIR;$TEXMF/tex4ht/base//;$TEXMF/tex4ht/ht-fonts/{$TEX4HTFONTSET}//
517 +
518 +% TeXworks editor configuration and settings
519 +TW_LIBPATH = $TEXMFCONFIG/texworks
520 +TW_INIPATH = $TW_LIBPATH
521 +
522 +% For security, do not look in . for dvipdfmx.cfg, since the D option
523 +% would allow command execution.
524 +DVIPDFMXINPUTS = $TEXMF/dvipdfmx
525 +
526 +% Lua needs to look in TEXINPUTS for lua scripts distributed with packages.
527 +%
528 +% But we can't simply use $TEXINPUTS, since then if TEXINPUTS is set in
529 +% the environment with a colon, say, TEXINPUTS=/some/dir:, the intended
530 +% default expansion of TEXINPUTS will not happen and .lua files under
531 +% the /tex/ tree will not be found.
532 +%
533 +% So, duplicate the TEXINPUTS.*lualatex values as LUAINPUTS.*lualatex.
534 +% The default LUAINPUTS suffices for luatex and dviluatex.
535 +%
536 +LUAINPUTS.lualatex = $TEXMFDOTDIR;$TEXMF/scripts/{$progname,$engine,}/{lua,}//;$TEXMF/tex/{lualatex,latex,luatex,generic,}//
537 +LUAINPUTS.lualatex-dev = $TEXMFDOTDIR;$TEXMF/scripts/{$progname,$engine,}/{lua,}//;$TEXMF/tex/{latex-dev,lualatex,latex,luatex,generic,}//
538 +%
539 +LUAINPUTS.luahblatex = $TEXMFDOTDIR;$TEXMF/scripts/{$progname,$engine,}/{lua,}//;$TEXMF/tex/{luahblatex,luahbtex,lualatex,latex,luatex,generic,}//
540 +LUAINPUTS.luahblatex-dev = $TEXMFDOTDIR;$TEXMF/scripts/{$progname,$engine,}/{lua,}//;$TEXMF/tex/{latex-dev,luahblatex,luahbtex,lualatex,latex,luatex,generic,}//
541 +%
542 +LUAINPUTS.dvilualatex = $TEXMFDOTDIR;$TEXMF/scripts/{$progname,$engine,}/{lua,}//;$TEXMF/tex/{lualatex,latex,luatex,generic,}//
543 +LUAINPUTS.dvilualatex-dev = $TEXMFDOTDIR;$TEXMF/scripts/{$progname,$engine,}/{lua,}//;$TEXMF/tex/{latex-dev,lualatex,latex,luatex,generic,}//
544 +%
545 +LUAINPUTS.harflatex = $TEXMFDOTDIR;$TEXMF/scripts/{$progname,$engine,}/{lua,}//;$TEXMF/tex/{harflatex,harftex,lualatex,latex,luatex,generic,}//
546 +LUAINPUTS.harflatex-dev = $TEXMFDOTDIR;$TEXMF/scripts/{$progname,$engine,}/{lua,}//;$TEXMF/tex/{latex-dev,harflatex,harftex,lualatex,latex,luatex,generic,}//
547 +%
548 +LUAINPUTS = $TEXMFDOTDIR;$TEXMF/scripts/{$progname,$engine,}/{lua,}//;$TEXMF/tex/{luatex,plain,generic,latex,}//
549 +
550 +% Lua needs to look for binary lua libraries distributed with packages.
551 +CLUAINPUTS = $TEXMFDOTDIR;$SELFAUTOLOC/lib/{$progname,$engine,}/lua//
552 +
553 +% Architecture independent executables.
554 +TEXMFSCRIPTS = $TEXMF/scripts/{$progname,$engine,}//
555 +
556 +% Other languages.
557 +JAVAINPUTS = $TEXMFDOTDIR;$TEXMF/scripts/{$progname,$engine,}/java//
558 +PERLINPUTS = $TEXMFDOTDIR;$TEXMF/scripts/{$progname,$engine,}/perl//
559 +PYTHONINPUTS = $TEXMFDOTDIR;$TEXMF/scripts/{$progname,$engine,}/python//
560 +RUBYINPUTS = $TEXMFDOTDIR;$TEXMF/scripts/{$progname,$engine,}/ruby//
561 +
562 +
563 +%% The mktex* scripts rely on KPSE_DOT. Do not set it in the environment.
564 +% KPSE_DOT = .
565 +
566 +% This definition isn't used from this .cnf file itself (that would be
567 +% paradoxical), but the compile-time default in paths.h is built from it.
568 +% The SELFAUTO* variables are set automatically from the location of
569 +% argv[0], in kpse_set_program_name.
570 +%
571 +% This main texmf.cnf file is installed, for a release YYYY, in a
572 +% directory such as /usr/local/texlive/YYYY/texmf-dist/web2c/texmf.cnf.
573 +% Since this file is subject to future updates, the TeX Live installer
574 +% or human administrator may also create a file
575 +% /usr/local/texlive/YYYY/texmf.cnf; any settings in this latter file
576 +% will take precedence over the distributed one.
577 +%
578 +% For security reasons, it is best not to include . in this path.
579 +%
580 +% The idea behind this lengthy definition: for each of
581 +% SELFAUTO{LOC,DIR,PARENT}, look in the directory,
582 +% then the subdirectories share/texmf-local, share/texmf-dist, share/texmf,
583 +% then the subdirectories ./texmf-local, texmf-dist, ./texmf.
584 +% At any given installation, most of these directories will not exist,
585 +% but they all turn out to be useful somewhere.
586 +%
587 +% Special addition -- we want to include one more directory: the
588 +% great-grandparent's texmf-local, because that is how TL is installed
589 +% by default. That is, given a binary
590 +% /usr/local/texlive/YYYY/bin/PLATFORM/kpsewhich, it should find
591 +% /usr/local/texlive/texmf-local/web2c/texmf.cnf. I.e., not under YYYY.
592 +%
593 +% As a result, we cannot use actual brace expansion in the definition,
594 +% since we don't want to scatter ../'s throughout the value. Hence we
595 +% explicitly list every directory. Arguably more understandable anyway.
596 +%
597 +TEXMFCNF = {\
598 +$SELFAUTOLOC,\
599 +$SELFAUTOLOC/share/texmf-local/web2c,\
600 +$SELFAUTOLOC/share/texmf-dist/web2c,\
601 +$SELFAUTOLOC/share/texmf/web2c,\
602 +$SELFAUTOLOC/texmf-local/web2c,\
603 +$SELFAUTOLOC/texmf-dist/web2c,\
604 +$SELFAUTOLOC/texmf/web2c,\
605 +\
606 +$SELFAUTODIR,\
607 +$SELFAUTODIR/share/texmf-local/web2c,\
608 +$SELFAUTODIR/share/texmf-dist/web2c,\
609 +$SELFAUTODIR/share/texmf/web2c,\
610 +$SELFAUTODIR/texmf-local/web2c,\
611 +$SELFAUTODIR/texmf-dist/web2c,\
612 +$SELFAUTODIR/texmf/web2c,\
613 +\
614 +$SELFAUTOGRANDPARENT/texmf-local/web2c,\
615 +$SELFAUTOPARENT,\
616 +\
617 +$SELFAUTOPARENT/share/texmf-local/web2c,\
618 +$SELFAUTOPARENT/share/texmf-dist/web2c,\
619 +$SELFAUTOPARENT/share/texmf/web2c,\
620 +$SELFAUTOPARENT/texmf-local/web2c,\
621 +$SELFAUTOPARENT/texmf-dist/web2c,\
622 +$SELFAUTOPARENT/texmf/web2c\
623 +}
624 +%
625 +% For reference, here is the old brace-using definition:
626 +%TEXMFCNF = {$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,}/web2c}
627 +
628 +% kpathsea 3.5.3 and later sets these at runtime. To avoid empty
629 +% expansions from binaries linked against an earlier version of the
630 +% library, we set $progname and $engine to something non-empty:
631 +progname = unsetprogname
632 +engine = unsetengine
633
634 diff --git a/2021/texmf.d/15options.cnf b/2021/texmf.d/15options.cnf
635 new file mode 100644
636 index 0000000..b65bec4
637 --- /dev/null
638 +++ b/2021/texmf.d/15options.cnf
639 @@ -0,0 +1,164 @@
640 +% Part 2: Options.
641 +
642 +% If this option is set to true, `tex a.b' will look first for a.b.tex
643 +% (within each path element), and then for a.b, i.e., we try standard
644 +% extensions first. If this is false, we first look for a.b and then
645 +% a.b.tex, i.e., we try the name as-is first.
646 +%
647 +% Both names are always tried; the difference is the order in which they
648 +% are tried. The setting applies to all searches, not just .tex.
649 +%
650 +% This setting only affects names being looked up which *already* have
651 +% an extension. A name without an extension (e.g., `tex story') will
652 +% always have an extension added first.
653 +%
654 +% The default is true, because we already avoid adding the standard
655 +% extension(s) in the usual cases. E.g., babel.sty will only look for
656 +% babel.sty, not babel.sty.tex, regardless of this setting.
657 +try_std_extension_first = t
658 +
659 +% Enable system commands via \write18{...}. When enabled fully (set to
660 +% t), obviously insecure. When enabled partially (set to p), only the
661 +% commands listed in shell_escape_commands are allowed. Although this
662 +% is not fully secure either, it is much better, and so useful that we
663 +% enable it for everything but bare tex.
664 +shell_escape = p
665 +
666 +% No spaces in this command list.
667 +%
668 +% The programs listed here are as safe as any we know: they either do
669 +% not write any output files, respect openout_any, or have hard-coded
670 +% restrictions similar to or higher than openout_any=p. They also have
671 +% no features to invoke arbitrary other programs, and no known
672 +% exploitable bugs. All to the best of our knowledge. They also have
673 +% practical use for being called from TeX.
674 +%
675 +shell_escape_commands = \
676 +bibtex,bibtex8,\
677 +extractbb,\
678 +gregorio,\
679 +kpsewhich,\
680 +makeindex,\
681 +repstopdf,\
682 +r-mpost,\
683 +texosquery-jre8,\
684 +
685 +% we'd like to allow:
686 +% dvips - but external commands can be executed, need at least -R1.
687 +% epspdf, ps2pdf, pstopdf - need to respect openout_any,
688 +% and gs -dSAFER must be used and check for shell injection with filenames.
689 +% pygmentize - but is the filter feature insecure?
690 +% ps4pdf - but it calls an unrestricted latex.
691 +% rpdfcrop - maybe ok, but let's get experience with repstopdf first.
692 +% texindy,xindy - but is the module feature insecure?
693 +% ulqda - but requires optional SHA1.pm, so why bother.
694 +% tex, latex, etc. - need to forbid --shell-escape, and inherit openout_any.
695 +
696 +% plain "tex" should remain unenhanced.
697 +shell_escape.tex = f
698 +shell_escape.initex = f
699 +
700 +% This is used by the Windows script wrapper for restricting searching
701 +% for the purportedly safe shell_escape_commands above to system
702 +% directories.
703 +TEXMF_RESTRICTED_SCRIPTS = \
704 + {!!$TEXMFLOCAL,!!$TEXMFDIST}/scripts/{$progname,$engine,}//
705 +
706 +% Do we allow TeX \input or \openin (openin_any), or \openout
707 +% (openout_any) on filenames starting with `.' (e.g., .rhosts) or
708 +% outside the current tree (e.g., /etc/passwd)?
709 +% a (any) : any file can be opened.
710 +% r (restricted) : disallow opening dot files
711 +% p (paranoid) : as `r' and disallow going to parent directories, and
712 +% restrict absolute paths to be under $TEXMFOUTPUT.
713 +openin_any = a
714 +openout_any = p
715 +
716 +% Write .log/.dvi/.aux/etc. files here, if the current directory is unwritable.
717 +%TEXMFOUTPUT = /tmp
718 +
719 +% If a dynamic file creation fails, log the command to this file, in
720 +% either the current directory or TEXMFOUTPUT. Set to the
721 +% empty string or 0 to avoid logging.
722 +MISSFONT_LOG = missfont.log
723 +
724 +% Set to a colon-separated list of words specifying warnings to suppress.
725 +% To suppress everything, use TEX_HUSH = all; this is currently equivalent to
726 +% TEX_HUSH = checksum:lostchar:readable:special
727 +% To suppress nothing, use TEX_HUSH = none or do not set the variable at all.
728 +TEX_HUSH = none
729 +
730 +% Allow TeX and MF to parse the first line of an input file for
731 +% the %&format construct.
732 +parse_first_line = t
733 +
734 +% But don't parse the first line if invoked as "tex", since we want that
735 +% to remain Knuth-compatible. The src_specials and
736 +% file_line_error_style settings, as well as the options -enctex,
737 +% -mltex, -8bit, etc., also affect this, but they are all off by default.
738 +parse_first_line.tex = f
739 +parse_first_line.initex = f
740 +
741 +% Normally we mention files created by \openout in the log file,
742 +% but again, trip-compatibility forbids this for (ini)tex.
743 +log_openout = t
744 +log_openout.tex = f
745 +log_openout.initex = f
746 +
747 +% Control file:line:error style messages.
748 +file_line_error_style = f
749 +
750 +% Enable the mktex... scripts by default? These must be set to 0 or 1.
751 +% Particular programs can and do override these settings, for example
752 +% dvips's -M option. Your first chance to specify whether the scripts
753 +% are invoked by default is at configure time.
754 +%
755 +% These values are ignored if the script names are changed; e.g., if you
756 +% set DVIPSMAKEPK to `foo', what counts is the value of the environment
757 +% variable/config value `FOO', not the `MKTEXPK' value.
758 +%
759 +%MKTEXTEX = 0
760 +%MKTEXPK = 0
761 +%MKTEXMF = 0
762 +%MKTEXTFM = 0
763 +%MKTEXFMT = 0
764 +%MKOCP = 0
765 +%MKOFM = 0
766 +
767 +% Used by makempx to run TeX. We use "etex" because MetaPost is
768 +% expecting DVI, and not "tex" because we want first line parsing.
769 +TEX = etex
770 +
771 +% Use Japanese eptex for Japanese pmpost.
772 +TEX.pmpost = eptex
773 +
774 +% These variables specify the external program called for the
775 +% interactive `e' option. %d is replaced by the line number and %s by
776 +% the current filename. The default is specified at compile-time, and
777 +% we let that stay in place since different platforms like different values.
778 +%TEXEDIT = vi +%d '%s' % default for Unix
779 +%TEXEDIT = texworks --position=+%d "%s" % default for Windows
780 +%MFEDIT = ${TEXEDIT}
781 +%MPEDIT = ${TEXEDIT}
782 +
783 +% The default `codepage and sort order' file for BibTeX8, when none is
784 +% given as command line option or environment variable.
785 +BIBTEX_CSFILE = 88591lat.csf
786 +
787 +% This variable is specific to Unix, to fall back to case-insensitive
788 +% search in non-system directories if there is no exact match. It is
789 +% enabled by default in texmf.cnf, but not enabled by default at
790 +% compile-time.
791 +%
792 +texmf_casefold_search = 1
793 +
794 +% This variable is specific to Windows. It must be set to 0 or 1. The
795 +% default is 0. Setting it to 1 tells the Windows script wrappers to
796 +% use an already installed Perl interpreter if one is found on the
797 +% search path, in preference to the Perl shipped with TeX Live. Thus,
798 +% it may be useful if you both (a) installed a full Perl distribution
799 +% for general use, and (b) need to run Perl programs from TL that use
800 +% additional modules we don't provide. The TL Perl does provide all the
801 +% standard Perl modules.
802 +%
803 +%TEXLIVE_WINDOWS_TRY_EXTERNAL_PERL = 0
804
805 diff --git a/2021/texmf.d/20sizes.cnf b/2021/texmf.d/20sizes.cnf
806 new file mode 100644
807 index 0000000..6d7bc5a
808 --- /dev/null
809 +++ b/2021/texmf.d/20sizes.cnf
810 @@ -0,0 +1,133 @@
811 +% Part 3: Array and other sizes for TeX, Metafont, etc.
812 +%
813 +% If you want to change some of these sizes only for a certain TeX
814 +% variant, the usual dot notation works, e.g.,
815 +% main_memory.hugetex = 20000000
816 +%
817 +% If a change here appears to be ignored, try redumping the format file.
818 +
819 +% Memory. Must be less than 8,000,000 total.
820 +%
821 +% main_memory is relevant only to initex, extra_mem_* only to non-ini.
822 +% Thus, have to redump the .fmt file after changing main_memory; to add
823 +% to existing fmt files, increase extra_mem_*. (To get an idea of how
824 +% much, try \tracingstats=2 in your TeX source file;
825 +% web2c/tests/memtest.tex might also be interesting.)
826 +%
827 +% To increase space for boxes (as might be needed by, e.g., PiCTeX),
828 +% increase extra_mem_bot.
829 +%
830 +% For some xy-pic samples, you may need as much as 700000 words of memory.
831 +% For the vast majority of documents, 60000 or less will do.
832 +%
833 +main_memory = 5000000 % words of inimemory available; also applies to inimf&mp
834 +extra_mem_top = 0 % extra high memory for chars, tokens, etc.
835 +extra_mem_bot = 0 % extra low memory for boxes, glue, breakpoints, etc.
836 +
837 +% ConTeXt needs lots of memory.
838 +extra_mem_top.context = 2000000
839 +extra_mem_bot.context = 4000000
840 +
841 +% Words of font info for TeX (total size of all TFM files, approximately).
842 +% Must be >= 20000 and <= 147483647 (without tex.ch changes).
843 +font_mem_size = 8000000
844 +
845 +% Total number of fonts. Must be >= 50 and <= 9000 (without tex.ch changes).
846 +font_max = 9000
847 +
848 +% Extra space for the hash table of control sequences.
849 +hash_extra = 600000
850 +
851 +% Max number of characters in all strings, including all error messages,
852 +% help texts, font names, control sequences. These values apply to TeX.
853 +pool_size = 6250000
854 +% Minimum pool space after TeX's own strings; must be at least
855 +% 25000 less than pool_size, but doesn't need to be nearly that large.
856 +string_vacancies = 90000
857 +% Maximum number of strings.
858 +max_strings = 500000
859 +% min pool space left after loading .fmt
860 +pool_free = 47500
861 +
862 +% Buffer size. TeX uses the buffer to contain input lines, but macro
863 +% expansion works by writing material into the buffer and reparsing the
864 +% line. As a consequence, certain constructs require the buffer to be
865 +% very large, even though most documents can be handled with a small value.
866 +buf_size = 200000
867 +
868 +% Hyphenation trie. The maximum possible is 4194303 (ssup_trie_size in
869 +% the sources), but we don't need that much. The value here suffices
870 +% for all known free hyphenation patterns to be loaded simultaneously
871 +% (as TeX Live does).
872 +%
873 +trie_size = 1100000
874 +
875 +hyph_size = 8191 % prime number of hyphenation exceptions, >610, <32767.
876 + % http://primes.utm.edu/curios/page.php/8191.html
877 +nest_size = 500 % simultaneous semantic levels (e.g., groups)
878 +max_in_open = 15 % simultaneous input files and error insertions,
879 + % also applies to MetaPost
880 +param_size = 10000 % simultaneous macro parameters, also applies to MP
881 +save_size = 80000 % for saving values outside current group
882 +stack_size = 5000 % simultaneous input sources
883 +
884 +% These are Omega-specific.
885 +ocp_buf_size = 500000 % character buffers for ocp filters.
886 +ocp_stack_size = 10000 % stacks for ocp computations.
887 +ocp_list_size = 1000 % control for multiple ocps.
888 +
889 +% These work best if they are the same as the I/O buffer size, but it
890 +% doesn't matter much. Must be a multiple of 8.
891 +dvi_buf_size = 16384 % TeX
892 +gf_buf_size = 16384 % MF
893 +
894 +% It's probably inadvisable to change these. At any rate, we must have:
895 +% 45 < error_line < 255;
896 +% 30 < half_error_line < error_line - 15;
897 +% 60 <= max_print_line;
898 +% These apply to TeX, Metafont, and MetaPost.
899 +error_line = 79
900 +half_error_line = 50
901 +max_print_line = 79
902 +
903 +% Metafont only.
904 +screen_width.mf = 1664
905 +screen_depth.mf = 1200
906 +
907 +% BibTeX only (max_strings also determines hash_size and hash_prime).
908 +ent_str_size = 500
909 +glob_str_size = 200000
910 +max_strings.bibtex = 200000
911 +max_strings.bibtex8 = 200000
912 +max_strings.bibtexu = 200000
913 +max_strings.pbibtex = 200000
914 +max_strings.upbibtex= 200000
915 +
916 +% GFtype only.
917 +line_length.gftype = 500
918 +max_rows.gftype = 8191
919 +max_cols.gftype = 8191
920 +
921 +% Guess input encoding (SJIS vs. Unicode, etc.) in pTeX and friends?
922 +% Default is 1, to guess. Used on Windows only.
923 +guess_input_kanji_encoding = 1
924 +
925 +% command_line_encoding
926 +%
927 +% This variable is used on Windows only, and affects 4 TeX engines:
928 +% uptex, euptex, pdftex, xetex, and 2 drivers: dvips, [x]dvipdfmx.
929 +% Several applications also are affected by the variable:
930 +% dvi2tty.exe, disdvi.exe, dvibook.exe, dviconcat.exe, dviselect.exe,
931 +% dvitodvi.exe, and dvidvi.exe.
932 +% Only values utf8 or utf-8 are meaningful. Other values are simply
933 +% ignored. If file names in sources and DVI or XDV files are ASCII
934 +% only, the value of command_line_encoding is irrelevant.
935 +% If command_line_encoding = utf8 or command_line_encoding = utf-8,
936 +% file names in sources and DVI or XDV files are assumed to be UTF-8.
937 +% Default is utf-8, from 2019-07-24, to assume UTF-8 file names.
938 +% In order to switch off the function, define an environment variable:
939 +% set command_line_encoding=none
940 +% or write a line:
941 +% command_line_encoding = none
942 +% in a texmf.cnf prefered, for example $TEXMFLOCAL/web2c/texmf.cnf.
943 +command_line_encoding = utf-8