summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/atenddvi.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-04-22 17:14:12 +0000
committerKarl Berry <karl@freefriends.org>2007-04-22 17:14:12 +0000
commit3a0595042f7a56658ecc4a51fe68f2ab4312bc49 (patch)
tree4a9226c3e5b6e27b47ca17b9afc98b5d1d1d7601 /Master/texmf-dist/source/latex/oberdiek/atenddvi.dtx
parent64e0b27d1ebe077904838f130fc85b3b1981df2b (diff)
atbegshi 1.2 (oberdiek 20apr07)
git-svn-id: svn://tug.org/texlive/trunk@4170 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/atenddvi.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/atenddvi.dtx48
1 files changed, 22 insertions, 26 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/atenddvi.dtx b/Master/texmf-dist/source/latex/oberdiek/atenddvi.dtx
index b2140bbb033..31f16a8e578 100644
--- a/Master/texmf-dist/source/latex/oberdiek/atenddvi.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/atenddvi.dtx
@@ -66,7 +66,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: atenddvi 2007/03/20 v1.0 At end DVI hook (HO)}
+\Msg{* Package: atenddvi 2007/04/17 v1.1 At end DVI hook (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -126,7 +126,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{atenddvi.drv}%
- [2007/03/20 v1.0 At end DVI hook (HO)]%
+ [2007/04/17 v1.1 At end DVI hook (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}
\begin{document}
@@ -135,7 +135,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{98}
+% \CheckSum{97}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -156,7 +156,7 @@ and the derived files
% \GetFileInfo{atenddvi.drv}
%
% \title{The \xpackage{atenddvi} package}
-% \date{2007/03/20 v1.0}
+% \date{2007/04/17 v1.1}
% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
%
% \maketitle
@@ -210,13 +210,13 @@ and the derived files
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{atenddvi}%
- [2007/03/20 v1.0 At end DVI hook (HO)]%
+ [2007/04/17 v1.1 At end DVI hook (HO)]%
% \end{macrocode}
%
% Load the required packages
% \begin{macrocode}
\RequirePackage{zref-abspage,zref-lastpage}[2007/03/19]
-\RequirePackage{everyshi}
+\RequirePackage{atbegshi}
% \end{macrocode}
%
% \begin{macro}{\AtEndDvi@Hook}
@@ -236,19 +236,11 @@ and the derived files
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\AtEndDvi@EveryShipout}
+% \begin{macro}{\AtEndDvi@AtBeginShipout}
% \begin{macrocode}
-\def\AtEndDvi@EveryShipout{%
+\def\AtEndDvi@AtBeginShipout{%
\begingroup
% \end{macrocode}
-% The hook of package \xpackage{everyshi} is called during
-% the output routine, where \cs{protect} has the meaning
-% of \cs{noexpand}. However we need \cs{@typeset@protect}.
-% It is not set by package \xpackage{everyshi}, thus we
-% do it ourselves:
-% \begin{macrocode}
- \set@typeset@protect
-% \end{macrocode}
% The reference `LastPage' is marked used. If the reference
% is not yet defined, then the user gets the warning because of
% the undefined reference and the rerun warning at the end of
@@ -273,24 +265,24 @@ and the derived files
% The hook of \cs{AtEndDvi} is now put on the last page
% after the contents of the page.
% \begin{macrocode}
- \global\setbox\@cclv=\vbox{%
+ \global\setbox\AtBeginShipoutBox=\vbox{%
\hbox{%
- \box\@cclv
- \setbox\@cclv=\hbox{%
+ \box\AtBeginShipoutBox
+ \setbox\AtBeginShipoutBox=\hbox{%
\begingroup
\AtEndDvi@Hook
\endgroup
}%
- \wd\@cclv=\z@
- \ht\@cclv=\z@
- \dp\@cclv=\z@
- \box\@cclv
+ \wd\AtBeginShipoutBox=\z@
+ \ht\AtBeginShipoutBox=\z@
+ \dp\AtBeginShipoutBox=\z@
+ \box\AtBeginShipoutBox
}%
}%
% \end{macrocode}
% We do not need the every page hook.
% \begin{macrocode}
- \global\let\AtEndDvi@EveryShipout\@empty
+ \global\let\AtEndDvi@AtBeginShipout\@empty
% \end{macrocode}
% The hook is consumed, \cs{AtEndDvi} does not have an effect.
% \begin{macrocode}
@@ -309,10 +301,10 @@ and the derived files
%
% \begin{macro}{\AtEndDvi@AtBeginDocument}
% In order to get as late as possible in the chain of the
-% every shipout hook, the call of \cs{EveryShipout} is delayed.
+% every shipout hook, the call of \cs{AtBeginShipout} is delayed.
% \begin{macrocode}
\def\AtEndDvi@AtBeginDocument{%
- \EveryShipout{\AtEndDvi@EveryShipout}%
+ \AtBeginShipout{\AtEndDvi@AtBeginShipout}%
% \end{macrocode}
% \begin{macro}{\AtEndDvi@Check}
% After \cs{AtEndDocument} \LaTeX\ reads its \xfile{.aux} files
@@ -498,6 +490,10 @@ and the derived files
% \item
% First version.
% \end{Version}
+% \begin{Version}{2007/04/17 v1.1}
+% \item
+% Package \xpackage{atbegshi} replaces package \xpackage{everyshi}.
+% \end{Version}
% \end{History}
%
% \PrintIndex