summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-11-12 21:46:45 +0000
committerKarl Berry <karl@freefriends.org>2020-11-12 21:46:45 +0000
commit471d95c1ce199e3197b45ebe33206154b566b2dc (patch)
tree2bccf91c1653b58bf4d069d9b5d9557c4b33beb7
parentfb5686d866a149345c08808c5355bdd8bc7bcb92 (diff)
atenddvi (12nov20)
git-svn-id: svn://tug.org/texlive/trunk@56922 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/atenddvi/README.md21
-rw-r--r--Master/texmf-dist/doc/latex/atenddvi/atenddvi.pdfbin273483 -> 280157 bytes
-rw-r--r--Master/texmf-dist/source/latex/atenddvi/atenddvi.dtx72
-rw-r--r--Master/texmf-dist/tex/latex/atenddvi/atenddvi-2019-12-11.sty104
-rw-r--r--Master/texmf-dist/tex/latex/atenddvi/atenddvi.sty80
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds1
6 files changed, 177 insertions, 101 deletions
diff --git a/Master/texmf-dist/doc/latex/atenddvi/README.md b/Master/texmf-dist/doc/latex/atenddvi/README.md
index dab339b6282..2c8dbecb426 100644
--- a/Master/texmf-dist/doc/latex/atenddvi/README.md
+++ b/Master/texmf-dist/doc/latex/atenddvi/README.md
@@ -1,13 +1,24 @@
-# atenddvi
+# atenddvi package for LaTeX
-atenddvi package for LaTeX
+Version: 2020-11-11 v1.5
+This package is unneeded and does nothing when used with
+a LaTeX format 2020-10-01 or newer as in this case the format
+provides the \AtEndDvi command.
-LaTeX offers \AtBeginDvi. This package atenddvi
-provides the counterpart \AtEndDvi. The execution of its
-argument is delayed to the end of the document at the end of the
+For older formats it it implements \AtEndDvi, a counterpart
+to \AtBeginDvi. The execution of its argument is delayed to
+the end of the document at the end of the
last page. Thus \special and \write remain effective, because
they are put into the last page. This is the main difference
to \AtEndDocument.
+
+## Copyright (C)
+* 2007, 2009-2011 Heiko Oberdiek
+* 2016-2020 Oberdiek Package Support Group
+
+## License
+LATEX Project Public License, version 1.3c or later.
+
diff --git a/Master/texmf-dist/doc/latex/atenddvi/atenddvi.pdf b/Master/texmf-dist/doc/latex/atenddvi/atenddvi.pdf
index 4face7ad787..4c5f0e52e31 100644
--- a/Master/texmf-dist/doc/latex/atenddvi/atenddvi.pdf
+++ b/Master/texmf-dist/doc/latex/atenddvi/atenddvi.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/atenddvi/atenddvi.dtx b/Master/texmf-dist/source/latex/atenddvi/atenddvi.dtx
index db82a3985f9..a82cd861215 100644
--- a/Master/texmf-dist/source/latex/atenddvi/atenddvi.dtx
+++ b/Master/texmf-dist/source/latex/atenddvi/atenddvi.dtx
@@ -1,12 +1,12 @@
% \iffalse meta-comment
%
% File: atenddvi.dtx
-% Version: 2019-12-11 v1.4
+% Version: 2020-11-11 v1.5
% Info: At end DVI hook
%
% Copyright (C)
% 2007 Heiko Oberdiek
-% 2016-2019 Oberdiek Package Support Group
+% 2016-2020 Oberdiek Package Support Group
% https://github.com/ho-tex/atenddvi/issues
%
% This work may be distributed and/or modified under the
@@ -61,6 +61,7 @@
%
% Installation:
% TDS:tex/latex/atenddvi/atenddvi.sty
+% TDS:tex/latex/atenddvi/atenddvi-2019-12-11.sty
% TDS:doc/latex/atenddvi/atenddvi.pdf
% TDS:source/latex/atenddvi/atenddvi.dtx
%
@@ -79,7 +80,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: atenddvi 2019-12-11 v1.4 At end DVI hook (HO)}
+\Msg{* Package: atenddvi 2020-11-11 v1.5 At end DVI hook (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -91,11 +92,11 @@
This is a generated file.
Project: atenddvi
-Version: 2019-12-11 v1.4
+Version: 2020-11-11 v1.5
Copyright (C)
2007 Heiko Oberdiek
- 2016-2019 Oberdiek Package Support Group
+ 2016-2020 Oberdiek Package Support Group
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
@@ -126,6 +127,7 @@ and the derived files
\file{atenddvi.drv}{\from{atenddvi.dtx}{driver}}%
\usedir{tex/latex/atenddvi}%
\file{atenddvi.sty}{\from{atenddvi.dtx}{package}}%
+ \file{atenddvi-2019-12-11.sty}{\from{atenddvi.dtx}{packagefrozen}}
}
\catcode32=13\relax% active space
@@ -152,7 +154,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{atenddvi.drv}%
- [2019-12-11 v1.4 At end DVI hook (HO)]%
+ [2020-11-11 v1.5 At end DVI hook (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2011/11/22]
\begin{document}
@@ -166,12 +168,15 @@ and the derived files
% \GetFileInfo{atenddvi.drv}
%
% \title{The \xpackage{atenddvi} package}
-% \date{2019-12-11 v1.4}
+% \date{2020-11-11 v1.5}
% \author{Heiko Oberdiek\thanks
% {Please report any issues at \url{https://github.com/ho-tex/atenddvi/issues}}}
%
% \maketitle
%
+% \textbf{This package is unneeded and does nothing with a \LaTeX{} version
+% 2020-10-01 or newer as \cs{AtBeginDvi} is then provided by the format.}
+%
% \begin{abstract}
% \LaTeX\ offers \cs{AtBeginDvi}. This package \xpackage{atenddvi}
% provides the counterpart \cs{AtEndDvi}. The execution of its
@@ -216,12 +221,31 @@ and the derived files
% }
%
% \section{Implementation}
-%
% \begin{macrocode}
%<*package>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{atenddvi}%
- [2019-12-11 v1.4 At end DVI hook (HO)]%
+ [2020-11-11 v1.5 At end DVI hook (HO)]%
+\providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion}
+\IfFormatAtLeastTF{2020/10/01}
+ {%
+ \PackageWarning{atenddvi}
+ {Functionality of this package is already\MessageBreak
+ provided by LaTeX.\MessageBreak\MessageBreak
+ It is therefore no longer necessary to load it\MessageBreak
+ and you can safely remove it.\MessageBreak
+ Found on}{}%
+ }{\input{atenddvi-2019-12-11.sty}}
+\IfFormatAtLeastTF{2020/10/01}{}{\endinput}
+
+%</package>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*packagefrozen>
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{atenddvi}%
+ [2020-11-11 v1.5 At end DVI hook / legacy frozen code (HO) ]%
% \end{macrocode}
%
% Load the required packages
@@ -367,7 +391,7 @@ and the derived files
% \end{macro}
%
% \begin{macrocode}
-%</package>
+%</packagefrozen>
% \end{macrocode}
%
% \section{Installation}
@@ -381,27 +405,6 @@ and the derived files
% \item[\CTAN{macros/latex/contrib/atenddvi/atenddvi.pdf}] Documentation.
% \end{description}
%
-%
-% \paragraph{Bundle.} All the packages of the bundle `atenddvi'
-% are also available in a TDS compliant ZIP archive. There
-% the packages are already unpacked and the documentation files
-% are generated. The files and directories obey the TDS standard.
-% \begin{description}
-% \item[\CTANinstall{install/macros/latex/contrib/atenddvi.tds.zip}]
-% \end{description}
-% \emph{TDS} refers to the standard ``A Directory Structure
-% for \TeX\ Files'' (\CTANpkg{tds}). Directories
-% with \xfile{texmf} in their name are usually organized this way.
-%
-% \subsection{Bundle installation}
-%
-% \paragraph{Unpacking.} Unpack the \xfile{atenddvi.tds.zip} in the
-% TDS tree (also known as \xfile{texmf} tree) of your choice.
-% Example (linux):
-% \begin{quote}
-% |unzip atenddvi.tds.zip -d ~/texmf|
-% \end{quote}
-%
% \subsection{Package installation}
%
% \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting
@@ -418,6 +421,7 @@ and the derived files
% \def\t{^^A
% \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}}
% atenddvi.sty & tex/latex/atenddvi/atenddvi.sty\\
+% atenddvi-2019-12-11.sty & atenddvi-2019-12-11.sty\\
% atenddvi.pdf & doc/latex/atenddvi/atenddvi.pdf\\
% atenddvi.dtx & source/latex/atenddvi/atenddvi.dtx\\
% \end{tabular}^^A
@@ -549,6 +553,12 @@ and the derived files
% \begin{Version}{2019-12-11 v1.4}
% \item Updated
% \end{Version}
+% \begin{Version}{2020-11-11 v1.5}
+% \item The package is now unneeded as LaTeX formats
+% newer than 2020-10-01 provide \cs{AtBeginDvi} and so does nothing
+% in this case.
+% The old code has been frozen.
+% \end{Version}
% \end{History}
%
% \PrintIndex
diff --git a/Master/texmf-dist/tex/latex/atenddvi/atenddvi-2019-12-11.sty b/Master/texmf-dist/tex/latex/atenddvi/atenddvi-2019-12-11.sty
new file mode 100644
index 00000000000..443607fb683
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/atenddvi/atenddvi-2019-12-11.sty
@@ -0,0 +1,104 @@
+%%
+%% This is file `atenddvi-2019-12-11.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% atenddvi.dtx (with options: `packagefrozen')
+%%
+%% This is a generated file.
+%%
+%% Project: atenddvi
+%% Version: 2020-11-11 v1.5
+%%
+%% Copyright (C)
+%% 2007 Heiko Oberdiek
+%% 2016-2020 Oberdiek Package Support Group
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3c of this license or (at your option) any later
+%% version. This version of this license is in
+%% https://www.latex-project.org/lppl/lppl-1-3c.txt
+%% and the latest version of this license is in
+%% https://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% The Current Maintainers of this work are
+%% Heiko Oberdiek and the Oberdiek Package Support Group
+%% https://github.com/ho-tex/atenddvi/issues
+%%
+%% This work consists of the main source file atenddvi.dtx
+%% and the derived files
+%% atenddvi.sty, atenddvi.pdf, atenddvi.ins, atenddvi.drv.
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{atenddvi}%
+ [2020-11-11 v1.5 At end DVI hook / legacy frozen code (HO) ]%
+\RequirePackage{zref-abspage,zref-lastpage}[2007/03/19]
+\RequirePackage{atbegshi}
+\let\AtEndDvi@Hook\@empty
+\newcommand*{\AtEndDvi}{%
+ \g@addto@macro\AtEndDvi@Hook
+}
+\def\AtEndDvi@AtBeginShipout{%
+ \begingroup
+ \ifnum\value{abspage}=1 %
+ \zref@refused{LastPage}%
+ \fi
+ \ifnum\zref@extractdefault{LastPage}{abspage}{0}=\value{abspage}%
+ \xdef\AtEndDvi@LastPage{\number\value{abspage}}%
+ \global\setbox\AtBeginShipoutBox=\vbox{%
+ \hbox{%
+ \box\AtBeginShipoutBox
+ \setbox\AtBeginShipoutBox=\hbox{%
+ \begingroup
+ \AtEndDvi@Hook
+ \endgroup
+ }%
+ \wd\AtBeginShipoutBox=\z@
+ \ht\AtBeginShipoutBox=\z@
+ \dp\AtBeginShipoutBox=\z@
+ \box\AtBeginShipoutBox
+ }%
+ }%
+ \global\let\AtEndDvi@AtBeginShipout\@empty
+ \global\let\AtEndDvi\@gobble
+ \let\on@line\@empty
+ \PackageInfo{atenddvi}{Last page = \AtEndDvi@LastPage}%
+ \fi
+ \endgroup
+}
+\def\AtEndDvi@AtBeginDocument{%
+ \AtBeginShipout{\AtEndDvi@AtBeginShipout}%
+ \if@filesw
+ \immediate\write\@mainaux{%
+ \string\providecommand\string\AtEndDvi@Check{}%
+ }%
+ \immediate\write\@mainaux{%
+ \string\AtEndDvi@Check
+ }%
+ \fi
+ \let\AtEndDvi@Check\AtEndDvi@CheckImpl
+}
+\AtBeginDocument{\AtEndDvi@AtBeginDocument}
+\def\AtEndDvi@CheckImpl{%
+ \@ifundefined{AtEndDvi@LastPage}{%
+ \PackageWarningNoLine{atenddvi}{%
+ Rerun LaTeX, last page not yet found%
+ }%
+ }{%
+ \ifnum\AtEndDvi@LastPage=\value{abspage}%
+ \else
+ \PackageWarningNoLine{atenddvi}{%
+ Rerun LaTeX, last page has changed%
+ }%
+ \fi
+ }%
+}
+\endinput
+%%
+%% End of file `atenddvi-2019-12-11.sty'.
diff --git a/Master/texmf-dist/tex/latex/atenddvi/atenddvi.sty b/Master/texmf-dist/tex/latex/atenddvi/atenddvi.sty
index 46e321ecb6c..4cfb21194c5 100644
--- a/Master/texmf-dist/tex/latex/atenddvi/atenddvi.sty
+++ b/Master/texmf-dist/tex/latex/atenddvi/atenddvi.sty
@@ -9,11 +9,11 @@
%% This is a generated file.
%%
%% Project: atenddvi
-%% Version: 2019-12-11 v1.4
+%% Version: 2020-11-11 v1.5
%%
%% Copyright (C)
%% 2007 Heiko Oberdiek
-%% 2016-2019 Oberdiek Package Support Group
+%% 2016-2020 Oberdiek Package Support Group
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -31,75 +31,25 @@
%% Heiko Oberdiek and the Oberdiek Package Support Group
%% https://github.com/ho-tex/atenddvi/issues
%%
-%%
%% This work consists of the main source file atenddvi.dtx
%% and the derived files
%% atenddvi.sty, atenddvi.pdf, atenddvi.ins, atenddvi.drv.
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{atenddvi}%
- [2019-12-11 v1.4 At end DVI hook (HO)]%
-\RequirePackage{zref-abspage,zref-lastpage}[2007/03/19]
-\RequirePackage{atbegshi}
-\let\AtEndDvi@Hook\@empty
-\newcommand*{\AtEndDvi}{%
- \g@addto@macro\AtEndDvi@Hook
-}
-\def\AtEndDvi@AtBeginShipout{%
- \begingroup
- \ifnum\value{abspage}=1 %
- \zref@refused{LastPage}%
- \fi
- \ifnum\zref@extractdefault{LastPage}{abspage}{0}=\value{abspage}%
- \xdef\AtEndDvi@LastPage{\number\value{abspage}}%
- \global\setbox\AtBeginShipoutBox=\vbox{%
- \hbox{%
- \box\AtBeginShipoutBox
- \setbox\AtBeginShipoutBox=\hbox{%
- \begingroup
- \AtEndDvi@Hook
- \endgroup
- }%
- \wd\AtBeginShipoutBox=\z@
- \ht\AtBeginShipoutBox=\z@
- \dp\AtBeginShipoutBox=\z@
- \box\AtBeginShipoutBox
- }%
- }%
- \global\let\AtEndDvi@AtBeginShipout\@empty
- \global\let\AtEndDvi\@gobble
- \let\on@line\@empty
- \PackageInfo{atenddvi}{Last page = \AtEndDvi@LastPage}%
- \fi
- \endgroup
-}
-\def\AtEndDvi@AtBeginDocument{%
- \AtBeginShipout{\AtEndDvi@AtBeginShipout}%
- \if@filesw
- \immediate\write\@mainaux{%
- \string\providecommand\string\AtEndDvi@Check{}%
- }%
- \immediate\write\@mainaux{%
- \string\AtEndDvi@Check
- }%
- \fi
- \let\AtEndDvi@Check\AtEndDvi@CheckImpl
-}
-\AtBeginDocument{\AtEndDvi@AtBeginDocument}
-\def\AtEndDvi@CheckImpl{%
- \@ifundefined{AtEndDvi@LastPage}{%
- \PackageWarningNoLine{atenddvi}{%
- Rerun LaTeX, last page not yet found%
- }%
- }{%
- \ifnum\AtEndDvi@LastPage=\value{abspage}%
- \else
- \PackageWarningNoLine{atenddvi}{%
- Rerun LaTeX, last page has changed%
- }%
- \fi
- }%
-}
+ [2020-11-11 v1.5 At end DVI hook (HO)]%
+\providecommand\IfFormatAtLeastTF{\@ifl@t@r\fmtversion}
+\IfFormatAtLeastTF{2020/10/01}
+ {%
+ \PackageWarning{atenddvi}
+ {Functionality of this package is already\MessageBreak
+ provided by LaTeX.\MessageBreak\MessageBreak
+ It is therefore no longer necessary to load it\MessageBreak
+ and you can safely remove it.\MessageBreak
+ Found on}{}%
+ }{\input{atenddvi-2019-12-11.sty}}
+\IfFormatAtLeastTF{2020/10/01}{}{\endinput}
+
\endinput
%%
%% End of file `atenddvi.sty'.
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 86135a410d2..f18946ade55 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -2795,6 +2795,7 @@ my $core_latex = "$Master/texmf-dist/tex/latex";
'archaeologie' => 'pdftex', # else doc is generated
'asciilist' => 'latex', # requires interaction
'askinclude' => 'tex', # else doc is generated
+ 'atenddvi' => 'etex',
'babel' => 'etex',
'babel-belarusian' => 'tex -8bit', # do not make doc, no ^^
'babel-greek' => 'latex', # requires interaction