lyx file compatibility

2011-08-07 Thread Arithy
Hello lyx experts,
I created a document using lyx1.6.7  in windows7. Will this lyx file open up
properly in unbuntu system? Or is there any setup for windows to ubuntu
compatibility of lyx files?



Re: font set problem

2011-08-07 Thread Jürgen Spitzmüller
zhaoyunsong wrote:
 So I followed the instruction in Wiki,
 Note: the following steps are only necessary up to LyX 1.6.x. As of LyX 2.0,
 you will just need to clickDocument→Settings...→Fonts→Use non-TeX fonts
 (via XeTeX/LuaTeX). Then you can immediatelyView→PDF (XeTeX).
 the attachment is the screenshot of font select dialog, but if i chose a
 font with Chinese name, I will get an error when compiling the document,

This problem should be fixed in the next version (2.0.1). See here:
http://www.lyx.org/trac/ticket/7569

Jürgen


Re: beamer handouts?

2011-08-07 Thread Ignacio Martinez
it works :-)
Thanks a lot!

On Sat, Aug 6, 2011 at 11:02 PM, Paul Rubin ru...@msu.edu wrote:
 Ignacio Martinez ignacio at virginia.edu writes:


 I'm trying to create beamer handouts with lyx (in ubuntu 11.04).
 This is what I have in mind
 http://www.guidodiepen.nl/2009/07/creating-latex-beamer-handouts-with-notes/
 but i don't know where to copy the .sty file and if that is the only
 thing that i need to do.

 Put the .sty file in ~/texmf/tex/latex/beamer (create the directory if
 necessary). Open a terminal there and run 'texhash'.  Then add the usepackage
 command to the preamble of your LyX presentation and you should be good to go.

 Paul




MacTeX/XeTeX pdf setting problems

2011-08-07 Thread Maria Gouskova
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


Re: lyx file compatibility

2011-08-07 Thread Richard Heck
On 08/07/2011 06:34 AM, Arithy wrote:
 Hello lyx experts,
 I created a document using lyx1.6.7  in windows7. Will this lyx file open up
 properly in unbuntu system? Or is there any setup for windows to ubuntu
 compatibility of lyx files?

The file should open fine. LyX files are just text files.

Richard




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


Caption location in subfig

2011-08-07 Thread Daniel Joshua Stark
Dear all,

I am trying to place the caption for a subfigure to the top of the subfigure 
with left justification while keeping the subfigure centered.  I can get the 
caption to the top of the subfigure with \captionsetup[subfloat]{position=top}. 
 However, I haven't been able to get left justification.  I've tried 
\captionsetup[subfloat]{justification=raggedleft}, 
\captionsetup[subfloat]{margin=0pt}, \captionsetup[subfloat]{format=hang}.  
None of those work.

Any help would be greatly appreciated.  

Daniel Stark
PhD Candidate 
✦ Physics and Astronomy   BRC 721, MS-142   Rice University   6500 Main Street  
 Houston TX 77030   USA
✦ Ph: +1-713-348-3129  Fx:  +1-713-348-5877

In physics, you don't have to go around making trouble for yourself - nature 
does it for you. - Frank Wilczek
I think physicists are the Peter Pans of the human race. They never grow up and 
they keep their curiosity. - Isidor Isaac Rabi



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


lyx file compatibility

2011-08-07 Thread Arithy
Hello lyx experts,
I created a document using lyx1.6.7  in windows7. Will this lyx file open up
properly in unbuntu system? Or is there any setup for windows to ubuntu
compatibility of lyx files?



Re: font set problem

2011-08-07 Thread Jürgen Spitzmüller
zhaoyunsong wrote:
 So I followed the instruction in Wiki,
 Note: the following steps are only necessary up to LyX 1.6.x. As of LyX 2.0,
 you will just need to clickDocument→Settings...→Fonts→Use non-TeX fonts
 (via XeTeX/LuaTeX). Then you can immediatelyView→PDF (XeTeX).
 the attachment is the screenshot of font select dialog, but if i chose a
 font with Chinese name, I will get an error when compiling the document,

This problem should be fixed in the next version (2.0.1). See here:
http://www.lyx.org/trac/ticket/7569

Jürgen


Re: beamer handouts?

2011-08-07 Thread Ignacio Martinez
it works :-)
Thanks a lot!

On Sat, Aug 6, 2011 at 11:02 PM, Paul Rubin ru...@msu.edu wrote:
 Ignacio Martinez ignacio at virginia.edu writes:


 I'm trying to create beamer handouts with lyx (in ubuntu 11.04).
 This is what I have in mind
 http://www.guidodiepen.nl/2009/07/creating-latex-beamer-handouts-with-notes/
 but i don't know where to copy the .sty file and if that is the only
 thing that i need to do.

 Put the .sty file in ~/texmf/tex/latex/beamer (create the directory if
 necessary). Open a terminal there and run 'texhash'.  Then add the usepackage
 command to the preamble of your LyX presentation and you should be good to go.

 Paul




