The TeX Catalogue Online

refcount

Counter operations with label references.

Provides commands \setcounterref and \addtocounterref which use the section (or whatever) number from the reference as the value to put into the counter, as in:

    ...\label{sec:foo}
    ...
    \setcounterref{foonum}{sec:foo}
    

Commands \setcounterpageref and \addtocounterpageref do the corresponding thing with the page reference of the label.

No .ins file is distributed; process the .dtx with plain TeX to create one.

The package is part of the oberdiek bundle.

The author is Heiko Oberdiek. The package is Copyright © 1998,2000,2006,2008 Heiko Oberdiek.

License: lppl Version: 3.1 Catalogued: 2008-08-11