% texmf.cnf % ========= % This file was adapted from kpathsea for use with Gerolf Markup Shredder. % ============================================================================= % Non-path options: % If a dynamic file creation fails, log the command to this file, in % either the current directory or TEXMFOUTPUT. Set to the % empty string or 0 to avoid logging. MISSFONT_LOG = missfont.log % Set to a colon-separated list of words specifying warnings to suppress. % To suppress everything, use TEX_HUSH = all; this is equivalent to % TEX_HUSH = checksum:lostchar:readable:special TEX_HUSH = none % Enable system commands via \write18{...}? shell_escape = t % Allow TeX \openin, \openout, or \input on filenames starting with `.' % (e.g., .rhosts) or outside the current tree (e.g., /etc/passwd)? % a (any) : any file can be opened. % r (restricted) : disallow opening "dotfiles". % p (paranoid) : as 'r' and disallow going to parent directories, and % restrict absolute paths to be under $TEXMFOUTPUT. openout_any = a openin_any = a % Allow TeX, MF, and MP to parse the first line of an input file for % the %&format construct. parse_first_line = f % Enable the mktex... scripts by default? These must be set to 0 or 1. MKTEXTEX = 0 MKTEXPK = 0 MKTEXMF = 0 MKTEXTFM = 0 MKOCP = 0 MKOFM = 0 % What MetaPost runs to make MPX files: MPXCOMMAND = 0 % Array and other sizes for TeX: ---------------------------------------------- % If you want to change some of these sizes only for a certain TeX % variant, the usual dot notation works, e.g., % main_memory.hugetex = 20000000 % % If a change here appears to be ignored, try redumping the format file. % Memory. Must be less than 8,000,000 total. % % main_memory is relevant only to initex, extra_mem_* only to non-ini. % Thus, have to redump the .fmt file after changing main_memory; to add % to existing fmt files, increase extra_mem_*. (To get an idea of how % much, try \tracingstats=2 in your TeX source file; % web2c/tests/memtest.tex might also be interesting.) % % To increase space for boxes (as might be needed by, e.g., PiCTeX), % increase extra_mem_bot. % % For some xy-pic samples, you may need as much as 700000 words of memory. % For the vast majority of documents, 60000 or less will do. % %%%%%%main_memory = 1000000 % words of inimemory available; also applies to inimf&mp main_memory = 700000 extra_mem_top = 1000 % extra high memory for chars, tokens, etc. extra_mem_bot = 1000 % extra low memory for boxes, glue, breakpoints, etc. % Words of font info for TeX (total size of all TFM files, approximately). font_mem_size = 400000 % Total number of fonts. Must be >= 50 and <= 2000 (without tex.ch changes). font_max = 1000 % Extra space for the hash table of control sequences: %hash_extra = 15000 hash_extra = 65535 % Max number of characters in all strings, including all error messages, % help texts, font names, control sequences. % pool_size = 250000 pool_size = 500000 % Minimum pool space after TeX's own strings; must be at least % 25000 less than pool_size, but doesn't need to be nearly that large. string_vacancies = 25000 % Maximum number of strings. max_strings = 30000 % min pool space left after loading .fmt pool_free = 5000 % Hyphenation trie. As distributed, the maximum is 65535; this should % work unless `unsigned short' is not supported or is smaller than 16 % bits. This value should suffice for UK English, US English, French, % and German (for example). To increase, you must change % `ssup_trie_opcode' and `ssup_trie_size' in tex.ch (and rebuild TeX); % the trie will then consume four bytes per entry, instead of two. % US English: 10000. % trie_size = 196000 % Buffer size. TeX uses the buffer to contain input lines, but macro % expansion works by writing material into the buffer and reparsing the % line. As a consequence, certain constructs require the buffer to be % very large. As distributed, the size is 50000; most documents can be % handled within a tenth of this size. buf_size = 50000 hyph_size = 1000 % number of hyphenation exceptions, >610 and <32767. %nest_size = 100 % simultaneous semantic levels (e.g., groups) nest_size = 255 % simultaneous semantic levels (e.g., groups) % max_in_open = 15 % simultaneous input files and error insertions max_in_open = 100 param_size = 4000 % simultaneous macro parameters %save_size = 4000 % for saving values outside current group save_size = 20000 % for saving values outside current group stack_size = 4000 % simultaneous input sources % These work best if they are the same as the I/O buffer size, but it % doesn't matter much. Must be a multiple of 8. dvi_buf_size = 16384 % TeX % It's probably inadvisable to change these. At any rate, we must have: % 45 < error_line < 255; % 30 < half_error_line < error_line - 15; % 60 <= max_print_line; % error_line = 79 error_line = 128 %half_error_line = 50 half_error_line = 40 % max_print_line = 79 %max_print_line = 128 max_print_line = 79