summaryrefslogtreecommitdiff
path: root/Master/texmf/web2c/texmf.cnf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-05-19 00:08:44 +0000
committerKarl Berry <karl@freefriends.org>2009-05-19 00:08:44 +0000
commit53241b23b422addce6dd1145dfa1d334a940c45d (patch)
treec0091dae452b67fab43a59c7ab16f503b5b763f1 /Master/texmf/web2c/texmf.cnf
parent744cc8667bb48e900f8e584ab9262c877105c622 (diff)
sync texmf.cnf, update for current values
git-svn-id: svn://tug.org/texlive/trunk@13220 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf/web2c/texmf.cnf')
-rw-r--r--Master/texmf/web2c/texmf.cnf52
1 files changed, 37 insertions, 15 deletions
diff --git a/Master/texmf/web2c/texmf.cnf b/Master/texmf/web2c/texmf.cnf
index 8f2fab376c0..b74f62c84a3 100644
--- a/Master/texmf/web2c/texmf.cnf
+++ b/Master/texmf/web2c/texmf.cnf
@@ -4,8 +4,8 @@
% If you modify this original file, YOUR CHANGES WILL BE LOST when it is
% updated. Instead, put your changes -- and only your changes, not an
% entire copy of the full texmf.cnf! -- in ../../texmf.cnf. That is, if
-% this file is installed in /some/path/to/texlive/2008/texmf/web2c/texmf.cnf,
-% add your custom settings to /some/path/to/texlive/2008/texmf.cnf.
+% this file is installed in /some/path/to/texlive/2009/texmf/web2c/texmf.cnf,
+% add your custom settings to /some/path/to/texlive/2009/texmf.cnf.
%
% What follows is a super-summary of what this .cnf file can
% contain. Please read the Kpathsea manual for more information.
@@ -13,6 +13,7 @@
% Any identifier (sticking to A-Za-z_ for names is safest) can be assigned.
% The `=' (and surrounding spaces) is optional.
% $foo (or ${foo}) in a value expands to the envvar or cnf value of foo.
+% Long lines can be continued with a \.
%
% Earlier entries (in the same or another file) override later ones, and
% an environment variable foo overrides any texmf.cnf definition of foo.
@@ -26,7 +27,7 @@
% right-hand side. For environment variables, use FOO_PROGRAM.
%
% Which file formats use which paths for searches is described in the
-% various programs' and the kpathsea documentation.
+% various programs' and the Kpathsea documentation (http://tug.org/kpathsea).
%
% // means to search subdirectories (recursively).
% A leading !! means to look only in the ls-R db, never on the disk.
@@ -34,10 +35,12 @@
% A leading/trailing/doubled path separator in the paths will be
% expanded into the compile-time default. Probably not what you want.
%
-% You can use brace notation, for example: /usr/local/{mytex,othertex}
-% expands to /usr/local/mytex:/usr/local/othertex. Instead of the comma
-% you can use the path separator: /usr/local/{mytex:othertex} also expands
-% to /usr/local/mytex:/usr/local/othertex.
+
+% Brace notation is supported, for example: /usr/local/{mytex,othertex}
+% expands to /usr/local/mytex:/usr/local/othertex. You can use the path
+% separator as well as the comma for this: /usr/local/{mytex:othertex}
+% also expands to /usr/local/mytex:/usr/local/othertex. We make
+% extensive use of this.
% Part 1: Search paths and directories.
@@ -373,6 +376,12 @@ SFDFONTS = .;$TEXMF/fonts/sfd//
% OpenType outline fonts.
OPENTYPEFONTS = .;$TEXMF/fonts/opentype//
+% OpenType feature files (.fea).
+FONTFEATURES=.;$TEXMF/fonts/fea//
+
+% .cid and .cidmap
+FONTCIDMAPS=.;$TEXMF/fonts/cid//
+
% pdftex config files:
PDFTEXCONFIG = .;$TEXMF/pdftex/{$progname,}//
@@ -396,8 +405,9 @@ FC_CACHEDIR=$TEXMFSYSVAR/fonts/cache
% TeX documentation and source files, for use with kpsewhich (and texdoc).
% TeX Live has a separate hierarchy with just documentation, texmf-doc,
% in addition to the doc files in the other hierarchies.
+% Find non-man pages first, better than random in case of conflict.
TEXMFDOCDIR = $TEXMFDOC/doc
-TEXDOCS = .;$TEXMF/doc//;$TEXMFDOCDIR//
+TEXDOCS = .;$TEXMF/doc{,/man}//;$TEXMFDOCDIR//
TEXSOURCES = .;$TEXMF/source//
% Web and CWeb input paths.
@@ -481,9 +491,22 @@ engine = unsetengine
% babel.sty, not babel.sty.tex, regardless of this setting.
try_std_extension_first = t
-% Enable system commands via \write18{...}? Obviously insecure, despite
-% being so useful.
-shell_escape = f
+% Enable system commands via \write18{...}. When enabled fully (set to
+% 1), obviously insecure. When enabled partially (set to p), only the
+% commands listed in shell_escape_commands are allowed. Although this
+% is not fully secure either, it is much better, and so useful that we
+% enable it for everything but bare tex.
+shell_escape = p
+
+% No spaces in this command list.
+shell_escape_commands = \
+bibtex,convert,dvips,epstopdf,epspdf,etex,fc-match,gnuplot,\
+kpsewhich,latex,luatex,lualatex,makeindex,mpost,\
+pdfcrop,pdflatex,pdfluatex,ps2pdf,ps4pdf,pstopdf,pygmentize,\
+tex,texexec,texmfstart,ulqda\
+
+% plain TeX should remain unenhanced.
+shell_escape.tex = f
% Allow TeX \openin, \openout, or \input on filenames starting with `.'
% (e.g., .rhosts) or outside the current tree (e.g., /etc/passwd)?
@@ -588,11 +611,10 @@ extra_mem_bot.context = 4000000
% Must be >= 20000 and <= 4000000 (without tex.ch changes).
font_mem_size = 3000000
-% Total number of fonts. Must be >= 50 and <= 5000 (without tex.ch changes).
-font_max = 5000
+% Total number of fonts. Must be >= 50 and <= 9000 (without tex.ch changes).
+font_max = 9000
-% Extra space for the hash table of control sequences (which allows 10K
-% names as distributed).
+% Extra space for the hash table of control sequences.
hash_extra = 50000
% Max number of characters in all strings, including all error messages,