Re: MacTeX/XeTeX pdf setting problems

2011-08-17 Thread shyam basnet
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



Re: MacTeX/XeTeX pdf setting problems

2011-08-17 Thread shyam basnet
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



Re: MacTeX/XeTeX pdf setting problems

2011-08-17 Thread shyam basnet
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  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
>


Re: MacTeX/XeTeX pdf setting problems

2011-08-09 Thread Maria Gouskova
On Mon, Aug 8, 2011 at 4: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


That did it! As it happens, I don't need xyling.sty in this file; it
was in the preamble as a default. When I commented it out, the file
typeset without a problem.

In the name of getting at the truth, here is what adding \show\B to
the preamble gave me in the LaTeX log:

 \B=macro:
-\OT1-cmd \B \OT1\B .
1.29 \show\B


Maria


Re: MacTeX/XeTeX pdf setting problems

2011-08-09 Thread Maria Gouskova
On Mon, Aug 8, 2011 at 4: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


That did it! As it happens, I don't need xyling.sty in this file; it
was in the preamble as a default. When I commented it out, the file
typeset without a problem.

In the name of getting at the truth, here is what adding \show\B to
the preamble gave me in the LaTeX log:

 \B=macro:
-\OT1-cmd \B \OT1\B .
1.29 \show\B


Maria


Re: MacTeX/XeTeX pdf setting problems

2011-08-09 Thread Maria Gouskova
On Mon, Aug 8, 2011 at 4:00 AM, Jürgen Spitzmüller  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
>

That did it! As it happens, I don't need xyling.sty in this file; it
was in the preamble as a default. When I commented it out, the file
typeset without a problem.

In the name of getting at the truth, here is what adding \show\B to
the preamble gave me in the LaTeX log:

> \B=macro:
->\OT1-cmd \B \OT1\B .
1.29 \show\B


Maria


Re: MacTeX/XeTeX pdf setting problems

2011-08-08 Thread Jürgen Spitzmüller
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


Re: MacTeX/XeTeX pdf setting problems

2011-08-08 Thread Jürgen Spitzmüller
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


Re: MacTeX/XeTeX pdf setting problems

2011-08-08 Thread Jürgen Spitzmüller
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


Re: MacTeX/XeTeX pdf setting problems

