Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

with hyperref: failed to patch \hyper@refstepcounter #54

Open
sdnf93k opened this issue May 16, 2023 · 3 comments
Open

with hyperref: failed to patch \hyper@refstepcounter #54

sdnf93k opened this issue May 16, 2023 · 3 comments

Comments

@sdnf93k
Copy link

sdnf93k commented May 16, 2023

Hej,

when I use Your great package (v6.2a 2022/03/11) together with hyerref (v7.00x 2023/04/22), both in the actual TeX Live 2023 distrib,, I get the warning
"I failed to patch \hyper@refstepcounter. Please contact the package author."

With other versions, e.g. TeX Live 2020 (ch... v.5.11, hy... v7.00d) this error don't occur.

Here ist the MWE:
`
\documentclass{article}
\usepackage{chemmacros}
%\chemsetup{modules=reactions}% for TL2020
\usepackage{hyperref}

\begin{document}

\begin{reaction}
A + B <<=> AB
\end{reaction}

\end{document}
`

@xyttyxy
Copy link

xyttyxy commented Aug 4, 2023

I see the same warning. Did you notice anything strange with your document?

@Vasco-Da-Gama-png
Copy link

I get the same warning. If you don't use chemmacros own counter (\chemsetup[reactions]{own-counter=false}) you get rid of the warning. Is there a way to fix this?

@T-Tonic
Copy link

T-Tonic commented Nov 5, 2024

Has anyone managed to look into this? I don't want to disable chemmacros counter as I use both equations and reactions in my document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@xyttyxy @T-Tonic @Vasco-Da-Gama-png @sdnf93k and others