GeneralWhere to place config file

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
theo moore
Posts: 72
Joined: Thu Jan 15, 2009 3:16 pm

Where to place config file

Post by theo moore »

I need to adjust the save_size variable for the ability to read in larger input files (using a program like pgfplots to read in large tables gives me a save_size error otherwise). I've tried creating a file called .texmf-config and placing it in my home directory (I do not have root access) with

Code: Select all

main_memory = 230000000 % words of inimemory available; also applies to inimf&mp
extra_mem_top = 10000000 % extra high memory for chars, tokens, etc.
extra_mem_bot = 10000000 % extra low memory for boxes, glue, breakpoints, etc.
save_size = 150000 % for saving values outside current group
stack_size = 150000 % simultaneous input sources
But this does not seem to work. What should the correct config file be called and where should it be placed?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

theo moore
Posts: 72
Joined: Thu Jan 15, 2009 3:16 pm

Re: Where to place config file

Post by theo moore »

Anybody?
User avatar
T3.
Posts: 208
Joined: Fri Mar 14, 2008 12:58 pm

Where to place config file

Post by T3. »

You don't say which TeX distribution you use. I don't know about MiKTeX, but for TeX Live, these definitions should go into you personal texmf.cnf config file. Consult the documentation on where to find/place this file. For a list of cnf files currently in use (the default one is well documented):

Code: Select all

kpsewhich --all texmf.cnf
Locations searched for cnf files are given by TEXMFCNF variable. You can get the effective cnf search path from:

Code: Select all

kpsewhich --expand-path $TEXMFCNF
In case of further troubles write to TeX Live mailing list, where you will get more help.

BTW, changing main_memory requires redumping the format file and is anyway limited to 8000000. I'm not sure what are the limits on the other parameters.

Cheers,

Tomek
Post Reply