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


What is the toolbar icon name for math-delim | |

2011-08-09 Thread Jason Rute
Hello, I added

 Item Insert | | math-delim | |

to my stdtoolbars.inc file.  It works fine, except that I can't figure out
what the corresponding icon file name should be (in
AppData/Roaming/Lyx2.0/images/math).  I think it should be vert_vert.png,
but that doesn't work.  Here is a what I do know---these commands work with
these file names.

 math-delim ( ) lparen_rparen.png
 math-delim [ ] lbrace_rbrace.png
 math-delim vert vert vert_vert.png
 math-delim | vert.png
 math-delim ( ( lparen_lparen.png
 math-delim | | ???

Also, the same correspondences seem to hold if I replace math-delim with
math-insert.

Does anyone know?  Is this a bug?

Also, I know math-delim vert vert is equivalent, but I want the LaTeX to
be \left| \right|.  And I could deal without an icon (and even make the
alt-text be | | so it looks like I want), but am curious/stubborn.

Thanks!


how to change the Figure format

2011-08-09 Thread Hady Ariwibowo Teguh
Dear all,
 I have problem how to change the Figure format. Just like this:
Figure 2.1: == Figure 2.1 
How i can fix that??

Thanks a lot!!
Teguh 


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


What is the toolbar icon name for math-delim | |

2011-08-09 Thread Jason Rute
Hello, I added

 Item Insert | | math-delim | |

to my stdtoolbars.inc file.  It works fine, except that I can't figure out
what the corresponding icon file name should be (in
AppData/Roaming/Lyx2.0/images/math).  I think it should be vert_vert.png,
but that doesn't work.  Here is a what I do know---these commands work with
these file names.

 math-delim ( ) lparen_rparen.png
 math-delim [ ] lbrace_rbrace.png
 math-delim vert vert vert_vert.png
 math-delim | vert.png
 math-delim ( ( lparen_lparen.png
 math-delim | | ???

Also, the same correspondences seem to hold if I replace math-delim with
math-insert.

Does anyone know?  Is this a bug?

Also, I know math-delim vert vert is equivalent, but I want the LaTeX to
be \left| \right|.  And I could deal without an icon (and even make the
alt-text be | | so it looks like I want), but am curious/stubborn.

Thanks!


how to change the Figure format

2011-08-09 Thread Hady Ariwibowo Teguh
Dear all,
 I have problem how to change the Figure format. Just like this:
Figure 2.1: == Figure 2.1 
How i can fix that??

Thanks a lot!!
Teguh 


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


What is the toolbar icon name for "math-delim | |"

2011-08-09 Thread Jason Rute
Hello, I added

 Item "Insert | |" "math-delim | |"

to my stdtoolbars.inc file.  It works fine, except that I can't figure out
what the corresponding icon file name should be (in
AppData/Roaming/Lyx2.0/images/math).  I think it should be vert_vert.png,
but that doesn't work.  Here is a what I do know---these commands work with
these file names.

 "math-delim ( )" lparen_rparen.png
 "math-delim [ ]" lbrace_rbrace.png
 "math-delim vert vert" vert_vert.png
 "math-delim |" vert.png
 "math-delim ( (" lparen_lparen.png
 "math-delim | |" ???

Also, the same correspondences seem to hold if I replace math-delim with
math-insert.

Does anyone know?  Is this a bug?

Also, I know "math-delim vert vert" is equivalent, but I want the LaTeX to
be \left| \right|.  And I could deal without an icon (and even make the
alt-text be "| |" so it looks like I want), but am curious/stubborn.

Thanks!


how to change the Figure format

2011-08-09 Thread Hady Ariwibowo Teguh
Dear all,
 I have problem how to change the Figure format. Just like this:
Figure 2.1: ==> Figure 2.1 
How i can fix that??

Thanks a lot!!
Teguh