~ubuntu-branches/ubuntu/utopic/texlive-bin/utopic

« back to all changes in this revision

Viewing changes to .pc/53_builtin-searchpath-fix/texk/kpathsea/texmf.cnf

  • Committer: Package Import Robot
  • Author(s): Norbert Preining
  • Date: 2012-05-07 10:47:49 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20120507104749-p00ot5sajjbkp1hp
Tags: 2011.20120507-1
* new upstream checkout: uptex 1.10
* drop patches for config file inclusion in (x)dvipdfmx, included upstream
* add man page for etex
* include pmpost patches and build it
* adapt/unfuzzify patches for current sources
* disable mtx building, we have prepmx package in Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
% (http://tug.org/tds), or files may not be found.
50
50
%
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
53
55
 
54
56
% The tree containing runtime files related to the specific
209
211
TEXINPUTS.omega         = .;$TEXMF/tex/{plain,generic,}//
210
212
 
211
213
% p(La)TeX.
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,}//
214
216
 
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
218
220
 
219
221
% (e)up(La)TeX.
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}//
223
225
 
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.
463
465
464
 
% For security reasons, it is better not to include . in this path.
465
 
%
466
 
TEXMFCNF = {$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,}/web2c}
 
466
% For security reasons, it is best not to include . in this path.
 
467
%
 
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.
 
472
 
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.
 
478
 
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.
 
482
%
 
483
TEXMFCNF = {\
 
484
$SELFAUTOLOC,\
 
485
$SELFAUTOLOC/share/texmf-local/web2c,$SELFAUTOLOC/share/texmf/web2c,\
 
486
$SELFAUTOLOC/texmf-local/web2c,$SELFAUTOLOC/texmf/web2c,\
 
487
$SELFAUTODIR,\
 
488
$SELFAUTODIR/share/texmf-local/web2c,$SELFAUTODIR/share/texmf/web2c,\
 
489
$SELFAUTODIR/texmf-local/web2c,$SELFAUTODIR/texmf/web2c,\
 
490
$SELFAUTOPARENT/../texmf-local/web2c,\
 
491
$SELFAUTOPARENT,\
 
492
$SELFAUTOPARENT/share/texmf-local/web2c,$SELFAUTOPARENT/share/texmf/web2c,\
 
493
$SELFAUTOPARENT/texmf-local/web2c,$SELFAUTOPARENT/texmf/web2c\
 
494
}
 
495
%
 
496
% For reference, here is the old brace-using definition:
 
497
%TEXMFCNF = {$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,}/web2c}
467
498
 
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