10 Die Datei texmf.cnf


1  % TeX Live texmf.cnf
2  % What follows is a super-summary of what this .cnf file can
3  % contain. Please read the Kpathsea manual for more information.
4  %
5  % texmf.cnf is generated from texmf.in, by replacing @var@ with the
6  % value of the Make variable ‘var', via a sed file texmf.sed, generated
7  % (once) by kpathsea/Makefile (itself generated from kpathsea/Makefile.in
8  % by configure).
9  %
10  % Any identifier (sticking to A-Za-z_ for names is safest) can be assigned.
11  % The ‘=' (and surrounding spaces) is optional.
12  % No % or @ in texmf.in, for the sake of autogeneration.
13  % (However, %'s and @'s can be edited into texmf.cnf or put in envvar values.)
14  % $foo (or ${foo}) in a value expands to the envvar or cnf value of foo.
15  %
16  % Earlier entries (in the same or another file) override later ones, and
17  % an environment variable foo overrides any texmf.cnf definition of foo.
18  %
19  % All definitions are read before anything is expanded, so you can use
20  % variables before they are defined.
21  %
22  % If a variable assignment is qualified with ‘.PROGRAM', it is ignored
23  % unless the current executable (last filename component of argv[0]) is
24  % named PROGRAM.  This foo.PROGRAM construct is not recognized on the
25  % right-hand side. For environment variables, use FOO_PROGRAM.
26  %
27  % Which file formats use which paths for searches is described in the
28  % various programs' and the kpathsea documentation.
29  %
30  % // means to search subdirectories (recursively).
31  % A leading !! means to look only in the ls-R db, never on the disk.
32  % A leading/trailing/doubled ; in the paths will be expanded into the
33  %   compile-time default. Probably not what you want.
34  %
35  % You can use brace notation, for example: /usr/local/{mytex:othertex}
36  % expands to /usr/local/mytex:/usr/local/othertex.  Instead of the path
37  % separator you can use a comma: /usr/local/{mytex,othertex} also expands
38  % to /usr/local/mytex:/usr/local/othertex.  However, the use of the comma
39  % instead of the path separator is deprecated.
40  %
41  % The text above assumes thet path separator is a colon (:).  Non-UNIX
42  % systems use different path separators, like the semicolon (;).
43  
44  %  Part 1: Search paths and directories.
45  
46  % You can set an environment variable to override TEXMF if you're testing
47  % a new TeX tree, without changing anything else.
48  %
49  % You may wish to use one of the $SELFAUTO... variables here so TeX will
50  % find where to look dynamically.  See the manual and the definition
51  % below of TEXMFCNF.
52  
53  % The main tree, which must be mentioned in $TEXMF, below:
54  TEXMFMAIN = $SELFAUTOPARENT/texmf
55  % A place for local additions to a "standard" texmf tree.
56  TEXMFLOCAL = $SELFAUTOPARENT/texmf-local
57  
58  % User texmf trees can be catered for like this...
59  HOMETEXMF=$HOME/texmf
60  
61  % A place where texconfig stores modifications (instead of the TEXMFMAIN
62  % tree).  texconfig relies on the name, so don't change it.
63  VARTEXMF = $SELFAUTOPARENT/texmf-var
64  
65  % Now, list all the texmf trees. If you have multiple trees,
66  % use shell brace notation, like this:
67  %   TEXMF = {$HOMETEXMF,!!$VARTEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
68  % The braces are necessary.
69  %
70  % A place where to store other TeX support files. It can be a remote
71  % texmf tree, or a tree to store non-free stuff, or ...
72  %   TEXMFEXTRA=$SELFAUTOPARENT/texmf-extra
73  % If you set this, add $TEXMFEXTRA in the list below
74  %
75  TEXMF = {$HOMETEXMF,!!$VARTEXMF,$TEXMFLOCAL,!!$TEXMFMAIN}
76  
77  % The system trees.  These are the trees that are shared by all the users.
78  SYSTEXMF = $TEXMF
79  
80  % The temporary area
81  TEMP = /var/tmp
82  
83  % Where generated fonts may be written.  This tree is used when the sources
84  % were found in a system tree and either that tree wasn't writable, or the
85  % varfonts feature was enabled in MT_FEATURES in mktex.cnf.
86  VARTEXFONTS  = $VARTEXMF/fonts
87  
88  % Where to look for ls-R files.  There need not be an ls-R in the
89  % directories in this path, but if there is one, Kpathsea will use it.
90  TEXMFDBS = $TEXMF
91  
92  % It may be convenient to define TEXMF like this:
93  %   TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN,$HOME}
94  % which allows users to set up entire texmf trees, and tells TeX to
95  % look in places like ~/tex and ~/bibtex.  If you do this, define TEXMFDBS
96  % like this:
97  %   TEXMFDBS = $HOMETEXMF;$TEXMFLOCAL;$TEXMFMAIN;$VARTEXFONTS
98  % or mktexlsr will generate an ls-R file for $HOME when called, which is
99  % rarely desirable.  If you do this you'll want to define SYSTEXMF like
100  % this:
101  %   SYSTEXMF = $TEXMFLOCAL;$TEXMFMAIN
102  % so that fonts from a user's tree won't escape into the global trees.
103  %
104  % On some systems, there will be a system tree which contains all the font
105  % files that may be created as well as the formats.  For example
106  %   VARTEXMF = /var/lib/texmf
107  % is used on many Linux systems.  In this case, set VARTEXFONTS like this
108  %   VARTEXFONTS = $VARTEXMF/fonts
109  % and do not mention it in TEXMFDBS (but _do_ mention VARTEXMF).
110  
111  
112  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
113  % Usually you will not need to edit any of the other variables in part 1. %
114  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
115  
116  % WEB2C is for Web2C specific files.  The current directory may not be
117  % a good place to look for them.
118  WEB2C = $TEXMF/web2c
119  
120  % TEXINPUTS is for TeX input files -- i.e., anything to be found by \input
121  % or \openin, including .sty, .eps, etc.
122  
123  % LaTeX-specific macros are stored in latex.
124  TEXINPUTS.latex = .;$TEXMF/tex/{latex,generic,}//
125  TEXINPUTS.hugelatex = .;$TEXMF/tex/{latex,generic,}//
126  
127  % Fontinst needs to read afm files.
128  TEXINPUTS.fontinst = .;$TEXMF/{tex{/fontinst,},fonts/afm}//
129  
130  % Plain TeX.  Have the command tex check all directories as a last
131  % resort, we may have plain-compatible stuff anywhere.
132  TEXINPUTS.tex = .;$TEXMF/tex/{plain,generic,}//
133  % other plain-based formats
134  TEXINPUTS.amstex = .;$TEXMF/tex/{amstex,plain,generic,}//
135  TEXINPUTS.ftex = .;$TEXMF/tex/{formate,plain,generic,}//
136  TEXINPUTS.texinfo = .;$TEXMF/tex/{texinfo,plain,generic,}//
137  TEXINPUTS.eplain  = .;$TEXMF/tex/{eplain,plain,generic,}//
138  
139  % e-TeX.
140  TEXINPUTS.elatex   = .;$TEXMF/{etex,tex}/{latex,generic,}//
141  TEXINPUTS.etex     = .;$TEXMF/{etex,tex}/{plain,generic,}//
142  
143  % PDFTeX.  This form of the input paths is borrowed from teTeX.  A certain
144  % variant of TDS is assumed here, unaffected by the build variables.
145  TEXINPUTS.pdftexinfo = .;$TEXMF/{pdftex,tex}/{texinfo,plain,generic,}//
146  TEXINPUTS.pdflatex = .;$TEXMF/{pdftex,tex}/{latex,generic,}//
147  TEXINPUTS.pdftex   = .;$TEXMF/{pdftex,tex}/{plain,generic,}//
148  TEXINPUTS.pdfelatex = .;$TEXMF/{pdfetex,pdftex,etex,tex}/{latex,generic,}//
149  TEXINPUTS.pdfetex   = .;$TEXMF/{pdfetex,pdftex,etex,tex}/{plain,generic,}//
150  
151  % Omega.
152  TEXINPUTS.lambda = .;$TEXMF/{omega,tex}/{lambda,latex,generic,}//
153  TEXINPUTS.omega = .;$TEXMF/{omega,tex}/{plain,generic,}//
154  
155  % Context macros by Hans Hagen:
156  TEXINPUTS.context   = .;$TEXMF/{pdfetex,pdftex,etex,tex}/{context,plain,generic,}//
157  
158  % cstex, from Petr Olsak
159  TEXINPUTS.cslatex = .;$TEXMF/tex/{cslatex,csplain,latex,generic,}//
160  TEXINPUTS.csplain = .;$TEXMF/tex/{csplain,plain,generic,}//
161  TEXINPUTS.pdfcslatex = .;$TEXMF/{pdftex,tex}/{cslatex,csplain,latex,generic,}//
162  TEXINPUTS.pdfcsplain = .;$TEXMF/{pdftex,tex}/{csplain,plain,generic,}//
163  
164  % Polish
165  TEXINPUTS.platex  = .;$TEXMF/tex/{platex,latex,generic,}//
166  TEXINPUTS.pdfmex   = .;$TEXMF/{pdftex,tex}/{mex,plain,generic,}//
167  TEXINPUTS.mex   = .;$TEXMF/tex/{mex,plain,generic,}//
168  TEXINPUTS.pdfplatex = .;$TEXMF/{pdftex,tex}/{platex,latex,generic,}//
169  
170  % french
171  TEXINPUTS.frtex   = .;$TEXMF/{mltex,tex}/{plain,generic,}//
172  TEXINPUTS.frlatex = .;$TEXMF/{mltex,tex}/{frlatex,latex,generic,}//
173  
174  % MLTeX
175  TEXINPUTS.mltex = .;$TEXMF/{mltex,tex}/{plain,generic,}//
176  TEXINPUTS.mllatex = .;$TEXMF/{mltex,tex}/{latex,generic,}//
177  
178  % odd formats  needing their own paths
179  TEXINPUTS.lollipop = .;$TEXMF/tex/{lollipop,generic,plain,}//
180  TEXINPUTS.lamstex  = .;$TEXMF/tex/{lamstex,generic,plain,}//
181  
182  % David Carlisle's xmltex
183  TEXINPUTS.xmltex = .;$TEXMF/tex/{xmltex,latex,generic,}//
184  TEXINPUTS.pdfxmltex = .;$TEXMF/{pdftex,tex}/{xmltex,latex,generic,}//
185  
186  % Sebastian Rahtz' jadetex for DSSSL
187  TEXINPUTS.pdfjadetex = .;$TEXMF/{pdftex,tex}/{jadetex,generic,plain,}//
188  TEXINPUTS.jadetex = .;$TEXMF/tex/{jadetex,generic,plain,}//
189  
190  % Earlier entries override later ones, so put this last.
191  TEXINPUTS = .;$TEXMF/tex/{generic,}//
192  
193  % Metafont, MetaPost inputs.
194  MFINPUTS = .;$TEXMF/metafont//;{$TEXMF/fonts,$VARTEXFONTS}/source//
195  MPINPUTS = .;$TEXMF/metapost//
196  
197  % Dump files (fmt/base/mem) for vir{tex,mf,mp} to read (see web2c/INSTALL),
198  % and string pools (.pool) for ini{tex,mf,mp}.  It is silly that we have six
199  % paths and directories here (they all resolve to a single place by default),
200  % but historically ...
201  TEXFORMATS = .;$TEXMF/web2c
202  MFBASES = .;$TEXMF/web2c
203  MPMEMS = .;$TEXMF/web2c
204  TEXPOOL = .;$TEXMF/web2c
205  MFPOOL = .;$TEXMF/web2c
206  MPPOOL = .;$TEXMF/web2c
207  
208  % Device-independent font metric files.
209  VFFONTS = .;$TEXMF/fonts/vf//
210  TFMFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/tfm//
211  
212  % The $MAKETEX_MODE below means the drivers will not use a cx font when
213  % the mode is ricoh.  If no mode is explicitly specified, kpse_prog_init
214  % sets MAKETEX_MODE to /, so all subdirectories are searched.  See the manual.
215  % The modeless part guarantees that bitmaps for PostScript fonts are found.
216  PKFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/pk/{$MAKETEX_MODE,modeless}//
217  
218  % Similarly for the GF format, which only remains in existence because
219  % Metafont outputs it (and MF isn't going to change).
220  GFFONTS = .;$TEXMF/fonts/gf/$MAKETEX_MODE//
221  
222  % A backup for PKFONTS and GFFONTS. Not used for anything.
223  GLYPHFONTS = .;$TEXMF/fonts
224  
225  % For texfonts.map and included map files used by mktexpk.
226  % See ftp://ftp.tug.org/tex/fontname.tar.gz.
227  TEXFONTMAPS = .;$TEXMF/fontname
228  
229  % BibTeX bibliographies and style files.
230  BIBINPUTS = .;$TEXMF/bibtex/{bib,}//
231  BSTINPUTS = .;$TEXMF/bibtex/{bst,}//
232  
233  % PostScript headers, prologues (.pro), encodings (.enc) and fonts;
234  % this is also where pdftex finds included figures files!
235  
236  TEXPSHEADERS.pdflatex   = .;$TEXMF/{tex,pdftex,dvips,fonts/type1}//
237  TEXPSHEADERS.pdfelatex  = .;$TEXMF/{tex,pdftex,dvips,fonts/type1}//
238  TEXPSHEADERS.pdftexinfo = .;$TEXMF/{tex,pdftex,dvips,fonts/type1}//
239  TEXPSHEADERS.pdfcslatex = .;$TEXMF/{tex,pdftex,dvips,fonts/type1}//
240  TEXPSHEADERS.pdfcsplain = .;$TEXMF/{tex,pdftex,dvips,fonts/type1}//
241  TEXPSHEADERS.pdfetex    = .;$TEXMF/{tex,pdftex,dvips,fonts/type1}//
242  TEXPSHEADERS.pdfjadetex = .;$TEXMF/{tex,pdftex,dvips,fonts/type1}//
243  TEXPSHEADERS.pdfplatex  = .;$TEXMF/{tex,pdftex,dvips,fonts/type1}//
244  TEXPSHEADERS.pdfxmltex  = .;$TEXMF/{tex,pdftex,dvips,fonts/type1}//
245  TEXPSHEADERS.pdfmex     = .;$TEXMF/{tex,pdftex,dvips,fonts/type1}//
246  TEXPSHEADERS.pdftex     = .;$TEXMF/{tex,pdftex,dvips,fonts/type1}//
247  TEXPSHEADERS.pdftexinfo = .;$TEXMF/{tex,pdftex,dvips,fonts/type1}//
248  TEXPSHEADERS.cont-de    = .;$TEXMF/{tex,pdftex,dvips,fonts/type1}//
249  TEXPSHEADERS.cont-en    = .;$TEXMF/{tex,pdftex,dvips,fonts/type1}//
250  TEXPSHEADERS.cont-nl    = .;$TEXMF/{tex,pdftex,dvips,fonts/type1}//
251  TEXPSHEADERS.context    = .;$TEXMF/{etex,tex,pdftex,dvips,fonts/type1}//
252  TEXPSHEADERS = .;$TEXMF/{dvips,fonts/type1,pdftex}//
253  
254  % PostScript Type 1 outline fonts.
255  T1FONTS = .;$TEXMF/fonts/type1//;$TEXMF/fonts/misc/hbf//
256  
257  % PostScript AFM metric files.
258  AFMFONTS = .;$TEXMF/fonts/afm//
259  
260  % TrueType outline fonts.
261  TTFONTS = .;$TEXMF/fonts/truetype//
262  TTF2TFMINPUTS = .;$TEXMF/ttf2pk//
263  
264  % Type 42 outline fonts.
265  T42FONTS = .;$TEXMF/fonts/type42//
266  
267  % A place to puth everything that doesn't fit the other font categories.
268  MISCFONTS = .;$TEXMF/fonts/misc//
269  
270  % Dvips' config.* files (this name should not start with ‘TEX'!).
271  TEXCONFIG = .;$TEXMF/dvips//
272  
273  % Makeindex style (.ist) files.
274  INDEXSTYLE = .;$TEXMF/makeindex//
275  
276  % Used by DMP (ditroff-to-mpx), called by makempx -troff.
277  TRFONTS = /usr/lib/font/devpost
278  MPSUPPORT = .;$TEXMF/metapost/support
279  
280  % For xdvi to find mime.types and .mailcap, if they do not exist in
281  % $HOME.  These are single directories, not paths.
282  % (But the default mime.types, at least, may well suffice.)
283  MIMELIBDIR = $SELFAUTOPARENT/etc
284  MAILCAPLIBDIR = $SELFAUTOPARENT/etc
285  
286  % TeX documentation and source files, for use with kpsewhich.
287  TEXDOCS = .;$TEXMF/doc//
288  TEXSOURCES = .;$TEXMF/source//
289  
290  % allo for compressed files, and various extenions
291  TEXDOCSSUFFIX = :.dvi:.ps:.html:.txt
292  TEXDOCSCOMPRESS = :.gz:.bz2:.zip:.Z
293  TEXDOCEXT = {$TEXDOCSSUFFIX}{$TEXDOCSCOMPRESS}
294  
295  % Omega-related fonts and other files.  The odd construction for OFMFONTS
296  % makes it behave in the face of a definition of TFMFONTS.  Unfortunately
297  % no default substitution would take place for TFMFONTS, so an explicit
298  % path is retained.
299  OFMFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/{ofm,tfm}//;$TFMFONTS
300  OPLFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/opl//
301  OVFFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/ovf//
302  OVPFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/ovp//
303  OTPINPUTS = .;$TEXMF/omega/otp//
304  OCPINPUTS = .;$TEXMF/omega/ocp//
305  
306  %% t4ht utility, sharing files with TeX4ht
307  TEX4HTFONTSET=alias,iso8859
308  TEX4HTINPUTS = .;$TEXMF/tex4ht/base//;$TEXMF/tex4ht/ht-fonts/{$TEX4HTFONTSET}//
309  T4HTINPUTS= .;$TEXMF/tex4ht/base//
310  %% The mktex* scripts rely on KPSE_DOT. Do not set it in the environment.
311  KPSE_DOT = .
312  
313  % This definition isn't used from this .cnf file itself (that would be
314  % paradoxical), but the compile-time default in paths.h is built from it.
315  % The SELFAUTO* variables are set automatically from the location of
316  % argv[0], in kpse_set_progname.
317  %
318  % About the /. construction:
319  % 1) if the variable is undefined, we'd otherwise have an empty path
320  %    element in the compile-time path.  This is not meaningful.
321  % 2) if we used /$VARIABLE, we'd end up with // if VARIABLE is defined,
322  %    which would search the entire world.
323  %
324  % The TETEXDIR stuff isn't likely to be relevant unless you're using teTeX,
325  % but it doesn't hurt.
326  %
327  TEXMFCNF = .;{$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}\
328  {,{/share,}/texmf{.local,}/web2c};c:/TeX/texmf/web2c
329  
330  
331  % Suggestions for editor settings under Windows. Uncomment your
332  % preferred option. The corresponding MFEDIT can also be set for use with
333  % Metafont.
334  %
335  % Winedt:
336  %  TEXEDIT=C:\WinEdt\WinEdt.exe "[Open('%s');SelLine(%d,7)]
337  % Textpad:
338  %  TEXEDIT = c:\Progra~1\TextPad\System\Ddeopn32 TextPad %s(%d)
339  % UltraEdit (newer Win32 versions):
340  %  TEXEDIT = uedit32 %s/%d/1
341  % WinTeXShell32:
342  %  TEXEDIT = texshell.exe /l=%d %s
343  % vi, vim, gvim. here we show Windows gvim.exe:
344  %  TEXEDIT = gvim.exe %s +%d
345  % PFE:
346  %  TEXEDIT=pfe32/g%d  %s
347  % MED:
348  %  TEXEDIT=med.exe "%s" %d
349  % TSE:
350  %  TEXEDIT=e32.exe "%s" -n%d
351  % Epsilon (Lugaru)            http://www.lugaru.com/
352  %  TEXEDIT="c:\Program Files\eps90\bin\e32.exe" +%d %s
353  
354  % For unix
355  %
356  % vi, vim, NEdit, (X)Emacs, pico, jed
357  % TEXEDIT = vi     +%d %s
358  % TEXEDIT = vim    +%d %s
359  % TEXEDIT = nedit  +%d %s
360  % TEXEDIT = xemacs +%d %s
361  
362  %(x)fte:
363  % TEXEDIT = xfte   -l%d %s
364  
365  
366  %------------------------------------------------------------------------------
367  % Write .log/.dvi/etc. files here, if the current directory is unwritable.
368  % TEXMFOUTPUT = /tmp
369  
370  % If a dynamic file creation fails, log the command to this file, in
371  % either the current directory or TEXMFOUTPUT.  Set to the
372  % empty string or  0  to avoid logging.
373  MISSFONT_LOG = missfont.log
374  
375  % Set to a colon-separated list of words specifying warnings to suppress.
376  % To suppress everything, use TEX_HUSH = all; this is equivalent to
377  % TEX_HUSH = checksum:lostchar:readable:special
378  TEX_HUSH = none
379  
380  % Enable system commands via \write18{...}?
381  shell_escape = f
382  
383  % Allow TeX \openout/\openin on filenames starting with ‘.' (e.g., .rhosts)?
384  % a (any)        : any file can be opened.
385  % r (restricted) : disallow opening "dotfiles".
386  % p (paranoid)   : as 'r' and disallow going to parent directories, and
387  %                  restrict absolute paths to be under $TEXMFOUTPUT.
388  openout_any = p
389  openin_any = a
390  % Allow TeX, MF, and MP to parse the first line of an input file for
391  % the %&format construct.
392  parse_first_line = t
393  
394  % Allow TeX, eTeX, Omega to include ‘src:' specials in the dvi file.
395  % These specials are used by viewers to jump from the viewer into
396  % the editor at the right page/lineno.
397  % Possible values : none auto cr display hbox math par parend vbox
398  src_specials = none
399  
400  % Disable search on multiple suffixes filenames. In many case, when ‘foo.bar'
401  % is looked for, you do not want to look for ‘foo.bar.tex' before. This flag
402  % disables searching for standard suffixes if the file name has already an
403  % extension of 3 characters. Default value is true (old behaviour).
404  % allow_multiple_suffixes = f
405  
406  % Enable the mktex... scripts by default?  These must be set to 0 or 1.
407  % Particular programs can and do override these settings, for example
408  % dvips's -M option.  Your first chance to specify whether the scripts
409  % are invoked by default is at configure time.
410  %
411  % These values are ignored if the script names are changed; e.g., if you
412  % set DVIPSMAKEPK to ‘foo', what counts is the value of the environment
413  % variable/config value ‘FOO', not the ‘MKTEXPK' value.
414  %
415  % MKTEXTEX = 0
416  % MKTEXPK = 0
417  % MKTEXMF = 0
418  % MKTEXTFM = 0
419  % MKOCP = 0
420  % MKOFM = 0
421  
422  % What MetaPost runs to make MPX files.  This is passed an option -troff
423  % if MP is in troff mode.  Set to ‘0' to disable this feature.
424  MPXCOMMAND = makempx
425  
426  
427  %  Part 3: Array and other sizes for TeX (and Metafont and MetaPost).
428  %
429  % If you want to change some of these sizes only for a certain TeX
430  % variant, the usual dot notation works, e.g.,
431  % main_memory.hugetex = 20000000
432  %
433  % If a change here appears to be ignored, try redumping the format file.
434  
435  % Memory. Must be less than 8,000,000 total.
436  %
437  % main_memory is relevant only to initex, extra_mem_* only to non-ini.
438  % Thus, have to redump the .fmt file after changing main_memory; to add
439  % to existing fmt files, increase extra_mem_*.  (To get an idea of how
440  % much, try \tracingstats=2 in your TeX source file;
441  % web2c/tests/memtest.tex might also be interesting.)
442  %
443  % To increase space for boxes (as might be needed by, e.g., PiCTeX),
444  % increase extra_mem_bot.
445  %
446  % For some xy-pic samples, you may need as much as 700000 words of memory.
447  % For the vast majority of documents, 60000 or less will do.
448  %
449  main_memory = 263000 % words of inimemory available; also applies to inimf&mp
450  extra_mem_top = 0    % extra high memory for chars, tokens, etc.
451  extra_mem_bot = 0    % extra low memory for boxes, glue, breakpoints, etc.
452  
453  % Words of font info for TeX (total size of all TFM files, approximately).
454  font_mem_size = 200000
455  
456  % Total number of fonts. Must be >= 50 and <= 2000 (without tex.ch changes).
457  font_max = 1000
458  
459  % Extra space for the hash table of control sequences (which allows 10K
460  % names as distributed).
461  hash_extra = 0
462  
463  % Max number of characters in all strings, including all error messages,
464  % help texts, font names, file names, control sequences.
465  % These values apply to TeX and MP.
466  pool_size = 125000
467  
468  % Minimum pool space after TeX/MP's own strings; must be at least
469  % 25000 less than pool_size, but doesn't need to be nearly that large.
470  string_vacancies = 25000
471  max_strings = 15000 % max number of strings
472  pool_free = 5000 % min pool space left after loading .fmt
473  
474  % Hyphenation trie. As distributed, the maximum is 65535; this should
475  % work unless ‘unsigned short' is not supported or is smaller than 16
476  % bits.  This value should suffice for UK English, US English, French,
477  % and German (for example).  To increase, you must change
478  % ‘ssup_trie_opcode' and ‘ssup_trie_size' in tex.ch (and rebuild TeX);
479  % the trie will then consume four bytes per entry, instead of two.
480  %
481  % US English, German, and Portuguese: 30000.
482  % German: 14000.
483  % US English: 10000.
484  %
485  trie_size = 64000
486  
487  % Buffer size.  TeX uses the buffer to contain input lines, but macro
488  % expansion works by writing material into the buffer and reparsing the
489  % line.  As a consequence, certain constructs require the buffer to be
490  % very large.  As distributed, the size is 50000; most documents can be
491  % handled within a tenth of this size.
492  buf_size = 200000
493  
494  % These are Omega-specific.
495  ocp_buf_size = 20000 % character buffers for ocp filters.
496  ocp_stack_size = 10000 % stacks for ocp computations.
497  ocp_list_size = 1000 % control for multiple ocps.
498  
499  % These work best if they are the same as the I/O buffer size, but it
500  % doesn't matter much.  Must be a multiple of 8.
501  dvi_buf_size = 16384    % TeX
502  gf_buf_size = 16384     % MF
503  
504  % It's probably inadvisable to change these. At any rate, we must have:
505  % 45 < error_line      < 255;
506  % 30 < half_error_line < error_line - 15;
507  % 60 <= max_print_line;
508  % These apply to Metafont and MetaPost as well.
509  error_line = 79
510  half_error_line = 50
511  max_print_line = 79
512  stack_size = 300 % simultaneous input sources
513  save_size = 4000 % for saving values outside current group
514  param_size = 500 % simultaneous macro parameters
515  max_in_open = 15 % simultaneous input files and error insertions
516  hyph_size = 1000        % number of hyphenation exceptions, >610 and <32767
517  nest_size = 100 % simultaneous semantic levels (e.g., groups)
518  obj_tab_size = 200000 % PDF objects
519  
520  
521  main_memory.mpost = 1000000
522  
523  main_memory.context = 1500000
524  hash_extra.context = 25000
525  pool_size.context = 750000
526  string_vacancies.context = 45000
527  max_strings.context = 55000
528  pool_free.context = 47500
529  nest_size.context = 500
530  param_size.context = 1500
531  save_size.context = 5000
532  stack_size.context = 1500
533  obj_tab_size.context = 256000
534  
535  main_memory.hugetex = 1100000
536  param_size.hugetex = 1500
537  stack_size.hugetex = 1500
538  hash_extra.hugetex = 15000
539  string_vacancies.hugetex = 45000
540  pool_free.hugetex = 47500
541  nest_size.hugetex = 500
542  save_size.hugetex = 5000
543  pool_size.hugetex = 500000
544  max_strings.hugetex = 55000
545  
546  main_memory.cslatex = 1100000
547  param_size.cslatex = 1500
548  stack_size.cslatex = 1500
549  hash_extra.cslatex = 15000
550  string_vacancies.cslatex = 45000
551  pool_free.cslatex = 47500
552  nest_size.cslatex = 500
553  save_size.cslatex = 5000
554  pool_size.cslatex = 500000
555  max_strings.cslatex = 55000
556  font_mem_size.cslatex= 400000
557  
558  main_memory.hugelatex = 1100000
559  param_size.hugelatex = 1500
560  stack_size.hugelatex = 1500
561  hash_extra.hugelatex = 15000
562  string_vacancies.hugelatex = 45000
563  pool_free.hugelatex = 47500
564  nest_size.hugelatex = 500
565  save_size.hugelatex = 5000
566  pool_size.hugelatex = 500000
567  max_strings.hugelatex = 55000
568  font_mem_size.hugelatex= 400000
569  
570  main_memory.jadetex = 1500000
571  param_size.jadetex = 1500
572  stack_size.jadetex = 1500
573  hash_extra.jadetex = 50000
574  string_vacancies.jadetex = 45000
575  pool_free.jadetex = 47500
576  nest_size.jadetex = 500
577  save_size.jadetex = 5000
578  pool_size.jadetex = 500000
579  max_strings.jadetex = 55000
580  
581  main_memory.pdfjadetex = 2500000
582  param_size.pdfjadetex = 1500
583  stack_size.pdfjadetex = 1500
584  hash_extra.pdfjadetex = 50000
585  string_vacancies.pdfjadetex = 55000
586  pool_free.pdfjadetex = 47500
587  nest_size.pdfjadetex = 500
588  save_size.pdfjadetex = 5000
589  pool_size.pdfjadetex = 500000
590  max_strings.pdfjadetex = 55000
591  
592  main_memory.xmltex = 1500000
593  param_size.xmltex = 1500
594  stack_size.xmltex = 1500
595  hash_extra.xmltex = 50000
596  string_vacancies.xmltex = 45000
597  pool_free.xmltex = 47500
598  nest_size.xmltex = 500
599  save_size.xmltex = 10000
600  pool_size.xmltex = 500000
601  max_strings.xmltex = 55000
602  
603  main_memory.pdfxmltex = 2500000
604  param_size.pdfxmltex = 1500
605  stack_size.pdfxmltex = 1500
606  hash_extra.pdfxmltex = 50000
607  string_vacancies.pdfxmltex = 45000
608  pool_free.pdfxmltex = 47500
609  nest_size.pdfxmltex = 500
610  save_size.pdfxmltex = 10000
611  pool_size.pdfxmltex = 500000
612  max_strings.pdfxmltex = 55000
613  
614  font_mem_size.pdflatex = 210000
615  main_memory.pdflatex = 1500000
616  param_size.pdflatex = 3000
617  stack_size.pdflatex = 3000
618  hash_extra.pdflatex = 15000
619  string_vacancies.pdflatex = 55000
620  pool_free.pdflatex = 47500
621  nest_size.pdflatex = 500
622  pool_size.pdflatex = 500000
623  save_size.pdflatex = 5000
624  max_strings.pdflatex = 55000
625  
626  main_memory.pdfelatex = 1500000
627  param_size.pdfelatex = 1500
628  stack_size.pdfelatex = 1500
629  hash_extra.pdfelatex = 15000
630  string_vacancies.pdfelatex = 45000
631  pool_free.pdfelatex = 47500
632  nest_size.pdfelatex = 500
633  pool_size.pdfelatex = 500000
634  save_size.pdfelatex = 5000
635  max_strings.pdfelatex = 55000
636