I used to be a regular latex user but haven't touched it in the last two years due to being out of academia. So sorry for what might be a stupid question.
I want to create a beamer presentation. Here is what I start with:
\documentclass{beamer}
\begin{document}
\title{Simple Beamer Class}
\author{Sascha Frank}
\date{\today}
\frame{\titlepage}
\frame{\frametitle{Table of contents}\tableofcontents}
\begin{frame}
hi
\end{frame}
\end{document}
For compiling and executing, I use pdflatex filename.tex as I remember doing.
I am getting the following errors:
l.11 \documentclass
{beamer}
?
! Undefined control sequence.
l.12 \begin
{document}
?
! Undefined control sequence.
l.13 \title
{Simple Beamer Class}
?
! Undefined control sequence.
l.14 \author
{Sascha Frank}
?
! Undefined control sequence.
l.15 \date
{\today}
?
! Undefined control sequence.
l.15 \date{\today
}
?
! Undefined control sequence.
l.17 \frame
{\titlepage}
?
! Undefined control sequence.
l.17 \frame{\titlepage
}
?
! Undefined control sequence.
l.19 \frame
{\frametitle{Table of contents}\tableofcontents}
?
! Undefined control sequence.
l.19 \frame{\frametitle
{Table of contents}\tableofcontents}
?
! Undefined control sequence.
l.19 ...metitle{Table of contents}\tableofcontents
}
?
! Undefined control sequence.
l.21 \begin
{frame}
?
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] )</usr/share/texlive/tex
mf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on presentation.pdf (1 page, 15084 bytes).
I have installed the texlive package from ubuntu's apt. Ubuntu tells me that latex-beamer, (and dependencies pgf latex-xcolor etc) are already installed. A pdf is produced but its just the text with no slides.
\begin{frame}and\end{frame}and drop the\framecommand. I'd also write the\title,\authorand\datein the preamble. – Dox Jul 10 '14 at 14:38undefined control sequenceon every single line command. – yayu Jul 10 '14 at 14:40locate beamer | grep cls? – Dox Jul 10 '14 at 14:41clsis grepped. I am dumping the output forlocate beamerhere: http://pastebin.com/pb9Pqajf – yayu Jul 10 '14 at 14:45sudo apt-get install texlive-full.... Do not try it if your internet connection is slow!!! – Dox Jul 10 '14 at 14:47LaTeXis used outside academia as well ;-) – Jul 10 '14 at 14:47texliveastexlive-fullwould be way too big. texlive basic is supposed to have beamer but I cannot run it. Trying to install it separately it tells me that latex-beamer is already the newest version. – yayu Jul 10 '14 at 14:49/usr/share/texmf/tex/latex/beamerforbeamer.cls? If you have installed texlive today, there is perhaps noupdatedbrun for locate so far, so it can be found withlocate. Perhaps you have to update theTeXhash tables. Try as root user:texconfig rehash– Jul 10 '14 at 14:53beamer.clsin/usr/share/texmf/tex/latex/beamer/base– yayu Jul 10 '14 at 14:56sudo texconfig rehashbut I get the same errors. – yayu Jul 10 '14 at 14:57beamer/base, since this is not the case for my distribution (I just checked the very old texlive2012, 2013 and the fresh 2014 version) – Jul 10 '14 at 14:59kpsewhich beamer.clssay anything useful? – Jul 10 '14 at 15:00tex --versiongives meTeX 3.1415926 (TeX Live 2013/Debian)– yayu Jul 10 '14 at 15:01/usr/share/texmf/tex/latex/beamer/base/beamer.cls– yayu Jul 10 '14 at 15:02%comments :) I have removed them and shared everything, including the log here: http://pastebin.com/5N98AvrW – yayu Jul 10 '14 at 15:32pdflatex presentation? The log file rather hints topdftex presentation– Jul 10 '14 at 15:40close. So, this was a heavy run ;-) I wish, I had looked into the log file earlier. – Jul 10 '14 at 15:47