Am Mon, 3 Dec 2012 14:03:19 +0530 schrieb Sasi Kumar:
> I started using XeLaTeX recently with help from you all.
> \usepackage[utf8]{inputenc}
Don't use inputenc with xelatex. Never!
> ! Undefined control sequence.
> <recently read> \setmainfont
You should load the fontspec package. Either directly or by loading
packages like polyglossia or unicode-math which will do it for you.
--
Ulrike Fischer
http://www.troubleshooting-tex.de/
--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex