# Beamer not working at all!

Suddenly I am getting the cryptic "Text line contains an invalid character" errors (100 of them) on all my beamer files. Even this MWE doesn't work right:

\documentclass{beamer}

\begin{document}

Sample document.

\end{document}


I am using the latest TeXnicCenter (2.02 stable) and Miktex 2.9 - what has gone wrong?

My feeling is that something is screwed up with the encodings but I can't figure out what.

UPDATE: Texmaker doesn't work either, giving this error: "A funny symbol that I can't read has just been input."

• Did it say exactly which lines are problematic – daleif Dec 26 '13 at 20:24
• Just for the fun of it, what happens if you use the Texmaker or texstudio editors? – daleif Dec 26 '13 at 20:27
• @daleif Texmaker fails as well. They all blame line 1. – Felix Goldberg Dec 26 '13 at 20:43
• What is the encode shown by TeXmaker? You can read it on the status bar. – Sigur Dec 26 '13 at 20:54
• You could look with a hex editor, if you have a Byte Order Mark (BOM) at the start of your file. You shouldn't have one of those. – Juri Robl Dec 26 '13 at 22:01

Having seen the .tex file, there is no problem with the code. The .log on the other hand reveals that the culprit is ifpdf.sty, after receiving ifpdf.sty by email we can conclude it is corrupt. In my emacs all the file contains is ^@.
• We have no idea if there are other packages that are messed up, so it would be better to reinstall. Also your beamer is from 2010, there has been a lot of updates since then. – daleif Dec 27 '13 at 17:26