texlive[56922] Master: atenddvi (12nov20)

commits+karl at tug.org commits+karl at tug.org
Thu Nov 12 22:46:46 CET 2020


Revision: 56922
          http://tug.org/svn/texlive?view=revision&revision=56922
Author:   karl
Date:     2020-11-12 22:46:45 +0100 (Thu, 12 Nov 2020)
Log Message:
-----------
atenddvi (12nov20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/atenddvi/README.md
    trunk/Master/texmf-dist/doc/latex/atenddvi/atenddvi.pdf
    trunk/Master/texmf-dist/source/latex/atenddvi/atenddvi.dtx
    trunk/Master/texmf-dist/tex/latex/atenddvi/atenddvi.sty
    trunk/Master/tlpkg/libexec/ctan2tds

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/latex/atenddvi/atenddvi-2019-12-11.sty

Modified: trunk/Master/texmf-dist/doc/latex/atenddvi/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/atenddvi/README.md	2020-11-12 21:46:03 UTC (rev 56921)
+++ trunk/Master/texmf-dist/doc/latex/atenddvi/README.md	2020-11-12 21:46:45 UTC (rev 56922)
@@ -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.
+

Modified: trunk/Master/texmf-dist/doc/latex/atenddvi/atenddvi.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/atenddvi/atenddvi.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/atenddvi/atenddvi.dtx	2020-11-12 21:46:03 UTC (rev 56921)
+++ trunk/Master/texmf-dist/source/latex/atenddvi/atenddvi.dtx	2020-11-12 21:46:45 UTC (rev 56922)
@@ -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 @@
   \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 @@
 %<*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 @@
 % \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,14 +221,33 @@
 % }
 %
 % \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 at 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
 %    \begin{macrocode}
 \RequirePackage{zref-abspage,zref-lastpage}[2007/03/19]
@@ -367,7 +391,7 @@
 %    \end{macro}
 %
 %    \begin{macrocode}
-%</package>
+%</packagefrozen>
 %    \end{macrocode}
 %
 % \section{Installation}
@@ -381,27 +405,6 @@
 % \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 @@
 % \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 @@
 %   \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

