Robin Fairbairns Robin.Fairbairns at cl.cam.ac.uk
Sat May 21 13:37:21 CEST 2005

------- Blind-Carbon-Copy

To: Victor Ivrii <vivrii at gmail.com>
Cc: texhax at tug.org
<19af8140050521030565a2f258 at mail.gmail.com>
Date: Sat, 21 May 2005 12:37:21 +0100
From: Robin Fairbairns <rf at cl.cam.ac.uk>

this is *not* a pdftex issue; it's a hyperref issue, and applies
equally well in the case of latex+hyperref/dvips/"distiller", etc.

***not*** where some of the audience are only interested in pdftex.

> hyperref inserts in pdf file a lot of anchors: at equations, sections,
> tops of the pages etc no matter if one labels them or not.
>
> Is there any reqular way to put an anchor into an arbitrary place?
> Placing \label{XYZ} does not work: \ref{XYZ} returns the value of the
> smallest division/environment, containing the place (say
> \thesubsection) and leads to the anchor associated with this
> division/environment.

solve this problem by the usual *latex* technique of a private
counter.

\newcounter{privateanchor}
...
\refstepcounter{privateanchor}\label{XYZ}

------- End of Blind-Carbon-Copy