2012
08.16

… or more precisely on Debian. For security reasons, latex usually can not write files where ever it wants. However, I have some complicated macro packages (used for my book) that uses writing of files all over the place. To ovecome this, you need to change the texlive configuration in the user level, and let the system know about it. Fun fun fun.

  1. Create
    ~/.texmf-config/web2c/texmf.cnf

    (but, really, where else can it be?), and put in it:

    openout_any = a
    openin_any = a

  2. Let the system know where configuration file is. That is, when your .login/.cshrc/.whatever starts, you need to define:

    setenv TEXMFCNF $HOME/.texmf-config/web2c:

    The : in the end of the line is very important – it tell latex to reas the global configuration files.

And that is – you should be good to go till the next total configuration change in texlive.

Comments are closed.