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:

export TEXMF
Categories: TeX