[XeTeX] : Minimal XeTeX-compatible beamer document

Ulrike Fischer news2 at nililand.de
Wed Jul 16 12:28:47 CEST 2008


Am Wed, 16 Jul 2008 12:06:59 +0200 schrieb Sven Siegmund:

> Hello,
> 
> I am struggling with the beamer package and XeTeX. 
> 
> then I run "xelatex sample.tex" and what I get is about 1000 warnings
> and at last some PDF which says "Some text."
> 
> the last warning did look like this:
> 
> ** WARNING ** Interpreting PS code failed!!! Output might be broken!!!
> ** WARNING ** Interpreting special command ps: (ps:) failed.
> ** WARNING ** >> at page="1" position="(-28.3464, -1.2643e-005)" (in PDF)
> ** WARNING ** >> xxx "ps:SDict begin [ /View [/XYZ H.V] /Dest (page.1) cvn /DEST
>  p..."
> ** WARNING ** >> Reading special command stopped around >>begin [ /View [/XYZ H.
> V] /Dest (page.1) cvn /DEST pdfmark en.<<
> 
> Output written on sample.pdf (1 page).
> Transcript written on sample.log.
> 
> What shall I do to use the beamer class with XeTeX correctly?

beamer fools hyperref and so it use the wrong driver. You have to force
hyperref to use the right one:

\documentclass[hyperref=xetex]{beamer}
\begin{document}
\begin{frame}
Some text.
\end{frame}
\end{document}

(Heiko has announce a new hyperref version which avoids this problem,
then your sample will work too).

-- 
Ulrike Fischer 



More information about the XeTeX mailing list