# [texhax] Migrating from Windows to Mac

Ulrike Fischer news3 at nililand.de
Mon Dec 14 16:57:19 CET 2009

Am Mon, 14 Dec 2009 14:31:13 +0100 schrieb Tom Backer Johnsen:

>>  > I then
>>  > find that files which compile (to PDF) perfectly OK on the Windows
>>  > machine give me an error message on the very first line, the
>>  > \documentclass one gives me an error message: undefined control
>>  > sequence.  On the next line: \documentclass etc.

>> Did you run tex instead of latex?

> No, not as far as I know.  I installed the TexShop package, and that is
> supposed to include LaTex.

The fact that it includes latex doesn't mean that you actually used
it.

You description sounds like this error message which is the typical
message you get when you call tex instead of (pdf)latex:

! Undefined control sequence.
l.1 \documentclass
[11pt,a4paper,twoside]{report}

--
Ulrike Fischer