[XeTeX] \listoftables, hyperref and xelatex

Arash Zeini azeini at yahoo.com
Wed Apr 22 11:35:55 CEST 2009


Hi Ross,

On 22/04/2009 Ross Moore wrote:
> Hi Arash,

> 
> On 22/04/2009, at 9:17 AM, Arash Zeini wrote:
> 
> >>
> >> I guess this could be fixed in the hyperref back-end, by making it
> >> resolve such situations into separate links, or else it could be
> >> suggested as an enhancement to the (x)dvipdfmx driver. But right now
> >> it's not supported, and the driver is (correctly) warning you that it
> >> can't do what your document requests.
> >>
> >> JK
> >
> > Thanks. Do you suggest I report this issue to hyperref or dvipdfmx?
> 
> Neither, for the moment.
> 
> I've tested your document, with both  pdfLaTeX  and XeLaTeX .
> The problems you describe did not occur.
> All the hyperlinks work as expected.

Interesting. That means, you don't get the warning message?

> So we need to see more about your TeX installation.
> In particular, which versions of different packages you are using.

More on this further below. I removed Debian's TL 2007 packages few weeks ago and net-installed TL 2008. I kept the default paths and let the package install symlinks too. Everything else seems to be working. I never used \cite in \caption commands with TL 2007, so don't know whether it would have worked there.

> Please post your .log  file, so we can see more about which
> versions of packages you have, and where the problem occurs.
> Post also the .lot  file ---- my mistake, saying .toc  previously.

.log file is attached. Result of .lot files:

With \protect:
\select at language {english}
\contentsline {table}{\numberline {0.1}{\ignorespaces Test Caption. \cite {Weber_2007}}}{3}{table.0.1}

Without protect:
\select at language {english}
\contentsline {table}{\numberline {0.1}{\ignorespaces Test Caption. \cite {Weber_2007}}}{3}{table.0.1}

 > You use  natbib.sty , but which version?

The one that comes with TL 2008, apparently version 8.3 from 02/02/09.

> Have you tried using  hypernat.sty?

Didn't know about this package. Tried it this morning by simply replacing natbib with hypernat. I receive the same warning, and in the list o
name and year are not linked to bibliography at all.

> This solved many of the conflicts that arose when combining
> hyperlinks with citations. But later versions of  hyperref
> and/or  natbib  seem to have resolved those issues.
> (In particular  \cite  is now robust.)
> 
> 
> In my case, I'm using:
> 
> This is XeTeXk, Version 3.1415926-2.2-0.999.7 (Web2C 7.5.6)
> 
> Package typearea, 2006/07/30 v2.95b KOMA-Script package (type area)
> 
> (/usr/local/texlive/2007/texmf-dist/tex/latex/natbib/natbib.sty)
>     -- version:   [2007/02/05 8.0 (PWD)]
> (/Users/rossmoor/Library/texmf/tex/latex/hyperref-678k+/hyperref.sty
> (/Users/rossmoor/Library/texmf/tex/latex/hyperref-678k+/hdvipdfm.def)
> (/usr/local/texlive/2007/texmf-dist/tex/latex/tocbibind/tocbibind.sty
> (/Users/rossmoor/Library/texmf/tex/latex/hyperref-678k+/nameref.sty

I am using:

This is XeTeXk, Version 3.1415926-2.2-0.999.6 (Web2C 7.5.7) (format=xelatex 2009.4.1)  22 APR 2009 10:30
entering extended mode
 %&-line parsing enabled.
**xelatex_table_test
(./xelatex_table_test.tex

> Hope this helps,
> 
>     Ross

Thanks for your help, Ross.



      



More information about the XeTeX mailing list