[XeTeX] Is it possible
Jonathan Kew
jonathan_kew at sil.org
Wed Mar 23 20:37:40 CET 2005
On 23 Mar 2005, at 7:26 pm, Jon Breitenbucher wrote:
> Jonathan,
>
> It appears that phantom sections are not working. Everything else
> works. Here is an example for including the index in the contents with
> an active link to the index
>
> \if at xetex
> \cleardoublepage
> \phantomsection
> \addcontentsline{toc}{chapter}{Index}
> \else
> \ifpdf
> \cleardoublepage
> \phantomsection
> \addcontentsline{toc}{chapter}{Index}
> \else
> \cleardoublepage
> \addcontentsline{toc}{chapter}{Index}
> \fi
> \fi
>
> pdfLatex/hyperref will create a link to the top of the page where the
> index starts. XeLaTeX/hyperref creates a link to the top of the page
> before the blank page, i.e., the index starts on page 50 and the link
> in the contents takes you to the top of page 48 with 49 as a blank
> page. Thoughts?
Does it work if you use a LaTeX/dvipdfm process rather than pdfLaTeX?
If not, that's your answer; the XeTeX hyperref stuff is using the
hyperref dvipdfm driver and interpreting the \specials that produces.
Maybe those \specials aren't placed properly.
If it does work, then I'll need to look at the .xdv file of such a job
and try to see where it's going awry.
Thanks,
JK
More information about the XeTeX
mailing list