GeneralMikTex 2.9+WinEdt 10.1+XeLaTeX keep spitting out errors

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
zzzhhh
Posts: 11
Joined: Tue May 30, 2017 4:45 pm

MikTex 2.9+WinEdt 10.1+XeLaTeX keep spitting out errors

Post by zzzhhh »

Environment:
- WIndows 7 64 bit
- MikTex 2.9
- WinEdt 10.1, XeLaTeX

Latex Source:

Code: Select all

\documentclass[conference]
\begin{document}
\end{document}
From such a minimum latex I can get nothing but errors:
Command Line: xelatex.exe --interaction=errorstopmode --synctex=-1 ".......tex"
Startup Folder: C:\......

This is XeTeX, Version 3.14159265-2.6-0.99996 (MiKTeX 2.9 64-bit)
entering extended mode
(.......tex
LaTeX2e <2016/03/31> patch level 3
Babel <3.9r> and hyphenation patterns for 75 language(s) loaded.
! Argument of \begin has an extra }.
<inserted text>
\par
l.2 \begin{
document}
?

Process has been terminated ...
I have no idea what the error message is talking about and I really can't find any problem in the minimum latex source. What's wrong with MikTex 2.9+WinEdt 10.1+XeLaTeX? How to fix them? Thanks a lot.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

MikTex 2.9+WinEdt 10.1+XeLaTeX keep spitting out errors

Post by Stefan Kottwitz »

Hi!

The problem is, that you did not load a document class. The first line should be

\documentclass[options]{classname}

but you wrote

\documentclass[options]

with conference as option. So, LaTeX expects the class name as next thing, but gets just a \begin and that's confusing it.

Fix your first line to use a conference class, such as:

\documentclass[conference]{ieeeconf}

Stefan
LaTeX.org admin
Post Reply