[XeTeX] cross references and hyperref

Jonathan Kew jonathan_kew at sil.org
Mon Aug 20 18:26:31 CEST 2007


On 20 Aug 2007, at 3:17 pm, Tobias Schlemmer wrote:

> Hi,
>
> Peter Dyballa schrieb:
>> Am 17.08.2007 um 21:06 schrieb Pablo Rodríguez:
>> Why aren't you or your friend using \hypertarget and \hyperlink? For
>> me these *ref's used belong to plain LaTeX ...
>>
>> 	check this reference: \hyperlink{refer}{\pageref{refer}} (and this
>> one: \hyperlink{refer}{\ref{refer}}).
>> 	\cleardoublepage
>> 	\hypertarget{refer}{\label{refer}This is the reference.}
>
> I didn't test it, but as far as I know hyperref redefines \label, \ref
> and \pageref to make hyperlinks too. So your suggestion will double  
> link
> generation. This can lead to different problems.
>

Yes, that's why Pablo got error messages when trying this, IIRC. You  
can't create a link within a link.

JK



More information about the XeTeX mailing list