2011-08-07 Thread Maria Gouskova
On Sun, Aug 7, 2011 at 1:11 PM, Maria Gouskova gousk...@gmail.com wrote:
 Dear LyX users,

 I just upgraded MacTeX to the newest version (2011), and now I am
 having some problems making pdf documents. First of all, if I use
 XeTeX and non-TeX fonts, I get the following error on trying to view
 the PDF:

 LaTeX Error: Command \B already defined.
 LaTeX Error: Command \T already defined.


 \newcommand{\B}[2][0]{\Bk{#1}{0}{#2}}

 Your command was ignored.
 Type  I command return  to replace it with another command,
 or  return  to continue without it.

 Turning XeTeX off resolves this in a short test file, but I am also
 unable to compile a longer document that has a bit more complicated
 stuff in it at all--LyX basically freezes. Anyone else having problems
 with new MacTeX? All of my LaTeX purist colleagues seem to be doing
 okay, so I wonder if this is LyX-specific...

 Maria


P.S.--I reverted to MacTeX 2008, my previous installation, and the
error no longer appears. So problem solved for the time
being--although I would still be curious to know why this is
happening.

Maria


Re: MacTeX/XeTeX pdf setting problems

2011-08-07 Thread BH
On Sun, Aug 7, 2011 at 3:10 PM, Maria Gouskova gousk...@gmail.com wrote:
 On Sun, Aug 7, 2011 at 1:11 PM, Maria Gouskova gousk...@gmail.com wrote:
 Dear LyX users,

 I just upgraded MacTeX to the newest version (2011), and now I am
 having some problems making pdf documents. First of all, if I use
 XeTeX and non-TeX fonts, I get the following error on trying to view
 the PDF:

 LaTeX Error: Command \B already defined.
 LaTeX Error: Command \T already defined.


 \newcommand{\B}[2][0]{\Bk{#1}{0}{#2}}

 Your command was ignored.
 Type  I command return  to replace it with another command,
 or  return  to continue without it.

 Turning XeTeX off resolves this in a short test file, but I am also
 unable to compile a longer document that has a bit more complicated
 stuff in it at all--LyX basically freezes. Anyone else having problems
 with new MacTeX? All of my LaTeX purist colleagues seem to be doing
 okay, so I wonder if this is LyX-specific...

 Maria


 P.S.--I reverted to MacTeX 2008, my previous installation, and the
 error no longer appears. So problem solved for the time
 being--although I would still be curious to know why this is
 happening.

If you haven't already done so, you might try switching back to MacTeX
2011 and using TeX LIve Utility.app to update it to the most recent
version.

BH


Re: MacTeX/XeTeX pdf setting problems

2011-08-07 Thread Maria Gouskova
On Sun, Aug 7, 2011 at 4:29 PM, BH bewih...@gmail.com wrote:
 On Sun, Aug 7, 2011 at 3:10 PM, Maria Gouskova gousk...@gmail.com wrote:
 On Sun, Aug 7, 2011 at 1:11 PM, Maria Gouskova gousk...@gmail.com wrote:
 Dear LyX users,

 I just upgraded MacTeX to the newest version (2011), and now I am
 having some problems making pdf documents. First of all, if I use
 XeTeX and non-TeX fonts, I get the following error on trying to view
 the PDF:

 LaTeX Error: Command \B already defined.
 LaTeX Error: Command \T already defined.


 \newcommand{\B}[2][0]{\Bk{#1}{0}{#2}}

 Your command was ignored.
 Type  I command return  to replace it with another command,
 or  return  to continue without it.

 Turning XeTeX off resolves this in a short test file, but I am also
 unable to compile a longer document that has a bit more complicated
 stuff in it at all--LyX basically freezes. Anyone else having problems
 with new MacTeX? All of my LaTeX purist colleagues seem to be doing
 okay, so I wonder if this is LyX-specific...

 Maria


 P.S.--I reverted to MacTeX 2008, my previous installation, and the
 error no longer appears. So problem solved for the time
 being--although I would still be curious to know why this is
 happening.

 If you haven't already done so, you might try switching back to MacTeX
 2011 and using TeX LIve Utility.app to update it to the most recent
 version.

 BH


I still get the error described above.

Maria


Re: MacTeX/XeTeX pdf setting problems

2011-08-07 Thread Maria Gouskova
On Sun, Aug 7, 2011 at 1:11 PM, Maria Gouskova gousk...@gmail.com wrote:
 Dear LyX users,

 I just upgraded MacTeX to the newest version (2011), and now I am
 having some problems making pdf documents. First of all, if I use
 XeTeX and non-TeX fonts, I get the following error on trying to view
 the PDF:

 LaTeX Error: Command \B already defined.
 LaTeX Error: Command \T already defined.


 \newcommand{\B}[2][0]{\Bk{#1}{0}{#2}}

 Your command was ignored.
 Type  I command return  to replace it with another command,
 or  return  to continue without it.

 Turning XeTeX off resolves this in a short test file, but I am also
 unable to compile a longer document that has a bit more complicated
 stuff in it at all--LyX basically freezes. Anyone else having problems
 with new MacTeX? All of my LaTeX purist colleagues seem to be doing
 okay, so I wonder if this is LyX-specific...

 Maria


P.S.--I reverted to MacTeX 2008, my previous installation, and the
error no longer appears. So problem solved for the time
being--although I would still be curious to know why this is
happening.

Maria


Re: MacTeX/XeTeX pdf setting problems

2011-08-07 Thread BH
On Sun, Aug 7, 2011 at 3:10 PM, Maria Gouskova gousk...@gmail.com wrote:
 On Sun, Aug 7, 2011 at 1:11 PM, Maria Gouskova gousk...@gmail.com wrote:
 Dear LyX users,

 I just upgraded MacTeX to the newest version (2011), and now I am
 having some problems making pdf documents. First of all, if I use
 XeTeX and non-TeX fonts, I get the following error on trying to view
 the PDF:

 LaTeX Error: Command \B already defined.
 LaTeX Error: Command \T already defined.


 \newcommand{\B}[2][0]{\Bk{#1}{0}{#2}}

 Your command was ignored.
 Type  I command return  to replace it with another command,
 or  return  to continue without it.

 Turning XeTeX off resolves this in a short test file, but I am also
 unable to compile a longer document that has a bit more complicated
 stuff in it at all--LyX basically freezes. Anyone else having problems
 with new MacTeX? All of my LaTeX purist colleagues seem to be doing
 okay, so I wonder if this is LyX-specific...

 Maria


 P.S.--I reverted to MacTeX 2008, my previous installation, and the
 error no longer appears. So problem solved for the time
 being--although I would still be curious to know why this is
 happening.

If you haven't already done so, you might try switching back to MacTeX
2011 and using TeX LIve Utility.app to update it to the most recent
version.

BH


Re: MacTeX/XeTeX pdf setting problems

2011-08-07 Thread Maria Gouskova
On Sun, Aug 7, 2011 at 4:29 PM, BH bewih...@gmail.com wrote:
 On Sun, Aug 7, 2011 at 3:10 PM, Maria Gouskova gousk...@gmail.com wrote:
 On Sun, Aug 7, 2011 at 1:11 PM, Maria Gouskova gousk...@gmail.com wrote:
 Dear LyX users,

 I just upgraded MacTeX to the newest version (2011), and now I am
 having some problems making pdf documents. First of all, if I use
 XeTeX and non-TeX fonts, I get the following error on trying to view
 the PDF:

 LaTeX Error: Command \B already defined.
 LaTeX Error: Command \T already defined.


 \newcommand{\B}[2][0]{\Bk{#1}{0}{#2}}

 Your command was ignored.
 Type  I command return  to replace it with another command,
 or  return  to continue without it.

 Turning XeTeX off resolves this in a short test file, but I am also
 unable to compile a longer document that has a bit more complicated
 stuff in it at all--LyX basically freezes. Anyone else having problems
 with new MacTeX? All of my LaTeX purist colleagues seem to be doing
 okay, so I wonder if this is LyX-specific...

 Maria


 P.S.--I reverted to MacTeX 2008, my previous installation, and the
 error no longer appears. So problem solved for the time
 being--although I would still be curious to know why this is
 happening.

 If you haven't already done so, you might try switching back to MacTeX
 2011 and using TeX LIve Utility.app to update it to the most recent
 version.

 BH


I still get the error described above.

Maria


Re: MacTeX/XeTeX pdf setting problems

2011-08-07 Thread Maria Gouskova
On Sun, Aug 7, 2011 at 1:11 PM, Maria Gouskova  wrote:
> Dear LyX users,
>
> I just upgraded MacTeX to the newest version (2011), and now I am
> having some problems making pdf documents. First of all, if I use
> XeTeX and non-TeX fonts, I get the following error on trying to view
> the PDF:
>
> LaTeX Error: Command \B already defined.
> LaTeX Error: Command \T already defined.
>
>
> \newcommand{\B}[2][0]{\Bk{#1}{0}{#2}}
>
> Your command was ignored.
> Type  I    to replace it with another command,
> or    to continue without it.
>
> Turning XeTeX off resolves this in a short test file, but I am also
> unable to compile a longer document that has a bit more complicated
> stuff in it at all--LyX basically freezes. Anyone else having problems
> with new MacTeX? All of my LaTeX purist colleagues seem to be doing
> okay, so I wonder if this is LyX-specific...
>
> Maria


P.S.--I reverted to MacTeX 2008, my previous installation, and the
error no longer appears. So problem solved for the time
being--although I would still be curious to know why this is
happening.

Maria


Re: MacTeX/XeTeX pdf setting problems

2011-08-07 Thread BH
On Sun, Aug 7, 2011 at 3:10 PM, Maria Gouskova  wrote:
> On Sun, Aug 7, 2011 at 1:11 PM, Maria Gouskova  wrote:
>> Dear LyX users,
>>
>> I just upgraded MacTeX to the newest version (2011), and now I am
>> having some problems making pdf documents. First of all, if I use
>> XeTeX and non-TeX fonts, I get the following error on trying to view
>> the PDF:
>>
>> LaTeX Error: Command \B already defined.
>> LaTeX Error: Command \T already defined.
>>
>>
>> \newcommand{\B}[2][0]{\Bk{#1}{0}{#2}}
>>
>> Your command was ignored.
>> Type  I    to replace it with another command,
>> or    to continue without it.
>>
>> Turning XeTeX off resolves this in a short test file, but I am also
>> unable to compile a longer document that has a bit more complicated
>> stuff in it at all--LyX basically freezes. Anyone else having problems
>> with new MacTeX? All of my LaTeX purist colleagues seem to be doing
>> okay, so I wonder if this is LyX-specific...
>>
>> Maria
>
>
> P.S.--I reverted to MacTeX 2008, my previous installation, and the
> error no longer appears. So problem solved for the time
> being--although I would still be curious to know why this is
> happening.

If you haven't already done so, you might try switching back to MacTeX
2011 and using TeX LIve Utility.app to update it to the most recent
version.

BH


Re: MacTeX/XeTeX pdf setting problems

2011-08-07 Thread Maria Gouskova
On Sun, Aug 7, 2011 at 4:29 PM, BH  wrote:
> On Sun, Aug 7, 2011 at 3:10 PM, Maria Gouskova  wrote:
>> On Sun, Aug 7, 2011 at 1:11 PM, Maria Gouskova  wrote:
>>> Dear LyX users,
>>>
>>> I just upgraded MacTeX to the newest version (2011), and now I am
>>> having some problems making pdf documents. First of all, if I use
>>> XeTeX and non-TeX fonts, I get the following error on trying to view
>>> the PDF:
>>>
>>> LaTeX Error: Command \B already defined.
>>> LaTeX Error: Command \T already defined.
>>>
>>>
>>> \newcommand{\B}[2][0]{\Bk{#1}{0}{#2}}
>>>
>>> Your command was ignored.
>>> Type  I    to replace it with another command,
>>> or    to continue without it.
>>>
>>> Turning XeTeX off resolves this in a short test file, but I am also
>>> unable to compile a longer document that has a bit more complicated
>>> stuff in it at all--LyX basically freezes. Anyone else having problems
>>> with new MacTeX? All of my LaTeX purist colleagues seem to be doing
>>> okay, so I wonder if this is LyX-specific...
>>>
>>> Maria
>>
>>
>> P.S.--I reverted to MacTeX 2008, my previous installation, and the
>> error no longer appears. So problem solved for the time
>> being--although I would still be curious to know why this is
>> happening.
>
> If you haven't already done so, you might try switching back to MacTeX
> 2011 and using TeX LIve Utility.app to update it to the most recent
> version.
>
> BH
>

I still get the error described above.

Maria