[tex-live] Per user texmf.cnf

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Sep 2 16:23:44 CEST 2012


On 02/09/2012 14:58, Norbert Preining wrote:
> On Sun, 02 Sep 2012, Joseph Wright wrote:
>>   /Users/joseph/Library/texlive/2012/texmf-config
>>
>> so tried creating a texmf.cnf file there containing a line to move
>> TEXMFHOME.
>>
>>  TEXMFHOME = ~/texmf
> 
> 1. why, it is already ~/texmf ???

I'm just testing, so the location is unimportant provided it's different
from the default. As I'm testing on my Mac, the default is
~/Library/texmf. Perhaps better if I'd said

  TEXMFHOME = /some/deliberately/changed/place

(This does not need to 'work' beyond giving the expected output from
"kpsewhich --var-value TEXMFHOME".)

> 2. you need to put it into texmf-config/web2c/texmf.cnf ...as you might
> have guessed from the location of the other texmf.cnf files.
> 
>> http://people.debian.org/~preining/TeX/TeX-on-Debian/ch2.html#s-sec-user-config-files,
> 
> And what is written there ... please *read* it, too!
> 	..they can put it into TEXMFCONFIG/web2c..
I did read this, and I tried it too. However, neither

  ~/Library/texlive/2012/texmf-config/texmf.cnf

nor

  ~/Library/texlive/2012/texmf-config/web2c/texmf.cnf

seemed to work (I also tried ~/texmf.cnf and ./texmf.cnf, just in case).
Moreover, the 'master' texmf.cnf is in
/usr/local/texlive/2012/texmf.cnf, with no 'web2c' part to the directory
structure.

The part of the linked instructions I find odd is that is says you need to

     export TEXMFCNF=$HOME/.texmf-config/web2c:

but

  kpsewhich --var-value TEXMFCONFIG

already has a location.
--
Joseph Wright


More information about the tex-live mailing list