MacTeX/XeTeX pdf setting problems

2011-08-07 Thread Maria Gouskova
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


Re: lyx file compatibility

2011-08-07 Thread Richard Heck
On 08/07/2011 06:34 AM, Arithy wrote:
 Hello lyx experts,
 I created a document using lyx1.6.7  in windows7. Will this lyx file open up
 properly in unbuntu system? Or is there any setup for windows to ubuntu
 compatibility of lyx files?

The file should open fine. LyX files are just text files.

Richard




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


Caption location in subfig

2011-08-07 Thread Daniel Joshua Stark
Dear all,

I am trying to place the caption for a subfigure to the top of the subfigure 
with left justification while keeping the subfigure centered.  I can get the 
caption to the top of the subfigure with \captionsetup[subfloat]{position=top}. 
 However, I haven't been able to get left justification.  I've tried 
\captionsetup[subfloat]{justification=raggedleft}, 
\captionsetup[subfloat]{margin=0pt}, \captionsetup[subfloat]{format=hang}.  
None of those work.

Any help would be greatly appreciated.  

Daniel Stark
PhD Candidate 
✦ Physics and Astronomy   BRC 721, MS-142   Rice University   6500 Main Street  
 Houston TX 77030   USA
✦ Ph: +1-713-348-3129  Fx:  +1-713-348-5877

In physics, you don't have to go around making trouble for yourself - nature 
does it for you. - Frank Wilczek
I think physicists are the Peter Pans of the human race. They never grow up and 
they keep their curiosity. - Isidor Isaac Rabi



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


lyx file compatibility

2011-08-07 Thread Arithy
Hello lyx experts,
I created a document using lyx1.6.7  in windows7. Will this lyx file open up
properly in unbuntu system? Or is there any setup for windows to ubuntu
compatibility of lyx files?



Re: font set problem

2011-08-07 Thread Jürgen Spitzmüller
zhaoyunsong wrote:
> So I followed the instruction in Wiki,
> Note: the following steps are only necessary up to LyX 1.6.x. As of LyX 2.0,
> you will just need to clickDocument→Settings...→Fonts→Use non-TeX fonts
> (via XeTeX/LuaTeX). Then you can immediatelyView→PDF (XeTeX).
> the attachment is the screenshot of font select dialog, but if i chose a
> font with Chinese name, I will get an error when compiling the document,

This problem should be fixed in the next version (2.0.1). See here:
http://www.lyx.org/trac/ticket/7569

Jürgen


Re: beamer handouts?

2011-08-07 Thread Ignacio Martinez
it works :-)
Thanks a lot!

On Sat, Aug 6, 2011 at 11:02 PM, Paul Rubin  wrote:
> Ignacio Martinez  virginia.edu> writes:
>
>
>> I'm trying to create beamer handouts with lyx (in ubuntu 11.04).
>> This is what I have in mind
>> http://www.guidodiepen.nl/2009/07/creating-latex-beamer-handouts-with-notes/
>> but i don't know where to copy the .sty file and if that is the only
>> thing that i need to do.
>
> Put the .sty file in ~/texmf/tex/latex/beamer (create the directory if
> necessary). Open a terminal there and run 'texhash'.  Then add the usepackage
> command to the preamble of your LyX presentation and you should be good to go.
>
> Paul
>
>


MacTeX/XeTeX pdf setting problems

2011-08-07 Thread Maria Gouskova
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  Ito replace it with another command,
orto 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


Re: lyx file compatibility

2011-08-07 Thread Richard Heck
On 08/07/2011 06:34 AM, Arithy wrote:
> Hello lyx experts,
> I created a document using lyx1.6.7  in windows7. Will this lyx file open up
> properly in unbuntu system? Or is there any setup for windows to ubuntu
> compatibility of lyx files?
>
The file should open fine. LyX files are just text files.

Richard




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


Caption location in subfig

2011-08-07 Thread Daniel Joshua Stark
Dear all,

I am trying to place the caption for a subfigure to the top of the subfigure 
with left justification while keeping the subfigure centered.  I can get the 
caption to the top of the subfigure with \captionsetup[subfloat]{position=top}. 
 However, I haven't been able to get left justification.  I've tried 
\captionsetup[subfloat]{justification=raggedleft}, 
\captionsetup[subfloat]{margin=0pt}, \captionsetup[subfloat]{format=hang}.  
None of those work.

Any help would be greatly appreciated.  

Daniel Stark
PhD Candidate 
✦ Physics and Astronomy   BRC 721, MS-142   Rice University   6500 Main Street  
 Houston TX 77030   USA
✦ Ph: +1-713-348-3129  Fx:  +1-713-348-5877

In physics, you don't have to go around making trouble for yourself - nature 
does it for you. - Frank Wilczek
I think physicists are the Peter Pans of the human race. They never grow up and 
they keep their curiosity. - Isidor Isaac Rabi



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