diff options
author | Karl Berry <karl@freefriends.org> | 2008-07-01 00:55:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-07-01 00:55:29 +0000 |
commit | 767674bba9388c657eb685ef4a48aa2254f258d2 (patch) | |
tree | 35fa4052e20d7d6dee1f4edc82a173f799b369df /Master/texmf-dist/tex/latex/etoolbox | |
parent | 5f754957ed6a0123d34fa53725076de7f73198fb (diff) |
etoolbox update (30jun08)
git-svn-id: svn://tug.org/texlive/trunk@9127 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/etoolbox')
-rw-r--r-- | Master/texmf-dist/tex/latex/etoolbox/etoolbox.def | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty | 31 |
2 files changed, 16 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def b/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def index 1684eec8b38..41540333b44 100644 --- a/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def +++ b/Master/texmf-dist/tex/latex/etoolbox/etoolbox.def @@ -1,6 +1,6 @@ -% $Id: etoolbox.def,v 1.6 2008/06/22 15:26:57 lehman stable $ +% $Id: etoolbox.def,v 1.7 2008/06/28 18:25:41 lehman stable $ -\ProvidesFile{etoolbox.def}[2008/06/22 v1.6 etoolbox debug messages] +\ProvidesFile{etoolbox.def}[2008/06/28 v1.7 etoolbox debug messages] \begingroup \makeatletter diff --git a/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty b/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty index b7e7b1e3a6c..c026d1407e0 100644 --- a/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty +++ b/Master/texmf-dist/tex/latex/etoolbox/etoolbox.sty @@ -1,4 +1,4 @@ -% $Id: etoolbox.sty,v 1.6 2008/06/22 15:26:57 lehman stable $ +% $Id: etoolbox.sty,v 1.7 2008/06/28 18:25:41 lehman stable $ % Copyright (c) 2007-2008 Philipp Lehman. % @@ -15,7 +15,7 @@ % particular purpose. \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{etoolbox}[2008/06/22 v1.6 e-TeX tools for LaTeX] +\ProvidesPackage{etoolbox}[2008/06/28 v1.7 e-TeX tools for LaTeX] \begingroup \@ifundefined{eTeXversion} @@ -1126,7 +1126,7 @@ % {<listcsname>} => \do{<item1>}\do{<item2>}... \newcommand*{\dolistcsloop}[1]{% - \expandafter\dolistloop\expandafter{\csname#1\endcsname}} + \expandafter\dolistloop\csname#1\endcsname} % {<code>} @@ -1148,34 +1148,31 @@ % {<code>} -\newrobustcmd*{\AfterBeginDocument}{\gappto\@afterbegdochook} -\newcommand*{\@afterbegdochook}{} +\newrobustcmd*{\AfterEndPreamble}{\gappto\@afterendpreamblehook} +\newcommand*{\@afterendpreamblehook}{} \appto\document{% - \let\AfterBeginDocument\@firstofone - \@afterbegdochook - \protected\def\AfterBeginDocument{\@notprerr\@gobble}% - \undef\@afterbegdochook + \let\AfterEndPreamble\@firstofone + \@afterendpreamblehook + \protected\def\AfterEndPreamble{\@notprerr\@gobble}% + \undef\@afterendpreamblehook \ignorespaces} % {<code>} -\newrobustcmd*{\AfterEndDocument}{\gappto\@afterenddochook} -\newcommand*{\@afterenddochook}{} +\newrobustcmd*{\AfterEndDocument}{\gappto\@afterenddocumenthook} +\newcommand*{\@afterenddocumenthook}{} \patchcmd\enddocument {\deadcycles} {\let\AfterEndDocument\@firstofone - \@afterenddochook + \@afterenddocumenthook \deadcycles} {} - {\PackageInfo{etoolbox}{% - Patching \string\enddocument\space not possible.\MessageBreak - Will try to fork \string\@@end\@gobble}% - \let\etb@@end\@@end + {\let\etb@@end\@@end \def\@@end{% \let\AfterEndDocument\@firstofone - \@afterenddochook + \@afterenddocumenthook \etb@@end}} \endinput |