[pdftex] adding pdf-anchors
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
Subject: Re: [pdftex] adding pdf-anchors
In-reply-to: Your message of Sat, 21 May 2005 06:05:12 -0400.
<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.
please post issues like this where relevant people can answer,
***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
More information about the pdftex
mailing list