diff options
author | Karl Berry <karl@freefriends.org> | 2007-07-06 17:18:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-07-06 17:18:20 +0000 |
commit | 44caba75c2bcdde541bd619bfa2ad748839bfd67 (patch) | |
tree | bd45c551e8a30f4a6497a6968c69967b51c4f2af /Build/source/texk/kpathsea/tex-file.c | |
parent | 7331f23b85b1ccb12a1a1b745a005ec07ff2af6e (diff) |
luatex->lua, try .luc before .lua
git-svn-id: svn://tug.org/texlive/trunk@4551 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/tex-file.c')
-rw-r--r-- | Build/source/texk/kpathsea/tex-file.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/tex-file.c b/Build/source/texk/kpathsea/tex-file.c index d12712caee2..04e4f3972c0 100644 --- a/Build/source/texk/kpathsea/tex-file.c +++ b/Build/source/texk/kpathsea/tex-file.c @@ -672,9 +672,10 @@ kpse_init_format P1C(kpse_file_format_type, format) INIT_FORMAT ("texmfscripts", DEFAULT_TEXMFSCRIPTS, TEXMFSCRIPTS_ENVS); break; case kpse_lua_format: - INIT_FORMAT ("luatex", DEFAULT_LUAINPUTS, LUA_ENVS); -#define LUA_SUFFIXES ".lua", ".luatex", ".texlua", ".luc", ".luctex", ".texluc" + INIT_FORMAT ("lua", DEFAULT_LUAINPUTS, LUA_ENVS); +#define LUA_SUFFIXES ".luc", ".luctex", ".texluc", ".lua", ".luatex", ".texlua" SUFFIXES (LUA_SUFFIXES); + FMT_INFO.suffix_search_only = false; break; default: FATAL1 ("kpse_init_format: Unknown format %d", format); |