From 1bbe1e023af3abf0bce342ecfd49b09053ca7b28 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 30 Apr 2008 18:30:52 +0000 Subject: try_std_extension_first config value, and recognize .sty/.cls/etc. as common TeX suffixes git-svn-id: svn://tug.org/texlive/trunk@7752 c570f23f-e606-0410-a88d-b1316a301751 --- Master/bin/i386-linux/kpsewhich | Bin 200425 -> 204455 bytes Master/texmf/web2c/texmf.cnf | 51 +++++++++++++++++++++++++++------------- 2 files changed, 35 insertions(+), 16 deletions(-) (limited to 'Master') diff --git a/Master/bin/i386-linux/kpsewhich b/Master/bin/i386-linux/kpsewhich index 1b43783f1e4..443d015a6c3 100755 Binary files a/Master/bin/i386-linux/kpsewhich and b/Master/bin/i386-linux/kpsewhich differ diff --git a/Master/texmf/web2c/texmf.cnf b/Master/texmf/web2c/texmf.cnf index d5c16143d5d..950e8822a8f 100644 --- a/Master/texmf/web2c/texmf.cnf +++ b/Master/texmf/web2c/texmf.cnf @@ -402,7 +402,7 @@ OTPINPUTS = .;$TEXMF/omega/otp// OCPINPUTS = .;$TEXMF/omega/ocp// % Some additional input variables for several programs. If you add -% a program that uses the 'other text files' or 'other binary files' +% a program that uses the `other text files' or `other binary files' % search formats, you'll want to add their variables here as well. T4HTINPUTS = .;$TEXMF/tex4ht// @@ -447,7 +447,38 @@ progname = unsetprogname engine = unsetengine -% Part 2: Non-path options. +% Part 2: Options. + +% If this is true, `tex a.b' will look first for a.b.tex (within each +% path element), and then for a.b, i.e., we try standard extensions +% first. If this is false, we first look for a.b and then a.b.tex, +% first. If this is false, we first look for a.b and then a.b.tex, +% i.e., we try the name as-is first. +% +% Both names are always tried; the difference is the order in which they +% are tried. The setting applies to all searches, not just .tex. +% +% This setting only affects names being looked up which *already* have +% an extension. A name without an extension (e.g., `tex story') will +% always have an extension added first. +% +% The default is true, because we already avoid adding the standard +% extension(s) in most common cases. E.g., babel.sty will only look for +% 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 + +% 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 = p +openin_any = a % Write .log/.dvi/etc. files here, if the current directory is unwritable. % TEXMFOUTPUT = /tmp @@ -463,18 +494,6 @@ MISSFONT_LOG = missfont.log % To suppress nothing, use TEX_HUSH = none or do not set the variable at all. TEX_HUSH = none -% Enable system commands via \write18{...}? -shell_escape = f - -% 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 = p -openin_any = a - % Allow TeX, MF, and MP to parse the first line of an input file for % the %&format construct. parse_first_line = t @@ -548,7 +567,7 @@ 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 <= 2000 (without tex.ch changes). +% Total number of fonts. Must be >= 50 and <= 5000 (without tex.ch changes). font_max = 5000 % Extra space for the hash table of control sequences (which allows 10K @@ -606,7 +625,7 @@ gf_buf_size = 16384 % MF % 45 < error_line < 255; % 30 < half_error_line < error_line - 15; % 60 <= max_print_line; -% These apply to Metafont and MetaPost as well. +% These apply to TeX, Metafont, and MetaPost. error_line = 79 half_error_line = 50 max_print_line = 79 -- cgit v1.2.3