1 % texmf.cnf -- runtime path configuration file for kpathsea.
4 % What follows is a super-summary of what this .cnf file can
5 % contain. Please read the Kpathsea manual for more information.
7 % Any identifier (sticking to A-Za-z_ for names is safest) can be assigned.
8 % The `=' (and surrounding spaces) is optional.
9 % $foo (or ${foo}) in a value expands to the envvar or cnf value of foo.
11 % Earlier entries (in the same or another file) override later ones, and
12 % an environment variable foo overrides any texmf.cnf definition of foo.
14 % All definitions are read before anything is expanded, so you can use
15 % variables before they are defined.
17 % If a variable assignment is qualified with `.PROGRAM', it is ignored
18 % unless the current executable (last filename component of argv[0]) is
19 % named PROGRAM. This foo.PROGRAM construct is not recognized on the
20 % right-hand side. For environment variables, use FOO_PROGRAM.
22 % Which file formats use which paths for searches is described in the
23 % various programs' and the kpathsea documentation.
25 % // means to search subdirectories (recursively).
26 % A leading !! means to look only in the ls-R db, never on the disk.
27 % In this file, either ; or : can be used to separate path components.
28 % A leading/trailing/doubled path separator in the paths will be
29 % expanded into the compile-time default. Probably not what you want.
31 % You can use brace notation, for example: /usr/local/{mytex,othertex}
32 % expands to /usr/local/mytex:/usr/local/othertex. Instead of the comma
33 % you can use the path separator: /usr/local/{mytex:othertex} also expands
34 % to /usr/local/mytex:/usr/local/othertex.
36 %>>> Part 1: Search paths and directories.
38 % You can set an environment variable to override TEXMF if you're testing
39 % a new TeX tree, without changing anything else.
41 % You may wish to use one of the $SELFAUTO... variables here so TeX will
42 % find where to look dynamically. See the manual and the definition
45 % The tree containing the runtime files closely related to the specific
46 % program version used:
47 TEXMFMAIN = /usr/share/texmf
49 % The main distribution tree:
50 TEXMFDIST = /usr/share/texmf-dist
52 % Our documentation-only tree, arranged by language:
53 TEXMFDOC = /usr/share/texmf-doc
55 % A place for local additions to a "standard" texmf tree.
56 % This tree is not used for local configuration maintained by
57 % texconfig, it uses TEXMFCONFIG below.
58 TEXMFLOCAL = /usr/local/share/texmf
60 % TEXMFSYSVAR, where texconfig-sys stores variable runtime data.
61 % With teTeX-3.0 or later, this must be set.
62 % For sharing this tree with $TEXMFMAIN:
63 % TEXMFSYSVAR = $TEXMFMAIN
64 % For using a separate tree:
65 % TEXMFSYSVAR = /usr/share/texmf-var
66 TEXMFSYSVAR = /usr/share/texmf-var
68 % TEXMFSYSCONFIG, where texconfig-sys stores configuration data.
69 % With teTeX-3.0 or later, this must be set.
70 % For sharing this tree with $TEXMFMAIN:
71 % TEXMFSYSCONFIG = $TEXMFMAIN
72 % For using a separate tree:
73 % TEXMFSYSCONFIG = /usr/share/texmf-config
74 TEXMFSYSCONFIG = /usr/share/texmf-config
76 % User texmf trees are allowed as follows.
77 % This used to be HOMETEXMF.
80 % TEXMFVAR, where texconfig stores variable runtime data.
81 % With teTeX-3.0 or later, this must be set.
82 % For sharing this tree with $TEXMFMAIN:
83 % TEXMFVAR = $TEXMFMAIN
84 % For using a separate tree:
85 % TEXMFVAR = ~/.texmf-var # teTeX 3.0 default
86 TEXMFVAR = ~/.texlive/texmf-var
88 % TEXMFCONFIG, where texconfig stores configuration data.
89 % With teTeX-3.0 or later, this must be set.
90 % For sharing this tree with $TEXMFMAIN:
91 % TEXMFCONFIG = $TEXMFMAIN
92 % For using a separate tree:
93 % TEXMFCONFIG = ~/.texmf-config # teTeX 3.0 default
94 % For using a separate tree:
95 % TEXMFCONFIG = /usr/share/texmf-config
96 TEXMFCONFIG = ~/.texlive/texmf-config
98 % Now, list all the texmf trees. If you have multiple trees you can
99 % use shell brace notation, like this:
100 % TEXMF = {$TEXMFHOME,!!$TEXMFLOCAL,!!$TEXMFMAIN}
101 % The braces are necessary.
103 % For texconfig to work properly, TEXMFCONFIG and TEXMFVAR should be named
104 % explicitly and before all other trees.
105 TEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST}
107 % The system trees. These are the trees that are shared by all the users.
108 % If a tree appears in this list, the mktex* scripts will use
109 % VARTEXFONTS for generated files, if the original tree isn't writable;
110 % otherwise the current working directory is used.
111 SYSTEXMF = $TEXMFSYSVAR;$TEXMFMAIN;$TEXMFLOCAL;$TEXMFDIST
113 % Where generated fonts may be written. This tree is used when the sources
114 % were found in a system tree and either that tree wasn't writable, or the
115 % varfonts feature was enabled in MT_FEATURES in mktex.cnf.
116 VARTEXFONTS = $TEXMFVAR/fonts
118 % Where to look for ls-R files. There need not be an ls-R in the
119 % directories in this path, but if there is one, Kpathsea will use it.
120 % By default, this is only the !! elements of TEXMF, plus texmf-doc, so
121 % that mktexlsr does not create ls-R files in the non-!! elements --
122 % because if an ls-R is present, it will be used, and the disk will not
123 % be searched. This is arguably a bug in kpathsea, but we will not
124 % think about it now.
126 TEXMFDBS = {!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST,!!$TEXMFDOC}
128 % On some systems, there will be a system tree which contains all the font
129 % files that may be created as well as the formats. For example
130 % TEXMFVAR = /var/lib/texmf
131 % is used on many Linux systems. In this case, set VARTEXFONTS like this
132 % VARTEXFONTS = $TEXMFVAR/fonts
133 % and do not mention it in TEXMFDBS (but _do_ mention TEXMFVAR).
135 % Remove $VARTEXFONTS from TEXMFDBS if the VARTEXFONTS directory is below
136 % one of the TEXMF directories (avoids overlapping ls-R files).
139 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
140 % Usually you will not need to edit any of the other variables in part 1. %
141 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
143 % WEB2C is for Web2C specific files. The current directory may not be
144 % a good place to look for them.
147 % TEXINPUTS is for TeX input files -- i.e., anything to be found by \input
148 % or \openin, including .sty, .eps, etc.
150 % Plain TeX. Have the command tex check all directories as a last
151 % resort, we may have plain-compatible stuff anywhere.
152 TEXINPUTS.tex = .;$TEXMF/tex/{plain,generic,}//
154 % Other plain-based formats.
155 TEXINPUTS.amstex = .;$TEXMF/tex/{amstex,plain,generic,}//
156 TEXINPUTS.csplain = .;$TEXMF/tex/{csplain,plain,generic,}//
157 TEXINPUTS.eplain = .;$TEXMF/tex/{eplain,plain,generic,}//
158 TEXINPUTS.ftex = .;$TEXMF/tex/{formate,plain,generic,}//
159 TEXINPUTS.jadetex = .;$TEXMF/tex/{jadetex,plain,generic,}//
160 TEXINPUTS.mex = .;$TEXMF/tex/{mex,plain,generic,}//
161 TEXINPUTS.texinfo = .;$TEXMF/tex/{texinfo,plain,generic,}//
162 TEXINPUTS.xetex = .;$TEXMF/tex/{xetex,plain,generic,}//
164 % LaTeX 2e specific macros are stored in latex/, macros that can only be
165 % used with 2.09 in latex209/. In addition, we look in the directory
166 % latex209, useful for macros that were written for 2.09 and do not
167 % mention 2e at all, but can be used with 2e.
168 TEXINPUTS.cslatex = .;$TEXMF/tex/{cslatex,csplain,latex,generic,}//
169 TEXINPUTS.latex = .;$TEXMF/tex/{latex,generic,}//
170 TEXINPUTS.olatex = .;$TEXMF/tex/{latex,generic,}//
171 TEXINPUTS.latex209 = .;$TEXMF/tex/{latex209,generic,latex,}//
172 TEXINPUTS.xelatex = .;$TEXMF/tex/{xelatex,latex,generic,}//
174 % Fontinst needs to read afm files.
175 TEXINPUTS.fontinst = .;$TEXMF/{tex,fonts/afm}//
178 TEXINPUTS.frlatex = .;$TEXMF/tex/{french,latex,generic,}//
179 TEXINPUTS.frtex = .;$TEXMF/tex/{french,plain,generic,}//
180 TEXINPUTS.mllatex = .;$TEXMF/tex/{latex,generic,}//
181 TEXINPUTS.mltex = .;$TEXMF/tex/{plain,generic,}//
183 % e-TeX. This form of the input paths is borrowed from teTeX. A certain
184 % variant of TDS is assumed here, unaffected by the build variables.
185 TEXINPUTS.elatex = .;$TEXMF/tex/{latex,generic,}//
186 TEXINPUTS.etex = .;$TEXMF/tex/{plain,generic,}//
188 % pdfTeX. This form of the input paths is borrowed from teTeX. A certain
189 % variant of TDS is assumed here, unaffected by the build variables.
190 TEXINPUTS.pdfcslatex = .;$TEXMF/tex/{cslatex,csplain,latex,generic,}//
191 TEXINPUTS.pdfcsplain = .;$TEXMF/tex/{csplain,plain,generic,}//
192 TEXINPUTS.pdfjadetex = .;$TEXMF/tex/{jadetex,plain,generic,}//
193 TEXINPUTS.pdflatex = .;$TEXMF/tex/{latex,generic,}//
194 TEXINPUTS.pdfmex = .;$TEXMF/tex/{mex,plain,generic,}//
195 TEXINPUTS.utf8mex = .;$TEXMF/tex/{mex,plain,generic,}//
196 TEXINPUTS.pdftex = .;$TEXMF/tex/{plain,generic,}//
197 TEXINPUTS.pdftexinfo = .;$TEXMF/tex/{texinfo,plain,generic,}//
198 TEXINPUTS.pdfamstex = .;$TEXMF/tex/{amstex,plain,generic,}//
201 TEXINPUTS.pdfelatex = .;$TEXMF/tex/{latex,generic,}//
202 TEXINPUTS.pdfetex = .;$TEXMF/tex/{plain,generic,}//
205 TEXINPUTS.pdfxlatex = .;$TEXMF/tex/{latex,generic,}//
206 TEXINPUTS.pdfxtex = .;$TEXMF/tex/{plain,generic,}//
209 TEXINPUTS.xelatex = .;$TEXMF/tex/{xelatex,latex,generic,}//
210 TEXINPUTS.xeplain = .;$TEXMF/tex/{xeplain,eplain,plain,generic,}//
211 TEXINPUTS.xetex = .;$TEXMF/tex/{xetex,plain,generic,}//
213 % These defunct engines are not provided for Arch Linux:
215 % TEXINPUTS.lamed = .;$TEXMF/tex/{lamed,lambda,latex,generic,}//
216 % TEXINPUTS.lambda = .;$TEXMF/tex/{lambda,latex,generic,}//
217 % TEXINPUTS.omega = .;$TEXMF/tex/{plain,generic,}//
218 % TEXINPUTS.aleph = .;$TEXMF/tex/{plain,generic,}//
221 TEXINPUTS.context = .;$TEXMF/tex/{context,plain,generic,}//
223 % odd formats needing their own paths
224 TEXINPUTS.lamstex = .;$TEXMF/tex/{lamstex,plain,generic,}//
225 TEXINPUTS.lollipop = .;$TEXMF/tex/{lollipop,plain,generic,}//
227 % Earlier entries override later ones, so put this last.
228 TEXINPUTS = .;$TEXMF/tex/{$progname,generic,}//
230 % extra format definitions for TeX Live
232 % TEXINPUTS.elambda = .;$TEXMF/tex/{lambda,latex,generic,}//
233 % TEXINPUTS.eomega = .;$TEXMF/tex/{plain,generic,}//
234 TEXINPUTS.pdfxmex = .;$TEXMF/tex/{mex,plain,generic,}//
235 TEXINPUTS.frpdflatex = .;$TEXMF/tex/{french,latex,generic,}//
236 TEXINPUTS.frpdftex = .;$TEXMF/tex/{french,plain,generic,}//
237 TEXINPUTS.xmltex = .;$TEXMF/tex/{xmltex,latex,generic,}//
238 TEXINPUTS.pdfxmltex = .;$TEXMF/tex/{xmltex,latex,generic,}//
240 TTF2TFMINPUTS = .;$TEXMF/ttf2pk//
242 % Metafont, MetaPost inputs.
243 MFINPUTS = .;$TEXMF/metafont//;{$TEXMF/fonts,$VARTEXFONTS}/source//
244 MPINPUTS = .;$TEXMF/metapost//
246 % allow for compressed files, and various extensions.
247 TEXDOCSSUFFIX = ;.pdf;.ps;.dvi;.html;.txt;.tex
248 TEXDOCSCOMPRESS = ;.gz;.bz2;.zip;.Z
249 TEXDOCEXT = {$TEXDOCSSUFFIX}{$TEXDOCSCOMPRESS}
251 % Dump files (fmt/base/mem) for vir{tex,mf,mp} to read.
252 % We want to find the engine-specific file, e.g., cont-en.fmt can
253 % exist under both pdftex/ and xetex/. But just in case some formats
254 % end up without an engine directory, look directly in web2c/ too.
255 TEXFORMATS = .;$TEXMF/web2c{/$engine,}
256 MFBASES = ${TEXFORMATS}
257 MPMEMS = ${TEXFORMATS}
259 % As of 2008, pool files don't exist any more (the strings are compiled
260 % into the binaries), but just in case something expects to find these
262 TEXPOOL = .;$TEXMF/web2c
266 % support the original xdvi. Must come before the generic settings.
267 PKFONTS.XDvi = .;$TEXMF/%s;$VARTEXFONTS/pk/{%m,modeless}//
268 VFFONTS.XDvi = .;$TEXMF/%s
269 PSHEADERS.XDvi = .;$TEXMF/%q{dvips,fonts/type1}//
270 TEXPICTS.XDvi = .;$TEXMF/%q{dvips,tex}//
272 % Device-independent font metric files.
273 VFFONTS = .;$TEXMF/fonts/vf//
274 TFMFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/tfm//
276 % The $MAKETEX_MODE below means the drivers will not use a cx font when
277 % the mode is ricoh. If no mode is explicitly specified, kpse_prog_init
278 % sets MAKETEX_MODE to /, so all subdirectories are searched. See the manual.
279 % The modeless part guarantees that bitmaps for PostScript fonts are found.
280 PKFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/pk/{$MAKETEX_MODE,modeless}//
282 % Similarly for the GF format, which only remains in existence because
283 % Metafont outputs it (and MF isn't going to change).
284 GFFONTS = .;$TEXMF/fonts/gf/$MAKETEX_MODE//
286 % A backup for PKFONTS and GFFONTS. Not used for anything.
287 GLYPHFONTS = .;$TEXMF/fonts
289 % A place to puth everything that doesn't fit the other font categories.
290 MISCFONTS = .;$TEXMF/fonts/misc//
292 % font name map files. This isn't just fonts/map// because ConTeXt
293 % wants support for having files with the same name in the different
294 % subdirs. Maybe if the programs ever get unified to accepting the same
295 % map file syntax the definition can be simplified again.
296 TEXFONTMAPS = .;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//
298 % BibTeX bibliographies and style files.
299 BIBINPUTS = .;$TEXMF/bibtex/bib//
300 BSTINPUTS = .;$TEXMF/bibtex/{bst,csf}//
301 % For bibtex8. Do we really need to repeat the BIBINPUTS setting?
302 BIBINPUTS.bibtex8 = .;$TEXMF/bibtex/{bib,}//
303 BSTINPUTS.bibtex8 = .;$TEXMF/bibtex/{bst,csf,}//
306 MFTINPUTS = .;$TEXMF/mft//
308 % PostScript headers and prologues (.pro); unfortunately, some programs
309 % also use this for acessing font files (enc, type1, truetype)
310 TEXPSHEADERS = .;$TEXMF/{dvips,fonts/{enc,type1,type42,type3}}//
311 TEXPSHEADERS.gsftopk = .;$TEXMF/{dvips,fonts/{enc,type1,type42,type3,truetype}}//
313 % OSFONTDIR is to provide a convenient hook for allowing TeX to find
314 % fonts installed on the system (outside of TeX). An empty default
315 % value would add "//" to the search paths, so we give it a dummy value.
316 OSFONTDIR = /usr/share/fonts
318 % PostScript Type 1 outline fonts.
319 T1FONTS = .;$TEXMF/fonts/type1//;$OSFONTDIR/Type1//
321 % PostScript AFM metric files.
322 AFMFONTS = .;$TEXMF/fonts/afm//;$OSFONTDIR/Type1//
324 % TrueType outline fonts.
325 TTFONTS = .;$TEXMF/fonts/truetype//;$OSFONTDIR/TTF//
327 % Opentype outline fonts.
328 OPENTYPEFONTS = .;$TEXMF/fonts/opentype//;$OSFONTDIR/OTF//
330 % Type 42 outline fonts.
331 T42FONTS = .;$TEXMF/fonts/type42//
333 % Ligature definition files.
334 LIGFONTS = .;$TEXMF/fonts/lig//
336 % Dvips' config.* files (this name should not start with `TEX'!).
337 TEXCONFIG = $TEXMF/dvips//
339 % Makeindex style (.ist) files.
340 INDEXSTYLE = .;$TEXMF/makeindex//
342 % Font encoding files (.enc).
343 ENCFONTS = .;$TEXMF/fonts/enc//
346 CMAPFONTS = .;$TEXMF/fonts/cmap//
348 % Subfont definition files.
349 SFDFONTS = .;$TEXMF/fonts/sfd//
351 % OpenType outline fonts.
352 OPENTYPEFONTS = .;$TEXMF/fonts/opentype//
354 % pdftex config files:
355 PDFTEXCONFIG = .;$TEXMF/pdftex/{$progname,}//
357 % Used by DMP (ditroff-to-mpx), called by makempx -troff.
358 TRFONTS = /usr{/local,}/share/groff/{current/font,site-font}/devps
359 MPSUPPORT = .;$TEXMF/metapost/support
361 % For xdvi to find mime.types and .mailcap, if they do not exist in
362 % ~. These are single directories, not paths.
363 % (But the default mime.types, at least, may well suffice.)
364 MIMELIBDIR = /usr/share/etc
365 MAILCAPLIBDIR = /usr/share/etc
367 % Default settings for fontconfig library, used by Win32 versions of
368 % xetex/xdvipdfmx (note that fontconfig on Linux/Unix-like systems
369 % will ignore settings in this file)
370 FONTCONFIG_FILE=fonts.conf
371 FONTCONFIG_PATH=$TEXMFSYSVAR/fonts/conf
372 FC_CACHEDIR=$TEXMFSYSVAR/fonts/cache
374 % TeX documentation and source files, for use with kpsewhich.
375 % TeX Live has a separate hierarchy with just documentation, texmf-doc,
376 % in addition to the doc files in the other hierarchies.
377 % Also, find the English documentation first -- better than random, when
378 % there are name collisions.
379 TEXMFDOCDIR = $TEXMFDOC/doc{/english,}
380 TEXDOCS = .;$TEXMF/doc//;$TEXMFDOCDIR//
381 TEXSOURCES = .;$TEXMF/source//
383 % Web and CWeb input paths.
384 WEBINPUTS = .;$TEXMF/web//
385 CWEBINPUTS = .;$TEXMF/cweb//
387 % Omega-related fonts and other files.
388 OFMFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/{ofm,tfm}//
389 OPLFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/opl//
390 OVFFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/{ovf,vf}//
391 OVPFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/ovp//
392 OTPINPUTS = .;$TEXMF/omega/otp//
393 OCPINPUTS = .;$TEXMF/omega/ocp//
395 % Some additional input variables for several programs. If you add
396 % a program that uses the `other text files' or `other binary files'
397 % search formats, you'll want to add their variables here as well.
398 T4HTINPUTS = .;$TEXMF/tex4ht//
400 %% t4ht utility, sharing files with TeX4ht
401 TEX4HTFONTSET=alias,iso8859,unicode
402 TEX4HTINPUTS = .;$TEXMF/tex4ht/base//;$TEXMF/tex4ht/ht-fonts/{$TEX4HTFONTSET}//
404 % Find scripts that are distributed/installed in the texmf tree.
406 % Lua needs to look in TEXINPUTS for lua scripts distributed with packages.
407 LUAINPUTS = .;$TEXMF/scripts/{$progname,$engine,}/lua//;$TEXINPUTS
409 % Architecture independent executables.
410 TEXMFSCRIPTS = $TEXMF/scripts/{$engine,$progname,}//
413 JAVAINPUTS = .;$TEXMF/scripts/{$progname,$engine,}/java//
414 PERLINPUTS = .;$TEXMF/scripts/{$progname,$engine,}/perl//
415 PYTHONINPUTS = .;$TEXMF/scripts/{$progname,$engine,}/python//
416 RUBYINPUTS = .;$TEXMF/scripts/{$progname,$engine,}/ruby//
419 %% The mktex* scripts rely on KPSE_DOT. Do not set it in the environment.
422 % This definition isn't used from this .cnf file itself (that would be
423 % paradoxical), but the compile-time default in paths.h is built from it.
424 % The SELFAUTO* variables are set automatically from the location of
425 % argv[0], in kpse_set_program_name.
427 % This main texmf.cnf file is installed, for a release YYYY, in a
428 % directory such as /usr/local/texlive/YYYY/texmf/web2c/texmf.cnf.
429 % Since this file is subject to future updates, the TeX Live installer
430 % or human administrator may also create a file
431 % /usr/local/texlive/YYYY/texmf.cnf; any settings in this latter file
432 % will take precedence over the distributed one under texmf/web2c.
434 % For security reasons, it is better not to include . in this path.
436 TEXMFCNF = {$SELFAUTOLOC,$SELFAUTODIR,/usr}{,{/share,/local/share,}/texmf/web2c}
438 # kpathsea 3.5.3 and later sets these at runtime. To avoid empty
439 # expansions from binaries linked against an earlier version of the
440 # library, we set $progname and $engine to something non-empty:
441 progname = unsetprogname
445 %>>> Part 2: Options.
447 % If this is true, `tex a.b' will look first for a.b.tex (within each
448 % path element), and then for a.b, i.e., we try standard extensions
449 % first. If this is false, we first look for a.b and then a.b.tex,
450 % first. If this is false, we first look for a.b and then a.b.tex,
451 % i.e., we try the name as-is first.
453 % Both names are always tried; the difference is the order in which they
454 % are tried. The setting applies to all searches, not just .tex.
456 % This setting only affects names being looked up which *already* have
457 % an extension. A name without an extension (e.g., `tex story') will
458 % always have an extension added first.
460 % The default is true, because we already avoid adding the standard
461 % extension(s) in most common cases. E.g., babel.sty will only look for
462 % babel.sty, not babel.sty.tex, regardless of this setting.
463 try_std_extension_first = t
465 % Enable system commands via \write18{...}? Obviously insecure, despite
469 % Allow TeX \openin, \openout, or \input on filenames starting with `.'
470 % (e.g., .rhosts) or outside the current tree (e.g., /etc/passwd)?
471 % a (any) : any file can be opened.
472 % r (restricted) : disallow opening "dotfiles".
473 % p (paranoid) : as `r' and disallow going to parent directories, and
474 % restrict absolute paths to be under $TEXMFOUTPUT.
478 % Write .log/.dvi/etc. files here, if the current directory is unwritable.
481 % If a dynamic file creation fails, log the command to this file, in
482 % either the current directory or TEXMFOUTPUT. Set to the
483 % empty string or 0 to avoid logging.
484 MISSFONT_LOG = missfont.log
486 % Set to a colon-separated list of words specifying warnings to suppress.
487 % To suppress everything, use TEX_HUSH = all; this is currently equivalent to
488 % TEX_HUSH = checksum:lostchar:readable:special
489 % To suppress nothing, use TEX_HUSH = none or do not set the variable at all.
492 % Allow TeX, MF, and MP to parse the first line of an input file for
493 % the %&format construct.
496 % But don't parse the first line if invoked as "tex", since we want that
497 % to remain Knuth-compatible. The src_specials and
498 % file_line_error_style settings, as well as the options -enctex,
499 % -mltex, -8bit, etc., also affect this, but they are all off by default.
500 parse_first_line.tex = f
502 % Control file:line:error style messages.
503 file_line_error_style = f
505 % Enable the mktex... scripts by default? These must be set to 0 or 1.
506 % Particular programs can and do override these settings, for example
507 % dvips's -M option. Your first chance to specify whether the scripts
508 % are invoked by default is at configure time.
510 % These values are ignored if the script names are changed; e.g., if you
511 % set DVIPSMAKEPK to `foo', what counts is the value of the environment
512 % variable/config value `FOO', not the `MKTEXPK' value.
522 % What MetaPost runs to make MPX files. This is passed an option -troff
523 % if MP is in troff mode. Set to `0' to disable this feature.
526 % Used by makempx to run TeX. We use "etex" because MetaPost is
527 % expecting DVI, and not "tex" because we want first line parsing.
530 % These variables specify the external program called for the
531 % interactive `e' option. %d is replaced by the line number and %s by
532 % the current filename. The default is specified at compile-time, and
533 % we let that stay in place since different platforms like different values.
534 %TEXEDIT = vi +%d "%s"
538 %>>> Part 3: Array and other sizes for TeX (and Metafont and MetaPost).
540 % If you want to change some of these sizes only for a certain TeX
541 % variant, the usual dot notation works, e.g.,
542 % main_memory.hugetex = 20000000
544 % If a change here appears to be ignored, try redumping the format file.
546 % Memory. Must be less than 8,000,000 total.
548 % main_memory is relevant only to initex, extra_mem_* only to non-ini.
549 % Thus, have to redump the .fmt file after changing main_memory; to add
550 % to existing fmt files, increase extra_mem_*. (To get an idea of how
551 % much, try \tracingstats=2 in your TeX source file;
552 % web2c/tests/memtest.tex might also be interesting.)
554 % To increase space for boxes (as might be needed by, e.g., PiCTeX),
555 % increase extra_mem_bot.
557 % For some xy-pic samples, you may need as much as 700000 words of memory.
558 % For the vast majority of documents, 60000 or less will do.
560 main_memory = 3000000 % words of inimemory available; also applies to inimf&mp
561 extra_mem_top = 0 % extra high memory for chars, tokens, etc.
562 extra_mem_bot = 0 % extra low memory for boxes, glue, breakpoints, etc.
564 % ConTeXt needs lots of memory.
565 extra_mem_top.context = 2000000
566 extra_mem_bot.context = 4000000
568 % Words of font info for TeX (total size of all TFM files, approximately).
569 % Must be >= 20000 and <= 4000000 (without tex.ch changes).
570 font_mem_size = 3000000
572 % Total number of fonts. Must be >= 50 and <= 5000 (without tex.ch changes).
575 % Extra space for the hash table of control sequences (which allows 10K
576 % names as distributed).
579 % Max number of characters in all strings, including all error messages,
580 % help texts, font names, control sequences. These values apply to TeX and MP.
582 % Minimum pool space after TeX/MP's own strings; must be at least
583 % 25000 less than pool_size, but doesn't need to be nearly that large.
584 string_vacancies = 90000
585 % Maximum number of strings.
587 % min pool space left after loading .fmt
590 % Buffer size. TeX uses the buffer to contain input lines, but macro
591 % expansion works by writing material into the buffer and reparsing the
592 % line. As a consequence, certain constructs require the buffer to be
593 % very large, even though most documents can be handled with a small value.
596 % Hyphenation trie. The maximum possible is 4194303 (ssup_trie_size in
597 % the sources), but we don't need that much. The value here suffices
598 % for all known free hyphenation patterns to be loaded simultaneously
599 % (as TeX Live does).
603 hyph_size = 8191 % prime number of hyphenation exceptions, >610, <32767.
604 % http://primes.utm.edu/curios/page.php/8191.html
605 nest_size = 500 % simultaneous semantic levels (e.g., groups)
606 max_in_open = 15 % simultaneous input files and error insertions
607 param_size = 10000 % simultaneous macro parameters
608 save_size = 50000 % for saving values outside current group
609 stack_size = 5000 % simultaneous input sources
611 % These are Omega-specific.
612 % ocp_buf_size = 500000 % character buffers for ocp filters.
613 % ocp_stack_size = 10000 % stacks for ocp computations.
614 % ocp_list_size = 1000 % control for multiple ocps.
616 % Parameter specific to MetaPost.
617 % Maximum number of knots between breakpoints of a path.
618 % Set to 2000 by default.
619 % path_size.mpost = 10000
621 % These work best if they are the same as the I/O buffer size, but it
622 % doesn't matter much. Must be a multiple of 8.
623 dvi_buf_size = 16384 % TeX
624 gf_buf_size = 16384 % MF
626 % It's probably inadvisable to change these. At any rate, we must have:
627 % 45 < error_line < 255;
628 % 30 < half_error_line < error_line - 15;
629 % 60 <= max_print_line;
630 % These apply to TeX, Metafont, and MetaPost.