[tex-live] kpse search path

Akira Kakuto kakuto at fuk.kindai.ac.jp
Sun May 9 10:04:55 CEST 2010


> I have two versions of a file, one for LuaTeX and one for the other 
> engines. My plan was to put the file for LuaTeX in texmf/tex/luatex and 
> the other in texmf/tex/generic, so that the LuaTeX file would be found 
> by luatex only, and would also be found first by luatex instead of the 
> other file.

You can define the order of priority by
TEXINPUTS.programname
The suitable option in kpsewhich is --progname=programname:
kpsewhich --progname=lualatex ...

Best,
Akira



More information about the tex-live mailing list