%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % The modified Kpathsea used in the teTeX distribution set the variables % SELFAUTODIR and SELFAUTOPARENT relative to the location of the binary. % % SELFAUTODIR is the directory one level above the directory containing the % binary and SELFAUTOPARENT is its parent directory. % % Example1: assuming xdvi is found in /usr/tex/bin/i486-linux/xdvi. % => SELFAUTODIR: /usr/tex/bin % => SELFAUTOPARENT: /usr/tex % % Example2: assuming xdvi is found in /usr/tex/bin/xdvi. % => SELFAUTODIR: /usr/tex % => SELFAUTOPARENT: /usr % % The file texmf.cnf is searched for in $SELFAUTODIR, $SELFAUTOPARENT, % $TETEXDIR. % % In example1, you could use TETEXDIR=$SELFAUTOPARENT and in example2 % TETEXDIR=$SELFAUTODIR. A simpler setting for TETEXDIR could simply % be TETEXDIR=/usr/TeX in both cases. This can be convinient if you % are not going to change the location of your teTeX tree. TETEXDIR = /usr/lib/texmf % You may move your TEXMF tree to a different location. After that, you just % need to adjust the value of TEXMF and run texhash once. TEXMF = $TETEXDIR/texmf % Only used, if the varfonts feature is enabled by MT_FEATURES. % Set this option with the texconfig utility if you need. VARFONTS = /var/lib/texmf/fonts MT_FEATURES = stickydir:varfonts % MakeTeXPK and MakeTeXTFM override KPSE_DOT via environment to make % sure, files in "." are found after a cd command. A hack :-) KPSE_DOT = . WEB2CDIR = $TEXMF/web2c FONTDIR = $TEXMF/fonts FONTNAME = $TEXMF/fontname MAKETEXDIR = $TEXMF/maketex TEXFORMATS = $KPSE_DOT:$WEB2CDIR MFBASES = $KPSE_DOT:$WEB2CDIR TEXPOOL = $KPSE_DOT:$WEB2CDIR MFPOOL = $KPSE_DOT:$WEB2CDIR % The first "match" does "win". So, put the special case first: % uncomment, if you need LaTeX209 % TEXINPUTS.latex209 = $KPSE_DOT:!!$TEXMF/tex/latex209//:!!$TEXMF/tex// TEXINPUTS.latex = $KPSE_DOT:!!$TEXMF/tex/latex//:!!$TEXMF/tex// TEXINPUTS.mft = $KPSE_DOT:$TEXMF/mft:!!$TEXMF/tex// TEXINPUTS.ps2pk = $KPSE_DOT:!!$FONTDIR/type1//:!!$FONTDIR/afm//:$TEXMF/dvips:$GSFONTS TEXINPUTS = $KPSE_DOT:!!$TEXMF/tex//:!!$FONTDIR/afm// MFINPUTS = $KPSE_DOT:!!$TEXMF/metafont//:!!$FONTDIR/source//:$VARFONTS/source// VFFONTS = !!$FONTDIR/vf//:$KPSE_DOT TFMFONTS = !!$FONTDIR/tfm//:$VARFONTS/tfm//:$KPSE_DOT pkdir = !!$FONTDIR/pk % Set up a more restricted path only for dvips. PKFONTS.dvips = $pkdir/$MAKETEX_MODE//:$VARFONTS/pk/$MAKETEX_MODE//:$KPSE_DOT PKFONTS = $pkdir/$MAKETEX_MODE//:$pkdir//:$VARFONTS/pk/$MAKETEX_MODE//:$VARFONTS/pk//:$KPSE_DOT GFFONTS = !!$FONTDIR/gf//$MAKETEX_MODE:$KPSE_DOT GLYPHFONTS = $KPSE_DOT:$WEB2CDIR BIBINPUTS = $KPSE_DOT:!!$TEXMF/bibtex/bib// BSTINPUTS = $KPSE_DOT:!!$TEXMF/bibtex/bst// TEXCONFIG = $KPSE_DOT:~:$TEXMF/dvips:$WEB2CDIR DVIPSHEADERS = $KPSE_DOT:$TEXMF/dvips:!!$FONTDIR/type1// TEXMFCNF = $SELFAUTODIR:$SELFAUTOPARENT:/.$TETEXDIR