how to preserve local modifications to /usr/local/share/texmf/web2c/texmf.cnf

Anton Shterenlikht mexas at bristol.ac.uk
Mon Jul 16 18:59:51 UTC 2012


I was getting

 Tex capacity exceeded, sorry [main memory size 1000000]

error, so had to increase main_memory in
/usr/local/share/texmf/web2c/texmf.cnf

main_memory = 7000000 % words of inimemory available; also applies to inimf&mp

This works fine, but this file
will be overwritten if I update/reinstall
print/teTeX-base.

I was trying to make a local copy instead:

TZAV> cat $HOME/.texmf-var/web2c/texmf.cnf 
% refer to /usr/local/share/texmf/web2c/texmf.cnf,
% installed by teTeX-base-3.0_23: print/teTeX-base
% for details
main_memory = 7000000 % words of inimemory available; also applies to inimf&mp
TZAV>

but this doesn't help.

Please advise

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423


More information about the freebsd-questions mailing list