I have texlive installed on a debian-like host (linux mint) via apt. Now I would like to add a new texmf tree. What is the correct or recommended way to do it? I would like to keep this new texmf tree separate from existing texmf trees on the system. I did some searching on the topic, and the closest answer to my question is to run this command:
$ tlmgr conf texmf TEXMFHOME "~/texmf:~/another-texmf" Indeed this works fine on macOS, however on Linux Mint 19.2 it doesn't. After running the command, the new value of TEXMFHOME is set in /usr/share/texlive/texmf.cnf:
$ tlmgr conf texmf TEXMFHOME "~/texmf:~/another-texmf" (running on Debian, switching to user mode!) setting texmf TEXMFHOME to ~/texmf:~/another-texmf (in /usr/share/texlive/texmf.cnf) but that file seems not being used:
$ kpsewhich -var-value TEXMFHOME /home/tony/texmf $ kpsewhich -var-value TEXMFCNF /etc/texmf/web2c:/usr/local/share/texmf/web2c:/usr/share/texlive/texmf-dist/web2c There are several texmf.cnf files on my system:
/etc/texmf/web2c/texmf.cnf /usr/share/texmf/web2c/texmf.cnf /usr/share/texlive/texmf-dist/web2c/texmf.cnf /usr/share/texlive/texmf.cnf So it seems that /usr/share/texlive/texmf.cnf is not read, although it was created by tlmgr conf texmf
What am I missing here? Thanks in advance for any hint.
2017.20180305-1