1 .TH KPSEWHICH 1 "1 March 2011" "Kpathsea @VERSION@"
2 .\"=====================================================================
6 .if t .ds MF M\s-2ETAFONT\s0
7 .if t .ds TX \fRT\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X\fP
9 .ie t .ds OX \fIT\v'+0.25m'E\v'-0.25m'X\fP for troff
10 .el .ds OX TeX for nroff
11 .\" the same but obliqued
12 .\" BX definition must follow TX so BX can use TX
13 .if t .ds BX \fRB\s-2IB\s0\fP\*(TX
15 .\" LX definition must follow TX so LX can use TX
16 .if t .ds LX \fRL\\h'-0.36m'\\v'-0.15v'\s-2A\s0\\h'-0.15m'\\v'0.15v'\fP\*(TX
18 .\"=====================================================================
20 kpsewhich \- standalone path lookup and and expansion for kpathsea
25 .\"=====================================================================
27 This manual page is not meant to be exhaustive. The complete
28 documentation for this version of \*(TX can be found in the info file
30 .IR "Kpathsea: A library for path searching" .
33 is used as a standalone front-end of the kpathsea library that can be
34 used to examine variables and find files. When the
36 option is not given, the search path used when looking for a file is
37 inferred from the name given, by looking for a known extension. If
38 no known extension is found, the search path for \*(TX source files is
40 .\"=====================================================================
43 accepts the following options:
49 Use a base resolution of
51 the default, set by the installer, is typically 600.
60 in the environment, which is used in some search paths.
62 .BI -expand-braces \ string
63 Print variable and brace expansion of
66 .BI -expand-path \ string
67 Print complete path expansion of
70 .BI -expand-var \ string
71 Print variable expansion of
77 See the info manual for a list of valid names, or use the
79 option to print the list.
82 Print help message and exit.
85 Ask for additional filenames to look up.
91 .RI ( fmt =pk/mf/tex/tfm)
101 Search the disk as well as ls-R if necessary.
107 .RI ( fmt =pk/mf/tex/tfm)
113 .BI -progname \ string
117 .\" .BI -separator \ string
120 .\" separates components in
122 .\" output; default is
126 .BI -show-path \ name
127 Output search path for file type
129 See the info manual for a list of valid names, or use the
131 option to print the list.
133 .BI -var-value \ variable
134 Print the expansion of
138 Print version information and exit.
139 .\"=====================================================================