Undefined control sequence at first line of a document

Posted by Jayomat on Stack Overflow See other posts from Stack Overflow or by Jayomat
Published on 2010-04-27T21:35:15Z Indexed on 2010/04/27 22:33 UTC
Read the original article Hit count: 269

Filed under:

\documentclass{book}

\usepackage{amsmath}
\usepackage[german]{babel}
\usepackage{amssymb}
\usepackage{amsxtra}
\usepackage[dvips]{epsfig,psfrag}
\usepackage{listings}

....

this is how my file starts. I didn't even edit it, I received it like this. However, if I want to make a pdf, it gives me the undefined control sequence error at the first line... What is wrong??

© Stack Overflow or respective owner

Related posts about latex