error with minmal workin example using xetex xelatex

aniruddha rumale <[email protected]>
Newsgroups gmane.comp.tex.tugindia
Message-ID <[email protected]>
adapted a strategy for mwe.tex as below
\documentclass[12pt]{article}
\begin{document}
Hello World!
\end{document}
compilation using MikTeX distribution with TeXWork at console output is&nbsp;

This is XeTeX, Version 3.1415926-2.2-0.9997.4 (MiKTeX 2.9)
entering extended mode
(D:\MyLaTeX-Work2012\try-outs\mwe.tex
! Undefined control sequence.
l.1 \documentclass
                  [12pt]{article}?

Then I entered R for run with error option of XeTeX an d console output is 

This is XeTeX, Version 3.1415926-2.2-0.9997.4 (MiKTeX 2.9)
entering extended mode
(D:\MyLaTeX-Work2012\try-outs\mwe.tex
! Undefined control sequence.
l.1 \documentclass
                  [12pt]{article}
? R
OK, entering \nonstopmode...
! Undefined control sequence.
l.2 \begin
          {document}
[1] )
(see the transcript file for additional information)
Output written on mwe.pdf (1 page).
SyncTeX written on mwe.synctex.gz
Transcript written on mwe.log.
The generated output in pdf read as 

[12pt]article document Hello World!

log file contents are 
This is XeTeX, Version 3.1415926-2.2-0.9997.4 (MiKTeX 2.9) (preloaded format=xetex 2013.2.16)&nbsp; 18 FEB 2013 13:49
entering extended mode
**mwe.tex
(D:\MyLaTeX-Work2012\try-outs\mwe.tex
! Undefined control sequence.
l.1 \documentclass
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [12pt]{article}
? R
OK, entering \nonstopmode...
! Undefined control sequence.
l.2 \begin
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {document}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

[1] )
Output written on mwe.pdf (1 page).

Aniruddha Subhashchandra Rumale

Mobile : 9890177859

Flat No. GA, Shriram Complex,

Amarsimha colony, Malegaon-bk

Baramati, Pune 413115 ( MH ) India





great people are those who cares to respond in genuine and gental way. and this is the only reason that your e-mail address is with me.



thanks for your every response; that you showered

on my e-mails.   



asrumale
_______________________________________________
Home:        http://www.tug.org.in/
TeX FAQ:     http://www.tex.ac.uk/faq
unsubscribe: http://tug.org/mailman/listinfo/tugindia
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.