1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
|
.TH KPSEWHICH 1 "4 January 1998" "Kpathsea @VERSION@"
.\"=====================================================================
.if n .ds MP MetaPost
.if t .ds MP MetaPost
.if n .ds MF Metafont
.if t .ds MF M\s-2ETAFONT\s0
.if t .ds TX \fRT\\h'-0.1667m'\\v'0.20v'E\\v'-0.20v'\\h'-0.125m'X\fP
.if n .ds TX TeX
.ie t .ds OX \fIT\v'+0.25m'E\v'-0.25m'X\fP\" for troff
.el .ds OX TeX\" for nroff
.\" the same but obliqued
.\" BX definition must follow TX so BX can use TX
.if t .ds BX \fRB\s-2IB\s0\fP\*(TX
.if n .ds BX BibTeX
.\" LX definition must follow TX so LX can use TX
.if t .ds LX \fRL\\h'-0.36m'\\v'-0.15v'\s-2A\s0\\h'-0.15m'\\v'0.15v'\fP\*(TX
.if n .ds LX LaTeX
.\"=====================================================================
.SH NAME
kpsewhich \- standalone path lookup and and expansion for kpathsea
.SH SYNOPSIS
.B kpsewhich
.RI [ options ]
.RI [ filenames ]
.\"=====================================================================
.SH 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
.IR "Kpathsea: A library for path searching" .
.PP
.B kpsewhich
is used as a standalone front-end of the kpathsea library that can be
used to examine variables and find files. When the
.B --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.
.\"=====================================================================
.SH OPTIONS
.B kpsewhich
accepts the following options:
.TP
.BI --debug \ num
.rb
Set debugging flags.
.TP
.BI -D \ num
.rb
Use a base resolution of
.IR num ;
the default, set by the installer, is typically 600.
.TP
.BI --dpi \ num
As
.BR -D.
.TP
.BI --expand-braces \ string
.rb
Print variable and brace expansion of
.IR string .
.TP
.BI --expand-path \ string
.rb
Print complete path expansion of
.IR string .
.TP
.BI --expand-var \ string
.rb
Print variable expansion of
.IR string .
.TP
.BI --format \ name
.rb
Use file type
.IR name .
See the info manual for a list of valid names, or use the
.B --help
option to print the list.
.TP
.B --help
.rb
Print help message and exit.
.TP
.B --interactive
.rb
Ask for additional filenames to look up.
.TP
.BI --mktex \ fmt
.rb
enable
.RI mktex fmt
generation.
.RI ( fmt =pk/mf/tex/tfm)
.TP
.BI --mode \ string
.rb
Set device name for
.I $MAKETEX_MODE
to
.IR string ;
no default.
.TP
.B --must-exist
.rb
Search the disk as well as ls-R if necessary.
.TP
.BI --no-mktex \ fmt
.rb
disable
.RI mktex fmt
generation.
.RI ( fmt =pk/mf/tex/tfm)
.TP
.BI --path \ string
Search in the path
.IR string .
.TP
.BI --progname \ string
.rb
Set program name to
.IR string .
.\" .TP
.\" .BI --separator \ string
.\" .rb
.\" .I string
.\" separates components in
.\" .B --path
.\" output; default is
.\" .I :
.\" on UNIX systems.
.TP
.BI --show-path \ name
.rb
Output search path for file type
.IR name .
See the info manual for a list of valid names, or use the
.B --help
option to print the list.
.TP
.B --version
.rb
Print version information and exit.
.\"=====================================================================
.SH "SEE ALSO"
.BR mktexlsr (1),
.BR mktexmf (1),
.BR mktexpk (1),
.BR mktextfm (1).
|