TeX Environment Variables |
|
Kpathsea defines a sequence of environment variables to search for each file type it supports. This makes it easy for different programs to check the same environment variables, in the same order.
The following section describes the environment variables searched for each file type in the order they are searched (and a brief description of the file type). That is, only if the first variable is unset is the second variable checked, and so on. If none are set, various other things are checked.
Environment Variables by File Type
- .base
- (Metafont memory dump) MFBASES
- .bib
- (BibTeX bibliography source) BIBINPUTS
- .bst
- (BibTeX style file) BSTINPUTS, TEXINPUTS
- .cnf
- (Kpathsea runtime configuration files) TEXMFCNF
- .eps
- (Encapsulated PostScript figures) TEXPICTS, TEXINPUTS
- .fmt
- (TeX memory dump) TEXFORMATS
- gf
- (generic font bitmap) PROGRAMFONTS, GFFONTS, GLYPHFONTS, TEXFONTS
- .mf
- (Metafont source) MFINPUTS
- mf.pool
- (Metafont program strings) MFPOOL
- .pict
- (Other kinds of figures) Same as .eps.
- pk
- (packed bitmap font) PROGRAMFONTS, PKFONTS, TEXPKS, GLYPHFONTS, TEXFONTS
- .tex
- (TeX source) TEXINPUTS
- tex.pool
- (TeX program strings) TEXPOOL
- .tfm
- (TeX font metrics) TFMFONTS, TEXFONTS
- .vf
- (virtual font) VFFONTS, TEXFONTS
For the font variables, the intent is that:
- TEXFONTS is the default for everything.
- GLYPHFONTS is the default for bitmap (or, more precisely, non-metric) files.
- Each format has its own variable.
- Each program can and should have its own font override path as well; e.g., DVIPSFONTS for Dvipsk. Again, this is for bitmaps, not metrics.
If these environment variables are set, the corresponding texmf.cnf definition won't be looked at (unless, as usual, the environment variable has an extra `:'). See the document on TeX environment variable expansion for more details.
Getting Help
If you have any questions regarding these settings, please call the Customer Support Center at (213) 740-5555 or e-mail consult@usc.edu.
Last Updated: Friday, June 02, 2006 at 12:07PM PDT



