CTAN Comprehensive TeX Archive Network

CTAN update: lastpage

Date: June 7, 2025 12:06:58 PM CEST
Hans-Martin Münch submitted an update to the lastpage package. Version: 2.1g 2025-06-06 License: lppl1.3c Summary description: Reference last page for Page N of M type footers Announcement text:
2.1g 2025-06-06 With the new kernel, special handling for packages french and frenchle must not be done. 2.1f 2025-06-05 Fix for new format version: Since LaTeX-format 2025-06-01 after shipping the last page all further |\write|s are made |\immediate|, making |\addtocounter{page}{-1}| and then |\addtocounter{page}{+1}| obsolete.
This package is located at https://mirrors.ctan.org/macros/latex/contrib/lastpage More information is at https://ctan.org/pkg/lastpage
Thanks for the upload. For the CTAN Team Manfred Lotz CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs .

lastpage – Reference last page for Page N of M type footers

Reference the number of pages in your document through the introduction of a new label which can be referenced like \pageref{LastPage} to give a reference to the last page of a document. It is particularly useful in the page footer that says: Page N of M.

Packagelastpage
Version2.1g 2025-06-06
Copyright2010–2025 H.-Martin Münch
MaintainerHans-Martin Münch
Jeffrey Goldberg (inactive)

Announcements

more

Guest Book Sitemap Contact Contact Author