FrankMittelbach / fmitex-footmisc

The footmisc package originally developed and mainted by Robin Fairbairns
7 stars 2 forks source link

Command \c@abspage already defined #2

Closed martinantonmueller closed 2 years ago

martinantonmueller commented 2 years ago

This MWE

\documentclass{scrbook}
\usepackage[perpage]{footmisc} 
\usepackage[english]{babel}
\usepackage{zref-abspage}
\begin{document}
nothing much                                                      
\end{document}

creates the above stated message. Any idea how to avoid the options clash?

FrankMittelbach commented 2 years ago

The new footmisc implementation delegates the perpage option mainly to the package "perpage", so your conflict comes from zref-abspage not handling the fact that the counter "abspage" may already been defined, ie you get the same from

\documentclass{scrbook}
\usepackage{perpage}
\usepackage{zref-abspage}

Swapping the packages seems to work (though I'm not sure the two are really compatible). So with footmisc it means moving zref-abspage before footmisc.

martinantonmueller commented 2 years ago

Thank you!