diff options
-rw-r--r-- | Build/source/texk/web2c/NEWS | 2 | ||||
-rw-r--r-- | Build/source/texk/web2c/doc/web2c.info | 160 | ||||
-rw-r--r-- | Build/source/texk/web2c/doc/web2c.texi | 12 | ||||
-rw-r--r-- | Build/source/texk/web2c/lib/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/lib/texmfmp.c | 2 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/lua/luainit.c | 3 |
6 files changed, 106 insertions, 78 deletions
diff --git a/Build/source/texk/web2c/NEWS b/Build/source/texk/web2c/NEWS index dc70659df86..ad9ed111f67 100644 --- a/Build/source/texk/web2c/NEWS +++ b/Build/source/texk/web2c/NEWS @@ -1,6 +1,8 @@ This file records noteworthy changes. (Public domain.) * --shell-restricted aka shell_escape=p for restricted shell access. + --enable-write18 and --disable-write18 accepted as synonyms for + --shell-escape and --no-shell-escape, for compatibility with MiKTeX. 7.5.7 (for TeX Collection 2008, 7 July 2008) * Include Knuth's 2008 updates. diff --git a/Build/source/texk/web2c/doc/web2c.info b/Build/source/texk/web2c/doc/web2c.info index 51a0b5aadbc..b8c703b7a11 100644 --- a/Build/source/texk/web2c/doc/web2c.info +++ b/Build/source/texk/web2c/doc/web2c.info @@ -62,7 +62,7 @@ Web2c This document describes how to install and use the programs in the Web2c implementation of the TeX system, especially for Unix systems. It -corresponds to Web2c version 7.5.7, released in February 2009. +corresponds to Web2c version 7.5.7, released in March 2009. * Menu: @@ -87,7 +87,7 @@ File: web2c.info, Node: Introduction, Next: Installation, Prev: Top, Up: Top ************** This manual corresponds to version 7.5.7 of Web2c, released in -February 2009. +March 2009. "Web2c" is the name of a TeX implementation, originally for Unix, but now also running under DOS, Amiga, and other operating systems. By @@ -1071,6 +1071,12 @@ suffice.) `\write18{SHELL-COMMAND}' feature for external executing shell commands. *Note Shell escapes::. +`-enable-write18' +`-disable-write18' + Synonyms for `-shell-escape' and `-no-shell-escape', for + compatibility with MiKTeX. (MiKTeX also accepts both pairs of + options.) *Note Shell escapes::. + `-src-specials' `-src-specials=STRING' This option makes TeX output specific source information using @@ -3789,7 +3795,9 @@ Index * -charcode-format=TYPE: tftopl invocation. (line 28) * -D compiler options: Compile-time options. (line 6) +* -disable-write18: tex invocation. (line 135) * -dpi=REAL: dvitype invocation. (line 24) +* -enable-write18: tex invocation. (line 134) * -enc: tex invocation. (line 95) * -file-line-error: Common options. (line 25) * -file-line-error-style: Common options. (line 26) @@ -4172,7 +4180,7 @@ Index * Free Software Foundation documentation system: Formats. (line 47) * freedom of Web2c: Introduction. (line 23) * ftp.math.utah.edu: bibtex invocation. (line 54) -* generating source specials: tex invocation. (line 135) +* generating source specials: tex invocation. (line 141) * geometric designs: Metafont. (line 6) * geometric font scaling: Font file formats. (line 22) * geometry for Metafont: Online Metafont graphics. @@ -4760,78 +4768,78 @@ Index Tag Table: Node: Top3053 -Node: Introduction4052 -Node: Installation7233 -Node: configure options9397 -Node: Compile-time options11479 -Node: Additional targets12605 -Node: Triptrap13886 -Node: Runtime options15415 -Node: Commonalities17187 -Node: Option conventions17792 -Node: Common options19016 -Node: Path searching23528 -Node: Output file location24550 -Node: Three programs25590 -Node: Initial and virgin26349 -Node: Memory dumps27449 -Node: Creating memory dumps27916 -Node: Determining the memory dump to use29177 -Node: Hardware and memory dumps30801 -Node: Editor invocation33270 -Node: \input filenames34000 -Node: TeX36993 -Node: tex invocation38139 -Node: Initial TeX45264 -Node: Formats46753 -Node: Languages and hyphenation49692 -Node: MLTeX50122 -Node: \charsubdef51617 -Node: \tracingcharsubdef53943 -Node: TCX files54518 -Node: patgen invocation59942 -Node: Shell escapes60659 -Node: IPC and TeX64223 -Node: TeX extensions64793 -Node: Metafont65772 -Node: mf invocation67060 -Node: Initial Metafont70943 -Node: Modes72696 -Node: Online Metafont graphics74951 -Node: gftodvi invocation78224 -Node: mft invocation81046 -Node: MetaPost85101 -Node: mpost invocation86122 -Node: Initial MetaPost91307 -Node: makempx invocation93118 -Node: dvitomp invocation97123 -Node: dmp invocation97894 -Node: mpto invocation101915 -Node: newer invocation102897 -Node: BibTeX103834 -Node: bibtex invocation104195 -Node: Basic BibTeX style files106520 -Node: WEB107862 -Node: tangle invocation109145 -Node: weave invocation111268 -Node: pooltype invocation112676 -Node: DVI utilities113806 -Node: dvicopy invocation114750 -Node: dvitype invocation116048 -Node: dvitype output example118403 -Node: Font utilities121454 -Node: Font file formats122634 -Node: gftopk invocation125933 -Node: pktogf invocation127137 -Node: pktype invocation128316 -Node: gftype invocation131151 -Node: tftopl invocation135667 -Node: pltotf invocation140301 -Node: vftovp invocation141366 -Node: vptovf invocation143650 -Node: Font utilities available elsewhere144704 -Node: Legalisms147112 -Node: References149283 -Node: Index153668 +Node: Introduction4049 +Node: Installation7227 +Node: configure options9391 +Node: Compile-time options11473 +Node: Additional targets12599 +Node: Triptrap13880 +Node: Runtime options15409 +Node: Commonalities17181 +Node: Option conventions17786 +Node: Common options19010 +Node: Path searching23522 +Node: Output file location24544 +Node: Three programs25584 +Node: Initial and virgin26343 +Node: Memory dumps27443 +Node: Creating memory dumps27910 +Node: Determining the memory dump to use29171 +Node: Hardware and memory dumps30795 +Node: Editor invocation33264 +Node: \input filenames33994 +Node: TeX36987 +Node: tex invocation38133 +Node: Initial TeX45465 +Node: Formats46954 +Node: Languages and hyphenation49893 +Node: MLTeX50323 +Node: \charsubdef51818 +Node: \tracingcharsubdef54144 +Node: TCX files54719 +Node: patgen invocation60143 +Node: Shell escapes60860 +Node: IPC and TeX64424 +Node: TeX extensions64994 +Node: Metafont65973 +Node: mf invocation67261 +Node: Initial Metafont71144 +Node: Modes72897 +Node: Online Metafont graphics75152 +Node: gftodvi invocation78425 +Node: mft invocation81247 +Node: MetaPost85302 +Node: mpost invocation86323 +Node: Initial MetaPost91508 +Node: makempx invocation93319 +Node: dvitomp invocation97324 +Node: dmp invocation98095 +Node: mpto invocation102116 +Node: newer invocation103098 +Node: BibTeX104035 +Node: bibtex invocation104396 +Node: Basic BibTeX style files106721 +Node: WEB108063 +Node: tangle invocation109346 +Node: weave invocation111469 +Node: pooltype invocation112877 +Node: DVI utilities114007 +Node: dvicopy invocation114951 +Node: dvitype invocation116249 +Node: dvitype output example118604 +Node: Font utilities121655 +Node: Font file formats122835 +Node: gftopk invocation126134 +Node: pktogf invocation127338 +Node: pktype invocation128517 +Node: gftype invocation131352 +Node: tftopl invocation135868 +Node: pltotf invocation140502 +Node: vftovp invocation141567 +Node: vptovf invocation143851 +Node: Font utilities available elsewhere144905 +Node: Legalisms147313 +Node: References149484 +Node: Index153869 End Tag Table diff --git a/Build/source/texk/web2c/doc/web2c.texi b/Build/source/texk/web2c/doc/web2c.texi index e6b0eeec290..7d4db752064 100644 --- a/Build/source/texk/web2c/doc/web2c.texi +++ b/Build/source/texk/web2c/doc/web2c.texi @@ -12,7 +12,7 @@ The latest version is available from ftp://ftp.tug.org/tex/texinfo.tex.} @end tex @set version 7.5.7 -@set month-year February 2009 +@set month-year March 2009 @c Define new indices for commands in auxiliary files, filenames, and options. @defcodeindex cm @@ -1082,9 +1082,17 @@ config file value @samp{output_comment}. @itemx -shell-restricted @opindex -shell-restricted Enable, or disable, or enable with restrictions the -@samp{\write18@{@var{shell-command}@}} feature for external executing +@code{\write18@{@var{shell-command}@}} feature for external executing shell commands. @xref{Shell escapes}. +@item -enable-write18 +@opindex -enable-write18 +@itemx -disable-write18 +@opindex -disable-write18 +Synonyms for @option{-shell-escape} and @option{-no-shell-escape}, for +compatibility with MiK@TeX{}. (MiK@TeX{} also accepts both pairs of +options.) @xref{Shell escapes}. + @item -src-specials @itemx -src-specials=@var{string} @cindex generating source specials diff --git a/Build/source/texk/web2c/lib/ChangeLog b/Build/source/texk/web2c/lib/ChangeLog index cf13f906ba1..8510c986b1d 100644 --- a/Build/source/texk/web2c/lib/ChangeLog +++ b/Build/source/texk/web2c/lib/ChangeLog @@ -1,3 +1,8 @@ +2009-03-02 Karl Berry <karl@tug.org> + + * texmfmp.c (long_options): make -enable-write18 and -disable-write18 + synonyms for -shell-escape and -no-shell-escape. + 2009-02-26 Karl Berry <karl@tug.org> * texmfmp.c: Implementation of restricted shell escapes from Akira. diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c index ed172504314..adf20fcbea9 100644 --- a/Build/source/texk/web2c/lib/texmfmp.c +++ b/Build/source/texk/web2c/lib/texmfmp.c @@ -1353,6 +1353,8 @@ static struct option long_options[] #endif /* pdfTeX */ { "shell-escape", 0, &shellenabledp, 1 }, { "no-shell-escape", 0, &shellenabledp, -1 }, + { "enable-write18", 0, &shellenabledp, 1 }, + { "disable-write18", 0, &shellenabledp, -1 }, { "shell-restricted", 0, 0, 0 }, { "debug-format", 0, &debugformatfile, 1 }, { "src-specials", 2, 0, 0 }, diff --git a/Build/source/texk/web2c/luatexdir/lua/luainit.c b/Build/source/texk/web2c/luatexdir/lua/luainit.c index 5b38f314644..3aa5dfc35b5 100644 --- a/Build/source/texk/web2c/luatexdir/lua/luainit.c +++ b/Build/source/texk/web2c/luatexdir/lua/luainit.c @@ -106,6 +106,9 @@ static struct option long_options[] { "output-format", 1, 0, 0 }, { "shell-escape", 0, &shellenabledp, 1 }, { "no-shell-escape", 0, &shellenabledp, -1 }, + { "enable-write18", 0, &shellenabledp, 1 }, + { "disable-write18", 0, &shellenabledp, -1 }, + { "shell-restricted", 0, 0, 0 }, { "debug-format", 0, &debug_format_file, 1 }, { "src-specials", 2, 0, 0 }, { "file-line-error-style", 0, &filelineerrorstylep, 1 }, |