diff options
author | Karl Berry <karl@freefriends.org> | 2008-02-21 18:06:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-02-21 18:06:28 +0000 |
commit | e1b949bfc9c1682e28d1fe68913be7f410f17de2 (patch) | |
tree | 5dc80219ce76fe961bb9d7171c215e5eae9bc876 /Master/texmf-dist/tex/latex/everypage | |
parent | bc7a7c22cd536c5fd3919d515fd25574044f6b77 (diff) |
everypage 1.1 (19feb08)
git-svn-id: svn://tug.org/texlive/trunk@6701 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/everypage')
-rw-r--r-- | Master/texmf-dist/tex/latex/everypage/everypage.sty | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/everypage/everypage.sty b/Master/texmf-dist/tex/latex/everypage/everypage.sty index da2bdf5e849..0a8802bf695 100644 --- a/Master/texmf-dist/tex/latex/everypage/everypage.sty +++ b/Master/texmf-dist/tex/latex/everypage/everypage.sty @@ -38,7 +38,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{everypage}% - [2006/06/30 1.0 Hooks to run on every page] + [2007/06/20 1.1 Hooks to run on every page] \newcommand{\sc@everypage@hook}{} \newcommand{\sc@thispage@hook}{} \newcommand*{\AddEverypageHook}[1]{% @@ -49,15 +49,17 @@ \let\sc@op@saved\@outputpage \def\@outputpage{% \sc@op@preamble - \sc@op@saved}} + \sc@op@saved + \sc@op@postamble}} \newcommand*{\sc@op@preamble}{% \let\sc@begindvi\@begindvi \def\@begindvi{% \sc@everypage@hook \sc@thispage@hook \gdef\sc@thispage@hook{} - \let\@begindvi\sc@begindvi - \@begindvi}} + \sc@begindvi}} +\newcommand*{\sc@op@postamble}{% + \let\@begindvi\sc@begindvi} \AtBeginDocument{\sc@ep@init} \endinput %% |