www.delorie.com/gnu/docs/octave/kpathsea_68.html   search  
 
Buy GNU books!


Kpathsea: A library for path searching

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.1 Supported file formats

Kpathsea has support for a number of file types. Each file type has a list of environment and config file variables that are checked to define the search path, and most have a default suffix that plays a role in finding files (see the next section). Some also define additional suffixes, and/or a program to be run to create missing files on the fly.

Since environment variables containing periods, such as `TEXINPUTS.latex', are not allowed on some systems, Kpathsea looks for environment variables with an underscore, e.g., `TEXINPUTS_latex' (see section 3.2.1 Config files).

The following table lists the above information.

`afm'
(Adobe font metrics, see section `Metric files' in Dvips) AFMFONTS; suffix `.afm'.

`base'
(Metafont memory dump, see section `Memory dumps' in Web2c) MFBASES, TEXMFINI; suffix `.base'.

`bib'
(BibTeX bibliography source, see section `bibtex invocation' in Web2c) BIBINPUTS, TEXBIB; suffix `.bib'.

`bst'
(BibTeX style file, see section `Basic BibTeX style files' in Web2c) BSTINPUTS; suffix `.bst'.

`cnf'
(Runtime configuration files, see section 3.2.1 Config files) TEXMFCNF; suffix `.cnf'.

`dvips config'
(Dvips `config.*' files, such as `config.ps', see section `Config files' in Dvips) TEXCONFIG.

`fmt'
(TeX memory dump, see section `Memory dumps' in Web2c) TEXFORMATS, TEXMFINI; suffix `.fmt'.

`gf'
(generic font bitmap, see section `Glyph files' in Dvips) programFONTS, GFFONTS, GLYPHFONTS, TEXFONTS; suffix `gf'.

`graphic/figure'
(Encapsulated PostScript figures, see section `PostScript figures' in Dvips) TEXPICTS, TEXINPUTS; additional suffixes: `.eps', `.epsi'.

`ist'
(makeindex style files) TEXINDEXSTYLE, INDEXSTYLE; suffix `.ist'.

`ls-R'
(Filename databases, see section 3.4 Filename database (ls-R)) TEXMFDBS.

`map'
(Fontmaps, see section 4.3.2 Fontmap) TEXFONTMAPS; suffix `.map'.

`mem'
(MetaPost memory dump, see section `Memory dumps' in Web2c) MPMEMS, TEXMFINI; suffix `.mem'.

`MetaPost support'
(MetaPost support files, used by DMP; see section `dmp invocation' in Web2c) MPSUPPORT.

`mf'
(Metafont source, see section `mf invocation' in Web2c) MFINPUTS; suffix `.mf'; dynamic creation program: mktexmf.

`mfpool'
(Metafont program strings, see section `pooltype invocation' in Web2c) MFPOOL, TEXMFINI; suffix `.pool'.

`mft'
(MFT style file, see section `mft invocation' in Web2c) MFTINPUTS; suffix `.mft'.

`mp'
(MetaPost source, see section `mpost invocation' in Web2c) MPINPUTS; suffix `.mp'.

`mppool'
(MetaPost program strings, see section `pooltype invocation' in Web2c) MPPOOL, TEXMFINI; suffix `.pool'.

`ocp'
(Omega compiled process files) OCPINPUTS;
suffix `.ocp'; dynamic creation program: MakeOmegaOCP.

`ofm'
(Omega font metrics) OFMFONTS, TEXFONTS;
suffixes `.ofm', `.tfm'; dynamic creation program: MakeOmegaOFM.

`opl'
(Omega property lists) OPLFONTS, TEXFONTS; suffix `.opl'.

`otp'
(Omega translation process files) OTPINPUTS; suffix `.otp'.

`ovf'
(Omega virtual fonts) OVFFONTS, TEXFONTS; suffix `.ovf'.

`ovp'
(Omega virtual property lists) OVPFONTS, TEXFONTS; suffix `.ovp'.

`pk'
(packed bitmap fonts, see section `Glyph files' in Dvips) PROGRAMFONTS (program being `XDVI', etc.), PKFONTS, TEXPKS, GLYPHFONTS, TEXFONTS; suffix `pk'; dynamic creation program: mktexpk.

`PostScript header'
(downloadable PostScript, see section `Header files' in Dvips) TEXPSHEADERS, PSHEADERS; additional suffix `.pro'.

`tex'
(TeX source, see section `tex invocation' in Web2c) TEXINPUTS; suffix `.tex'; additional suffixes: none, because such a list cannot be complete; dynamic creation program: mktextex.

`TeX system documentation'
(Documentation files for the TeX system) TEXDOCS.

`TeX system sources'
(Source files for the TeX system) TEXSOURCES.

`texpool'
(TeX program strings, see section `pooltype invocation' in Web2c) TEXPOOL, TEXMFINI; suffix `.pool'.

`tfm'
(TeX font metrics, see section `Metric files' in Dvips) TFMFONTS, TEXFONTS; suffix `.tfm'; dynamic creation program: mktextfm.

`Troff fonts'
(Troff fonts, used by DMP; see section `DMP invocation' in Web2c) TRFONTS.

`truetype fonts'
(TrueType outline fonts) TTFONTS; suffixes `.ttf', `.ttc'.

`type1 fonts'
(Type 1 PostScript outline fonts, see section `Glyph files' in Dvips) T1FONTS, T1INPUTS, TEXPSHEADERS, DVIPSHEADERS; suffixes `.pfa', `.pfb'.

`type42 fonts'
(Type 42 PostScript outline fonts) T42FONTS.

`vf'
(virtual fonts, see section `Virtual fonts' in Dvips) VFFONTS, TEXFONTS; suffix `.vf'.

There are two special cases, because the paths and environment variables always depend on the name of the program: the variable name is constructed by converting the program name to upper case, and then appending `INPUTS'. Assuming the program is called `foo', this gives us the following table.

`other text files'
(text files used by `foo') FOOINPUTS.

`other binary files'
(binary files used by `foo') FOOINPUTS.

If an environment variable by these names are set, the corresponding `texmf.cnf' definition won't be looked at (unless, as usual, the environment variable value has an extra `:'). See section 3.3.1 Default expansion.

For the font variables, the intent is that:


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003