On Tue, Dec 20, 2011 at 11:53:50PM -0500, Pierre MacKay wrote: > I typed "latex filename.tex" and was told that > \documentclass was undefined. Perhaps the first line of filename.tex starts with "%&" and a format other than latex (e.g. "%&tex")? Yours sincerely Heiko Oberdiek