49
49
% (http://tug.org/tds), or files may not be found.
51
51
% Redistributors will probably want $SELFAUTODIR/share, i.e., /usr/share.
52
% Kpathsea sets SELFAUTOLOC (the directory with the binary),
53
% SELFAUTODIR (its parent), and SELFAUTOPARENT (its grandparent).
52
54
TEXMFROOT = $SELFAUTOPARENT
54
56
% The tree containing runtime files related to the specific
209
211
TEXINPUTS.omega = .;$TEXMF/tex/{plain,generic,}//
212
TEXINPUTS.ptex = .;$TEXMF/tex/{ptex,ptexgeneric,plain,generic,}//
213
TEXINPUTS.platex = .;$TEXMF/tex/{platex,ptexgeneric,latex,generic,}//
214
TEXINPUTS.ptex = .;$TEXMF/tex/{ptex,plain,generic,}//
215
TEXINPUTS.platex = .;$TEXMF/tex/{platex,latex,generic,}//
215
217
% epTeX, and for pmpost.
216
TEXINPUTS.eptex = .;$TEXMF/tex/{ptex,ptexgeneric,plain,generic,}//
218
TEXINPUTS.eptex = .;$TEXMF/tex/{ptex,plain,generic,}//
217
219
TEX.pmpost = eptex
220
TEXINPUTS.uplatex = .;$TEXMF/tex/{uplatex,platex,ptexgeneric,latex,generic,}//
221
TEXINPUTS.uptex = .;$TEXMF/tex/{uptex,ptex,ptexgeneric,plain,generic,}//
222
TEXINPUTS.euptex = .;$TEXMF/tex/{uptex,ptex,ptexgeneric,plain,generic}//
222
TEXINPUTS.uplatex = .;$TEXMF/tex/{uplatex,platex,latex,generic,}//
223
TEXINPUTS.uptex = .;$TEXMF/tex/{uptex,ptex,plain,generic,}//
224
TEXINPUTS.euptex = .;$TEXMF/tex/{uptex,ptex,plain,generic}//
224
226
% pBibTeX bibliographies and style files.
225
227
BIBINPUTS.pbibtex = .;$TEXMF/{pbibtex,bibtex}/bib//
461
463
% /usr/local/texlive/YYYY/texmf.cnf; any settings in this latter file
462
464
% will take precedence over the distributed one under texmf/web2c.
464
% For security reasons, it is better not to include . in this path.
466
TEXMFCNF = {$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,}/web2c}
466
% For security reasons, it is best not to include . in this path.
468
% The idea behind this lengthy definition: for each of
469
% SELFAUTO{LOC,DIR,AUTO}, look in the directory,
470
% then the subdirectories share/texmf-local and share/texmf,
471
% then ./texmf-local and ./texmf.
473
% However, we want to include one more directory: the
474
% great-grandparent's texmf-local, because that is how TL is installed
475
% by default. That is, given a binary
476
% /usr/local/texlive/YYYY/bin/PLATFORM/kpsewhich, it should be fine
477
% /usr/local/texlive/texmf-local/web2c/texmf.cnf. Not under YYYY.
479
% As a result, we cannot use actual brace expansion in the definition,
480
% since we don't want to scatter ../'s throughout the value. Hence we
481
% explicitly list every directory. Arguably more understandable anyway.
485
$SELFAUTOLOC/share/texmf-local/web2c,$SELFAUTOLOC/share/texmf/web2c,\
486
$SELFAUTOLOC/texmf-local/web2c,$SELFAUTOLOC/texmf/web2c,\
488
$SELFAUTODIR/share/texmf-local/web2c,$SELFAUTODIR/share/texmf/web2c,\
489
$SELFAUTODIR/texmf-local/web2c,$SELFAUTODIR/texmf/web2c,\
490
$SELFAUTOPARENT/../texmf-local/web2c,\
492
$SELFAUTOPARENT/share/texmf-local/web2c,$SELFAUTOPARENT/share/texmf/web2c,\
493
$SELFAUTOPARENT/texmf-local/web2c,$SELFAUTOPARENT/texmf/web2c\
496
% For reference, here is the old brace-using definition:
497
%TEXMFCNF = {$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,}/web2c}
468
499
% kpathsea 3.5.3 and later sets these at runtime. To avoid empty
469
500
% expansions from binaries linked against an earlier version of the