GNU Info

Info Node: (kpathsea.info)Path sources

(kpathsea.info)Path sources


Next: Path expansion Prev: Searching overview Up: Path searching
Enter node , (file) or (file)node

Path sources
============

  A search path can come from many sources.  In the order in which
Kpathsea uses them:

  1. A user-set environment variable, e.g., `TEXINPUTS'.  Environment
     variables with an underscore and the program name appended
     override; for example, `TEXINPUTS_latex' overrides `TEXINPUTS' if
     the program being run is named `latex'.

  2. A program-specific configuration file, e.g., an `S /a:/b' line in
     Dvips' `config.ps' (Note: Config files.).

  3. A line in a Kpathsea configuration file `texmf.cnf', e.g.,
     `TEXINPUTS=/c:/d' (see below).

  4. The compile-time default (specified in `kpathsea/paths.h').

  You can see each of these values for a given search path by using the
debugging options (Note: Debugging).

  These sources may be combined via default expansion (Note: Default
expansion).

Config files
Kpathsea's runtime config files (texmf.cnf).

automatically generated by info2www version 1.2.2.9