You are not logged in.

#1 2013-10-12 13:11:34

lafferjm
Member
Registered: 2012-07-12
Posts: 6

[SOLVED] Pdftex and beamer

I need to create a presentation, and I need to use beamer.  My first step was to install beamer from the aur.  Installation went fine and I started to try tutorials but pdftex complained about not being able to find document class beamer.  Searching for a solution to this I tried to follow the directions given here.  Running texhash solved the problem, but I am once again getting the same error and texhash will not fix it.  Here is the output of the log file:

This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Arch Linux) (format=pdftex 2013.9.11)  12 OCT 2013 09:11
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**talk.tex
(./talk.tex
! Undefined control sequence.
l.1 \documentclass
                  {beamer}
? 
! Undefined control sequence.
l.3 \title
          {A Tiny Example}
? 
! Undefined control sequence.
l.4 \author
           {Andrew Mertz and William Slough}
? 
! Undefined control sequence.
l.5 \date
         {June 15, 2005}
? 
! Undefined control sequence.
l.7 \begin
          {document}
? 
! Undefined control sequence.
l.9 \maketitle
              
? 
! Undefined control sequence.
l.11 \begin
           {frame}
? 
! Undefined control sequence.
l.12 \frametitle
                {First Slide}
? 
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] )</usr/share/texmf-dist/
fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on talk.pdf (1 page, 18216 bytes).
PDF statistics:
 12 PDF objects out of 1000 (max. 8388607)
 7 compressed objects within 1 object stream
 0 named destinations out of 1000 (max. 500000)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)

Does anyone have any suggestions for fixing this problem?

Last edited by lafferjm (2013-10-12 15:04:20)

Offline

#2 2013-10-12 13:52:20

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED] Pdftex and beamer

It looks like you're running pdftex instead of pdflatex (since \documentclass is not defined).

But why install beamer (I assume you mean latex-beamer) from AUR? What's wrong with the beamer class included in texlive-core?

Offline

#3 2013-10-12 15:03:41

lafferjm
Member
Registered: 2012-07-12
Posts: 6

Re: [SOLVED] Pdftex and beamer

Using pdflatex solved the issue thank you.  I was using latex-beamer because I did not realize beamer was included with texlive-core.

Offline

Board footer

Powered by FluxBB