% original texmf.cnf -- runtime path configuration file for kpathsea. % % (If you change or delete `original' on the previous line, the % distribution won't install its version over yours.) % % [Modified by Yves Arrouye to partially support two hierarchies.] % % What follows is a super-summary of what this .cnf file can % contain. Please read the Kpathsea manual for more information. % % texmf.cnf is generated from texmf.cnf.in, by replacing @var@ with the % value of the Make variable `var', via a sed file texmf.sed, generated % (once) by kpathsea/Makefile (itself generated from % kpathsea/Makefile.in by configure). % % Any identifier (sticking to A-Za-z_ for names is safest) can be assigned. % The `=' (and surrounding spaces) is optional. % No space, %, or @ in variable values, for the sake of autogeneration. % An environment variable foo overrides a definition of foo here. % $foo (or ${foo}) in a value expands to the envvar or cnf value of foo. % % All definitions are read before anything is expanded, so you can use % variables before they are defined. % % If a variable is qualified with `.', it is ignored unless the % current executable (last component of argv[0]) is named . % % Which file formats use which paths for searches is described in the % various programs' and the kpathsea documentation. % % // means to search subdirectories (recursively). % A leading !! means to look only in the ls-R db, never on the disk. % A leading/trailing/doubled : in the paths will be expanded into the % compile-time default. Probably not what you want. % Where the wild files are. You can set an environment variable to % override this if you're testing a new TeX tree, without changing % anything else. TEXMF = @texmf@ % The VARTEXMF variable points to a texmf structure that can be modified, % while the TEXMF tree may not be writable. Note that this is just for the % example here: ls-R is still searched for in $TEXMF (it should be $VARTEXMF % in our case), TEXMFCNF is still $TEXMF/something, and only fonts are looked % for under $VARTEXMF. This whole file should be modified to take in % account the fact that there are two directories trees. VARTEXMF = /usr/local/texmf % TeX input files -- i.e., anything to be found by \input or \openin, % including .sty, .eps, etc. Things are confused by the many variants % of LaTeX, which all have the same filenames. The current % recommendation is to make `latex' be latex2e, and if you also want to % support latex 2.09, call it latex209. If you do the reverse, the % definitions below will need adjusting. % latex209_inputs = .:@texinputdir@/latex209//:@texinputdir@// latex2e_inputs = .:@texinputdir@/latex2e//:@texinputdir@// TEXINPUTS.latex209 = $latex209_inputs TEXINPUTS.latex2e = $latex2e_inputs TEXINPUTS.latex = $latex2e_inputs % Earlier entries override later ones, so put this last. TEXINPUTS = .:@texinputdir@// % Ditto for MF. MFINPUTS = .:@mfinputdir@//:@fontdir@/source// % Predigested formats and string pools for initex/inimf. TEXFORMATS = .:@fmtdir@ MFBASES = .:@basedir@ TEXPOOL = @texpooldir@ MFPOOL = @mfpooldir@ % Device-independent font metric files. VFFONTS = .:@fontdir@/vf// TFMFONTS = .:@fontdir@/tfm// % Just an abbreviation. pkdir = @fontdir@/pk % We suppose fonts are generated in directories that may be outside of $TEXMF, % hence the use of $VARTEXMF here ($TEXMF may not be writable while $VARTEXMF % is, so one can use a TDS CD-ROM in $TEXMF and local stuff in $VARTEXMF). % The $wrpkdir is where fonts are written by MakeTeXPK. wrpkdir = $VARTEXMF/fonts/tmp/pk % The $alpkdir is a pool of fonts that can searched quickly (for instance it % may be a pool of symbolic links to fonts in a TDS tree). alpkdir = $VARTEXMF/fonts/pool/pk/$MAKETEX_MODE % The $MAKETEX_MODE below means the drivers will not use a cx font when % the mode is ricoh. If no mode is explicitly specified, kpse_prog_init % sets MAKETEX_MODE to /, so all subdirectories are searched. See the manual. % xdvi needs to find bitmaps for PostScript fonts, which can be % generated by standalone programs gsftopk and ps2pk (ps2mf needs no % special treatment). See xdvik/INSTALL for more info. PKFONTS.xdvi = .:$alpkdir:$pkdir/$MAKETEX_MODE//:$wrpkdir/$MAKETEX_MODE//:$wrpkdir/gsftopk//:$wrpkdir/ps2pk// % Again, the standard definition must come after the program-specific one. % Don't use $pkdir since we can't do general variable expansion making paths.h. PKFONTS = .:/usr/local/texmf/fonts/pool/pk/$MAKETEX_MODE:$TEXMF/fonts/pk/$MAKETEX_MODE//:/usr/local/texmf/fonts/tmp/pk/$MAKETEX_MODE// % Similarly for the GF format, which only remains in existence because % Metafont outputs it (and MF isn't going to change). GFFONTS = .:@fontdir@//gf/$MAKETEX_MODE % Used to find texfonts.map; also a backup for PKFONTS and GFFONTS, % but normally that is irrelevant, so don't bother with all subdirectories. GLYPHFONTS = .:@fontdir@ % BibTeX bibliographies and style files. BIBINPUTS = .:@texmf@/bibtex/bib BSTINPUTS = .:@texmf@/bibtex/bst % Dvips' config.* files. TEXCONFIG = .:~:@psheaderdir@// % Dvips' PostScript prologues (.pro) and .pfa/.pfb files. DVIPSHEADERS = .:@psheaderdir@//:@fontdir@//type1 % Enable this (or set the environment variable) if you want kpathsea to % log names and times for all files found. % TEXMFLOG = @texmf@/web2c/kpathsea.log % This definition isn't used from this .cnf file itself (that would be % paradoxical), but the compile-time default in paths.h is built from it. TEXMFCNF = .:@web2cdir@