Error de "secuencia de control no definida" al utilizar handoutWithNotes

Error de "secuencia de control no definida" al utilizar handoutWithNotes

Me gustaría imprimir diapositivas con handoutWithNotesel paquete asociado beamer, pero es un simple intento

\documentclass[handout]{beamer}
\usepackage{pgfpages}
\usepackage{handoutWithNotes}
\pgfpagesuselayout{2 on 1 with notes}[a4paper,border shrink=5mm]

\begin{document}
\begin{frame}
My first slide
\end{frame}
\begin{frame}
Second one
\end{frame}
\begin{frame}
Third
\end{frame}
\end{document}

siempre me devolvía el mensaje de error como

! Undefined control sequence.
\@begindocumenthook ...ox { \vskip .05\pageheight
                                                  Notes\vskip .1\pageheight ...
l.8 \begin{document}

Al parecer viene con \pgfpagesuselayout{2 on 1 with notes}[a4paper,border shrink=5mm]argumento "con notas".

Ejecuto el archivo con MiKTeX 2.8 o 2.9, ya sea en Windows XP o Windows 10.

Respuesta1

Lo que me solucionó fue reemplazarlo \pageheightcon \paperheighttodas partes en handoutWithNotes.sty. Ver tambiénhttps://github.com/gdiepen/latexbeamer-handoutWithNotes/pull/5.

información relacionada