<div dir="ltr"><div>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.</div><div>LaTeX also keeps track of the number of pages shipped out, see <br></div><div><br></div><div>texdoc ltshipout-doc</div><div><br></div><div>in particular the commands \ReadonlyShipoutCounter and \PreviousTotalPages and the LaTeX counter totalpages</div><div>should be of interest,</div><div><br></div><div>David</div><div><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sun, 5 Jan 2025 at 15:15, Gabriel Ruprecht <<a href="mailto:textinkerer.1904@gmail.com">textinkerer.1904@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello TUG,<br>
<br>
I watched Frank Mittelbach - Quo Vadis LaTeX(3) (/watch?v=zNci4lcb8Vo), <br>
where he says, that several document hooks shall be included in LaTeX-core.<br>
<br>
I made a very simple package, which I wanted to upload to CTAN, but it <br>
makes more sense, to include it is a standard. It is just this:<br>
<br>
\ProvidesPackage{realpage}<br>
\RequirePackage{everyshi}<br>
<br>
\newcounter{realpage}<br>
\setcounter{realpage}{1}<br>
<br>
\EveryShipout{\stepcounter{realpage}}<br>
<br>
page is reset on pagenumbering change, this is not. It's basically the <br>
physical paper count.<br>
<br>
Is there any way to contribute this? Like a git repo?<br>
<br>
Best regards,<br>
<br>
Gabriel Ruprecht<br>
<br>
P.S.: You can respond in German or English.<br>
</blockquote></div></div>