This question is related to an attempt to fix the following warning in my case.
pdfTeX warning (ext4): destination with the same identifier (...) has been already used, duplicate ignored
I have a counter, say named thm. If I use it, and then reset it, and then use it (by use, I mean
\refstepcounter), I would get the error above.
In my situation, I have other variables that helps differentiating between different these different instants. So I would like to be able to use these extra information to create new names for these destinations.
So, the short question: is it possible to define some replacement for \refstepcounter so I can set the name manually?