12

I'm using beamer with xelatex to prepare a talk.

If I switch on notes on right I'm experiencing strange behaviour:

When using csqoutes in the title, all normal text afterwards becomes invisible (or white). The text selectable in the output pdf. Note that the text is also visible in the small preview on the note page.

This does not happen when using pdflatex or lualatex.

MWE:

\documentclass{beamer}
\usepackage[autostyle=true,german=quotes]{csquotes}

\usepackage{pgfpages}
\setbeameroption{show notes}
\setbeameroption{show notes on second screen=right}

\begin{document}
   \begin{frame}
        \frametitle{\enquote{Enqouted Title}}
    \end{frame}

    \begin{frame}
        \frametitle{This is the second slide}
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
    \end{frame}
\end{document}

Update:

csqoutes is not the culprit. Seems to be a general problem when using xelatex and beamer with notes enabled.

New MWE:

\documentclass{beamer}

\usepackage{pgfpages}
\setbeameroption{show notes}
\setbeameroption{show notes on second screen=right}

\begin{document}
    \begin{frame}
        \frametitle{First Slide Title}
        Here be text
    \end{frame}

    \begin{frame}
        \frametitle{This is the second slide}
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
    \end{frame}
\end{document}
  • The problem is the note setting, at first glance. Without notes, everything works. You should load polyglossia to get german quote style – user31729 Mar 9 '15 at 12:37
  • 1
    And it works with lualatex. Strangely enough. If you don't need xelatex then use pdflatex or lualatex – user31729 Mar 9 '15 at 12:43
  • I'm using system fonts. I figure that is possible using lualatex. Do I need to keep something in mind if I switch to lualatex? – snowdragon Mar 9 '15 at 13:15
  • I'm already using polyglossia in my document. I left it out in the MWE because it was not necessary to reproduce the error. – snowdragon Mar 9 '15 at 13:16
  • 1
    It has nothing to do with csquotes. The color is white on the second frame also without it. – Ulrike Fischer Mar 9 '15 at 13:24
17

The

\def\pgfsysdriver{pgfsys-dvipdfm.def}

trick kinda worked for me, but it totally messed up the position of my images in my presentation. So I decided to dig a little further and here is what I've found :

This is indeed a bug, and depending on the beamer theme you are using, the package pgfpages will override the behavior of the theme which is using :

\AtBeginSection{...}

but there is an easy workaround to set back the font color every time there is a new slide :

\makeatletter 
\def\beamer@framenotesbegin{% at beginning of slide
     \usebeamercolor[fg]{normal text}
      \gdef\beamer@noteitems{}% 
      \gdef\beamer@notes{}% 
}
\makeatother

Using this, you'll be able to set the font color back to theme's default color.

Hope this helps. Cheers !

2

The following solves the problem in the present example. However it is not a true solution. I only give this in order to show where the bugs are. I think the bugs are in a pgf driver pgfsys-dvipdfmx.def, which is used by XeTeX.

\def\pgfsysdriver{pgfsys-dvipdfm.def}
\documentclass{beamer}
\usepackage{pgfpages}
\setbeameroption{show notes}
\setbeameroption{show notes on second screen=right}
\begin{document}
    \begin{frame}
        \frametitle{First Slide Title}
        Here be text
    \end{frame}

    \begin{frame}
        \frametitle{This is the second slide}
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
    \end{frame}
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.