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