TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It seems that zref-abspage and perpage both defines the abspage counter so

This is a test 

would produce error.

How should this be fixed? it seems that changing loading order will fix it.

share|improve this question
up vote 10 down vote accepted

Yes, I know it already and have prepared version 3.0 of zref. In zref-abspage I rename the counter to zabspage. Also I take the opportunity of the major version step to change the way, the counter is increased. Before version 3.0 the counter is increased during shipout time via \AtBeginShipout, that means that in the output routine the counter is not yet updated to the value for the page like counter page. With version 3.0 the counter zabspage shows to the next page number and it is increased after the shipout like the behaviour of counter page.

Because I have not finished the work on other parts of the bundle, the next release of my bundle will be later in the year.

share|improve this answer
@GonzaloMedina Currently both packages wants to use the same counter name, but incrementing it at different times. Thus I can't see, how savesym can be of help here. – Heiko Oberdiek Oct 29 '12 at 2:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.