diff options
author | Karl Berry <karl@freefriends.org> | 2014-07-22 17:36:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-07-22 17:36:15 +0000 |
commit | cfc3d4f5c13a237b288087ebcbe5834360036bc7 (patch) | |
tree | 966b36c2ab9d2e099ddd8d2f2a02872e2ca444a1 /Build/source/texk/kpathsea/tex-file.h | |
parent | 3cc8e68d6b8cfd65f73f070069de1bc171084e9d (diff) |
have kpsewhich --help display (for each format) variable names considered, the original path string, and the final expanded path
git-svn-id: svn://tug.org/texlive/trunk@34693 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/tex-file.h')
-rw-r--r-- | Build/source/texk/kpathsea/tex-file.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/Build/source/texk/kpathsea/tex-file.h b/Build/source/texk/kpathsea/tex-file.h index 1310b51a8e7..1796bc63093 100644 --- a/Build/source/texk/kpathsea/tex-file.h +++ b/Build/source/texk/kpathsea/tex-file.h @@ -1,6 +1,7 @@ /* tex-file.h: find files in a particular format. - Copyright 1993, 1994, 1995, 1996, 2007, 2008, 2009, 2010 Karl Berry. + Copyright 1993, 1994, 1995, 1996, 2007, 2008, 2009, 2010, 2013, + 2014 Karl Berry. Copyright 1998-2005 Olaf Weber. This library is free software; you can redistribute it and/or @@ -51,12 +52,19 @@ extern KPSEDLL void kpathsea_maketex_option (kpathsea kpse, extern KPSEDLL void kpathsea_set_suffixes (kpathsea kpse, kpse_file_format_type format, boolean alternate, ...); -/* Initialize the info for the given format. This is called - automatically by `kpse_find_file', but the glyph searching (for - example) can't use that function, so make it available. */ +/* Initialize the info for the given format, returning the final search + path. This is called automatically by `kpse_find_file', but the + glyph searching (for example) can't use that function, so it + must also be available separately. */ extern KPSEDLL const_string kpathsea_init_format (kpathsea kpse, kpse_file_format_type format); +/* Like kpathsea_init_format, but return the list of (environment/config) + variable names considered, which is not otherwise saved. This is + only used by kpsewhich --help. */ +extern KPSEDLL const_string kpathsea_init_format_return_varlist (kpathsea kpse, + kpse_file_format_type format); + /* If FORMAT has a non-null `suffix' member, append it to NAME "." and call `kpse_path_search' with the result and the other arguments. If that fails, try just NAME. */ |