Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

\documentclass{article}
\usepackage{perpage}
\usepackage{zref-abspage}
\begin{document}
This is a test 
\end{document}

would produce error.

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

share|improve this question
add comment

1 Answer

up vote 8 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
add comment

Your Answer

 
discard

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.