add tag
JeT
```
\documentclass[a4paper]{book} %<- works fine with beamerarticle
%\documentclass[a4paper]{tufte-book} %<- endless compilation with beamerarticle
\usepackage{beamerarticle}
\title{Title}
\usepackage{kantlipsum}
\begin{document}
  \maketitle
  \chapter{A chapter}
  \kant[1-2]
  \begin{frame}
  \frametitle{Random frame title}
  Just a frame
  \end{frame}
  \section{A section}
  \kant[6-7]
  \chapter{Another chapter}
  \kant[8-12]
\end{document}
```
Top Answer
samcarter
I think the problem is that beamer and tufte define the `\title` etc. macros differently and when you load the `beamerarticle` package, it overwrites the definition from tufte and then tufte is surprised when it tries to make the title

To work around the problem, you can use tufte's definition again after loading `beamerarticle`:

```
\documentclass{tufte-book}

\makeatletter
\let\thanks\@empty
\let\title\@empty
\let\author\@empty
\makeatother

\usepackage{beamerarticle} 

\makeatletter
\renewcommand{\thanks}[1]{\NoCaseChange{\footnote{#1}}}

\renewcommand{\title}[2][]{%
  \gdef\@title{#2}%
  \begingroup%
    % TODO store contents of \thanks command
    \renewcommand{\thanks}[1]{}% swallow \thanks contents
    \protected@xdef\thanklesstitle{#2}%
  \endgroup%
  \ifthenelse{\isempty{#1}}%
    {\renewcommand{\plaintitle}{\thanklesstitle}}% use thankless title
    {\renewcommand{\plaintitle}{#1}}% use provided plain-text title
  \ifthenelse{\isundefined{\hypersetup}}%
    {}% hyperref is not loaded; do nothing
    {\hypersetup{pdftitle={\plaintitle}}}% set the PDF metadata title
}

\renewcommand{\author}[2][]{%
  \ifthenelse{\isempty{#2}}{}{\gdef\@author{#2}}%
  \begingroup%
    % TODO store contents of \thanks command
    \renewcommand{\thanks}[1]{}% swallow \thanks contents
    \protected@xdef\thanklessauthor{#2}%
  \endgroup%
  \ifthenelse{\isempty{#1}}%
    {\renewcommand{\plainauthor}{\thanklessauthor}}% use thankless author
    {\renewcommand{\plainauthor}{#1}}% use provided plain-text author
  \ifthenelse{\isundefined{\hypersetup}}%
    {}% hyperref is not loaded; do nothing
    {\hypersetup{pdfauthor={\plainauthor}}}% set the PDF metadata author
}
\makeatother

\title{Title}
\author{Author}

\begin{document}
  \maketitle
  test
\end{document}  
```

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.