--- texk/kpathsea/texmf.in.orig Tue May 2 17:32:40 2000 +++ texk/kpathsea/texmf.in Sun Feb 6 07:03:19 2005 @@ -54,30 +54,57 @@ % find where to look dynamically. See the manual and the definition % below of TEXMFCNF. -% The main tree, which must be mentioned in $TEXMF, below: +% The tree containing the runtime files closely related to the specific +% program version used: TEXMFMAIN = @texmf@ -% A place for local additions to a "standard" texmf tree. For example: -TEXMFLOCAL = @texmflocal@ +% The main distribution tree: +TEXMFDIST = @texmf@-dist -% If defined, teTeX's texconfig stores modifications here (instead of the -% TEXMFMAIN tree). -% VARTEXMF = @texmf@-var +% A place for local additions to a "standard" texmf tree. +% This tree is not used for local configuration maintained by +% texconfig, it uses TEXMFCONFIG below. +TEXMFLOCAL = @texmf@-local + +% TEXMFSYSVAR, where texconfig-sys stores variable runtime data. +% With teTeX-3.0 or later, this must be set. +% For sharing this tree with $TEXMFMAIN: +% TEXMFSYSVAR = $TEXMFMAIN +% For using a separate tree: +TEXMFSYSVAR = @texmf@-var + +% TEXMFSYSCONFIG, where texconfig-sys stores configuration data. +% With teTeX-3.0 or later, this must be set. +% For sharing this tree with $TEXMFMAIN: +% TEXMFSYSCONFIG = $TEXMFMAIN +% For using a separate tree: +TEXMFSYSCONFIG = @texmf@-config % User texmf trees can be catered for like this... -% HOMETEXMF = $HOME/texmf +% This used to be HOMETEXMF. +TEXMFHOME = $HOME/texmf -% Now, list all the texmf trees. If you have multiple trees you can -% use shell brace notation, like this: -% TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN} -% The braces are necessary. If you set VARTEXMF, you also have to -% - list $VARTEXMF in the TEXMF definition; -% - make sure that $VARTEXMF precedes $TEXMFMAIN in the TEXMF definition. -%TEXMF = !!$TEXMFMAIN -TEXMF = {!!$TEXMFLOCAL,!!$TEXMFMAIN} +% TEXMFVAR, where texconfig stores variable runtime data. +% With teTeX-3.0 or later, this must be set. +% For sharing this tree with $TEXMFMAIN: +% TEXMFVAR = $TEXMFMAIN +% For using a separate tree: +TEXMFVAR = $HOME/.texmf-var + +% TEXMFCONFIG, where texconfig stores configuration data. +% With teTeX-3.0 or later, this must be set. +% For sharing this tree with $TEXMFMAIN: +% TEXMFCONFIG = $TEXMFMAIN +% For using a separate tree: +TEXMFCONFIG = $HOME/.texmf-config + +% Now, list all the texmf trees. +% The braces are necessary. For texconfig to work properly, TEXMFCONFIG +% and TEXMFVAR should be named explicitly and before all other trees. +TEXMF = {!!$TEXMFCONFIG,!!$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST} % The system trees. These are the trees that are shared by all the users. -SYSTEXMF = $TEXMF +SYSTEXMF = $TEXMFLOCAL;$TEXMFMAIN;$TEXMFDIST % Where generated fonts may be written. This tree is used when the sources % were found in a system tree and either that tree wasn't writable, or the @@ -92,23 +119,23 @@ TEXMFDBS = $TEXMF;$VARTEXFONTS % It may be convenient to define TEXMF like this: -% TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN,$HOME} +% TEXMF = {$TEXMFHOME,!!$TEXMFLOCAL,!!$TEXMFMAIN,$HOME} % which allows users to set up entire texmf trees, and tells TeX to % look in places like ~/tex and ~/bibtex. If you do this, define TEXMFDBS % like this: -% TEXMFDBS = $HOMETEXMF;$TEXMFLOCAL;$TEXMFMAIN;$VARTEXFONTS +% TEXMFDBS = $TEXMFHOME;$TEXMFLOCAL;$TEXMFMAIN;$VARTEXFONTS % or mktexlsr will generate an ls-R file for $HOME when called, which is % rarely desirable. If you do this you'll want to define SYSTEXMF like % this: -% SYSTEXMF = $TEXMFLOCAL;$TEXMFMAIN +% SYSTEXMF = $TEXMFLOCAL;$TEXMFMAIN;$TEXMFDIST % so that fonts from a user's tree won't escape into the global trees. % % On some systems, there will be a system tree which contains all the font % files that may be created as well as the formats. For example -% VARTEXMF = /var/lib/texmf +% TEXMFVAR = /var/lib/texmf % is used on many Linux systems. In this case, set VARTEXFONTS like this -% VARTEXFONTS = $VARTEXMF/fonts -% and do not mention it in TEXMFDBS (but _do_ mention VARTEXMF). +% VARTEXFONTS = $TEXMFVAR/fonts +% and do not mention it in TEXMFDBS (but _do_ mention TEXMFVAR). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -142,6 +169,7 @@ TEXINPUTS.cslatex = .;$TEXMF/tex/{cslatex,csplain,latex,generic,}// %TEXINPUTS.platex = .;$TEXMF/tex/{platex,latex,generic,}// TEXINPUTS.latex = .;$TEXMF/tex/{latex,generic,}// +TEXINPUTS.olatex = .;$TEXMF/tex/{latex,generic,}// TEXINPUTS.latex209 = .;$TEXMF/tex/{latex209,generic,latex,}// % TeXfamily @@ -150,51 +178,58 @@ TEXINPUTS.jlatex209 = .:$TEXMF/{jtex,tex}/{latex209,generic,latex,}// TEXINPUTS.multex = .:$TEXMF/{multex,jtex,tex}/{plain,generic,}// TEXINPUTS.mullatex = .:$TEXMF/{multex,jtex,tex}/{latex,generic,}// -TEXINPUTS.ptex = .:$TEXMF/{ptex,tex}/{plain,generic,}// -TEXINPUTS.platex = .:$TEXMF/{ptex,tex}/{latex,generic,}// -TEXINPUTS.platex209 = .:$TEXMF/{ptex,tex}/{latex209,generic,latex,}// % Fontinst needs to read afm files. -TEXINPUTS.fontinst = .;$TEXMF/tex//;$TEXMF/fonts/afm// +TEXINPUTS.fontinst = .;$TEXMF/{tex,fonts/afm}// % MLTeX. -TEXINPUTS.frlatex = .;$TEXMF/{mltex,tex}/{french,latex,generic,}// -TEXINPUTS.frtex = .;$TEXMF/{mltex,tex}/{french,plain,generic,}// -TEXINPUTS.mllatex = .;$TEXMF/{mltex,tex}/{latex,generic,}// -TEXINPUTS.mltex = .;$TEXMF/{mltex,tex}/{plain,generic,}// +TEXINPUTS.frlatex = .;$TEXMF/tex/{french,latex,generic,}// +TEXINPUTS.frtex = .;$TEXMF/tex/{french,plain,generic,}// +TEXINPUTS.mllatex = .;$TEXMF/tex/{latex,generic,}// +TEXINPUTS.mltex = .;$TEXMF/tex/{plain,generic,}// % e-TeX. This form of the input paths is borrowed from teTeX. A certain % variant of TDS is assumed here, unaffected by the build variables. -TEXINPUTS.elatex = .;$TEXMF/{etex,tex}/{latex,generic,}// -TEXINPUTS.etex = .;$TEXMF/{etex,tex}/{plain,generic,}// +TEXINPUTS.elatex = .;$TEXMF/tex/{latex,generic,}// +TEXINPUTS.etex = .;$TEXMF/tex/{plain,generic,}// % pdfTeX. This form of the input paths is borrowed from teTeX. A certain % variant of TDS is assumed here, unaffected by the build variables. -TEXINPUTS.pdfcslatex = .;$TEXMF/{pdftex,tex}/{cslatex,csplain,latex,generic,}// -TEXINPUTS.pdfcsplain = .;$TEXMF/{pdftex,tex}/{csplain,plain,generic,}// -TEXINPUTS.pdfjadetex = .;$TEXMF/{pdftex,tex}/{jadetex,plain,generic,}// -TEXINPUTS.pdflatex = .;$TEXMF/{pdftex,tex}/{latex,generic,}// -TEXINPUTS.pdfmex = .;$TEXMF/{pdftex,tex}/{mex,plain,generic,}// -TEXINPUTS.pdftex = .;$TEXMF/{pdftex,tex}/{plain,generic,}// -TEXINPUTS.pdftexinfo = .;$TEXMF/{pdftex,tex}/{texinfo,plain,generic,}// +TEXINPUTS.pdfcslatex = .;$TEXMF/tex/{cslatex,csplain,latex,generic,}// +TEXINPUTS.pdfcsplain = .;$TEXMF/tex/{csplain,plain,generic,}// +TEXINPUTS.pdfjadetex = .;$TEXMF/tex/{jadetex,plain,generic,}// +TEXINPUTS.pdflatex = .;$TEXMF/tex/{latex,generic,}// +TEXINPUTS.pdfmex = .;$TEXMF/tex/{mex,plain,generic,}// +TEXINPUTS.utf8mex = .;$TEXMF/tex/{mex,plain,generic,}// +TEXINPUTS.pdftex = .;$TEXMF/tex/{plain,generic,}// +TEXINPUTS.pdftexinfo = .;$TEXMF/tex/{texinfo,plain,generic,}// +TEXINPUTS.pdfamstex = .;$TEXMF/tex/{amstex,plain,generic,}// % pdfeTeX. -TEXINPUTS.pdfelatex = .;$TEXMF/{pdfetex,pdftex,etex,tex}/{latex,generic,}// -TEXINPUTS.pdfetex = .;$TEXMF/{pdfetex,pdftex,etex,tex}/{plain,generic,}// +TEXINPUTS.pdfelatex = .;$TEXMF/tex/{latex,generic,}// +TEXINPUTS.pdfetex = .;$TEXMF/tex/{plain,generic,}// -% Omega. -TEXINPUTS.lambda = .;$TEXMF/{omega,tex}/{lambda,latex,generic,}// -TEXINPUTS.omega = .;$TEXMF/{omega,tex}/{plain,generic,}// +% Omega / Aleph +TEXINPUTS.lamed = .;$TEXMF/tex/{lamed,lambda,latex,generic,}// +TEXINPUTS.lambda = .;$TEXMF/tex/{lambda,latex,generic,}// +TEXINPUTS.omega = .;$TEXMF/tex/{plain,generic,}// +TEXINPUTS.aleph = .;$TEXMF/tex/{plain,generic,}// % Context macros by Hans Hagen: -TEXINPUTS.context = .;$TEXMF/{pdftex,etex,tex}/{context,plain,generic,}// +TEXINPUTS.context = .;$TEXMF/tex/{context,plain,generic,}// % odd formats needing their own paths TEXINPUTS.lamstex = .;$TEXMF/tex/{lamstex,plain,generic,}// TEXINPUTS.lollipop = .;$TEXMF/tex/{lollipop,plain,generic,}// +TEXINPUTS.platex-pl = .;$TEXMF/tex/{platex,latex,generic,}// +TEXINPUTS.pdfplatex = .;$TEXMF/tex/{platex,latex,generic,}// + +% XeTeX +TEXINPUTS.xelatex = .;$TEXMF/tex/{latex,generic,}// +TEXINPUTS.xetex = .;$TEXMF/tex/{plain,generic,}// % Earlier entries override later ones, so put this last. -TEXINPUTS = .;$TEXMF/tex/{generic,}// +TEXINPUTS = .;$TEXMF/tex/{$progname,generic,}// % Metafont, MetaPost inputs. MFINPUTS = .;$TEXMF/metafont//;{$TEXMF/fonts,$VARTEXFONTS}/source// @@ -204,12 +239,12 @@ % and string pools (.pool) for ini{tex,mf,mp}. It is silly that we have six % paths and directories here (they all resolve to a single place by default), % but historically ... -TEXFORMATS = .;$TEXMF/web2c -MFBASES = .;$TEXMF/web2c -MPMEMS = .;$TEXMF/web2c -TEXPOOL = .;$TEXMF/web2c -MFPOOL = .;$TEXMF/web2c -MPPOOL = .;$TEXMF/web2c +TEXFORMATS = .;$TEXMF/web2c{/jtex,} +MFBASES = .;$TEXMF/web2c{/jtex,} +MPMEMS = .;$TEXMF/web2c{/jtex,} +TEXPOOL = .;$TEXMF/web2c{/jtex,} +MFPOOL = .;$TEXMF/web2c{/jtex,} +MPPOOL = .;$TEXMF/web2c{/jtex,} % Device-independent font metric files. VFFONTS = .;$TEXMF/fonts/vf// @@ -231,21 +266,28 @@ % A place to puth everything that doesn't fit the other font categories. MISCFONTS = .;$TEXMF/fonts/misc// -% For texfonts.map and included map files used by mktexpk. -% See ftp://ftp.tug.org/tex/fontname.tar.gz. -TEXFONTMAPS = .;$TEXMF/fontname +% font name map files. +TEXFONTMAPS = .;$TEXMF/fonts/map// + +% support non"k"-xdvi: +PKFONTS.XDvi = .:$TEXMF/%s:$VARTEXFONTS/pk/{%m,modeless}// +VFFONTS.XDvi = .:$TEXMF/%s +PSHEADERS.XDvi = .:$TEXMF/%q{dvips,fonts/type1}// +TEXPICTS.XDvi = .:$TEXMF/%q{dvips,tex}// % BibTeX bibliographies and style files. -BIBINPUTS = .;$TEXMF/bibtex/{bib,}// -BSTINPUTS = .;$TEXMF/bibtex/{bst,}// +BIBINPUTS = .;$TEXMF/bibtex/bib// +BSTINPUTS = .;$TEXMF/bibtex/bst// BIBINPUTS.jbibtex = .:$TEXMF/{jbibtex,bibtex}/{bib,}// BSTINPUTS.jbibtex = .:$TEXMF/{jbibtex,bibtex}/{bst,}// % MFT style files. MFTINPUTS = .;$TEXMF/mft// -% PostScript headers, prologues (.pro), encodings (.enc) and fonts. -TEXPSHEADERS = .;$TEXMF/{dvips,pdftex,tex,fonts/type1}// +% PostScript headers and prologues (.pro); unfortunately, some programs +% also use this for acessing font files (enc, type1, truetype) +TEXPSHEADERS = .;$TEXMF/{dvips{/jtex,/ptex,},fonts/{enc,type1,type3}}// +TEXPSHEADERS.gsftopk = .;$TEXMF/{dvips{/jtex,/ptex,},fonts/{enc,type1,type3,truetype}}// % PostScript Type 1 outline fonts. T1FONTS = .;$TEXMF/fonts/type1// @@ -259,14 +301,34 @@ % Type 42 outline fonts. T42FONTS = .;$TEXMF/fonts/type42// +% Ligature definition files. +LIGFONTS = .;$TEXMF/fonts/lig// + % Dvips' config.* files (this name should not start with `TEX'!). -TEXCONFIG = .;$TEXMF/dvips// +TEXCONFIG = $TEXMF/dvips{/jtex,/ptex,}// % Makeindex style (.ist) files. -INDEXSTYLE = .;$TEXMF/makeindex// +INDEXSTYLE = .;$TEXMF/makeindex{/jtex,/ptex,}// + +% Font encoding files (.enc). +ENCFONTS = .;$TEXMF/fonts/enc// + +% CMap files. +CMAPFONTS = .;$TEXMF/fonts/cmap// + +% Subfont definition files. +SFDFONTS = .;$TEXMF/fonts/sfd// + +% Opentype outline fonts. +OPENTYPEFONTS = .;$TEXMF/fonts/opentype// + +% pdftex config files: +PDFTEXCONFIG = .;$TEXMF/pdftex/{$progname,}// % Used by DMP (ditroff-to-mpx), called by makempx -troff. -TRFONTS = /usr/lib/font/devpost +% The path given is correct for GROFF on Linux installed under /usr. +% Originally: TRFONTS = /usr/lib/font/devpost +TRFONTS = /usr/share/groff/current/font/devps MPSUPPORT = .;$TEXMF/metapost/support % For xdvi to find mime.types and .mailcap, if they do not exist in @@ -279,6 +341,10 @@ TEXDOCS = .;$TEXMF/doc// TEXSOURCES = .;$TEXMF/source// +% Web and CWeb input paths. +WEBINPUTS = .;$TEXMF/web// +CWEBINPUTS = .;$TEXMF/cweb// + % Omega-related fonts and other files. The odd construction for OFMFONTS % makes it behave in the face of a definition of TFMFONTS. Unfortunately % no default substitution would take place for TFMFONTS, so an explicit @@ -295,8 +361,15 @@ % search formats, you'll want to add their variables here as well. T4HTINPUTS = .;$TEXMF/tex4ht// +% xdvik and dvipdfm can share some files with dvips (for old ones) +XDVIINPUTS = .;$TEXMF/{xdvi,dvips}{/jtex,/ptex,}// +DVIPDFMINPUTS = .;$TEXMF/{dvipdfm,dvips}{/jtex,/ptex,}// + +% Architecture independent executables +TEXMFSCRIPTS = $TEXMF/scripts// + %% The mktex* scripts rely on KPSE_DOT. Do not set it in the environment. -KPSE_DOT = . +% KPSE_DOT = . % This definition isn't used from this .cnf file itself (that would be % paradoxical), but the compile-time default in paths.h is built from it. @@ -308,12 +381,18 @@ % % For security reasons, it is better not to have . part of the path. % -TEXMFCNF = {$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{.local,}/web2c};$TETEXDIR;$TEXMF/web2c;@web2c@ +TEXMFCNF = {$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,,-dist}/web2c{/jtex,}};$TETEXDIR;$TEXMF/web2c;@web2c@ +# $progname: kpathsea v. 3.5.3 or later overwrites this at runtime. To +# avoid empty expansions from binaries linked against an earlier +# version of the library, we set $progname and $engine to something +# non-empty: +progname = unset +engine = unset % Part 2: Non-path options. - + % Write .log/.dvi/etc. files here, if the current directory is unwritable. % TEXMFOUTPUT = /tmp @@ -323,8 +402,9 @@ 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 +% To suppress everything, use TEX_HUSH = all; this is currently equivalent to % TEX_HUSH = checksum:lostchar:readable:special +% To suppress nothing, use TEX_HUSH = none or do not set the variable at all. TEX_HUSH = none % Enable system commands via \write18{...}? @@ -341,7 +421,10 @@ % Allow TeX, MF, and MP to parse the first line of an input file for % the %&format construct. -parse_first_line = t +parse_first_line = f + +% Enable file:line:error style messages. +file_line_error_style = f % Enable the mktex... scripts by default? These must be set to 0 or 1. % Particular programs can and do override these settings, for example @@ -356,6 +439,7 @@ % MKTEXPK = 0 % MKTEXMF = 0 % MKTEXTFM = 0 +% MKTEXFMT = 0 % MKOCP = 0 % MKOFM = 0 @@ -386,36 +470,36 @@ % 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.context = 1100000 -main_memory = 263000 % words of inimemory available; also applies to inimf&mp -extra_mem_top = 0 % extra high memory for chars, tokens, etc. -extra_mem_bot = 0 % extra low memory for boxes, glue, breakpoints, etc. +main_memory = 1000000 % words of inimemory available; also applies to inimf&mp +extra_mem_top = 0 % extra high memory for chars, tokens, etc. +extra_mem_bot = 0 % extra low memory for boxes, glue, breakpoints, etc. + +% ConTeXt is a memory hog... +extra_mem_top.context = 2000000 +extra_mem_bot.context = 4000000 +main_memory.context = 1500000 +main_memory.mpost = 1500000 % Words of font info for TeX (total size of all TFM files, approximately). -font_mem_size = 400000 +font_mem_size = 500000 % Total number of fonts. Must be >= 50 and <= 2000 (without tex.ch changes). -font_max = 1000 +font_max = 2000 % Extra space for the hash table of control sequences (which allows 10K % names as distributed). -hash_extra.context = 25000 -hash_extra = 0 +hash_extra = 50000 % Max number of characters in all strings, including all error messages, % help texts, font names, control sequences. These values apply to TeX and MP. -pool_size.context = 750000 -pool_size = 125000 +pool_size = 1250000 % Minimum pool space after TeX/MP's own strings; must be at least % 25000 less than pool_size, but doesn't need to be nearly that large. -string_vacancies.context = 45000 -string_vacancies = 25000 +string_vacancies = 90000 % Maximum number of strings. -max_strings.context = 55000 -max_strings = 15000 +max_strings = 100000 % min pool space left after loading .fmt -pool_free.context = 47500 -pool_free = 5000 +pool_free = 47500 % Hyphenation trie. As distributed, the maximum is 65535; this should % work unless `unsigned short' is not supported or is smaller than 16 @@ -428,31 +512,36 @@ % German: 14000. % US English: 10000. % -trie_size = 64000 +trie_size = 262000 % 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 +buf_size = 200000 hyph_size = 1000 % number of hyphenation exceptions, >610 and <32767. -nest_size.context = 500 -nest_size = 100 % simultaneous semantic levels (e.g., groups) +nest_size = 500 % simultaneous semantic levels (e.g., groups) max_in_open = 15 % simultaneous input files and error insertions -param_size.context = 1500 -param_size = 500 % simultaneous macro parameters -save_size.context = 5000 -save_size = 4000 % for saving values outside current group -stack_size.context = 1500 -stack_size = 300 % simultaneous input sources +param_size = 5000 % simultaneous macro parameters +save_size = 5000 % for saving values outside current group +stack_size = 1500 % simultaneous input sources % These are Omega-specific. ocp_buf_size = 20000 % character buffers for ocp filters. ocp_stack_size = 10000 % stacks for ocp computations. ocp_list_size = 1000 % control for multiple ocps. +% Parameter specific to MetaPost. +% Maximum number of knots between breakpoints of a path. +% Set to 2000 by default. +% path_size.mpost = 10000 + +% These are pdftex-specific. +obj_tab_size = 300000 % PDF objects +dest_names_size = 300000 % destinations + % 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 @@ -469,5 +558,5 @@ % default file code of JTeX and MuLTeX % These override the code specified by TeX command in dumping (making format). -%jtex_filetype = jis +jtex_filetype = euc %ml_input_code = junet