# [XeTeX] Many warnings when compile beamer presentation using XeLaTex

Ulrike Fischer news2 at nililand.de
Sun Apr 6 19:32:52 CEST 2008

```Am Sun, 06 Apr 2008 19:12:50 +0200 schrieb Andreas Matthias:

> Ulrike Fischer wrote:
>
>> Am Sun, 6 Apr 2008 22:43:00 +0800 schrieb Steven Woody:
>>
>>> I am using XeLaTex to compile a beamer document.  The full document is
>>> listed in the last part of this message (sorry for I don't tranlate
>>> those chinese characters in the file because that is tedious ),
>>
>> Yes, it is tedious to minimize a document. But one the whole I would
>> prefer if you do this work instead of hoping that the other do it for
>> you. Your problem can be reproduce with a more simpler document:
>
> I cannot reproduce it. Neither do I have problems with your example
> nor with Steven's.

Did you run it in the two-step-modus (or with --output-driver="xdvipdfmx
-vv")? xdvipfmx can be quite silent when you use only xelatex.

In any case: my log shows clearly that hyperref loads hdvips.

>
>> You have some ps code there. So a package is loading a unsuitable
>> driver. A look in log-file shows that hyperref loads the driver dvips.
>> Add the option dvipdfm to the hyperref options.
>>
>> \documentclass[hyperref={dvipdfm,bookmarksopen=false,pdfstartview=FitH}
>>     ]{beamer}
>
> Today, hyperref's options `xetex' and `xdvipdfmx' are just aliases for
> `dvipdfm' but this might change in the future. I think it's better
> to use the `xetex' option.
>
> Apart from that hyperref can detect XeTeX itself. It doesn't need to
> be pointed at it. I have no idea why it doesn't work for you. Maybe
> some weird hyperref.cfg?

I didn't investigate. But I suspect the culprit is the way beamer loads
hyperref.

--
Ulrike Fischer

```