Added: trunk/Master/texmf-dist/tex/latex/atenddvi/atenddvi-2019-12-11.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/atenddvi/atenddvi-2019-12-11.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/atenddvi/atenddvi-2019-12-11.sty	2020-11-12 21:46:45 UTC (rev 56922)
@@ -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 at Hook\@empty
+\newcommand*{\AtEndDvi}{%
+  \g at addto@macro\AtEndDvi at Hook
+}
+\def\AtEndDvi at AtBeginShipout{%
+  \begingroup
+    \ifnum\value{abspage}=1 %
+      \zref at refused{LastPage}%
+    \fi
+    \ifnum\zref at extractdefault{LastPage}{abspage}{0}=\value{abspage}%
+      \xdef\AtEndDvi at LastPage{\number\value{abspage}}%
+      \global\setbox\AtBeginShipoutBox=\vbox{%
+        \hbox{%
+          \box\AtBeginShipoutBox
+          \setbox\AtBeginShipoutBox=\hbox{%
+            \begingroup
+              \AtEndDvi at Hook
+            \endgroup
+          }%
+          \wd\AtBeginShipoutBox=\z@
+          \ht\AtBeginShipoutBox=\z@
+          \dp\AtBeginShipoutBox=\z@
+          \box\AtBeginShipoutBox
+        }%
+      }%
+      \global\let\AtEndDvi at AtBeginShipout\@empty
+      \global\let\AtEndDvi\@gobble
+      \let\on at line\@empty
+      \PackageInfo{atenddvi}{Last page = \AtEndDvi at LastPage}%
+    \fi
+  \endgroup
+}
+\def\AtEndDvi at AtBeginDocument{%
+  \AtBeginShipout{\AtEndDvi at AtBeginShipout}%
+  \if at filesw
+    \immediate\write\@mainaux{%
+      \string\providecommand\string\AtEndDvi at Check{}%
+    }%
+    \immediate\write\@mainaux{%
+      \string\AtEndDvi at Check
+    }%
+  \fi
+  \let\AtEndDvi at Check\AtEndDvi at CheckImpl
+}
+\AtBeginDocument{\AtEndDvi at AtBeginDocument}
+\def\AtEndDvi at CheckImpl{%
+  \@ifundefined{AtEndDvi at LastPage}{%
+    \PackageWarningNoLine{atenddvi}{%
+      Rerun LaTeX, last page not yet found%
+    }%
+  }{%
+    \ifnum\AtEndDvi at LastPage=\value{abspage}%
+    \else
+      \PackageWarningNoLine{atenddvi}{%
+        Rerun LaTeX, last page has changed%
+      }%
+    \fi
+  }%
+}
+\endinput
+%%
+%% End of file `atenddvi-2019-12-11.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/atenddvi/atenddvi-2019-12-11.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/atenddvi/atenddvi.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/atenddvi/atenddvi.sty	2020-11-12 21:46:03 UTC (rev 56921)
+++ trunk/Master/texmf-dist/tex/latex/atenddvi/atenddvi.sty	2020-11-12 21:46:45 UTC (rev 56922)
@@ -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,7 +31,6 @@
 %% 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.
@@ -38,68 +37,19 @@
 %% 
 \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 at Hook\@empty
-\newcommand*{\AtEndDvi}{%
-  \g at addto@macro\AtEndDvi at Hook
-}
-\def\AtEndDvi at AtBeginShipout{%
-  \begingroup
-    \ifnum\value{abspage}=1 %
-      \zref at refused{LastPage}%
-    \fi
-    \ifnum\zref at extractdefault{LastPage}{abspage}{0}=\value{abspage}%
-      \xdef\AtEndDvi at LastPage{\number\value{abspage}}%
-      \global\setbox\AtBeginShipoutBox=\vbox{%
-        \hbox{%
-          \box\AtBeginShipoutBox
-          \setbox\AtBeginShipoutBox=\hbox{%
-            \begingroup
-              \AtEndDvi at Hook
-            \endgroup
-          }%
-          \wd\AtBeginShipoutBox=\z@
-          \ht\AtBeginShipoutBox=\z@
-          \dp\AtBeginShipoutBox=\z@
-          \box\AtBeginShipoutBox
-        }%
-      }%
-      \global\let\AtEndDvi at AtBeginShipout\@empty
-      \global\let\AtEndDvi\@gobble
-      \let\on at line\@empty
-      \PackageInfo{atenddvi}{Last page = \AtEndDvi at LastPage}%
-    \fi
-  \endgroup
-}
-\def\AtEndDvi at AtBeginDocument{%
-  \AtBeginShipout{\AtEndDvi at AtBeginShipout}%
-  \if at filesw
-    \immediate\write\@mainaux{%
-      \string\providecommand\string\AtEndDvi at Check{}%
-    }%
-    \immediate\write\@mainaux{%
-      \string\AtEndDvi at Check
-    }%
-  \fi
-  \let\AtEndDvi at Check\AtEndDvi at CheckImpl
-}
-\AtBeginDocument{\AtEndDvi at AtBeginDocument}
-\def\AtEndDvi at CheckImpl{%
-  \@ifundefined{AtEndDvi at LastPage}{%
-    \PackageWarningNoLine{atenddvi}{%
-      Rerun LaTeX, last page not yet found%
-    }%
-  }{%
-    \ifnum\AtEndDvi at 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 at 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'.

Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2020-11-12 21:46:03 UTC (rev 56921)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2020-11-12 21:46:45 UTC (rev 56922)
@@ -2795,6 +2795,7 @@
  '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



More information about the tex-live-commits mailing list.