# [texhax] Retrieving the value of a counter from previous run

Donald Arseneau asnd at triumf.ca
Sun Apr 15 22:37:52 CEST 2007

Steve Schwartz <s.schwartz at imperial.ac.uk> writes:

> [subject] must be easy, but I can't find out how.

Use \label at the end of the document.

You either have to do \refstepcounter at the end, or define
\@currentlabel.

Look at the package nofm or similar (usually for page numbering).

--
Donald Arseneau                          asnd at triumf.ca