Contributions to LaTeX-core
David Carlisle
d.p.carlisle at gmail.com
Mon Jan 6 01:22:35 CET 2025
Thank you for your interest in supporting LaTEX, however note that the
everyshi package is obsoleted now by the built in hook code so you should
not need to load it in new documents.
LaTeX also keeps track of the number of pages shipped out, see
texdoc ltshipout-doc
in particular the commands \ReadonlyShipoutCounter and \PreviousTotalPages
and the LaTeX counter totalpages
should be of interest,
David
On Sun, 5 Jan 2025 at 15:15, Gabriel Ruprecht <textinkerer.1904 at gmail.com>
wrote:
> Hello TUG,
>
> I watched Frank Mittelbach - Quo Vadis LaTeX(3) (/watch?v=zNci4lcb8Vo),
> where he says, that several document hooks shall be included in LaTeX-core.
>
> I made a very simple package, which I wanted to upload to CTAN, but it
> makes more sense, to include it is a standard. It is just this:
>
> \ProvidesPackage{realpage}
> \RequirePackage{everyshi}
>
> \newcounter{realpage}
> \setcounter{realpage}{1}
>
> \EveryShipout{\stepcounter{realpage}}
>
> page is reset on pagenumbering change, this is not. It's basically the
> physical paper count.
>
> Is there any way to contribute this? Like a git repo?
>
> Best regards,
>
> Gabriel Ruprecht
>
> P.S.: You can respond in German or English.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20250106/e6bec3f5/attachment.htm>
More information about the texhax
mailing list.