search path in LaTeX breaks expectations

Some tutorials on non-root installation of LaTeX modules rely on the environment variable TEXMFLOCAL. Unfortunately, it doesn't work when the folder "~/texmf" contains conflicting files.

The variable HOMETEXMF has precedence of the variable TEXMFLOCAL. In order to correct situation, yet another environment variable should be set:

TEXMF='{!!$TEXMFLOCAL,$HOMETEXMF,!!$TEXFONTSCNF,!!$VARTEXMF,!!$TEXMFMAIN}'
export TEXMF

Vibe code with your voice

Stop fighting speech recognition.
Just talk → fix mistakes later

"... _brings_ hello world"   ❌
          ↓
"... _prints_ hello world"   ✅

Get handsfree.vc on Google Play

Categories: TeX

Updated: