PDF spec

Philippe Sigaud philippe.sigaud at gmail.com
Fri Jan 25 11:01:56 PST 2013


On Fri, Jan 25, 2013 at 7:31 PM, FG <home at fgda.pl> wrote:
> On 2013-01-25 18:26, Andrei Alexandrescu wrote:
>>
>> I'm using \href for the anchors and \label for the targets. What are you
>> using?
>
>
> \href{url}{text} is for URLs, \hyperref[labelname]{text} is for labels.

I use \href for URLs and \ref or \autoref for internal refs, these
being marked with \label{labelname}.

IIRC, \ref gives a section number, while \autoref gives the 'kind'
("Section 3.2", as opposed to "3.2").


More information about the Digitalmars-d mailing list