I was also having the same problem while trying to view pdf or Xetex with Miktex. I re-install the Miktex 2.8, the old one, and resolved the problem. You may try the older version of Mactex.
Shyam On Mon, Aug 8, 2011 at 10:00 AM, Jürgen Spitzmüller <sp...@lyx.org> wrote: > Maria Gouskova wrote: > > LaTeX Error: Command \B already defined. > > LaTeX Error: Command \T already defined. > > > > > > \newcommand{\B}[2][0]{\Bk{#1}{0}{#2}} > > This line is from xyling.sty. I suppose it conflicts with some other > package, > which defines \B before xyling is loaded. > > You can try to find out more by adding \show\B in the preamble before > xyling > is loaded. This outputs the current definition of the macro to the > preamble, > by which you can search (via spotlight) the responsible package. > > HTH, > Jürgen >