CTAN Comprehensive TeX Archive Network

CTAN Update: zref

Date: May 29, 2020 7:10:19 PM CEST
Oberdiek Package Support Group submitted an update to the zref package. Version: 2.31 2020-05-28 License: lppl1.3c Summary description: A new reference scheme for LaTeX Announcement text:
* added pagevalue property to savepos in abspos module, (issue 1) * to correct a problem with references when hyperref is loaded (issue 5), zref-counter uses from LaTeX2e <2020-10-01> pre-release-6 on the new command \@currentcounter and no longer patches \refstepcounter.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/zref The package’s files themselves can be inspected at http://mirror.ctan.org/macros/latex/contrib/zref/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
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

zref – A new reference scheme for

This package offers a means to remove the limitation, of only two properties, that is inherent in the way ’s reference system works. The package implements an extensible referencing system, where properties may be defined and used in the course of a document. It provides an interface for macro programmers to access the new reference scheme and some modules that use it.

Modules available are:

  • zref-user, use zref for “traditional” labels and references;
  • zref-abspage, retrieve absolute page numbers (physical pages, as opposed to the ‘logical’ page number that is normally typeset when a page number is requested;
  • zref-lastpage, provide a zref-label for the last page of the document;
  • zref-nextpage, provide the page number of the next page of the document;
  • zref-totpages, provide the total number of pages in the document;
  • zref-pagelayout, provide the page layout parameters of a each page (which may then be printed at the end of the document);
  • zref-perpage, make a counter reset for each new page;
  • zref-titleref, make section title or caption text available through the reference system; zref-savepos, make positions on a page available;
  • zref-dotfill, controlled dot-filling;
  • zref-env, record the latest environment’s name and the line it started on; and
  • zref-xr, provide the facilities of the xr and xr-hyper packages.

Version2.35 2023-09-14
Copyright2006–2012 Heiko Oberdiek
2016–2023 Oberdiek Package Support Group
MaintainerHeiko Oberdiek



Guest Book Sitemap Contact Contact Author