[pdftex] Automatic custom equation numbers, hyperref and \ref*

Victor Ivrii vivrii at gmail.com
Tue Feb 21 12:19:27 CET 2006

I have equation which is numbered automatically, currently as (2.12)
(for example)
and labeled by \label{A}.

Now, I want to create equation numbered as (2.12)^* and changing its
number automatically as number of equation labeled by A changes.
The logical and working construction is

however with hyperref it would create a nested hyperlink which behaves
in funny way:

(\ref{B}) blah-blah-blah

looks as (2.12)^* blah-blah-blah  and (2.12)^* is clickable (a correct
link) but blah-blah-blah becomes clickable too with the link to the
first page.

It could be avoided if I replaced \ref{A} by \ref*{A} which should as
a manual says
print 2.12 but not to create a link. Unfortunately, \ref*{A} does not
work (at least for me): it prints
??A  which means that it understands * as a label rather than as an option.

I use hyperref 6.71m (the latest on CTAN) which is loaded as

I run pdflatex 1.30.4 (the latest in the standard Mac distribution)

Actually, \pageref*  does not work either.

Thank you very much in advance.

Victor Ivrii, Department of Mathematics, University of Toronto

More information about the pdftex mailing list