There was an error while loading. Please reload this page.
1 parent d185054 commit 81c60f5Copy full SHA for 81c60f5
1 file changed
pages/common/kpsewhich.md
@@ -0,0 +1,24 @@
1
+# kpsewhich
2
+
3
+> Standalone path lookup and variable expansion for the Kpathsea TeX library.
4
+> More information: <https://manned.org/kpsewhich>.
5
6
+- Locate a TeX or LaTeX file in the TeX directory structure:
7
8
+`kpsewhich {{file_or_package.sty}}`
9
10
+- Locate all matches for a specific file:
11
12
+`kpsewhich --all {{file_or_package.sty}}`
13
14
+- Locate a file with a specific format:
15
16
+`kpsewhich --format={{tfm|bib|sty|cls|tex}} {{filename}}`
17
18
+- Print the value of a specific TeX configuration variable:
19
20
+`kpsewhich --var-value={{TEXMFDIST}}`
21
22
+- Locate a file under a specific TeX engine context:
23
24
+`kpsewhich --progname={{pdflatex}} {{filename}}`
0 commit comments