1. NAME

kpsewhich - standalone path lookup and and expansion for kpathsea

2. SYNOPSIS

kpsewhich [ options ] [ filenames ]

3. DESCRIPTION

This manual page is not meant to be exhaustive. The complete documentation for this version of \*(TX can be found in the info file or manual "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 \*(TX source files is used.

4. OPTIONS

kpsewhich accepts the following options:

  • -debug  num
        .rb Set debugging flags.
  • -D  num
        .rb Use a base resolution of num ; the default, set by the installer, is typically 600.
  • -dpi  num
        As

R -D.

  • -engine  string
        .rb Set $enginein the environment, which is used in some search paths.
  • -expand-braces  string
        .rb Print variable and brace expansion of string .
  • -expand-path  string
        .rb Print complete path expansion of string .
  • -expand-var  string
        .rb Print variable expansion of string .
  • -format  name
        .rb Use file type name . See the info manual for a list of valid names, or use the

-help option to print the list.

-help

    .rb Print help message and exit.

-interactive

    .rb Ask for additional filenames to look up.

  • -mktex  fmt
        .rb enable mktex fmt generation. ( fmt =pk/mf/tex/tfm)
  • -mode  string
        .rb Set device name for $MAKETEX_MODEto string ; no default.

-must-exist

    .rb Search the disk as well as ls-R if necessary.

  • -no-mktex  fmt
        .rb disable mktex fmt generation. ( fmt =pk/mf/tex/tfm)
  • -path  string
        Search in the path string .
  • -progname  string
        .rb Set program name to string .
  • -show-path  name
        .rb Output search path for file type name . See the info manual for a list of valid names, or use the

-help option to print the list.

  • -var-value  variable
        .rb Print the expansion of variable .

-version

    .rb Print version information and exit.

5. SEE ALSO

R mktexlsr (1),

R mktexmf (1),

R mktexpk (1),

R mktextfm (1).