[XeTeX] \listoftables, hyperref and xelatex

Jonathan Kew jfkthame at googlemail.com
Wed Apr 22 01:11:10 CEST 2009

On 21 Apr 2009, at 23:51, Arash Zeini wrote:

>> I still wonder what happens if you try running it with latex+dvipdfmx
>> instead of pdftex or xetex.
>> JK
> Hi Jonathan,
> The exact same thing as with xelatex. I added dvipdfmx as a driver  
> option to hyperref, ran latex first and then dvipdfmx to create the  
> PDF file. The resulting PDF behaves just like the one created by  
> xelatex and I receive this message after running dvipdfmx:
> ** WARNING ** Can't begin an annotation when one is pending.
> ** WARNING ** Interpreting special command bann (pdf:) failed.
> ** WARNING ** >> at page="2" position="(224..901, 663.853)" (in PDF)
> ** WARNING ** >> xxx "pdf:bann<</Type/Annot/Subtype/Link/Border[0 0  
> 0]/C[0 1 0]/A<..."
> ** WARNING ** >> Reading special command stopped around >><</Type/ 
> Annot/Subtype/Link/Border[0 0 0]/C[0 1 0]/A<</S/GoTo...<<
> ** WARNING ** Tried to end an annotation without starting one!
> ** WARNING ** Interpreting special command eann (pdf:) failed.
> ** WARNING ** >> at page="2" position="(289.477, 663.853)" (in PDF)
> ** WARNING ** >> xxx "pdf:eann"

Aha. That's what I expected. So it's not a xetex- or xdvipdfmx- 
specific problem; it seems that dvipdfmx doesn't support "nested"  
annotations (links), which hyperref is trying to generate.

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.


More information about the XeTeX mailing list