[XeTeX] Beamer handout issue

Karljurgen Feuerherm kfeuerherm at wlu.ca
Sun Sep 23 00:20:53 CEST 2012


Hi

After being very frustrated when trying to create a Beamer handout, I
tried the minimal example below, which I found on the 'net. No go: like
before, the slides output were too large for the pagesize and I got only
the top left portion of each slide, regardless of options.

Then, when I changed the engine to plain LaTeX, it worked fine. Any
idea what's going on? I really need unicode so this is not an acceptable
solution for me. (In which case I use polyglossia, not babel; but that's
orthogonal to my problem.)

Outputs attached.

Thanks

K
-----
\documentclass[handout]{beamer}
\usepackage[english]{babel}

\mode<handout>
{
  \usepackage{pgf}
  \usepackage{pgfpages}

\pgfpagesdeclarelayout{4 on 1 boxed}
{
  \edef\pgfpageoptionheight{\the\paperheight}
  \edef\pgfpageoptionwidth{\the\paperwidth}
  \edef\pgfpageoptionborder{0pt}
}
{
  \pgfpagesphysicalpageoptions
  {%
    logical pages=4,%
    physical height=\pgfpageoptionheight,%
    physical width=\pgfpageoptionwidth%
  }
  \pgfpageslogicalpageoptions{1}
  {%
    border code=\pgfsetlinewidth{2pt}\pgfstroke,%
    border shrink=\pgfpageoptionborder,%
    resized width=.5\pgfphysicalwidth,%
    resized height=.5\pgfphysicalheight,%
    center=\pgfpoint{.25\pgfphysicalwidth}{.75\pgfphysicalheight}%
  }%
  \pgfpageslogicalpageoptions{2}
  {%
    border code=\pgfsetlinewidth{2pt}\pgfstroke,%
    border shrink=\pgfpageoptionborder,%
    resized width=.5\pgfphysicalwidth,%
    resized height=.5\pgfphysicalheight,%
    center=\pgfpoint{.75\pgfphysicalwidth}{.75\pgfphysicalheight}%
  }%
  \pgfpageslogicalpageoptions{3}
  {%
    border code=\pgfsetlinewidth{2pt}\pgfstroke,%
    border shrink=\pgfpageoptionborder,%
    resized width=.5\pgfphysicalwidth,%
    resized height=.5\pgfphysicalheight,%
    center=\pgfpoint{.25\pgfphysicalwidth}{.25\pgfphysicalheight}%
  }%
  \pgfpageslogicalpageoptions{4}
  {%
    border code=\pgfsetlinewidth{2pt}\pgfstroke,%
    border shrink=\pgfpageoptionborder,%
    resized width=.5\pgfphysicalwidth,%
    resized height=.5\pgfphysicalheight,%
    center=\pgfpoint{.75\pgfphysicalwidth}{.25\pgfphysicalheight}%
  }%
}


  \pgfpagesuselayout{4 on 1 boxed}[letterpaper, border shrink=5mm,
landscape]
  \nofiles
}

\begin{document}
\begin{frame}
Frame One
\end{frame}
\begin{frame}
Frame Two
\end{frame}
\begin{frame}
Frame Three
\end{frame}
\begin{frame}
Frame Four
\end{frame}
\end{document}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minimalXeLaTex.pdf
Type: application/pdf
Size: 2862 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120922/756f18ef/attachment.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minimalLaTeX.pdf
Type: application/pdf
Size: 10282 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120922/756f18ef/attachment-0001.pdf>


More information about the XeTeX mailing list