diff options
author | Karl Berry <karl@freefriends.org> | 2008-04-30 18:30:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-04-30 18:30:52 +0000 |
commit | 1bbe1e023af3abf0bce342ecfd49b09053ca7b28 (patch) | |
tree | ab2775b3e00a4ce0f38528484f21931189e9823f /Build/source/texk/kpathsea/texmf.in | |
parent | 763297a5e1bde6cb95513b12bbaa8b3a8c1b6894 (diff) |
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
Diffstat (limited to 'Build/source/texk/kpathsea/texmf.in')
-rw-r--r-- | Build/source/texk/kpathsea/texmf.in | 47 |
1 files changed, 33 insertions, 14 deletions
diff --git a/Build/source/texk/kpathsea/texmf.in b/Build/source/texk/kpathsea/texmf.in index 04f813645d7..4045188ab47 100644 --- a/Build/source/texk/kpathsea/texmf.in +++ b/Build/source/texk/kpathsea/texmf.in @@ -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, +% 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 @@ -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 |