Follow-up Comment #2, bug #656 (project tex4ht):
I think the main problem is that you have \label{link2} outside of the table.
This confuses LaTeX's cross-reference system. Try to add \ref{link2} to your
document. It will print 1.1 (the value of current subsection) instead of 1. So
even in the PDF mode, the cross-reference is pointing to the subsection
instead of the table. I think the correct markup is this:
\begin{table}
\caption{a table}
\label{link2} target2
\end{table}
I've found one error though. \ref and \pageref don't add links when Hyperref
is active.
_______________________________________________________
Reply to this item at: <https://puszcza.gnu.org.ua/bugs/?656>
_______________________________________________
Message sent via/by Puszcza <https://puszcza.gnu.org.ua/>