(FYI I am new to LaTeX)
I'm trying to compile a TeX document that someone else has given me. I had BasicTex installed, and it didn't seem to work. My friend said he uses TeX Live, so I tried installing that but I get the same error after typing pdftex document.tex
:
! Undefined control sequence.
l.1 \documentclass
[final,hyperref={pdfpagelabels=false}]{beamer}
I'm guessing that means the distribution I have installed does not support this tag, is that right? How can I find out which distribution I should install?
Best Answer
Your document is a LaTeX document, not plain TeX. Use the
pdflatex
command on it.