11 Súbor 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,cstex,tex}/{csplain,plain,generic,}//
163  
164  % Polish
165  TEXINPUTS.platex  = .;$TEXMF/{tex}/{platex,latex,generic,}//
166  TEXINPUTS.pdfplatex = .;$TEXMF/{pdftex,tex}/{platex,latex,generic,}//
167  TEXINPUTS.pdfmex   = .;$TEXMF/{pdftex,tex}/{mex,plain,generic,}//
168  TEXINPUTS.mex   = .;$TEXMF/tex/{mex,plain,generic,}//
169  
170  % french
171  TEXINPUTS.frtex   = .;$TEXMF/{mltex,tex}/{french,plain,generic,}//
172  TEXINPUTS.frlatex = .;$TEXMF/{mltex,tex}/{french,latex,generic,}//
173  TEXINPUTS.frpdflatex = .;$TEXMF/{mltex,tex}/{french,latex,generic,}//
174  TEXINPUTS.frpdftex   = .;$TEXMF/{mltex,tex}/{french,plain,generic,}//
175  
176  % MLTeX
177  TEXINPUTS.mltex = .;$TEXMF/{mltex,tex}/{plain,generic,}//
178  TEXINPUTS.mllatex = .;$TEXMF/{mltex,tex}/{latex,generic,}//
179  
180  % odd formats  needing their own paths
181  TEXINPUTS.lollipop = .;$TEXMF/tex/{lollipop,generic,plain,}//
182  TEXINPUTS.lamstex  = .;$TEXMF/tex/{lamstex,generic,plain,}//
183  
184  % David Carlisle’s xmltex
185  TEXINPUTS.xmltex = .;$TEXMF/tex/{xmltex,latex,generic,}//
186  TEXINPUTS.pdfxmltex = .;$TEXMF/{pdftex,tex}/{xmltex,latex,generic,}//
187  
188  % Sebastian Rahtz’ jadetex for DSSSL
189  TEXINPUTS.pdfjadetex = .;$TEXMF/{pdftex,tex}/{jadetex,generic,plain,}//
190  TEXINPUTS.jadetex = .;$TEXMF/tex/{jadetex,generic,plain,}//
191  
192  % Earlier entries override later ones, so put this last.
193  TEXINPUTS = .;$TEXMF/tex/{generic,}//
194  
195  % Metafont, MetaPost inputs.
196  MFINPUTS = .;$TEXMF/metafont//;{$TEXMF/fonts,$VARTEXFONTS}/source//
197  MPINPUTS = .;$TEXMF/metapost//
198  
199  % mft
200  MFTINPUTS = .;$TEXMF/mft//
201  
202  % Dump files (fmt/base/mem) for vir{tex,mf,mp} to read (see web2c/INSTALL),
203  % and string pools (.pool) for ini{tex,mf,mp}.  It is silly that we have six
204  % paths and directories here (they all resolve to a single place by default),
205  % but historically ...
206  TEXFORMATS = .;$TEXMF/web2c
207  MFBASES    = $TEXFORMATS
208  MPMEMS     = $TEXFORMATS
209  TEXPOOL    = $TEXFORMATS
210  MFPOOL     = $TEXFORMATS
211  MPPOOL     = $TEXFORMATS
212  
213  % Device-independent font metric files.
214  VFFONTS = .;$TEXMF/fonts/vf//
215  TFMFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/tfm//
216  
217  % The $MAKETEX_MODE below means the drivers will not use a cx font when
218  % the mode is ricoh.  If no mode is explicitly specified, kpse_prog_init
219  % sets MAKETEX_MODE to /, so all subdirectories are searched.  See the manual.
220  % The modeless part guarantees that bitmaps for PostScript fonts are found.
221  PKFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/pk/{$MAKETEX_MODE,modeless}//
222  
223  % Similarly for the GF format, which only remains in existence because
224  % Metafont outputs it (and MF isn’t going to change).
225  GFFONTS = .;$TEXMF/fonts/gf/$MAKETEX_MODE//
226  
227  % A backup for PKFONTS and GFFONTS. Not used for anything.
228  GLYPHFONTS = .;$TEXMF/fonts
229  
230  % For texfonts.map and included map files used by mktexpk.
231  % See ftp://ftp.tug.org/tex/fontname.tar.gz.
232  TEXFONTMAPS = .;$TEXMF/fontname
233  
234  % BibTeX bibliographies and style files.
235  BIBINPUTS = .;$TEXMF/bibtex/{bib,}//
236  BSTINPUTS = .;$TEXMF/bibtex/{bst,}//
237  
238  % PostScript headers, prologues (.pro), encodings (.enc) and fonts;
239  % this is also where pdftex finds included figures files!
240  
241  TEXPSHEADERS.pdflatex   = .;$TEXMF/{tex,pdftex,dvips,fonts/{type1,pfb}}//
242  TEXPSHEADERS.pdfelatex  = .;$TEXMF/{tex,pdftex,dvips,fonts/{type1,pfb}}//
243  TEXPSHEADERS.pdftexinfo = .;$TEXMF/{tex,pdftex,dvips,fonts/{type1,pfb}}//
244  TEXPSHEADERS.pdfcslatex = .;$TEXMF/{tex,pdftex,dvips,fonts/{type1,pfb}}//
245  TEXPSHEADERS.pdfcsplain = .;$TEXMF/{tex,pdftex,dvips,fonts/{type1,pfb}}//
246  TEXPSHEADERS.pdfetex    = .;$TEXMF/{tex,pdftex,dvips,fonts/{type1,pfb}}//
247  TEXPSHEADERS.pdfjadetex = .;$TEXMF/{tex,pdftex,dvips,fonts/{type1,pfb}}//
248  TEXPSHEADERS.pdfplatex  = .;$TEXMF/{tex,pdftex,dvips,fonts/{type1,pfb}}//
249  TEXPSHEADERS.pdfxmltex  = .;$TEXMF/{tex,pdftex,dvips,fonts/{type1,pfb}}//
250  TEXPSHEADERS.pdfmex     = .;$TEXMF/{tex,pdftex,dvips,fonts/{type1,pfb}}//
251  TEXPSHEADERS.pdftex     = .;$TEXMF/{tex,pdftex,dvips,fonts/{type1,pfb}}//
252  TEXPSHEADERS.pdftexinfo = .;$TEXMF/{tex,pdftex,dvips,fonts/{type1,pfb}}//
253  TEXPSHEADERS.cont-de    = .;$TEXMF/{tex,pdftex,dvips,fonts/{type1,pfb}}//
254  TEXPSHEADERS.cont-en    = .;$TEXMF/{tex,pdftex,dvips,fonts/{type1,pfb}}//
255  TEXPSHEADERS.cont-nl    = .;$TEXMF/{tex,pdftex,dvips,fonts/{type1,pfb}}//
256  TEXPSHEADERS.context    = .;$TEXMF/{etex,tex,pdftex,dvips,fonts/{type1,pfb}}//
257  TEXPSHEADERS = .;$TEXMF/{dvips,fonts/{type1,pfb},pdftex}//
258  
259  % PostScript Type 1 outline fonts.
260  T1FONTS = .;$TEXMF/fonts/{type1,pfb}//;$TEXMF/fonts/misc/hbf//
261  
262  % PostScript AFM metric files.
263  AFMFONTS = .;$TEXMF/fonts/afm//
264  
265  % TrueType outline fonts.
266  TTFONTS = .;$TEXMF/fonts/{truetype,ttf}//
267  TTF2TFMINPUTS = .;$TEXMF/ttf2pk//
268  
269  % Type 42 outline fonts.
270  T42FONTS = .;$TEXMF/fonts/type42//
271  
272  % A place to puth everything that doesn’t fit the other font categories.
273  MISCFONTS = .;$TEXMF/fonts/misc//
274  
275  % Dvips’ config.* files (this name should not start with ‘TEX’!).
276  TEXCONFIG = .;$TEXMF/dvips//
277  
278  % Makeindex style (.ist) files.
279  INDEXSTYLE = .;$TEXMF/makeindex//;$TEXMF/tex//
280  
281  % Used by DMP (ditroff-to-mpx), called by makempx -troff.
282  TRFONTS = /usr/lib/font/devpost
283  MPSUPPORT = .;$TEXMF/metapost/support
284  
285  % For xdvi to find mime.types and .mailcap, if they do not exist in
286  % $HOME.  These are single directories, not paths.
287  % (But the default mime.types, at least, may well suffice.)
288  MIMELIBDIR = $SELFAUTOPARENT/etc
289  MAILCAPLIBDIR = $SELFAUTOPARENT/etc
290  
291  % TeX documentation and source files, for use with kpsewhich.
292  TEXDOCS = .;$TEXMF/doc//
293  TEXSOURCES = .;$TEXMF/source//
294  
295  % allo for compressed files, and various extenions
296  TEXDOCSSUFFIX = :.dvi:.ps:.html:.txt
297  TEXDOCSCOMPRESS = :.gz:.bz2:.zip:.Z
298  TEXDOCEXT = {$TEXDOCSSUFFIX}{$TEXDOCSCOMPRESS}
299  
300  % Omega-related fonts and other files.  The odd construction for OFMFONTS
301  % makes it behave in the face of a definition of TFMFONTS.  Unfortunately
302  % no default substitution would take place for TFMFONTS, so an explicit
303  % path is retained.
304  OFMFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/{ofm,tfm}//;$TFMFONTS
305  OPLFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/opl//
306  OVFFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/ovf//
307  OVPFONTS = .;{$TEXMF/fonts,$VARTEXFONTS}/ovp//
308  OTPINPUTS = .;$TEXMF/omega/otp//
309  OCPINPUTS = .;$TEXMF/omega/ocp//
310  
311  %dvipdfm
312  DVIPDFMINPUTS = .;$TEXMF/dvipdfm//
313  
314  %% t4ht utility, sharing files with TeX4ht
315  TEX4HTFONTSET=alias,iso8859
316  TEX4HTINPUTS = .;$TEXMF/tex4ht/base//;$TEXMF/tex4ht/ht-fonts/{$TEX4HTFONTSET}//
317  T4HTINPUTS= .;$TEXMF/tex4ht/base//
318  %% The mktex* scripts rely on KPSE_DOT. Do not set it in the environment.
319  
320  XDVIINPUTS=.;$TEXMF/{xdvi,dvips}//
321  KPSE_DOT = .
322  
323  % This definition isn’t used from this .cnf file itself (that would be
324  % paradoxical), but the compile-time default in paths.h is built from it.
325  % The SELFAUTO* variables are set automatically from the location of
326  % argv[0], in kpse_set_progname.
327  %
328  % About the /. construction:
329  % 1) if the variable is undefined, we’d otherwise have an empty path
330  %    element in the compile-time path.  This is not meaningful.
331  % 2) if we used /$VARIABLE, we’d end up with // if VARIABLE is defined,
332  %    which would search the entire world.
333  %
334  % The TETEXDIR stuff isn’t likely to be relevant unless you’re using teTeX,
335  % but it doesn’t hurt.
336  %
337  TEXMFCNF = .;$VARTEXMF/web2c;{$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}\
338  {,{/share,}/texmf{.local,}/web2c};c:/TeX/texmf/web2c
339  
340  
341  % Suggestions for editor settings under Windows. Uncomment your
342  % preferred option. The corresponding MFEDIT can also be set for use with
343  % Metafont.
344  %
345  % Winedt:
346  %  TEXEDIT=C:\WinEdt\WinEdt.exe "[Open(’%s’);SelLine(%d,7)]
347  % Textpad:
348  %  TEXEDIT = c:\Progra¯1\TextPad\System\Ddeopn32 TextPad %s(%d)
349  % UltraEdit (newer Win32 versions):
350  %  TEXEDIT = uedit32 %s/%d/1
351  % WinTeXShell32:
352  %  TEXEDIT = texshell.exe /l=%d %s
353  % vi, vim, gvim. here we show Windows gvim.exe:
354  %  TEXEDIT = gvim.exe %s +%d
355  % PFE:
356  %  TEXEDIT=pfe32/g%d  %s
357  % MED:
358  %  TEXEDIT=med.exe "%s" %d
359  % TSE:
360  %  TEXEDIT=e32.exe "%s" -n%d
361  % Epsilon (Lugaru)            http://www.lugaru.com/
362  %  TEXEDIT="c:\Program Files\eps90\bin\e32.exe" +%d %s
363  % WinShell
364  % TEXEDIT=C:\Progra¯1\WinShell\WinShell.exe -c %s -l %d
365  
366  % For unix
367  %
368  % vi, vim, NEdit, (X)Emacs, pico, jed
369  % TEXEDIT = vi     +%d %s
370  % TEXEDIT = vim    +%d %s
371  % TEXEDIT = nedit  +%d %s
372  % TEXEDIT = xemacs +%d %s
373  
374  %(x)fte:
375  % TEXEDIT = xfte   -l%d %s
376  
377  
378  %------------------------------------------------------------------------------
379  % Write .log/.dvi/etc. files here, if the current directory is unwritable.
380  % TEXMFOUTPUT = /tmp
381  
382  % If a dynamic file creation fails, log the command to this file, in
383  % either the current directory or TEXMFOUTPUT.  Set to the
384  % empty string or  0  to avoid logging.
385  MISSFONT_LOG = missfont.log
386  
387  % Set to a colon-separated list of words specifying warnings to suppress.
388  % To suppress everything, use TEX_HUSH = all; this is equivalent to
389  % TEX_HUSH = checksum:lostchar:readable:special
390  TEX_HUSH = none
391  
392  % Enable system commands via \write18{...}?
393  shell_escape = f
394  
395  % Allow TeX \openout/\openin on filenames starting with ‘.’ (e.g., .rhosts)?
396  % a (any)        : any file can be opened.
397  % r (restricted) : disallow opening "dotfiles".
398  % p (paranoid)   : as ’r’ and disallow going to parent directories, and
399  %                  restrict absolute paths to be under $TEXMFOUTPUT.
400  openout_any = p
401  openin_any = a
402  % Allow TeX, MF, and MP to parse the first line of an input file for
403  % the %&format construct.
404  parse_first_line = t
405  
406  % Allow TeX, eTeX, Omega to include ‘src:’ specials in the dvi file.
407  % These specials are used by viewers to jump from the viewer into
408  % the editor at the right page/lineno.
409  % Possible values : none auto cr display hbox math par parend vbox
410  src_specials = none
411  
412  % Disable search on multiple suffixes filenames. In many case, when ‘foo.bar’
413  % is looked for, you do not want to look for ‘foo.bar.tex’ before. This flag
414  % disables searching for standard suffixes if the file name has already an
415  % extension of 3 characters. Default value is true (old behaviour).
416  % allow_multiple_suffixes = f
417  
418  % Enable the mktex... scripts by default?  These must be set to 0 or 1.
419  % Particular programs can and do override these settings, for example
420  % dvips’s -M option.  Your first chance to specify whether the scripts
421  % are invoked by default is at configure time.
422  %
423  % These values are ignored if the script names are changed; e.g., if you
424  % set DVIPSMAKEPK to ‘foo’, what counts is the value of the environment
425  % variable/config value ‘FOO’, not the ‘MKTEXPK’ value.
426  %
427  % MKTEXTEX = 0
428  % MKTEXPK = 0
429  % MKTEXMF = 0
430  % MKTEXTFM = 0
431  % MKOCP = 0
432  % MKOFM = 0
433  
434  % What MetaPost runs to make MPX files.  This is passed an option -troff
435  % if MP is in troff mode.  Set to ‘0’ to disable this feature.
436  MPXCOMMAND = makempx
437  
438  
439  %  Part 3: Array and other sizes for TeX (and Metafont and MetaPost).
440  %
441  % If you want to change some of these sizes only for a certain TeX
442  % variant, the usual dot notation works, e.g.,
443  % main_memory.hugetex = 20000000
444  %
445  % If a change here appears to be ignored, try redumping the format file.
446  
447  % Memory. Must be less than 8,000,000 total.
448  %
449  % main_memory is relevant only to initex, extra_mem_* only to non-ini.
450  % Thus, have to redump the .fmt file after changing main_memory; to add
451  % to existing fmt files, increase extra_mem_*.  (To get an idea of how
452  % much, try \tracingstats=2 in your TeX source file;
453  % web2c/tests/memtest.tex might also be interesting.)
454  %
455  % To increase space for boxes (as might be needed by, e.g., PiCTeX),
456  % increase extra_mem_bot.
457  %
458  % For some xy-pic samples, you may need as much as 700000 words of memory.
459  % For the vast majority of documents, 60000 or less will do.
460  %
461  main_memory = 263000 % words of inimemory available; also applies to inimf&mp
462  extra_mem_top = 0    % extra high memory for chars, tokens, etc.
463  extra_mem_bot = 0    % extra low memory for boxes, glue, breakpoints, etc.
464  
465  % Words of font info for TeX (total size of all TFM files, approximately).
466  font_mem_size = 200000
467  
468  % Total number of fonts. Must be >= 50 and <= 2000 (without tex.ch changes).
469  font_max = 1000
470  
471  % Extra space for the hash table of control sequences (which allows 10K
472  % names as distributed).
473  hash_extra = 0
474  
475  % Max number of characters in all strings, including all error messages,
476  % help texts, font names, file names, control sequences.
477  % These values apply to TeX and MP.
478  pool_size = 125000
479  
480  % Minimum pool space after TeX/MP’s own strings; must be at least
481  % 25000 less than pool_size, but doesn’t need to be nearly that large.
482  string_vacancies = 25000
483  max_strings = 15000 % max number of strings
484  pool_free = 5000 % min pool space left after loading .fmt
485  
486  % Hyphenation trie. As distributed, the maximum is 65535; this should
487  % work unless ‘unsigned short’ is not supported or is smaller than 16
488  % bits.  This value should suffice for UK English, US English, French,
489  % and German (for example).  To increase, you must change
490  % ‘ssup_trie_opcode’ and ‘ssup_trie_size’ in tex.ch (and rebuild TeX);
491  % the trie will then consume four bytes per entry, instead of two.
492  %
493  % US English, German, and Portuguese: 30000.
494  % German: 14000.
495  % US English: 10000.
496  %
497  trie_size = 262000
498  
499  % Buffer size.  TeX uses the buffer to contain input lines, but macro
500  % expansion works by writing material into the buffer and reparsing the
501  % line.  As a consequence, certain constructs require the buffer to be
502  % very large.  As distributed, the size is 50000; most documents can be
503  % handled within a tenth of this size.
504  buf_size = 200000
505  
506  % Parameter specific to MetaPost.
507  % Maximum number of knots between breakpoints of a path.
508  % Set to 2000 by default.
509  % path_size.mpost = 10000
510  
511  % These are pdftex-specific.
512  obj_tab_size = 200000 % PDF objects
513  dest_names_size=300000 % destinations
514  
515  % These are Omega-specific.
516  ocp_buf_size = 500000 % character buffers for ocp filters.
517  ocp_stack_size = 10000 % stacks for ocp computations.
518  ocp_list_size = 1000 % control for multiple ocps.
519  
520  % These work best if they are the same as the I/O buffer size, but it
521  % doesn’t matter much.  Must be a multiple of 8.
522  dvi_buf_size = 16384    % TeX
523  gf_buf_size = 16384     % MF
524  
525  % It’s probably inadvisable to change these. At any rate, we must have:
526  % 45 < error_line      < 255;
527  % 30 < half_error_line < error_line - 15;
528  % 60 <= max_print_line;
529  % These apply to Metafont and MetaPost as well.
530  error_line = 79
531  half_error_line = 50
532  max_print_line = 79
533  stack_size = 300 % simultaneous input sources
534  save_size = 4000 % for saving values outside current group
535  param_size = 500 % simultaneous macro parameters
536  max_in_open = 15 % simultaneous input files and error insertions
537  hyph_size = 1000        % number of hyphenation exceptions, >610 and <32767
538  nest_size = 100 % simultaneous semantic levels (e.g., groups)
539  
540  % default is a huge tex
541  main_memory = 1500000
542  param_size= 1500
543  stack_size= 1500
544  hash_extra= 5000
545  string_vacancies= 4500
546  pool_free= 4750
547  nest_size= 500
548  save_size= 5000
549  pool_size= 5000
550  max_strings= 65000
551  
552  main_memory.mf           =  800000
553  main_memory.mpost = 1000000
554  pool_size.mpost = 500000
555  
556  buf_size.context         =  200000 % needed for omega bug
557  extra_mem_bot.context    = 4000000
558  extra_mem_top.context    = 2000000
559  font_mem_size.context    =  500000
560  hash_extra.context       =   50000
561  main_memory.context      = 1500000
562  max_strings.context      =  100000
563  nest_size.context        =     500
564  obj_tab_size.context     =  300000
565  param_size.context       =    5000
566  pool_free.context        =   47500
567  pool_size.context        = 1250000
568  save_size.context        =   50000
569  stack_size.context       =    5000
570  string_vacancies.context =   90000
571  
572  % Context’s metafun
573  main_memory.metafun      = 2500000
574  pool_size.metafun        = 1000000
575  
576  % redundant. all TeX is now huge
577  main_memory.hugetex = 1100000
578  param_size.hugetex = 1500
579  stack_size.hugetex = 1500
580  hash_extra.hugetex = 15000
581  string_vacancies.hugetex = 45000
582  pool_free.hugetex = 47500
583  nest_size.hugetex = 500
584  save_size.hugetex = 5000
585  pool_size.hugetex = 500000
586  max_strings.hugetex = 55000
587  
588  
589  main_memory.cslatex = 1100000
590  param_size.cslatex = 1500
591  stack_size.cslatex = 1500
592  hash_extra.cslatex = 15000
593  string_vacancies.cslatex = 45000
594  pool_free.cslatex = 47500
595  nest_size.cslatex = 500
596  save_size.cslatex = 5000
597  pool_size.cslatex = 500000
598  max_strings.cslatex = 55000
599  font_mem_size.cslatex= 400000
600  
601  main_memory.lambda = 1100000
602  
603  % redundant. all LaTeX should be huge
604  main_memory.hugelatex = 1100000
605  param_size.hugelatex = 1500
606  stack_size.hugelatex = 1500
607  hash_extra.hugelatex = 15000
608  string_vacancies.hugelatex = 45000
609  pool_free.hugelatex = 47500
610  nest_size.hugelatex = 500
611  save_size.hugelatex = 5000
612  pool_size.hugelatex = 500000
613  max_strings.hugelatex = 55000
614  font_mem_size.hugelatex= 400000
615  
616  % standard LaTeX is itself huge
617  
618  main_memory.latex = 11000000
619  param_size.latex = 15000
620  stack_size.latex = 15000
621  hash_extra.latex = 150000
622  string_vacancies.latex = 450000
623  pool_free.latex = 475000
624  nest_size.latex = 5000
625  save_size.latex = 50000
626  pool_size.latex = 5000000
627  max_strings.latex = 550000
628  font_mem_size.latex= 4000000
629  
630  main_memory.jadetex = 1100000
631  param_size.jadetex = 1500
632  stack_size.jadetex = 1500
633  hash_extra.jadetex = 15000
634  string_vacancies.jadetex = 45000
635  pool_free.jadetex = 47500
636  nest_size.jadetex = 500
637  save_size.jadetex = 5000
638  pool_size.jadetex = 500000
639  max_strings.jadetex = 55000
640  font_mem_size.jadetex= 400000
641  
642  
643  main_memory.pdfjadetex = 2500000
644  param_size.pdfjadetex = 1500
645  stack_size.pdfjadetex = 1500
646  hash_extra.pdfjadetex = 50000
647  string_vacancies.pdfjadetex = 55000
648  pool_free.pdfjadetex = 47500
649  nest_size.pdfjadetex = 500
650  save_size.pdfjadetex = 5000
651  pool_size.pdfjadetex = 500000
652  max_strings.pdfjadetex = 55000
653  
654  main_memory.xmltex = 1500000
655  param_size.xmltex = 1500
656  stack_size.xmltex = 1500
657  hash_extra.xmltex = 50000
658  string_vacancies.xmltex = 45000
659  pool_free.xmltex = 47500
660  nest_size.xmltex = 500
661  save_size.xmltex = 10000
662  pool_size.xmltex = 500000
663  max_strings.xmltex = 55000
664  
665  main_memory.pdfxmltex = 2500000
666  param_size.pdfxmltex = 1500
667  stack_size.pdfxmltex = 1500
668  hash_extra.pdfxmltex = 50000
669  string_vacancies.pdfxmltex = 45000
670  pool_free.pdfxmltex = 47500
671  nest_size.pdfxmltex = 500
672  save_size.pdfxmltex = 10000
673  pool_size.pdfxmltex = 500000
674  max_strings.pdfxmltex = 55000
675  
676  font_mem_size.pdflatex = 210000
677  main_memory.pdflatex = 1500000
678  param_size.pdflatex = 3000
679  stack_size.pdflatex = 3000
680  hash_extra.pdflatex = 15000
681  string_vacancies.pdflatex = 55000
682  pool_free.pdflatex = 47500
683  nest_size.pdflatex = 500
684  pool_size.pdflatex = 500000
685  save_size.pdflatex = 5000
686  max_strings.pdflatex = 55000
687  
688  main_memory.pdfelatex = 1500000
689  param_size.pdfelatex = 1500
690  stack_size.pdfelatex = 1500
691  hash_extra.pdfelatex = 15000
692  string_vacancies.pdfelatex = 45000
693  pool_free.pdfelatex = 47500
694  nest_size.pdfelatex = 500
695  pool_size.pdfelatex = 500000
696  save_size.pdfelatex = 5000
697  max_strings.pdfelatex = 55000
698  
699  main_memory.pdfetex      = 1500000 % 1000000 bot/top
700  hash_extra.pdfetex       =   50000
701  pool_size.pdfetex        = 1000000
702  string_vacancies.pdfetex =   90000
703  max_strings.pdfetex      =  100000
704  pool_free.pdfetex        =   47500
705  nest_size.pdfetex        =     500
706  param_size.pdfetex       =    5000
707  save_size.pdfetex        =   50000
708  stack_size.pdfetex       =    5000
709  obj_tab_size.pdfetex     =  256000
710