yea it was right. My old local texmf tree was creating problem....I deleted
it and installed fresh texlive 2010, and it was working well.
Thanks
suresh

On Fri, Mar 18, 2011 at 1:32 PM, Herbert Schulz <[email protected]>wrote:

>
> On Mar 17, 2011, at 8:42 PM, Suresh Kumar wrote:
>
> > Hi
> >
> > I am a newbie to xetex and I tried to compile the following document
> using
> > xelatex:
> >
> > \documentclass{article}
> >
> > \usepackage{fontspec}
> >
> > \usepackage{unicode-math}
> >
> > \setromanfont{Calibri}
> >
> >
> > \setmathfont{Asana Math}
> >
> >
> > \begin{document}
> > Aum Amriteshwaryai Namaha
> >
> > \begin{equation}
> >
> > x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
> >
> > \end{equation}
> > \end{document}
> >
> >
> > (/home/suresh/texmf/tex/latex/filehook/filehook.sty)
> >
> > ! Undefined control sequence.
> >
> > l.92 \xetex_or_luatex:nnn
> >
> > { \cs_new:Npn \um_cs_compat:n #1 }
> >
> >
> > How to fix this error?
> >
> >
> > thanks
> >
> > suresh
>
> Howdy,
>
> You need to update your TeX Distribution.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
>



-- 
R Suresh Kumar,
http://www.ee.ucr.edu/~sramachandranna
Sarve bhavantu sukinaha (May everyone be happy)
Sarve santu niramiyaha (May everyone be without affliction)
Sarve bhadrani pashyantu (May everyone see only goodness)
Ma kashchit dukha bhak bhavet (Let none be the victim of suffering)

--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to