1KPSEWHICH(1) General Commands Manual KPSEWHICH(1)
2
3
4
6 kpsewhich - standalone path lookup and and expansion for kpathsea
7
9 kpsewhich [options] [filenames]
10
12 This manual page is not meant to be exhaustive. The complete documenā
13 tation for this version of TeX can be found in the info file or manual
14 Kpathsea: A library for path searching.
15
16 kpsewhich is used as a standalone front-end of the kpathsea library
17 that can be used to examine variables and find files. When the -format
18 option is not given, the search path used when looking for a file is
19 inferred from the name given, by looking for a known extension. If no
20 known extension is found, the search path for TeX source files is used.
21
23 kpsewhich accepts the following options:
24
25 -debug num
26 Set debugging flags.
27
28 -D num Use a base resolution of num; the default, set by the installer,
29 is typically 600.
30
31 -dpi num
32 As -D.
33
34 -engine string
35 Set $engine in the environment, which is used in some search
36 paths.
37
38 -expand-braces string
39 Print variable and brace expansion of string.
40
41 -expand-path string
42 Print complete path expansion of string.
43
44 -expand-var string
45 Print variable expansion of string.
46
47 -format name
48 Use file type name. See the info manual for a list of valid
49 names, or use the -help option to print the list.
50
51 -help Print help message and exit.
52
53 -interactive
54 Ask for additional filenames to look up.
55
56 -mktex fmt
57 enable mktexfmt generation. (fmt=pk/mf/tex/tfm)
58
59 -mode string
60 Set device name for $MAKETEX_MODE to string; no default.
61
62 -must-exist
63 Search the disk as well as ls-R if necessary.
64
65 -no-mktex fmt
66 disable mktexfmt generation. (fmt=pk/mf/tex/tfm)
67
68 -path string
69 Search in the path string.
70
71 -progname string
72 Set program name to string.
73
74 -show-path name
75 Output search path for file type name. See the info manual for
76 a list of valid names, or use the -help option to print the
77 list.
78
79 -var-value variable
80 Print the expansion of variable.
81
82 -version
83 Print version information and exit.
84
86 mktexlsr(1), mktexmf(1), mktexpk(1), mktextfm(1).
87
88
89
90Kpathsea 6.3.4 1 March 2011 KPSEWHICH(1)