[Tugindia] Compile issues while using Beamer

Alexander Nervedi alexnerdy at hotmail.com
Thu Apr 18 07:55:31 CEST 2013


Hello TUGIndia Gurus,

I am trying to use Beamer in article mode to have a common Tex file with notes and Slides that is then complied separately to produce a set of notes and a set of Beamer slides. I understand that this can be done using Beamerarticle (see page section 21.2, page 204 of the beamerguide). While i am able to work through the examples, I am unable to figure out how to fix my code. I have three files Lecture1.tex, Lecture1-HO.tex, and Lecture1-Beamer.tex.

It's content are as follows:

%Filename: Lecture1.tex
\usepackage{beamerarticle}
\mode<presentation>{\usetheme{Warsaw}}

\begin{document}

\title{Lecture 1: Start}
\author{an}
\date{\today}

\titlepage

\begin{frame}
\titlepage
\end{frame}

These are lecture notes for \emph{jumbo mumbo}. Our focus will be on
\begin{itemize}
   \item Revisiting and extending the mechanics of jumbo et mumbo
   \item Focusing on different \emph{identification} strategies 
   \item More deeply, we think about \emph{mumbo design} in response to a research question
\end{itemize}

\begin{frame} {Course Goals}
\begin{itemize}
   \item Revisiting and extending the mechanics of jumbo et mumbo
   \item Focusing on different \emph{identification} strategies
   \item More deeply, we think about \emph{mumbo design} in response to a research question
\end{itemize}
\end{frame}
\end{document} 

%Filename: Lecture1-Beamer
\documentclass[ignorenonframetext]{beamer}
\input{Lecture1.tex}

%Filename: Lecture1-HO
\documentclass[a4paper]{article}
\usepackage{beamerarticle}
\setjobnamebeamerversion{Lecture1}
\input{Lecture1.tex} 

While using pdfLatex i get errors while compiling Lecture1-Bemer.tex, but  Lecture1-HO complies smoothly, although it doesn't generate a title page in the pdf output. I seem to get tons of error messages while compiling Lecture1-Bemaer is:

! LaTeX Error: Option clash for package xcolor.
See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                
l.57 \fi
        
? H
The package xcolor has already been loaded with options:
  []
There has now been an attempt to load it with options
  [override]
Adding the global options:
  ,override
to your \documentclass declaration may fix this.

I have tried modifying the call to \documentclass[ignorenonframetext,xcolor=override]{beamer} in Lecture1-Beamer.tex. It takes care of the first error message, but still tons remain. For example: 
! LaTeX Error: Command \beamer@@tmpop at frametitle@default already defined.
               Or name \end... illegal, see p.192 of the manual.

I am attaching the logfile for your inspection. I would like to add that if i create a 4th tex file and comment out the article text, and pdfLatex that file then I get the beamer slides I want. I feel like i am missing something very obvious, but don't know what it is. I would tremendously appreciate any leads on this that you may have to offer. 

best wishes,

Al Nerdy




 		 	   		  
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Lecture1-Beamer.log
URL: <http://tug.org/pipermail/tugindia/attachments/20130418/01a22684/attachment-0001.ksh>


More information about the tugindia mailing list