Another issue with luatex finding .sty files

Ulrike Fischer news3 at
Tue Jul 30 16:42:17 CEST 2019

Am Tue, 30 Jul 2019 13:58:54 +0000 schrieb Urs Liska:

>   /home/uliska/texmf/tex/latex/git-latex/lyluatex/lyluatex.sty
>   $ kpsewhich --progname xelatex lilyglyphs.sty
>   /home/uliska/texmf/tex/latex/git-latex/lilyglyphs/lilyglyphs.sty
>   $ kpsewhich --progname lualatex lilyglyphs.sty
>   /usr/local/texlive/2019/texmf-dist/tex/lualatex/lilyglyphs/lilyglyphs.sty
> With lyluatex.sty both xelatex find the file in the local tree, but with lilyglyphts.sty xelatex finds it correctly while lualatex suddenly finds the TL version.

tex doesn't search first the local tree and then the global tree. It
does a sort of zigzag: For lualatex e.g. if will first look in all
trees in tex/lualatex, then in all trees in tex/latex etc. 

Your lilyglyphs.sty is in tex/lualatex in the main tree, but in
tex/latex in the local tree and so the main file is found first. 

Move it to  

Ulrike Fischer

More information about the tex-live mailing list