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,2010,2011 Heiko Oberdiek.

License: lppl1.3 Version: 3.4 Catalogued: 2015-08-03