Gentoo Archives: gentoo-commits

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