Menu
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

zref – A new reference scheme for LaTeX

This pack­age of­fers a means to re­move the lim­i­ta­tion, of only two prop­er­ties, that is in­her­ent in the way LaTeX’s ref­er­ence sys­tem works. The pack­age im­ple­ments an ex­ten­si­ble ref­er­enc­ing sys­tem, where prop­er­ties may be de­fined and used in the course of a doc­u­ment. It pro­vides an in­ter­face for macro pro­gram­mers to ac­cess the new ref­er­ence scheme and some mod­ules that use it.

Mo­d­ules avail­able are:

  • zref-user, use zref for “tra­di­tional” la­bels and ref­er­ences;
  • zref-ab­spage, re­trieve ab­so­lute page num­bers (phys­i­cal pages, as op­posed to the ‘log­i­cal’ page num­ber that is nor­mally type­set when a page num­ber is re­quested;
  • zref-last­page, pro­vide a zref-la­bel for the last page of the doc­u­ment;
  • zref-nextpage, pro­vide the page num­ber of the next page of the doc­u­ment;
  • zref-tot­pages, pro­vide the to­tal num­ber of pages in the doc­u­ment;
  • zref-page­lay­out, pro­vide the page lay­out pa­ram­e­ters of a each page (which may then be printed at the end of the doc­u­ment);
  • zref-per­page, make a counter re­set for each new page;
  • zref-ti­tleref, make sec­tion ti­tle or cap­tion text avail­able through the ref­er­ence sys­tem; zref-save­pos, make po­si­tions on a page avail­able;
  • zref-dot­fill, con­trolled dot-fill­ing;
  • zref-env, record the lat­est en­vi­ron­ment’s name and the line it started on; and
  • zref-xr, pro­vide the fa­cil­i­ties of the xr and xr-hy­per pack­ages.
The pack­age is part of the oberdiek bun­dle.

Sources/macros/latex/contrib/oberdiek/zref.dtx
Doc­u­men­ta­tion
Ver­sion2.24
Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right2006-2012 Heiko Oberdiek
Main­tainerHeiko Oberdiek
TDS archiveoberdiek.tds.zip
Con­tained inTeXlive as oberdiek
MikTeX as oberdiek
Topics la­bel and ref­er­ence sys­tems
Guest Book Sitemap Contact 2014-04-25 05:58 CEST