kpsewhich

NAME

kpsewhich - standalone path lookup and and expansion for kpathsea

SYNOPSIS

kpsewhich [options] [filenames]

DESCRIPTION

This manual page is not meant to be exhaustive. The complete documentation for this version of can be found in the info file or manual R Kpathsea: A library for path searching .
kpsewhich is used as a standalone front-end of the kpathsea library that can be used to examine variables and find files. When the -format option is not given, the search path used when looking for a file is inferred from the name given, by looking for a known extension. If no known extension is found, the search path for source files is used.

OPTIONS

kpsewhich accepts the following options:
I -debug  num
Set debugging flags.
I -D  num
Use a base resolution of R num ; the default, set by the installer, is typically 600.
I -dpi  num
As R -D.
I -engine  string
Set $engine in the environment, which is used in some search paths.
I -expand-braces  string
Print variable and brace expansion of R string .
I -expand-path  string
Print complete path expansion of R string .
I -expand-var  string
Print variable expansion of R string .
I -format  name
Use file type R name . See the info manual for a list of valid names, or use the -help option to print the list.
-help
Print help message and exit.
-interactive
Ask for additional filenames to look up.
I -mktex  fmt
enable mktexfmt generation. (fmt=pk/mf/tex/tfm)
I -mode  string
Set device name for $MAKETEX_MODE to R string ; no default.
-must-exist
Search the disk as well as ls-R if necessary.
I -no-mktex  fmt
disable mktexfmt generation. (fmt=pk/mf/tex/tfm)
I -path  string
Search in the path R string .
I -progname  string
Set program name to R string .
I -show-path  name
Output search path for file type R name . See the info manual for a list of valid names, or use the -help option to print the list.
I -var-value  variable
Print the expansion of R variable .
-version
Print version information and exit.

SEE ALSO

mktexlsr(1), mktexmf(1), mktexpk(1), mktextfm(1).