In the latest LaTeX...

David Carlisle d.p.carlisle at gmail.com
Fri Nov 13 20:12:28 CET 2020


tex-live not really the right list, this is purely a latex issue but anyway
it's needed to control the hook management at the end of the document, see
source2e.pdf (or ltshipout.dtx in the base sources)

%  \begin{macro}{\@abspage at last}
%    In \cs{@abspage at last} record the number of pages from the last
%    run. This is written to the \texttt{.aux} and this way made
%    available to the next run. In case there is no \texttt{.aux} file
%    or the statement is missing from it we initialize it with the
%    largest possible number in \TeX{}. We use this as the default
%    because then we are inserting the \hook{shipout/lastpage} on
%    the last page (or after the last page but not on page 1 for a
%    multipage document.


On Fri, 13 Nov 2020 at 19:10, Herbert Schulz <herbs at wideopenwest.com> wrote:

>
>
> > On Nov 13, 2020, at 1:01 PM, Herbert Schulz <herbs at wideopenwest.com>
> wrote:
> >
> > Howdy,
> >
> > What is the line ``\gdef \@abspage at last{nnn}'' (nnn is the number of
> pages in the document) automatically added to the .aux file even for the
> simplest documents (e.g. Hello World!)?
> >
> > Good Luck,
> >
> > Herb Schulz
> > (herbs at wideopenwest dot com)
> >
>
> Howdy,
>
> That should be Why... not What... of course.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20201113/84b6037e/attachment.html>


More information about the tex-live mailing list.