LaTeX forum ⇒ 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.
zzzhhh
Posts: 11
Joined: Tue May 30, 2017 4:45 pm

MikTex 2.9+WinEdt 10.1+XeLaTeX keep spitting out errors

Postby zzzhhh » Thu Jun 01, 2017 4:18 am

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

Latex Source:
  1. \documentclass[conference]
  2. \begin{document}
  3. \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.

Tags:

User avatar
Stefan Kottwitz
Site Admin
Posts: 8534
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Thu Jun 01, 2017 2:02 pm

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
Site admin


Return to “General”

Who is online

Users browsing this forum: No registered users and 8 guests