revtex 4.2

2019-06-10 Thread Patrick Dupre
Hello,

Is some body working on the new revtex 4.2 style/layout?
It would be great.

My Best.

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988
===



Re: REVTeX 4.1 Class Behavior Inquiry

2016-04-18 Thread PhilipPirrip



 1. The diamond/line separating the references from the remainder of the
document spans both columns when I would expect it to span one.


This seems to be true only for papers prepared for prl, not prb.


 2. The "Electronic Addess" for the author appears in a footnote on the
second (last?) page, not the first.



I don't think this has anything to do with LyX, it's just how revtex 
class behaves. You can see many examples of it on arXiv.
APS, if I remember correctly, uses some other software to produce 
printed papers.






REVTeX 4.1 Class Behavior Inquiry

2016-04-18 Thread Joel Kulesza
Sorry if you're seeing this a second time; however, it appears to me as
though it was never processed/received by the list.  I've omitted the
example files this time in case that caused the problem.

Original text below.

I'm currently using the REVTeX (v. 4.1) document class within LyX 2.2.0rc1
on OSX 10.11.4 with custom behavior "12pt,aps.prb,reprint,twocolumn".  A
couple strange behaviors I'm seeing that I wonder if anyone else
experienced:

   1. The diamond/line separating the references from the remainder of the
   document spans both columns when I would expect it to span one.
   2. The "Electronic Addess" for the author appears in a footnote on the
   second (last?) page, not the first.

Example in the attached.  Thoughts on how to make this "more like" the
actual paper format?

Thank you,
Joel


Re: RevTeX 4.1: \onlinecite

2015-10-24 Thread Uwe Stöhr

Am 13.10.2015 um 15:16 schrieb Rudi Gaelzer:


I'm writing a MS using revtex class, V. 4.1.
How do I insert specific commands for the RevTeX class 4.1, such as
\onlinecite?

I've found this post:
https://www.mail-archive.com/lyx-cvs@lists.lyx.org/msg09818.html
claiming that revtex4-1.layout supports \onlinecite.


This feature will first be available with LyX 2.2.

For LyX 2.1.x you have to use TeX code to insert the command \onlinecite.

regards Uwe


Re: RevTeX 4.1: \onlinecite

2015-10-20 Thread Rudi Gaelzer
Hi, Phillip.  Thanks for replying.

On Friday 16 October 2015 04:56:33 PhilipPirrip wrote:

> Is it in "Insert>Custom insets"? It's just a nicer way of inserting
> \onlinecite without typing the command. It is not the same as
> insert>citation, as LyX lacks support for providing its infrastructure
> (dialog insertion of bib keys in this case) to custom insets.

Nope. I'm running LyX 2.1.4.  In Insert -> Custom insets there are only:
"Float link", "lowercase" and "Surname".
That was the first place I looked at...

-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741
-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741


Re: RevTeX 4.1: \onlinecite

2015-10-16 Thread PhilipPirrip

On 10/13/2015 09:16 AM, Rudi Gaelzer wrote:

I'm writing a MS using revtex class, V. 4.1.
How do I insert specific commands for the RevTeX class 4.1, such as
\onlinecite?

I've found this post:
https://www.mail-archive.com/lyx-cvs@lists.lyx.org/msg09818.html
claiming that revtex4-1.layout supports \onlinecite.


Is it in "Insert>Custom insets"? It's just a nicer way of inserting 
\onlinecite without typing the command. It is not the same as 
insert>citation, as LyX lacks support for providing its infrastructure 
(dialog insertion of bib keys in this case) to custom insets.




RevTeX 4.1: \onlinecite

2015-10-13 Thread Rudi Gaelzer
I'm writing a MS using revtex class, V. 4.1.
How do I insert specific commands for the RevTeX class 4.1, such as 
\onlinecite?

I've found this post:
https://www.mail-archive.com/lyx-cvs@lists.lyx.org/msg09818.html
claiming that revtex4-1.layout supports \onlinecite.

Thanks.
-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered Linux user # 153741


osa-revtex

2014-10-17 Thread Patrick Dupre
Hello,

Is there a osa-retvex layout for lyx?

Thank.

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale   | |
 Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===


osa-revtex

2014-10-17 Thread Patrick Dupre
Hello,

Is there a osa-retvex layout for lyx?

Thank.

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale   | |
 Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===


osa-revtex

2014-10-17 Thread Patrick Dupre
Hello,

Is there a osa-retvex layout for lyx?

Thank.

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale   | |
 Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===


longbilbiography in revtex doesn't seem to work

2014-03-27 Thread Gozat
Dear all, 

The class option longbilbiography is supposed to add the title in the 
bilbliography when using RevTeX class. I noticed this option is not working, 
though. Is there an explanation for this ? 

What I tried so far (Lyx version 2.0.7 on MacOs 10.9.2) : 
Below the bibliography styles I tried:
 - apsrmp4-1
 - apsrev4-1 
 - aipauth4-1
 - aipnum4-1
all in document-class RevTeX4 and for 
 - aps
 - aip
 - rmp 
class-options

Thanks in advance for any support.

longbilbiography in revtex doesn't seem to work

2014-03-27 Thread Gozat
Dear all, 

The class option longbilbiography is supposed to add the title in the 
bilbliography when using RevTeX class. I noticed this option is not working, 
though. Is there an explanation for this ? 

What I tried so far (Lyx version 2.0.7 on MacOs 10.9.2) : 
Below the bibliography styles I tried:
 - apsrmp4-1
 - apsrev4-1 
 - aipauth4-1
 - aipnum4-1
all in document-class RevTeX4 and for 
 - aps
 - aip
 - rmp 
class-options

Thanks in advance for any support.

longbilbiography in revtex doesn't seem to work

2014-03-27 Thread Gozat
Dear all, 

The class option longbilbiography is supposed to add the title in the 
bilbliography when using RevTeX class. I noticed this option is not working, 
though. Is there an explanation for this ? 

What I tried so far (Lyx version 2.0.7 on MacOs 10.9.2) : 
Below the bibliography styles I tried:
 - apsrmp4-1
 - apsrev4-1 
 - aipauth4-1
 - aipnum4-1
all in document-class RevTeX4 and for 
 - aps
 - aip
 - rmp 
class-options

Thanks in advance for any support.

Re: layout for osa-revtex

2013-12-03 Thread Julien Rioux

On 02/12/2013 12:17 PM, Patrick Dupre wrote:

Hello,

I did not find a layout for osa-revtex style:
(http://www.opticsinfobase.org/josab/submit/templates/default.cfm)
Maybe some can tell me if he already built up or how I should
buid up one.

Thank.


Hi Patrick,

I've made a revtex4-1 layout that you can find at 
http://theorie.physik.uni-konstanz.de/jrioux/lyx/


Class options that are specific to the OSA can be entered in Document 
Settings  Document Class  Class options. Let us know if that works for 
you.


Cheers,
Julien



Re: layout for osa-revtex

2013-12-03 Thread Julien Rioux

On 02/12/2013 12:17 PM, Patrick Dupre wrote:

Hello,

I did not find a layout for osa-revtex style:
(http://www.opticsinfobase.org/josab/submit/templates/default.cfm)
Maybe some can tell me if he already built up or how I should
buid up one.

Thank.


Hi Patrick,

I've made a revtex4-1 layout that you can find at 
http://theorie.physik.uni-konstanz.de/jrioux/lyx/


Class options that are specific to the OSA can be entered in Document 
Settings  Document Class  Class options. Let us know if that works for 
you.


Cheers,
Julien



Re: layout for osa-revtex

2013-12-03 Thread Julien Rioux

On 02/12/2013 12:17 PM, Patrick Dupre wrote:

Hello,

I did not find a layout for osa-revtex style:
(http://www.opticsinfobase.org/josab/submit/templates/default.cfm)
Maybe some can tell me if he already built up or how I should
buid up one.

Thank.


Hi Patrick,

I've made a revtex4-1 layout that you can find at 
http://theorie.physik.uni-konstanz.de/jrioux/lyx/


Class options that are specific to the OSA can be entered in Document 
Settings > Document Class > Class options. Let us know if that works for 
you.


Cheers,
Julien



layout for osa-revtex

2013-12-02 Thread Patrick Dupre
Hello,

I did not find a layout for osa-revtex style:
(http://www.opticsinfobase.org/josab/submit/templates/default.cfm)
Maybe some can tell me if he already built up or how I should
buid up one.

Thank.

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


layout for osa-revtex

2013-12-02 Thread Patrick Dupre
Hello,

I did not find a layout for osa-revtex style:
(http://www.opticsinfobase.org/josab/submit/templates/default.cfm)
Maybe some can tell me if he already built up or how I should
buid up one.

Thank.

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


layout for osa-revtex

2013-12-02 Thread Patrick Dupre
Hello,

I did not find a layout for osa-revtex style:
(http://www.opticsinfobase.org/josab/submit/templates/default.cfm)
Maybe some can tell me if he already built up or how I should
buid up one.

Thank.

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


Re: using RevTex 4.1 for journal formatting

2013-05-19 Thread Julien Rioux

On 08/02/2013 3:50 PM, Chris Goldenstein wrote:

Hello,

I currently have functional document classes for RevTex 4 and 4.1. I am
using 4.0 version that came with my lyx download and 4.1 version
  provided here:
http://www.physics..utoronto.ca/~jrioux/resources/lyx/revtex4-1.layout
http://www.physics.utoronto.ca/~jrioux/resources/lyx/revtex4-1.layout


Please note that I've updated this layout file to provide a version 
specific to LyX 2.0 (the previous version, for LyX 1.6, was also working 
but not using the full features of LyX 2.0).


The new version is here:
http://theorie.physik.uni-konstanz.de/jrioux/lyx/

Cheers,
Julien



Re: using RevTex 4.1 for journal formatting

2013-05-19 Thread Julien Rioux

On 08/02/2013 3:50 PM, Chris Goldenstein wrote:

Hello,

I currently have functional document classes for RevTex 4 and 4.1. I am
using 4.0 version that came with my lyx download and 4.1 version
  provided here:
http://www.physics..utoronto.ca/~jrioux/resources/lyx/revtex4-1.layout
http://www.physics.utoronto.ca/~jrioux/resources/lyx/revtex4-1.layout


Please note that I've updated this layout file to provide a version 
specific to LyX 2.0 (the previous version, for LyX 1.6, was also working 
but not using the full features of LyX 2.0).


The new version is here:
http://theorie.physik.uni-konstanz.de/jrioux/lyx/

Cheers,
Julien



Re: using RevTex 4.1 for journal formatting

2013-05-19 Thread Julien Rioux

On 08/02/2013 3:50 PM, Chris Goldenstein wrote:

Hello,

I currently have functional document classes for RevTex 4 and 4.1. I am
using 4.0 version that came with my lyx download and 4.1 version
  provided here:
http://www.physics..utoronto.ca/~jrioux/resources/lyx/revtex4-1.layout
<http://www.physics.utoronto.ca/~jrioux/resources/lyx/revtex4-1.layout>


Please note that I've updated this layout file to provide a version 
specific to LyX 2.0 (the previous version, for LyX 1.6, was also working 
but not using the full features of LyX 2.0).


The new version is here:
http://theorie.physik.uni-konstanz.de/jrioux/lyx/

Cheers,
Julien



Re: using RevTex 4.1 for journal formatting

2013-02-08 Thread stefano franchi
On Fri, Feb 8, 2013 at 2:50 PM, Chris Goldenstein csgol...@stanford.eduwrote:

 *\documentclass[osajnl,preprint,showpacs]{revtex4} %%REVTeX 4.0*

 *or*

 *\documentclass[12pt]{article} %%LaTeX 2e*

 *\usepackage{osajnl}*

 The problem is I have no idea where to put these lines of code. Can
 someone please help?



You have two choices:

1. go to DocumentsettingsDocument Class and choose article(revtex4)
from the drop down menu. Then, just below, where it says Class Options
and in the empty field next to Custom, type the
options:osajnl,preprint,showpacs*

*2.*  *go to DocumentsettingsDocument Class and choose article (*not*
article(revtex4). Then, just below, where it says Class Options and in
the empty field next to Custom, type 12pt(without the quotes).
Finally,  select LaTeX preamble from the list on your left and
type \usepackage{osajnl} in the big blank field at the right.


The two alternatives correspond to the two options you were given. You can
check out if everything worked as planned by selecting ViewView Source
and selecting Preamble only on the drop down menu on your right. You
should see exactly what the instructions say.

Cheers,

Stefano

-- 
Christopher S. Goldenstein
Graduate Research Assistant
Stanford University
High Temperature Gasdynamics Laboratory




Long live the tree!!!

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: using RevTex 4.1 for journal formatting

2013-02-08 Thread Chris Goldenstein
Thanks so much Stefano. That worked!

-chris


On Fri, Feb 8, 2013 at 1:19 PM, stefano franchi
stefano.fran...@gmail.comwrote:




 On Fri, Feb 8, 2013 at 2:50 PM, Chris Goldenstein 
 csgol...@stanford.eduwrote:

 *\documentclass[osajnl,preprint,showpacs]{revtex4} %%REVTeX 4.0*

 *or*

 *\documentclass[12pt]{article} %%LaTeX 2e*

 *\usepackage{osajnl}*

 The problem is I have no idea where to put these lines of code. Can
 someone please help?



 You have two choices:

 1. go to DocumentsettingsDocument Class and choose article(revtex4)
 from the drop down menu. Then, just below, where it says Class Options
 and in the empty field next to Custom, type the
 options:osajnl,preprint,showpacs*

 *2.*  *go to DocumentsettingsDocument Class and choose article (*not*
 article(revtex4). Then, just below, where it says Class Options and in
 the empty field next to Custom, type 12pt(without the quotes).
 Finally,  select LaTeX preamble from the list on your left and
 type \usepackage{osajnl} in the big blank field at the right.


 The two alternatives correspond to the two options you were given. You can
 check out if everything worked as planned by selecting ViewView Source
 and selecting Preamble only on the drop down menu on your right. You
 should see exactly what the instructions say.

 Cheers,

 Stefano

 --
 Christopher S. Goldenstein
 Graduate Research Assistant
 Stanford University
 High Temperature Gasdynamics Laboratory




 Long live the tree!!!

 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic StudiesPh:   +1 (979) 845-2125
 Texas AM University  Fax:  +1 (979) 845-6421
 College Station, Texas, USA

 stef...@tamu.edu
 http://stefano.cleinias.org




-- 
Christopher S. Goldenstein
Graduate Research Assistant
Stanford University
High Temperature Gasdynamics Laboratory

Bldg. 570, Room 570B


Re: using RevTex 4.1 for journal formatting

2013-02-08 Thread stefano franchi
On Fri, Feb 8, 2013 at 2:50 PM, Chris Goldenstein csgol...@stanford.eduwrote:

 *\documentclass[osajnl,preprint,showpacs]{revtex4} %%REVTeX 4.0*

 *or*

 *\documentclass[12pt]{article} %%LaTeX 2e*

 *\usepackage{osajnl}*

 The problem is I have no idea where to put these lines of code. Can
 someone please help?



You have two choices:

1. go to DocumentsettingsDocument Class and choose article(revtex4)
from the drop down menu. Then, just below, where it says Class Options
and in the empty field next to Custom, type the
options:osajnl,preprint,showpacs*

*2.*  *go to DocumentsettingsDocument Class and choose article (*not*
article(revtex4). Then, just below, where it says Class Options and in
the empty field next to Custom, type 12pt(without the quotes).
Finally,  select LaTeX preamble from the list on your left and
type \usepackage{osajnl} in the big blank field at the right.


The two alternatives correspond to the two options you were given. You can
check out if everything worked as planned by selecting ViewView Source
and selecting Preamble only on the drop down menu on your right. You
should see exactly what the instructions say.

Cheers,

Stefano

-- 
Christopher S. Goldenstein
Graduate Research Assistant
Stanford University
High Temperature Gasdynamics Laboratory




Long live the tree!!!

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: using RevTex 4.1 for journal formatting

2013-02-08 Thread Chris Goldenstein
Thanks so much Stefano. That worked!

-chris


On Fri, Feb 8, 2013 at 1:19 PM, stefano franchi
stefano.fran...@gmail.comwrote:




 On Fri, Feb 8, 2013 at 2:50 PM, Chris Goldenstein 
 csgol...@stanford.eduwrote:

 *\documentclass[osajnl,preprint,showpacs]{revtex4} %%REVTeX 4.0*

 *or*

 *\documentclass[12pt]{article} %%LaTeX 2e*

 *\usepackage{osajnl}*

 The problem is I have no idea where to put these lines of code. Can
 someone please help?



 You have two choices:

 1. go to DocumentsettingsDocument Class and choose article(revtex4)
 from the drop down menu. Then, just below, where it says Class Options
 and in the empty field next to Custom, type the
 options:osajnl,preprint,showpacs*

 *2.*  *go to DocumentsettingsDocument Class and choose article (*not*
 article(revtex4). Then, just below, where it says Class Options and in
 the empty field next to Custom, type 12pt(without the quotes).
 Finally,  select LaTeX preamble from the list on your left and
 type \usepackage{osajnl} in the big blank field at the right.


 The two alternatives correspond to the two options you were given. You can
 check out if everything worked as planned by selecting ViewView Source
 and selecting Preamble only on the drop down menu on your right. You
 should see exactly what the instructions say.

 Cheers,

 Stefano

 --
 Christopher S. Goldenstein
 Graduate Research Assistant
 Stanford University
 High Temperature Gasdynamics Laboratory




 Long live the tree!!!

 --
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic StudiesPh:   +1 (979) 845-2125
 Texas AM University  Fax:  +1 (979) 845-6421
 College Station, Texas, USA

 stef...@tamu.edu
 http://stefano.cleinias.org




-- 
Christopher S. Goldenstein
Graduate Research Assistant
Stanford University
High Temperature Gasdynamics Laboratory

Bldg. 570, Room 570B


Re: using RevTex 4.1 for journal formatting

2013-02-08 Thread stefano franchi
On Fri, Feb 8, 2013 at 2:50 PM, Chris Goldenstein <csgol...@stanford.edu>wrote:

> *\documentclass[osajnl,preprint,showpacs]{revtex4} %%REVTeX 4.0*
>
> *or*
>
> *\documentclass[12pt]{article} %%LaTeX 2e*
>
> *\usepackage{osajnl}*
>
> The problem is I have no idea where to put these lines of code. Can
> someone please help?
>
>
>
You have two choices:

1. go to Document>>settings>>Document Class and choose article(revtex4)
from the drop down menu. Then, just below, where it says "Class Options"
and in the empty field next to "Custom", type the
options:osajnl,preprint,showpacs*

*2.*  *go to Document>>settings>>Document Class and choose article (*not*
article(revtex4). Then, just below, where it says "Class Options" and in
the empty field next to "Custom", type "12pt"(without the quotes).
Finally,  select "LaTeX preamble" from the list on your left and
type \usepackage{osajnl} in the big blank field at the right.


The two alternatives correspond to the two options you were given. You can
check out if everything worked as planned by selecting View>>View Source
and selecting "Preamble only" on the drop down menu on your right. You
should see exactly what the instructions say.

Cheers,

Stefano

-- 
Christopher S. Goldenstein
Graduate Research Assistant
Stanford University
High Temperature Gasdynamics Laboratory




Long live the tree!!!

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: using RevTex 4.1 for journal formatting

2013-02-08 Thread Chris Goldenstein
Thanks so much Stefano. That worked!

-chris


On Fri, Feb 8, 2013 at 1:19 PM, stefano franchi
<stefano.fran...@gmail.com>wrote:

>
>
>
> On Fri, Feb 8, 2013 at 2:50 PM, Chris Goldenstein 
> <csgol...@stanford.edu>wrote:
>
>> *\documentclass[osajnl,preprint,showpacs]{revtex4} %%REVTeX 4.0*
>>
>> *or*
>>
>> *\documentclass[12pt]{article} %%LaTeX 2e*
>>
>> *\usepackage{osajnl}*
>>
>> The problem is I have no idea where to put these lines of code. Can
>> someone please help?
>>
>>
>>
> You have two choices:
>
> 1. go to Document>>settings>>Document Class and choose article(revtex4)
> from the drop down menu. Then, just below, where it says "Class Options"
> and in the empty field next to "Custom", type the
> options:osajnl,preprint,showpacs*
>
> *2.*  *go to Document>>settings>>Document Class and choose article (*not*
> article(revtex4). Then, just below, where it says "Class Options" and in
> the empty field next to "Custom", type "12pt"(without the quotes).
> Finally,  select "LaTeX preamble" from the list on your left and
> type \usepackage{osajnl} in the big blank field at the right.
>
>
> The two alternatives correspond to the two options you were given. You can
> check out if everything worked as planned by selecting View>>View Source
> and selecting "Preamble only" on the drop down menu on your right. You
> should see exactly what the instructions say.
>
> Cheers,
>
> Stefano
>
> --
> Christopher S. Goldenstein
> Graduate Research Assistant
> Stanford University
> High Temperature Gasdynamics Laboratory
>
>
>
>
> Long live the tree!!!
>
> --
> __
> Stefano Franchi
> Associate Research Professor
> Department of Hispanic StudiesPh:   +1 (979) 845-2125
> Texas A University  Fax:  +1 (979) 845-6421
> College Station, Texas, USA
>
> stef...@tamu.edu
> http://stefano.cleinias.org
>



-- 
Christopher S. Goldenstein
Graduate Research Assistant
Stanford University
High Temperature Gasdynamics Laboratory

Bldg. 570, Room 570B


Re: Getting RevTeX 4.1 layout to work

2012-10-22 Thread Prem Raj Dhungel




Julien Rioux jrioux at physics.utoronto.ca writes:

 
 On 28/07/2010 3:44 PM, Daniel Joshua Stark wrote:
  Dear All,
 
  I'm using LyX 1.6.7 on Mac OS X 10.6.4.
 
  I've installed the revtex4-1.layout file in /Library/Application
Support/LyX-1.6/layouts
 
  I use the 2009 Tex Live distribution of MacTeX and it is up-to-date.  When I
check in
 texmf-dist/tex/latex/revtex, revtex4-1.cls is present.
 
  I've run sudo texhash several times and have reconfigured LyX several times.
 However, whenever I try to
 select Article (REVTeX 4.1) in Lyx, I get the following error:  The
document class revtex4-1 could not
 be loaded.


Dear all,

I'm using lyx2.0 in mac and trying to install revtex4-1 use it for an article in
APS. I put all the concerned files (class, style and layout) in concerned
folders, did the sudo texhash in Terminal, and reconfigure in lyx. Everything
seems to go ok without any problem.

But as I go to the Lyx - Documents- setting, I do not find the article
(revtex4-1).


Can anybody help? 

Thanks.
Prem






Re: Getting RevTeX 4.1 layout to work

2012-10-22 Thread Prem Raj Dhungel




Julien Rioux jrioux at physics.utoronto.ca writes:

 
 On 28/07/2010 3:44 PM, Daniel Joshua Stark wrote:
  Dear All,
 
  I'm using LyX 1.6.7 on Mac OS X 10.6.4.
 
  I've installed the revtex4-1.layout file in /Library/Application
Support/LyX-1.6/layouts
 
  I use the 2009 Tex Live distribution of MacTeX and it is up-to-date.  When I
check in
 texmf-dist/tex/latex/revtex, revtex4-1.cls is present.
 
  I've run sudo texhash several times and have reconfigured LyX several times.
 However, whenever I try to
 select Article (REVTeX 4.1) in Lyx, I get the following error:  The
document class revtex4-1 could not
 be loaded.


Dear all,

I'm using lyx2.0 in mac and trying to install revtex4-1 use it for an article in
APS. I put all the concerned files (class, style and layout) in concerned
folders, did the sudo texhash in Terminal, and reconfigure in lyx. Everything
seems to go ok without any problem.

But as I go to the Lyx - Documents- setting, I do not find the article
(revtex4-1).


Can anybody help? 

Thanks.
Prem






Re: Getting RevTeX 4.1 layout to work

2012-10-22 Thread Prem Raj Dhungel




Julien Rioux  physics.utoronto.ca> writes:

> 
> On 28/07/2010 3:44 PM, Daniel Joshua Stark wrote:
> > Dear All,
> >
> > I'm using LyX 1.6.7 on Mac OS X 10.6.4.
> >
> > I've installed the revtex4-1.layout file in /Library/Application
Support/LyX-1.6/layouts
> >
> > I use the 2009 Tex Live distribution of MacTeX and it is up-to-date.  When I
check in
> texmf-dist/tex/latex/revtex, revtex4-1.cls is present.
> >
> > I've run sudo texhash several times and have reconfigured LyX several times.
 However, whenever I try to
> select "Article (REVTeX 4.1)" in Lyx, I get the following error:  "The
document class revtex4-1 could not
> be loaded."


Dear all,

I'm using lyx2.0 in mac and trying to install revtex4-1 use it for an article in
APS. I put all the concerned files (class, style and layout) in concerned
folders, did the sudo texhash in Terminal, and reconfigure in lyx. Everything
seems to go ok without any problem.

But as I go to the Lyx -> Documents-> setting, I do not find the "article
(revtex4-1)".


Can anybody help? 

Thanks.
Prem






Re: Getting RevTeX 4.1 layout to work

2011-06-06 Thread Eric Cavalcanti
That worked! I feel somewhat embarassed for what the problem was though. :)

Thank you Julien and Tim! I really appreciate it!

Cheers
Eric

On Sun, Jun 5, 2011 at 2:59 AM, Julien Rioux jri...@physics.utoronto.cawrote:

 On 23/12/2010 4:58 AM, Eric Cavalcanti wrote:

 Thanks Stephan. Perhaps I should clarify that the problem only occurs when
 I have the revtex4-1.layout file that I created from copying and pasting
 Julien's code into a text file in the layouts folder.

 Cheers,
 Eric


 A kind soul followed up on this and offers the explanation that your
 browser does automatic line wrapping that are not part of the original file,
 and a copy-paste from that messes up with how LyX parses the file. This is a
 logical and very plausible explanation of the problem you have encounter.

 I have put the layout file available for download from
 http://www.physics.utoronto.ca/~jrioux/resources/lyx/

 Could you please try to download this file? This should avoid any
 copy-paste problems. Meanwhile the layout file that I am using also evolved
 a bit.

 Thanks,
 Cheers,
 Julien


  Original Message 
 Subject: Revtex4-1 for Lyx 1.6.x
 Date: Sat, 04 Jun 2011 10:40:36 +0200
 From: Timothy Stoltzfus-Dueck

 Hi Julien,

 Thanks for putting together the revtex4-1 layout!

 I had trouble using the version you posted for Lyx 1.6.x, similar to
 that discussed in
 http://www.mail-archive.com/lyx-users@lists.lyx.org/msg84557.html

 It turns out that all it was was that my browser broke up the
 \DeclareLatexClass line, moving the \DeclareLatexClass command to the
 line following the # , which caused the LyX Reconfigure command to fail.
  Moving the # , \DeclareLatexClass..., and  (REVTEX 4.1)}  [3 separate
 lines as my browser gave it to me] to the same line resulted in a
 working LyX Reconfigure.

 Sorry to send this mail to you.  I tried to reply to Eric Cavalcanti,
 who posted the question, but I can't get to a working reply screen.
 Your email address was the only one I found, so I thought you might be
 able to forward or post this in case Eric is still having trouble.

 Thanks again for your work on this.

 Tim Stoltzfus-Dueck




-- 
Eric G. Cavalcanti

ARC Postdoctoral Research Fellow
Centre for Quantum Dynamics -- Griffith University
Nathan, QLD 4111, Australia
eric.cavalca...@gmail.com
http://ericcavalcanti.wordpress.com/


Re: Getting RevTeX 4.1 layout to work

2011-06-06 Thread Eric Cavalcanti
That worked! I feel somewhat embarassed for what the problem was though. :)

Thank you Julien and Tim! I really appreciate it!

Cheers
Eric

On Sun, Jun 5, 2011 at 2:59 AM, Julien Rioux jri...@physics.utoronto.cawrote:

 On 23/12/2010 4:58 AM, Eric Cavalcanti wrote:

 Thanks Stephan. Perhaps I should clarify that the problem only occurs when
 I have the revtex4-1.layout file that I created from copying and pasting
 Julien's code into a text file in the layouts folder.

 Cheers,
 Eric


 A kind soul followed up on this and offers the explanation that your
 browser does automatic line wrapping that are not part of the original file,
 and a copy-paste from that messes up with how LyX parses the file. This is a
 logical and very plausible explanation of the problem you have encounter.

 I have put the layout file available for download from
 http://www.physics.utoronto.ca/~jrioux/resources/lyx/

 Could you please try to download this file? This should avoid any
 copy-paste problems. Meanwhile the layout file that I am using also evolved
 a bit.

 Thanks,
 Cheers,
 Julien


  Original Message 
 Subject: Revtex4-1 for Lyx 1.6.x
 Date: Sat, 04 Jun 2011 10:40:36 +0200
 From: Timothy Stoltzfus-Dueck

 Hi Julien,

 Thanks for putting together the revtex4-1 layout!

 I had trouble using the version you posted for Lyx 1.6.x, similar to
 that discussed in
 http://www.mail-archive.com/lyx-users@lists.lyx.org/msg84557.html

 It turns out that all it was was that my browser broke up the
 \DeclareLatexClass line, moving the \DeclareLatexClass command to the
 line following the # , which caused the LyX Reconfigure command to fail.
  Moving the # , \DeclareLatexClass..., and  (REVTEX 4.1)}  [3 separate
 lines as my browser gave it to me] to the same line resulted in a
 working LyX Reconfigure.

 Sorry to send this mail to you.  I tried to reply to Eric Cavalcanti,
 who posted the question, but I can't get to a working reply screen.
 Your email address was the only one I found, so I thought you might be
 able to forward or post this in case Eric is still having trouble.

 Thanks again for your work on this.

 Tim Stoltzfus-Dueck




-- 
Eric G. Cavalcanti

ARC Postdoctoral Research Fellow
Centre for Quantum Dynamics -- Griffith University
Nathan, QLD 4111, Australia
eric.cavalca...@gmail.com
http://ericcavalcanti.wordpress.com/


Re: Getting RevTeX 4.1 layout to work

2011-06-06 Thread Eric Cavalcanti
That worked! I feel somewhat embarassed for what the problem was though. :)

Thank you Julien and Tim! I really appreciate it!

Cheers
Eric

On Sun, Jun 5, 2011 at 2:59 AM, Julien Rioux <jri...@physics.utoronto.ca>wrote:

> On 23/12/2010 4:58 AM, Eric Cavalcanti wrote:
>
>> Thanks Stephan. Perhaps I should clarify that the problem only occurs when
>> I have the revtex4-1.layout file that I created from copying and pasting
>> Julien's code into a text file in the layouts folder.
>>
>> Cheers,
>> Eric
>>
>
> A kind soul followed up on this and offers the explanation that your
> browser does automatic line wrapping that are not part of the original file,
> and a copy-paste from that messes up with how LyX parses the file. This is a
> logical and very plausible explanation of the problem you have encounter.
>
> I have put the layout file available for download from
> http://www.physics.utoronto.ca/~jrioux/resources/lyx/
>
> Could you please try to download this file? This should avoid any
> copy-paste problems. Meanwhile the layout file that I am using also evolved
> a bit.
>
> Thanks,
> Cheers,
> Julien
>
>
>>  Original Message 
>> Subject: Revtex4-1 for Lyx 1.6.x
>> Date: Sat, 04 Jun 2011 10:40:36 +0200
>> From: Timothy Stoltzfus-Dueck
>>
>> Hi Julien,
>>
>> Thanks for putting together the revtex4-1 layout!
>>
>> I had trouble using the version you posted for Lyx 1.6.x, similar to
>> that discussed in
>> http://www.mail-archive.com/lyx-users@lists.lyx.org/msg84557.html
>>
>> It turns out that all it was was that my browser broke up the
>> \DeclareLatexClass line, moving the \DeclareLatexClass command to the
>> line following the # , which caused the LyX Reconfigure command to fail.
>>  Moving the # , \DeclareLatexClass..., and  (REVTEX 4.1)}  [3 separate
>> lines as my browser gave it to me] to the same line resulted in a
>> working LyX Reconfigure.
>>
>> Sorry to send this mail to you.  I tried to reply to Eric Cavalcanti,
>> who posted the question, but I can't get to a working reply screen.
>> Your email address was the only one I found, so I thought you might be
>> able to forward or post this in case Eric is still having trouble.
>>
>> Thanks again for your work on this.
>>
>> Tim Stoltzfus-Dueck
>>
>


-- 
Eric G. Cavalcanti

ARC Postdoctoral Research Fellow
Centre for Quantum Dynamics -- Griffith University
Nathan, QLD 4111, Australia
eric.cavalca...@gmail.com
http://ericcavalcanti.wordpress.com/


Re: Getting RevTeX 4.1 layout to work

2011-06-04 Thread Julien Rioux

On 23/12/2010 4:58 AM, Eric Cavalcanti wrote:

Thanks Stephan. Perhaps I should clarify that the problem only occurs when I 
have the revtex4-1.layout file that I created from copying and pasting Julien's 
code into a text file in the layouts folder.

Cheers,
Eric


A kind soul followed up on this and offers the explanation that your 
browser does automatic line wrapping that are not part of the original 
file, and a copy-paste from that messes up with how LyX parses the file. 
This is a logical and very plausible explanation of the problem you have 
encounter.


I have put the layout file available for download from
http://www.physics.utoronto.ca/~jrioux/resources/lyx/

Could you please try to download this file? This should avoid any 
copy-paste problems. Meanwhile the layout file that I am using also 
evolved a bit.


Thanks,
Cheers,
Julien



 Original Message 
Subject: Revtex4-1 for Lyx 1.6.x
Date: Sat, 04 Jun 2011 10:40:36 +0200
From: Timothy Stoltzfus-Dueck

Hi Julien,

Thanks for putting together the revtex4-1 layout!

I had trouble using the version you posted for Lyx 1.6.x, similar to
that discussed in
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg84557.html

It turns out that all it was was that my browser broke up the
\DeclareLatexClass line, moving the \DeclareLatexClass command to the
line following the # , which caused the LyX Reconfigure command to fail.
 Moving the # , \DeclareLatexClass..., and  (REVTEX 4.1)}  [3 separate
lines as my browser gave it to me] to the same line resulted in a
working LyX Reconfigure.

Sorry to send this mail to you.  I tried to reply to Eric Cavalcanti,
who posted the question, but I can't get to a working reply screen.
Your email address was the only one I found, so I thought you might be
able to forward or post this in case Eric is still having trouble.

Thanks again for your work on this.

Tim Stoltzfus-Dueck


Re: Getting RevTeX 4.1 layout to work

2011-06-04 Thread Julien Rioux

On 23/12/2010 4:58 AM, Eric Cavalcanti wrote:

Thanks Stephan. Perhaps I should clarify that the problem only occurs when I 
have the revtex4-1.layout file that I created from copying and pasting Julien's 
code into a text file in the layouts folder.

Cheers,
Eric


A kind soul followed up on this and offers the explanation that your 
browser does automatic line wrapping that are not part of the original 
file, and a copy-paste from that messes up with how LyX parses the file. 
This is a logical and very plausible explanation of the problem you have 
encounter.


I have put the layout file available for download from
http://www.physics.utoronto.ca/~jrioux/resources/lyx/

Could you please try to download this file? This should avoid any 
copy-paste problems. Meanwhile the layout file that I am using also 
evolved a bit.


Thanks,
Cheers,
Julien



 Original Message 
Subject: Revtex4-1 for Lyx 1.6.x
Date: Sat, 04 Jun 2011 10:40:36 +0200
From: Timothy Stoltzfus-Dueck

Hi Julien,

Thanks for putting together the revtex4-1 layout!

I had trouble using the version you posted for Lyx 1.6.x, similar to
that discussed in
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg84557.html

It turns out that all it was was that my browser broke up the
\DeclareLatexClass line, moving the \DeclareLatexClass command to the
line following the # , which caused the LyX Reconfigure command to fail.
 Moving the # , \DeclareLatexClass..., and  (REVTEX 4.1)}  [3 separate
lines as my browser gave it to me] to the same line resulted in a
working LyX Reconfigure.

Sorry to send this mail to you.  I tried to reply to Eric Cavalcanti,
who posted the question, but I can't get to a working reply screen.
Your email address was the only one I found, so I thought you might be
able to forward or post this in case Eric is still having trouble.

Thanks again for your work on this.

Tim Stoltzfus-Dueck


Re: Getting RevTeX 4.1 layout to work

2011-06-04 Thread Julien Rioux

On 23/12/2010 4:58 AM, Eric Cavalcanti wrote:

Thanks Stephan. Perhaps I should clarify that the problem only occurs when I 
have the revtex4-1.layout file that I created from copying and pasting Julien's 
code into a text file in the layouts folder.

Cheers,
Eric


A kind soul followed up on this and offers the explanation that your 
browser does automatic line wrapping that are not part of the original 
file, and a copy-paste from that messes up with how LyX parses the file. 
This is a logical and very plausible explanation of the problem you have 
encounter.


I have put the layout file available for download from
http://www.physics.utoronto.ca/~jrioux/resources/lyx/

Could you please try to download this file? This should avoid any 
copy-paste problems. Meanwhile the layout file that I am using also 
evolved a bit.


Thanks,
Cheers,
Julien



 Original Message 
Subject: Revtex4-1 for Lyx 1.6.x
Date: Sat, 04 Jun 2011 10:40:36 +0200
From: Timothy Stoltzfus-Dueck

Hi Julien,

Thanks for putting together the revtex4-1 layout!

I had trouble using the version you posted for Lyx 1.6.x, similar to
that discussed in
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg84557.html

It turns out that all it was was that my browser broke up the
\DeclareLatexClass line, moving the \DeclareLatexClass command to the
line following the # , which caused the LyX Reconfigure command to fail.
 Moving the # , \DeclareLatexClass..., and  (REVTEX 4.1)}  [3 separate
lines as my browser gave it to me] to the same line resulted in a
working LyX Reconfigure.

Sorry to send this mail to you.  I tried to reply to Eric Cavalcanti,
who posted the question, but I can't get to a working reply screen.
Your email address was the only one I found, so I thought you might be
able to forward or post this in case Eric is still having trouble.

Thanks again for your work on this.

Tim Stoltzfus-Dueck


Re: Getting RevTeX 4.1 layout to work

2010-12-23 Thread Stephan Witt
Am 23.12.2010 um 08:52 schrieb Eric Cavalcanti:

 On Thu, Dec 23, 2010 at 1:40 AM, Julien Rioux
 jri...@physics.utoronto.ca wrote:
 On 22/12/2010 9:16 AM, Eric Cavalcanti wrote:
 
 Hi and thanks for the response!
 
 I apologise, I should have given more details of my system. I use
 MacOS 10.5.8, and recently installed texlive2010 through the mactex
 distribution (over an old texlive2007). I installed revtex4-1
 following the instructions on the package's readme and apparently had
 no problems there.
 
 Cheers!
 Eric
 
 
 OK so could you capture the output of the LyX's configuration step? To do
 this you would start lyx from a terminal, click the Tools  reconfigure
 menu, then investigate what you get in the terminal window.
 
 Also specify the debug flag tclass (see
 http://wiki.lyx.org/LyX/Troubleshooting#sLyX.Troubleshooting_11 ) when
 launching LyX to get further info.
 
 Otherwise I don't know what's the problem and can't help you.
 
 --
 Julien
 
 Thanks again Julien. This is the output I get after clicking
 LyX/Reconfigure (note there's no Tools/Reconfigure in my version) when
 launching lyx with -dbg tclass.

It's LyX - Reconfigure on a Mac in general. It doesn't depend on -dbg...

 I looked up the latexconfig.lyx file
 mentioned in the end, but it wasn't very enlightening. Does this give
 you any hint to why the reconfiguration failed?
 
 start quote
 ...
 +checking for document class powerdot 
 [powerdot,enumitem.sty,pstricks.sty,xkeyv
 +checking for document class recipebook [scrbook]... yes
 +checking for document class report [report]... yes
 +checking for package braille [braille]... yes
 ...
 end quote

After checking for document class report... the check for revtex follows.
Unfortunately there is no output to indicate the failure.
See the debug output below from my LyX terminal startup.

...
+checking for document class powerdot [powerdot,enumitem.sty,pstricks.sty,xkeyv
+checking for document class recipebook [scrbook]... yes
+checking for document class report [report]... yes
+checking for document class revtex4-1 [revtex4-1,natbib.sty,revsymb4-1.sty,tex
+checking for document class revtex4 [revtex4]... no
+checking for document class revtex [revtex]... yes
+checking for document class scrartcl [scrartcl]... yes
+checking for document class scrarticle-beamer [scrartcl]... yes
+checking for document class scrbook [scrbook]... yes
+checking for document class scrlettr [scrlettr]... yes
+checking for document class scrlttr2 [scrlttr2]... yes
+checking for document class scrreprt [scrreprt]... yes
+checking for document class seminar [seminar]... yes
+checking for document class siamltex [siamltex]... no
+checking for document class sigplanconf [sigplanconf]... no
+checking for document class simplecv [simplecv]... yes
+checking for document class singlecol-new [singlecol-new, natbib.sty]... no
+checking for document class singlecol [singlecol, natbib.sty]... no
+checking for document class slides [slides]... yes
+checking for document class spie [spie]... yes
+checking for document class svglobal3 [svjour3,svglov3.clo]... no
+checking for document class svglobal [svjour,svglobal.clo]... no
+checking for document class svjog [svjour,svjog.clo]... no
+checking for document class svmono [svmono]... no
+checking for document class svmult [svmult]... no
+checking for document class svprobth [svjour,svprobth.clo]... no
+checking for document class tarticle [tarticle]... no
+checking for document class tbook [tbook]... no
+checking for document class treport [treport]... no
+checking for document class tufte-book [tufte-book]... yes
+checking for document class tufte-handout [tufte-handout]... yes
+checking for package braille [braille]... yes
...

This is not very helpful - I know. 

It looks like the test for document classes aborts too early.
The configure.py script (which does the work for reconfigure)
discards all output not starting with + and hides the 
error messages to diagnose the cause of the problem. :(

I propose to create a ticket in LyX trac here:
http://www.lyx.org/trac/newticket

Stephan

Re: Getting RevTeX 4.1 layout to work

2010-12-23 Thread Eric Cavalcanti

On 23/12/2010, at 6:58 PM, Stephan Witt st.w...@gmx.net wrote:

 Am 23.12.2010 um 08:52 schrieb Eric Cavalcanti:
 
 On Thu, Dec 23, 2010 at 1:40 AM, Julien Rioux
 jri...@physics.utoronto.ca wrote:
 On 22/12/2010 9:16 AM, Eric Cavalcanti wrote:
 
 Hi and thanks for the response!
 
 I apologise, I should have given more details of my system. I use
 MacOS 10.5.8, and recently installed texlive2010 through the mactex
 distribution (over an old texlive2007). I installed revtex4-1
 following the instructions on the package's readme and apparently had
 no problems there.
 
 Cheers!
 Eric
 
 
 OK so could you capture the output of the LyX's configuration step? To do
 this you would start lyx from a terminal, click the Tools  reconfigure
 menu, then investigate what you get in the terminal window.
 
 Also specify the debug flag tclass (see
 http://wiki.lyx.org/LyX/Troubleshooting#sLyX.Troubleshooting_11 ) when
 launching LyX to get further info.
 
 Otherwise I don't know what's the problem and can't help you.
 
 --
 Julien
 
 Thanks again Julien. This is the output I get after clicking
 LyX/Reconfigure (note there's no Tools/Reconfigure in my version) when
 launching lyx with -dbg tclass.
 
 It's LyX - Reconfigure on a Mac in general. It doesn't depend on -dbg...
 
 I looked up the latexconfig.lyx file
 mentioned in the end, but it wasn't very enlightening. Does this give
 you any hint to why the reconfiguration failed?
 
 start quote
 ...
 +checking for document class powerdot 
 [powerdot,enumitem.sty,pstricks.sty,xkeyv
 +checking for document class recipebook [scrbook]... yes
 +checking for document class report [report]... yes
 +checking for package braille [braille]... yes
 ...
 end quote
 
 After checking for document class report... the check for revtex follows.
 Unfortunately there is no output to indicate the failure.
 See the debug output below from my LyX terminal startup.
 
 ...
 +checking for document class powerdot 
 [powerdot,enumitem.sty,pstricks.sty,xkeyv
 +checking for document class recipebook [scrbook]... yes
 +checking for document class report [report]... yes
 +checking for document class revtex4-1 
 [revtex4-1,natbib.sty,revsymb4-1.sty,tex
 +checking for document class revtex4 [revtex4]... no
 +checking for document class revtex [revtex]... yes
 +checking for document class scrartcl [scrartcl]... yes
 +checking for document class scrarticle-beamer [scrartcl]... yes
 +checking for document class scrbook [scrbook]... yes
 +checking for document class scrlettr [scrlettr]... yes
 +checking for document class scrlttr2 [scrlttr2]... yes
 +checking for document class scrreprt [scrreprt]... yes
 +checking for document class seminar [seminar]... yes
 +checking for document class siamltex [siamltex]... no
 +checking for document class sigplanconf [sigplanconf]... no
 +checking for document class simplecv [simplecv]... yes
 +checking for document class singlecol-new [singlecol-new, natbib.sty]... no
 +checking for document class singlecol [singlecol, natbib.sty]... no
 +checking for document class slides [slides]... yes
 +checking for document class spie [spie]... yes
 +checking for document class svglobal3 [svjour3,svglov3.clo]... no
 +checking for document class svglobal [svjour,svglobal.clo]... no
 +checking for document class svjog [svjour,svjog.clo]... no
 +checking for document class svmono [svmono]... no
 +checking for document class svmult [svmult]... no
 +checking for document class svprobth [svjour,svprobth.clo]... no
 +checking for document class tarticle [tarticle]... no
 +checking for document class tbook [tbook]... no
 +checking for document class treport [treport]... no
 +checking for document class tufte-book [tufte-book]... yes
 +checking for document class tufte-handout [tufte-handout]... yes
 +checking for package braille [braille]... yes
 ...
 
 This is not very helpful - I know. 
 
 It looks like the test for document classes aborts too early.
 The configure.py script (which does the work for reconfigure)
 discards all output not starting with + and hides the 
 error messages to diagnose the cause of the problem. :(
 
 I propose to create a ticket in LyX trac here:
 http://www.lyx.org/trac/newticket
 
 Stephan

Thanks Stephan. Perhaps I should clarify that the problem only occurs when I 
have the revtex4-1.layout file that I created from copying and pasting Julien's 
code into a text file in the layouts folder.

Cheers,
Eric

Re: Getting RevTeX 4.1 layout to work

2010-12-23 Thread Stephan Witt
Am 23.12.2010 um 10:58 schrieb Eric Cavalcanti:

 
 On 23/12/2010, at 6:58 PM, Stephan Witt st.w...@gmx.net wrote:
 
 Am 23.12.2010 um 08:52 schrieb Eric Cavalcanti:
 
 On Thu, Dec 23, 2010 at 1:40 AM, Julien Rioux
 jri...@physics.utoronto.ca wrote:
 On 22/12/2010 9:16 AM, Eric Cavalcanti wrote:
 
 Hi and thanks for the response!
 
 I apologise, I should have given more details of my system. I use
 MacOS 10.5.8, and recently installed texlive2010 through the mactex
 distribution (over an old texlive2007). I installed revtex4-1
 following the instructions on the package's readme and apparently had
 no problems there.
 
 Cheers!
 Eric
 
 
 OK so could you capture the output of the LyX's configuration step? To do
 this you would start lyx from a terminal, click the Tools  reconfigure
 menu, then investigate what you get in the terminal window.
 
 Also specify the debug flag tclass (see
 http://wiki.lyx.org/LyX/Troubleshooting#sLyX.Troubleshooting_11 ) when
 launching LyX to get further info.
 
 Otherwise I don't know what's the problem and can't help you.
 
 --
 Julien
 
 Thanks again Julien. This is the output I get after clicking
 LyX/Reconfigure (note there's no Tools/Reconfigure in my version) when
 launching lyx with -dbg tclass.
 
 It's LyX - Reconfigure on a Mac in general. It doesn't depend on -dbg...
 
 I looked up the latexconfig.lyx file
 mentioned in the end, but it wasn't very enlightening. Does this give
 you any hint to why the reconfiguration failed?
 
 start quote
 ...
 +checking for document class powerdot 
 [powerdot,enumitem.sty,pstricks.sty,xkeyv
 +checking for document class recipebook [scrbook]... yes
 +checking for document class report [report]... yes
 +checking for package braille [braille]... yes
 ...
 end quote
 
 After checking for document class report... the check for revtex follows.
 Unfortunately there is no output to indicate the failure.
 See the debug output below from my LyX terminal startup.
 
 ...
 +checking for document class powerdot 
 [powerdot,enumitem.sty,pstricks.sty,xkeyv
 +checking for document class recipebook [scrbook]... yes
 +checking for document class report [report]... yes
 +checking for document class revtex4-1 
 [revtex4-1,natbib.sty,revsymb4-1.sty,tex
 +checking for document class revtex4 [revtex4]... no
 +checking for document class revtex [revtex]... yes
 +checking for document class scrartcl [scrartcl]... yes
 +checking for document class scrarticle-beamer [scrartcl]... yes
 +checking for document class scrbook [scrbook]... yes
 +checking for document class scrlettr [scrlettr]... yes
 +checking for document class scrlttr2 [scrlttr2]... yes
 +checking for document class scrreprt [scrreprt]... yes
 +checking for document class seminar [seminar]... yes
 +checking for document class siamltex [siamltex]... no
 +checking for document class sigplanconf [sigplanconf]... no
 +checking for document class simplecv [simplecv]... yes
 +checking for document class singlecol-new [singlecol-new, natbib.sty]... no
 +checking for document class singlecol [singlecol, natbib.sty]... no
 +checking for document class slides [slides]... yes
 +checking for document class spie [spie]... yes
 +checking for document class svglobal3 [svjour3,svglov3.clo]... no
 +checking for document class svglobal [svjour,svglobal.clo]... no
 +checking for document class svjog [svjour,svjog.clo]... no
 +checking for document class svmono [svmono]... no
 +checking for document class svmult [svmult]... no
 +checking for document class svprobth [svjour,svprobth.clo]... no
 +checking for document class tarticle [tarticle]... no
 +checking for document class tbook [tbook]... no
 +checking for document class treport [treport]... no
 +checking for document class tufte-book [tufte-book]... yes
 +checking for document class tufte-handout [tufte-handout]... yes
 +checking for package braille [braille]... yes
 ...
 
 This is not very helpful - I know. 
 
 It looks like the test for document classes aborts too early.
 The configure.py script (which does the work for reconfigure)
 discards all output not starting with + and hides the 
 error messages to diagnose the cause of the problem. :(
 
 
 Thanks Stephan. Perhaps I should clarify that the problem only occurs when I 
 have the revtex4-1.layout file that I created from copying and pasting 
 Julien's code into a text file in the layouts folder.

Yes, I know. This issue is not to be expected when using the standard setup.
But the impossibility to diagnose an error situation is a bug too.

It's very hard to guess what's so special at your machine to make it fail.
I added the revtex4-1.layout to my private layout files in my user directory
of LyX as you did. But the reconfigure works for me. Therefore I'm unable to
help diagnosing the problem. And I'm unable to create the same configuration
as you're using it. I have Mac OS 10.6.5

Re: Getting RevTeX 4.1 layout to work

2010-12-23 Thread Stephan Witt
Am 23.12.2010 um 08:52 schrieb Eric Cavalcanti:

 On Thu, Dec 23, 2010 at 1:40 AM, Julien Rioux
 jri...@physics.utoronto.ca wrote:
 On 22/12/2010 9:16 AM, Eric Cavalcanti wrote:
 
 Hi and thanks for the response!
 
 I apologise, I should have given more details of my system. I use
 MacOS 10.5.8, and recently installed texlive2010 through the mactex
 distribution (over an old texlive2007). I installed revtex4-1
 following the instructions on the package's readme and apparently had
 no problems there.
 
 Cheers!
 Eric
 
 
 OK so could you capture the output of the LyX's configuration step? To do
 this you would start lyx from a terminal, click the Tools  reconfigure
 menu, then investigate what you get in the terminal window.
 
 Also specify the debug flag tclass (see
 http://wiki.lyx.org/LyX/Troubleshooting#sLyX.Troubleshooting_11 ) when
 launching LyX to get further info.
 
 Otherwise I don't know what's the problem and can't help you.
 
 --
 Julien
 
 Thanks again Julien. This is the output I get after clicking
 LyX/Reconfigure (note there's no Tools/Reconfigure in my version) when
 launching lyx with -dbg tclass.

It's LyX - Reconfigure on a Mac in general. It doesn't depend on -dbg...

 I looked up the latexconfig.lyx file
 mentioned in the end, but it wasn't very enlightening. Does this give
 you any hint to why the reconfiguration failed?
 
 start quote
 ...
 +checking for document class powerdot 
 [powerdot,enumitem.sty,pstricks.sty,xkeyv
 +checking for document class recipebook [scrbook]... yes
 +checking for document class report [report]... yes
 +checking for package braille [braille]... yes
 ...
 end quote

After checking for document class report... the check for revtex follows.
Unfortunately there is no output to indicate the failure.
See the debug output below from my LyX terminal startup.

...
+checking for document class powerdot [powerdot,enumitem.sty,pstricks.sty,xkeyv
+checking for document class recipebook [scrbook]... yes
+checking for document class report [report]... yes
+checking for document class revtex4-1 [revtex4-1,natbib.sty,revsymb4-1.sty,tex
+checking for document class revtex4 [revtex4]... no
+checking for document class revtex [revtex]... yes
+checking for document class scrartcl [scrartcl]... yes
+checking for document class scrarticle-beamer [scrartcl]... yes
+checking for document class scrbook [scrbook]... yes
+checking for document class scrlettr [scrlettr]... yes
+checking for document class scrlttr2 [scrlttr2]... yes
+checking for document class scrreprt [scrreprt]... yes
+checking for document class seminar [seminar]... yes
+checking for document class siamltex [siamltex]... no
+checking for document class sigplanconf [sigplanconf]... no
+checking for document class simplecv [simplecv]... yes
+checking for document class singlecol-new [singlecol-new, natbib.sty]... no
+checking for document class singlecol [singlecol, natbib.sty]... no
+checking for document class slides [slides]... yes
+checking for document class spie [spie]... yes
+checking for document class svglobal3 [svjour3,svglov3.clo]... no
+checking for document class svglobal [svjour,svglobal.clo]... no
+checking for document class svjog [svjour,svjog.clo]... no
+checking for document class svmono [svmono]... no
+checking for document class svmult [svmult]... no
+checking for document class svprobth [svjour,svprobth.clo]... no
+checking for document class tarticle [tarticle]... no
+checking for document class tbook [tbook]... no
+checking for document class treport [treport]... no
+checking for document class tufte-book [tufte-book]... yes
+checking for document class tufte-handout [tufte-handout]... yes
+checking for package braille [braille]... yes
...

This is not very helpful - I know. 

It looks like the test for document classes aborts too early.
The configure.py script (which does the work for reconfigure)
discards all output not starting with + and hides the 
error messages to diagnose the cause of the problem. :(

I propose to create a ticket in LyX trac here:
http://www.lyx.org/trac/newticket

Stephan

Re: Getting RevTeX 4.1 layout to work

2010-12-23 Thread Eric Cavalcanti

On 23/12/2010, at 6:58 PM, Stephan Witt st.w...@gmx.net wrote:

 Am 23.12.2010 um 08:52 schrieb Eric Cavalcanti:
 
 On Thu, Dec 23, 2010 at 1:40 AM, Julien Rioux
 jri...@physics.utoronto.ca wrote:
 On 22/12/2010 9:16 AM, Eric Cavalcanti wrote:
 
 Hi and thanks for the response!
 
 I apologise, I should have given more details of my system. I use
 MacOS 10.5.8, and recently installed texlive2010 through the mactex
 distribution (over an old texlive2007). I installed revtex4-1
 following the instructions on the package's readme and apparently had
 no problems there.
 
 Cheers!
 Eric
 
 
 OK so could you capture the output of the LyX's configuration step? To do
 this you would start lyx from a terminal, click the Tools  reconfigure
 menu, then investigate what you get in the terminal window.
 
 Also specify the debug flag tclass (see
 http://wiki.lyx.org/LyX/Troubleshooting#sLyX.Troubleshooting_11 ) when
 launching LyX to get further info.
 
 Otherwise I don't know what's the problem and can't help you.
 
 --
 Julien
 
 Thanks again Julien. This is the output I get after clicking
 LyX/Reconfigure (note there's no Tools/Reconfigure in my version) when
 launching lyx with -dbg tclass.
 
 It's LyX - Reconfigure on a Mac in general. It doesn't depend on -dbg...
 
 I looked up the latexconfig.lyx file
 mentioned in the end, but it wasn't very enlightening. Does this give
 you any hint to why the reconfiguration failed?
 
 start quote
 ...
 +checking for document class powerdot 
 [powerdot,enumitem.sty,pstricks.sty,xkeyv
 +checking for document class recipebook [scrbook]... yes
 +checking for document class report [report]... yes
 +checking for package braille [braille]... yes
 ...
 end quote
 
 After checking for document class report... the check for revtex follows.
 Unfortunately there is no output to indicate the failure.
 See the debug output below from my LyX terminal startup.
 
 ...
 +checking for document class powerdot 
 [powerdot,enumitem.sty,pstricks.sty,xkeyv
 +checking for document class recipebook [scrbook]... yes
 +checking for document class report [report]... yes
 +checking for document class revtex4-1 
 [revtex4-1,natbib.sty,revsymb4-1.sty,tex
 +checking for document class revtex4 [revtex4]... no
 +checking for document class revtex [revtex]... yes
 +checking for document class scrartcl [scrartcl]... yes
 +checking for document class scrarticle-beamer [scrartcl]... yes
 +checking for document class scrbook [scrbook]... yes
 +checking for document class scrlettr [scrlettr]... yes
 +checking for document class scrlttr2 [scrlttr2]... yes
 +checking for document class scrreprt [scrreprt]... yes
 +checking for document class seminar [seminar]... yes
 +checking for document class siamltex [siamltex]... no
 +checking for document class sigplanconf [sigplanconf]... no
 +checking for document class simplecv [simplecv]... yes
 +checking for document class singlecol-new [singlecol-new, natbib.sty]... no
 +checking for document class singlecol [singlecol, natbib.sty]... no
 +checking for document class slides [slides]... yes
 +checking for document class spie [spie]... yes
 +checking for document class svglobal3 [svjour3,svglov3.clo]... no
 +checking for document class svglobal [svjour,svglobal.clo]... no
 +checking for document class svjog [svjour,svjog.clo]... no
 +checking for document class svmono [svmono]... no
 +checking for document class svmult [svmult]... no
 +checking for document class svprobth [svjour,svprobth.clo]... no
 +checking for document class tarticle [tarticle]... no
 +checking for document class tbook [tbook]... no
 +checking for document class treport [treport]... no
 +checking for document class tufte-book [tufte-book]... yes
 +checking for document class tufte-handout [tufte-handout]... yes
 +checking for package braille [braille]... yes
 ...
 
 This is not very helpful - I know. 
 
 It looks like the test for document classes aborts too early.
 The configure.py script (which does the work for reconfigure)
 discards all output not starting with + and hides the 
 error messages to diagnose the cause of the problem. :(
 
 I propose to create a ticket in LyX trac here:
 http://www.lyx.org/trac/newticket
 
 Stephan

Thanks Stephan. Perhaps I should clarify that the problem only occurs when I 
have the revtex4-1.layout file that I created from copying and pasting Julien's 
code into a text file in the layouts folder.

Cheers,
Eric

Re: Getting RevTeX 4.1 layout to work

2010-12-23 Thread Stephan Witt
Am 23.12.2010 um 10:58 schrieb Eric Cavalcanti:

 
 On 23/12/2010, at 6:58 PM, Stephan Witt st.w...@gmx.net wrote:
 
 Am 23.12.2010 um 08:52 schrieb Eric Cavalcanti:
 
 On Thu, Dec 23, 2010 at 1:40 AM, Julien Rioux
 jri...@physics.utoronto.ca wrote:
 On 22/12/2010 9:16 AM, Eric Cavalcanti wrote:
 
 Hi and thanks for the response!
 
 I apologise, I should have given more details of my system. I use
 MacOS 10.5.8, and recently installed texlive2010 through the mactex
 distribution (over an old texlive2007). I installed revtex4-1
 following the instructions on the package's readme and apparently had
 no problems there.
 
 Cheers!
 Eric
 
 
 OK so could you capture the output of the LyX's configuration step? To do
 this you would start lyx from a terminal, click the Tools  reconfigure
 menu, then investigate what you get in the terminal window.
 
 Also specify the debug flag tclass (see
 http://wiki.lyx.org/LyX/Troubleshooting#sLyX.Troubleshooting_11 ) when
 launching LyX to get further info.
 
 Otherwise I don't know what's the problem and can't help you.
 
 --
 Julien
 
 Thanks again Julien. This is the output I get after clicking
 LyX/Reconfigure (note there's no Tools/Reconfigure in my version) when
 launching lyx with -dbg tclass.
 
 It's LyX - Reconfigure on a Mac in general. It doesn't depend on -dbg...
 
 I looked up the latexconfig.lyx file
 mentioned in the end, but it wasn't very enlightening. Does this give
 you any hint to why the reconfiguration failed?
 
 start quote
 ...
 +checking for document class powerdot 
 [powerdot,enumitem.sty,pstricks.sty,xkeyv
 +checking for document class recipebook [scrbook]... yes
 +checking for document class report [report]... yes
 +checking for package braille [braille]... yes
 ...
 end quote
 
 After checking for document class report... the check for revtex follows.
 Unfortunately there is no output to indicate the failure.
 See the debug output below from my LyX terminal startup.
 
 ...
 +checking for document class powerdot 
 [powerdot,enumitem.sty,pstricks.sty,xkeyv
 +checking for document class recipebook [scrbook]... yes
 +checking for document class report [report]... yes
 +checking for document class revtex4-1 
 [revtex4-1,natbib.sty,revsymb4-1.sty,tex
 +checking for document class revtex4 [revtex4]... no
 +checking for document class revtex [revtex]... yes
 +checking for document class scrartcl [scrartcl]... yes
 +checking for document class scrarticle-beamer [scrartcl]... yes
 +checking for document class scrbook [scrbook]... yes
 +checking for document class scrlettr [scrlettr]... yes
 +checking for document class scrlttr2 [scrlttr2]... yes
 +checking for document class scrreprt [scrreprt]... yes
 +checking for document class seminar [seminar]... yes
 +checking for document class siamltex [siamltex]... no
 +checking for document class sigplanconf [sigplanconf]... no
 +checking for document class simplecv [simplecv]... yes
 +checking for document class singlecol-new [singlecol-new, natbib.sty]... no
 +checking for document class singlecol [singlecol, natbib.sty]... no
 +checking for document class slides [slides]... yes
 +checking for document class spie [spie]... yes
 +checking for document class svglobal3 [svjour3,svglov3.clo]... no
 +checking for document class svglobal [svjour,svglobal.clo]... no
 +checking for document class svjog [svjour,svjog.clo]... no
 +checking for document class svmono [svmono]... no
 +checking for document class svmult [svmult]... no
 +checking for document class svprobth [svjour,svprobth.clo]... no
 +checking for document class tarticle [tarticle]... no
 +checking for document class tbook [tbook]... no
 +checking for document class treport [treport]... no
 +checking for document class tufte-book [tufte-book]... yes
 +checking for document class tufte-handout [tufte-handout]... yes
 +checking for package braille [braille]... yes
 ...
 
 This is not very helpful - I know. 
 
 It looks like the test for document classes aborts too early.
 The configure.py script (which does the work for reconfigure)
 discards all output not starting with + and hides the 
 error messages to diagnose the cause of the problem. :(
 
 
 Thanks Stephan. Perhaps I should clarify that the problem only occurs when I 
 have the revtex4-1.layout file that I created from copying and pasting 
 Julien's code into a text file in the layouts folder.

Yes, I know. This issue is not to be expected when using the standard setup.
But the impossibility to diagnose an error situation is a bug too.

It's very hard to guess what's so special at your machine to make it fail.
I added the revtex4-1.layout to my private layout files in my user directory
of LyX as you did. But the reconfigure works for me. Therefore I'm unable to
help diagnosing the problem. And I'm unable to create the same configuration
as you're using it. I have Mac OS 10.6.5

Re: Getting RevTeX 4.1 layout to work

2010-12-23 Thread Stephan Witt
Am 23.12.2010 um 08:52 schrieb Eric Cavalcanti:

> On Thu, Dec 23, 2010 at 1:40 AM, Julien Rioux
> <jri...@physics.utoronto.ca> wrote:
>> On 22/12/2010 9:16 AM, Eric Cavalcanti wrote:
>>> 
>>> Hi and thanks for the response!
>>> 
>>> I apologise, I should have given more details of my system. I use
>>> MacOS 10.5.8, and recently installed texlive2010 through the mactex
>>> distribution (over an old texlive2007). I installed revtex4-1
>>> following the instructions on the package's readme and apparently had
>>> no problems there.
>>> 
>>> Cheers!
>>> Eric
>>> 
>> 
>> OK so could you capture the output of the LyX's configuration step? To do
>> this you would start lyx from a terminal, click the "Tools > reconfigure"
>> menu, then investigate what you get in the terminal window.
>> 
>> Also specify the debug flag "tclass" (see
>> http://wiki.lyx.org/LyX/Troubleshooting#sLyX.Troubleshooting_11 ) when
>> launching LyX to get further info.
>> 
>> Otherwise I don't know what's the problem and can't help you.
>> 
>> --
>> Julien
> 
> Thanks again Julien. This is the output I get after clicking
> LyX/Reconfigure (note there's no Tools/Reconfigure in my version) when
> launching lyx with -dbg tclass.

It's LyX -> Reconfigure on a Mac in general. It doesn't depend on -dbg...

> I looked up the latexconfig.lyx file
> mentioned in the end, but it wasn't very enlightening. Does this give
> you any hint to why the reconfiguration failed?
> 
> start quote
> ...
> +checking for document class powerdot 
> [powerdot,enumitem.sty,pstricks.sty,xkeyv
> +checking for document class recipebook [scrbook]... yes
> +checking for document class report [report]... yes
> +checking for package braille [braille]... yes
> ...
> end quote

After "checking for document class report..." the check for revtex follows.
Unfortunately there is no output to indicate the failure.
See the debug output below from my LyX terminal startup.

...
+checking for document class powerdot [powerdot,enumitem.sty,pstricks.sty,xkeyv
+checking for document class recipebook [scrbook]... yes
+checking for document class report [report]... yes
+checking for document class revtex4-1 [revtex4-1,natbib.sty,revsymb4-1.sty,tex
+checking for document class revtex4 [revtex4]... no
+checking for document class revtex [revtex]... yes
+checking for document class scrartcl [scrartcl]... yes
+checking for document class scrarticle-beamer [scrartcl]... yes
+checking for document class scrbook [scrbook]... yes
+checking for document class scrlettr [scrlettr]... yes
+checking for document class scrlttr2 [scrlttr2]... yes
+checking for document class scrreprt [scrreprt]... yes
+checking for document class seminar [seminar]... yes
+checking for document class siamltex [siamltex]... no
+checking for document class sigplanconf [sigplanconf]... no
+checking for document class simplecv [simplecv]... yes
+checking for document class singlecol-new [singlecol-new, natbib.sty]... no
+checking for document class singlecol [singlecol, natbib.sty]... no
+checking for document class slides [slides]... yes
+checking for document class spie [spie]... yes
+checking for document class svglobal3 [svjour3,svglov3.clo]... no
+checking for document class svglobal [svjour,svglobal.clo]... no
+checking for document class svjog [svjour,svjog.clo]... no
+checking for document class svmono [svmono]... no
+checking for document class svmult [svmult]... no
+checking for document class svprobth [svjour,svprobth.clo]... no
+checking for document class tarticle [tarticle]... no
+checking for document class tbook [tbook]... no
+checking for document class treport [treport]... no
+checking for document class tufte-book [tufte-book]... yes
+checking for document class tufte-handout [tufte-handout]... yes
+checking for package braille [braille]... yes
...

This is not very helpful - I know. 

It looks like the test for document classes aborts too early.
The configure.py script (which does the work for reconfigure)
discards all output not starting with + and hides the 
error messages to diagnose the cause of the problem. :(

I propose to create a ticket in LyX trac here:
http://www.lyx.org/trac/newticket

Stephan

Re: Getting RevTeX 4.1 layout to work

2010-12-23 Thread Eric Cavalcanti

On 23/12/2010, at 6:58 PM, Stephan Witt <st.w...@gmx.net> wrote:

> Am 23.12.2010 um 08:52 schrieb Eric Cavalcanti:
> 
>> On Thu, Dec 23, 2010 at 1:40 AM, Julien Rioux
>> <jri...@physics.utoronto.ca> wrote:
>>> On 22/12/2010 9:16 AM, Eric Cavalcanti wrote:
>>>> 
>>>> Hi and thanks for the response!
>>>> 
>>>> I apologise, I should have given more details of my system. I use
>>>> MacOS 10.5.8, and recently installed texlive2010 through the mactex
>>>> distribution (over an old texlive2007). I installed revtex4-1
>>>> following the instructions on the package's readme and apparently had
>>>> no problems there.
>>>> 
>>>> Cheers!
>>>> Eric
>>>> 
>>> 
>>> OK so could you capture the output of the LyX's configuration step? To do
>>> this you would start lyx from a terminal, click the "Tools > reconfigure"
>>> menu, then investigate what you get in the terminal window.
>>> 
>>> Also specify the debug flag "tclass" (see
>>> http://wiki.lyx.org/LyX/Troubleshooting#sLyX.Troubleshooting_11 ) when
>>> launching LyX to get further info.
>>> 
>>> Otherwise I don't know what's the problem and can't help you.
>>> 
>>> --
>>> Julien
>> 
>> Thanks again Julien. This is the output I get after clicking
>> LyX/Reconfigure (note there's no Tools/Reconfigure in my version) when
>> launching lyx with -dbg tclass.
> 
> It's LyX -> Reconfigure on a Mac in general. It doesn't depend on -dbg...
> 
>> I looked up the latexconfig.lyx file
>> mentioned in the end, but it wasn't very enlightening. Does this give
>> you any hint to why the reconfiguration failed?
>> 
>> start quote
>> ...
>> +checking for document class powerdot 
>> [powerdot,enumitem.sty,pstricks.sty,xkeyv
>> +checking for document class recipebook [scrbook]... yes
>> +checking for document class report [report]... yes
>> +checking for package braille [braille]... yes
>> ...
>> end quote
> 
> After "checking for document class report..." the check for revtex follows.
> Unfortunately there is no output to indicate the failure.
> See the debug output below from my LyX terminal startup.
> 
> ...
> +checking for document class powerdot 
> [powerdot,enumitem.sty,pstricks.sty,xkeyv
> +checking for document class recipebook [scrbook]... yes
> +checking for document class report [report]... yes
> +checking for document class revtex4-1 
> [revtex4-1,natbib.sty,revsymb4-1.sty,tex
> +checking for document class revtex4 [revtex4]... no
> +checking for document class revtex [revtex]... yes
> +checking for document class scrartcl [scrartcl]... yes
> +checking for document class scrarticle-beamer [scrartcl]... yes
> +checking for document class scrbook [scrbook]... yes
> +checking for document class scrlettr [scrlettr]... yes
> +checking for document class scrlttr2 [scrlttr2]... yes
> +checking for document class scrreprt [scrreprt]... yes
> +checking for document class seminar [seminar]... yes
> +checking for document class siamltex [siamltex]... no
> +checking for document class sigplanconf [sigplanconf]... no
> +checking for document class simplecv [simplecv]... yes
> +checking for document class singlecol-new [singlecol-new, natbib.sty]... no
> +checking for document class singlecol [singlecol, natbib.sty]... no
> +checking for document class slides [slides]... yes
> +checking for document class spie [spie]... yes
> +checking for document class svglobal3 [svjour3,svglov3.clo]... no
> +checking for document class svglobal [svjour,svglobal.clo]... no
> +checking for document class svjog [svjour,svjog.clo]... no
> +checking for document class svmono [svmono]... no
> +checking for document class svmult [svmult]... no
> +checking for document class svprobth [svjour,svprobth.clo]... no
> +checking for document class tarticle [tarticle]... no
> +checking for document class tbook [tbook]... no
> +checking for document class treport [treport]... no
> +checking for document class tufte-book [tufte-book]... yes
> +checking for document class tufte-handout [tufte-handout]... yes
> +checking for package braille [braille]... yes
> ...
> 
> This is not very helpful - I know. 
> 
> It looks like the test for document classes aborts too early.
> The configure.py script (which does the work for reconfigure)
> discards all output not starting with + and hides the 
> error messages to diagnose the cause of the problem. :(
> 
> I propose to create a ticket in LyX trac here:
> http://www.lyx.org/trac/newticket
> 
> Stephan

Thanks Stephan. Perhaps I should clarify that the problem only occurs when I 
have the revtex4-1.layout file that I created from copying and pasting Julien's 
code into a text file in the layouts folder.

Cheers,
Eric

Re: Getting RevTeX 4.1 layout to work

2010-12-23 Thread Stephan Witt
Am 23.12.2010 um 10:58 schrieb Eric Cavalcanti:

> 
> On 23/12/2010, at 6:58 PM, Stephan Witt <st.w...@gmx.net> wrote:
> 
>> Am 23.12.2010 um 08:52 schrieb Eric Cavalcanti:
>> 
>>> On Thu, Dec 23, 2010 at 1:40 AM, Julien Rioux
>>> <jri...@physics.utoronto.ca> wrote:
>>>> On 22/12/2010 9:16 AM, Eric Cavalcanti wrote:
>>>>> 
>>>>> Hi and thanks for the response!
>>>>> 
>>>>> I apologise, I should have given more details of my system. I use
>>>>> MacOS 10.5.8, and recently installed texlive2010 through the mactex
>>>>> distribution (over an old texlive2007). I installed revtex4-1
>>>>> following the instructions on the package's readme and apparently had
>>>>> no problems there.
>>>>> 
>>>>> Cheers!
>>>>> Eric
>>>>> 
>>>> 
>>>> OK so could you capture the output of the LyX's configuration step? To do
>>>> this you would start lyx from a terminal, click the "Tools > reconfigure"
>>>> menu, then investigate what you get in the terminal window.
>>>> 
>>>> Also specify the debug flag "tclass" (see
>>>> http://wiki.lyx.org/LyX/Troubleshooting#sLyX.Troubleshooting_11 ) when
>>>> launching LyX to get further info.
>>>> 
>>>> Otherwise I don't know what's the problem and can't help you.
>>>> 
>>>> --
>>>> Julien
>>> 
>>> Thanks again Julien. This is the output I get after clicking
>>> LyX/Reconfigure (note there's no Tools/Reconfigure in my version) when
>>> launching lyx with -dbg tclass.
>> 
>> It's LyX -> Reconfigure on a Mac in general. It doesn't depend on -dbg...
>> 
>>> I looked up the latexconfig.lyx file
>>> mentioned in the end, but it wasn't very enlightening. Does this give
>>> you any hint to why the reconfiguration failed?
>>> 
>>> start quote
>>> ...
>>> +checking for document class powerdot 
>>> [powerdot,enumitem.sty,pstricks.sty,xkeyv
>>> +checking for document class recipebook [scrbook]... yes
>>> +checking for document class report [report]... yes
>>> +checking for package braille [braille]... yes
>>> ...
>>> end quote----
>> 
>> After "checking for document class report..." the check for revtex follows.
>> Unfortunately there is no output to indicate the failure.
>> See the debug output below from my LyX terminal startup.
>> 
>> ...
>> +checking for document class powerdot 
>> [powerdot,enumitem.sty,pstricks.sty,xkeyv
>> +checking for document class recipebook [scrbook]... yes
>> +checking for document class report [report]... yes
>> +checking for document class revtex4-1 
>> [revtex4-1,natbib.sty,revsymb4-1.sty,tex
>> +checking for document class revtex4 [revtex4]... no
>> +checking for document class revtex [revtex]... yes
>> +checking for document class scrartcl [scrartcl]... yes
>> +checking for document class scrarticle-beamer [scrartcl]... yes
>> +checking for document class scrbook [scrbook]... yes
>> +checking for document class scrlettr [scrlettr]... yes
>> +checking for document class scrlttr2 [scrlttr2]... yes
>> +checking for document class scrreprt [scrreprt]... yes
>> +checking for document class seminar [seminar]... yes
>> +checking for document class siamltex [siamltex]... no
>> +checking for document class sigplanconf [sigplanconf]... no
>> +checking for document class simplecv [simplecv]... yes
>> +checking for document class singlecol-new [singlecol-new, natbib.sty]... no
>> +checking for document class singlecol [singlecol, natbib.sty]... no
>> +checking for document class slides [slides]... yes
>> +checking for document class spie [spie]... yes
>> +checking for document class svglobal3 [svjour3,svglov3.clo]... no
>> +checking for document class svglobal [svjour,svglobal.clo]... no
>> +checking for document class svjog [svjour,svjog.clo]... no
>> +checking for document class svmono [svmono]... no
>> +checking for document class svmult [svmult]... no
>> +checking for document class svprobth [svjour,svprobth.clo]... no
>> +checking for document class tarticle [tarticle]... no
>> +checking for document class tbook [tbook]... no
>> +checking for document class treport [treport]... no
>> +checking for document class tufte-book [tufte-book]... ye

Re: Getting RevTeX 4.1 layout to work

2010-12-22 Thread Julien Rioux

On 22/12/2010 12:21 AM, Eric wrote:

Julien Riouxjriouxat  physics.utoronto.ca  writes:



Here's an updated layout file for LyX 1.6.x

Let us know how it works for you. I have a version for LyX 2.0 with
template file that I plan to submit to the developers soon.

Cheers,
Julien


Hi Julien,

I'm having a similar problem and I've tried the layout file you posted below,
but with no success. I put it on LyX-1.6/layouts and ran Reconfigure but I got
the error message:

The system reconfiguration has failed. Default textclass is used but LyX may
not be able to work properly. Please reconfigure again if needed.

Reconfigure works fine when I remove the offending revtex4-1.layout file.

Any help would be greatly appreciated!

Cheers,
Eric






Hi,

I've been using this layout without problem with LyX 1.6.5 and 1.6.9 
(developer's bug fix version) and with both MiKteX/Windows or 
TeXLive/Ubuntu, so I am a bit surprised here.


But I found this:

http://wiki.lyx.org/Windows/LyXWinTips#toc9

Could you please try if the section Trouble Configuring LyX ... helps 
you here? If not I would ask to provide the output you get on the 
terminal when reconfiguring LyX, so that we can better identify the 
source of the problem.


--
Julien


Re: Getting RevTeX 4.1 layout to work

2010-12-22 Thread Eric Cavalcanti
On Wed, Dec 22, 2010 at 11:51 PM, Julien Rioux
jri...@physics.utoronto.ca wrote:
 On 22/12/2010 12:21 AM, Eric wrote:

 Hi Julien,

 I'm having a similar problem and I've tried the layout file you posted
 below, but with no success. I put it on LyX-1.6/layouts and ran Reconfigure 
 but I
 got the error message:

 The system reconfiguration has failed. Default textclass is used but LyX
 may not be able to work properly. Please reconfigure again if needed.

 Reconfigure works fine when I remove the offending revtex4-1.layout file.

 Any help would be greatly appreciated!

 Cheers,
 Eric


 Hi,

 I've been using this layout without problem with LyX 1.6.5 and 1.6.9
 (developer's bug fix version) and with both MiKteX/Windows or
 TeXLive/Ubuntu, so I am a bit surprised here.

 But I found this:

 http://wiki.lyx.org/Windows/LyXWinTips#toc9

 Could you please try if the section Trouble Configuring LyX ... helps you
 here? If not I would ask to provide the output you get on the terminal when
 reconfiguring LyX, so that we can better identify the source of the problem.

 --
 Julien


Hi and thanks for the response!

I apologise, I should have given more details of my system. I use
MacOS 10.5.8, and recently installed texlive2010 through the mactex
distribution (over an old texlive2007). I installed revtex4-1
following the instructions on the package's readme and apparently had
no problems there.

Cheers!
Eric


Re: Getting RevTeX 4.1 layout to work

2010-12-22 Thread Julien Rioux

On 22/12/2010 9:16 AM, Eric Cavalcanti wrote:

Hi and thanks for the response!

I apologise, I should have given more details of my system. I use
MacOS 10.5.8, and recently installed texlive2010 through the mactex
distribution (over an old texlive2007). I installed revtex4-1
following the instructions on the package's readme and apparently had
no problems there.

Cheers!
Eric



OK so could you capture the output of the LyX's configuration step? To 
do this you would start lyx from a terminal, click the Tools  
reconfigure menu, then investigate what you get in the terminal window.


Also specify the debug flag tclass (see 
http://wiki.lyx.org/LyX/Troubleshooting#sLyX.Troubleshooting_11 ) when 
launching LyX to get further info.


Otherwise I don't know what's the problem and can't help you.

--
Julien


Re: Getting RevTeX 4.1 layout to work

2010-12-22 Thread Stephan Witt
Am 22.12.2010 um 16:40 schrieb Julien Rioux:

 On 22/12/2010 9:16 AM, Eric Cavalcanti wrote:
 Hi and thanks for the response!
 
 I apologise, I should have given more details of my system. I use
 MacOS 10.5.8, and recently installed texlive2010 through the mactex
 distribution (over an old texlive2007). I installed revtex4-1
 following the instructions on the package's readme and apparently had
 no problems there.
 
 Cheers!
 Eric
 
 
 OK so could you capture the output of the LyX's configuration step? To do 
 this you would start lyx from a terminal, click the Tools  reconfigure 
 menu, then investigate what you get in the terminal window.

To start LyX from terminal use something like:
% /Applications/LyX-1.6.8.app/Contents/MacOS/lyx

On a Mac it is LyX - Reconfigure...

 
 Also specify the debug flag tclass (see 
 http://wiki.lyx.org/LyX/Troubleshooting#sLyX.Troubleshooting_11 ) when 
 launching LyX to get further info.
 
 Otherwise I don't know what's the problem and can't help you.

I tried that with LyX-1.6.9svn on MacOS 10.6.5 with TeXLive-2009 and it works 
here:
(The output of the reconfigure is truncated at some line length...)

...
+checking for document class revtex4-1 [revtex4-1,natbib.sty,revsymb4-1.sty,tex
+checking for document class revtex4 [revtex4]... no
+checking for document class revtex [revtex]... yes
...

This is the relevant output after restart:
...
branch-1_6_x/src/TextClass.cpp(257): Reading textclass: ~/Library/Application 
Support/LyX-1.6/layouts/revtex4-1.layout
branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/stdclass.inc]
branch-1_6_x/src/TextClass.cpp(155): Reading style Standard
branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/stdfloats.inc]
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: 
[layouts/stdfloats.inc]
branch-1_6_x/src/TextClass.cpp(257): Reading input file: 
[layouts/stdcounters.inc]
branch-1_6_x/src/Counters.cpp(180): Reading new counter part
branch-1_6_x/src/Counters.cpp(180): Reading new counter chapter
branch-1_6_x/src/Counters.cpp(180): Reading new counter section
branch-1_6_x/src/Counters.cpp(180): Reading new counter subsection
branch-1_6_x/src/Counters.cpp(180): Reading new counter subsubsection
branch-1_6_x/src/Counters.cpp(180): Reading new counter paragraph
branch-1_6_x/src/Counters.cpp(180): Reading new counter subparagraph
branch-1_6_x/src/Counters.cpp(180): Reading new counter enumi
branch-1_6_x/src/Counters.cpp(180): Reading new counter enumii
branch-1_6_x/src/Counters.cpp(180): Reading new counter enumiii
branch-1_6_x/src/Counters.cpp(180): Reading new counter enumiv
branch-1_6_x/src/Counters.cpp(180): Reading new counter bibitem
branch-1_6_x/src/Counters.cpp(180): Reading new counter listing
branch-1_6_x/src/Counters.cpp(180): Reading new counter equation
branch-1_6_x/src/Counters.cpp(180): Reading new counter footnote
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: 
[layouts/stdcounters.inc]
branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/stdinsets.inc]
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: 
[layouts/stdinsets.inc]
branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/stdlists.inc]
branch-1_6_x/src/TextClass.cpp(155): Reading style Itemize
branch-1_6_x/src/TextClass.cpp(155): Reading style Enumerate
branch-1_6_x/src/TextClass.cpp(155): Reading style Description
branch-1_6_x/src/TextClass.cpp(155): Reading style List
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: 
[layouts/stdlists.inc]
branch-1_6_x/src/TextClass.cpp(257): Reading input file: 
[layouts/stdsections.inc]
branch-1_6_x/src/TextClass.cpp(155): Reading style Part
branch-1_6_x/src/TextClass.cpp(155): Reading style Chapter
branch-1_6_x/src/TextClass.cpp(155): Reading style Section
branch-1_6_x/src/TextClass.cpp(155): Reading style Subsection
branch-1_6_x/src/TextClass.cpp(155): Reading style Subsubsection
branch-1_6_x/src/TextClass.cpp(155): Reading style Paragraph
branch-1_6_x/src/TextClass.cpp(155): Reading style Subparagraph
branch-1_6_x/src/TextClass.cpp(257): Reading input file: 
[layouts/numarticle.inc]
branch-1_6_x/src/Counters.cpp(177): Reading existing counter section
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: 
[layouts/numarticle.inc]
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: 
[layouts/stdsections.inc]
branch-1_6_x/src/TextClass.cpp(257): Reading input file: 
[layouts/stdstarsections.inc]
branch-1_6_x/src/TextClass.cpp(155): Reading style Part*
branch-1_6_x/src/TextClass.cpp(155): Reading style Chapter*
branch-1_6_x/src/TextClass.cpp(155): Reading style Section*
branch-1_6_x/src/TextClass.cpp(155): Reading style Subsection*
branch-1_6_x/src/TextClass.cpp(155): Reading style Subsubsection*
branch-1_6_x/src/TextClass.cpp(155): Reading style Paragraph*
branch-1_6_x/src/TextClass.cpp(155): Reading style Subparagraph*
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file

Re: Getting RevTeX 4.1 layout to work

2010-12-22 Thread Eric Cavalcanti
On Thu, Dec 23, 2010 at 1:40 AM, Julien Rioux
jri...@physics.utoronto.ca wrote:
 On 22/12/2010 9:16 AM, Eric Cavalcanti wrote:

 Hi and thanks for the response!

 I apologise, I should have given more details of my system. I use
 MacOS 10.5.8, and recently installed texlive2010 through the mactex
 distribution (over an old texlive2007). I installed revtex4-1
 following the instructions on the package's readme and apparently had
 no problems there.

 Cheers!
 Eric


 OK so could you capture the output of the LyX's configuration step? To do
 this you would start lyx from a terminal, click the Tools  reconfigure
 menu, then investigate what you get in the terminal window.

 Also specify the debug flag tclass (see
 http://wiki.lyx.org/LyX/Troubleshooting#sLyX.Troubleshooting_11 ) when
 launching LyX to get further info.

 Otherwise I don't know what's the problem and can't help you.

 --
 Julien

Thanks again Julien. This is the output I get after clicking
LyX/Reconfigure (note there's no Tools/Reconfigure in my version) when
launching lyx with -dbg tclass. I looked up the latexconfig.lyx file
mentioned in the end, but it wasn't very enlightening. Does this give
you any hint to why the reconfiguration failed?

start quote
checking for a Latex2e program...
+checking for latex...   yes
checking for a DVI postprocessing program...
+checking for pplatex...   no
checking for pLaTeX, the Japanese LaTeX...
+checking for platex...   yes
checking for a Tgif viewer and editor...
+checking for tgif...   no
checking for a FIG viewer and editor...
+checking for xfig...   no
+checking for jfig3-itext.jar...   no
+checking for jfig3.jar...   no
checking for a Dia viewer and editor...
+checking for dia...   no
checking for a Grace viewer and editor...
+checking for xmgrace...   no
checking for a FEN viewer and editor...
+checking for xboard...   no
checking for an SVG viewer and editor...
+checking for inkscape...   no
checking for a raster image viewer...
+checking for xv...   no
+checking for kview...   no
+checking for gimp-remote...   no
+checking for gimp...   no
checking for a raster image editor...
+checking for gimp-remote...   no
+checking for gimp...   no
checking for a text editor...
+checking for sensible-editor...   yes
checking for a BibTeX editor...
+checking for sensible-editor...   yes
checking for a Postscript previewer...
+checking for kghostview...   no
+checking for okular...   no
+checking for evince...   no
+checking for gv...   no
+checking for ghostview...   no
checking for a PDF previewer...
+checking for kpdf...   no
+checking for okular...   no
+checking for evince...   no
+checking for kghostview...   no
+checking for xpdf...   no
+checking for acrobat...   no
+checking for acroread...   no
+checking for gv...   no
+checking for ghostview...   no
checking for a DVI previewer...
+checking for xdvi...   yes
checking for an HTML previewer...
+checking for firefox...   no
+checking for mozilla...   no
+checking for netscape...   no
checking for Noteedit...
+checking for noteedit...   no
checking for an OpenDocument viewer...
+checking for swriter...   no
+checking for oowriter...   no
checking for the pdflatex program...
+checking for pdflatex...   yes
checking for a LaTeX/Noweb - LyX converter...
+checking for tex2lyx...   yes
checking for a Noweb - LaTeX converter...
+checking for noweave...   no
checking for an HTML - LaTeX converter...
+checking for html2latex...   no
+checking for gnuhtml2latex...   no
+checking for htmltolatex...   no
+checking for java...   yes
checking for an MS Word - LaTeX converter...
+checking for wvCleanLatex...   no
checking for elyxer module...
no
checking for a LyX - HTML converter...
+checking for elyxer.py...   no
+checking for elyxer...   no
checking for a LaTeX - HTML converter...
+checking for htlatex...   yes
checking for a LaTeX - MS Word converter...
+checking for htlatex...   yes
checking for an OpenOffice.org - LaTeX converter...
+checking for w2l...   no
checking for an OpenDocument - LaTeX converter...
+checking for w2l...   no
checking for a LaTeX - Open Document converter...
+checking for oolatex...   no
+checking for mk4ht...   yes
checking for a LaTeX - RTF converter...
+checking for latex2rtf...   no
+checking for latex2rt...   no
checking for a RTF - HTML converter...
+checking for unrtf...   no
checking for a PS to PDF converter...
+checking for ps2pdf13...   yes
checking for a PS to TXT converter...
+checking for pstotext...   no
checking for a PS to TXT converter...
+checking for ps2ascii...   yes
checking for a PS to EPS converter...
+checking for ps2eps...   yes
checking for a PDF to PS converter...
+checking for pdf2ps...   yes
checking for a PDF to EPS converter...
+checking for pdftops...   no
checking for a DVI to TXT converter...
+checking for catdvi...   no
checking for a DVI to PS converter...
+checking for dvips...   yes
checking for a DVI to PDF converter...
+checking for 

Re: Getting RevTeX 4.1 layout to work

2010-12-22 Thread Julien Rioux

On 22/12/2010 12:21 AM, Eric wrote:

Julien Riouxjriouxat  physics.utoronto.ca  writes:



Here's an updated layout file for LyX 1.6.x

Let us know how it works for you. I have a version for LyX 2.0 with
template file that I plan to submit to the developers soon.

Cheers,
Julien


Hi Julien,

I'm having a similar problem and I've tried the layout file you posted below,
but with no success. I put it on LyX-1.6/layouts and ran Reconfigure but I got
the error message:

The system reconfiguration has failed. Default textclass is used but LyX may
not be able to work properly. Please reconfigure again if needed.

Reconfigure works fine when I remove the offending revtex4-1.layout file.

Any help would be greatly appreciated!

Cheers,
Eric






Hi,

I've been using this layout without problem with LyX 1.6.5 and 1.6.9 
(developer's bug fix version) and with both MiKteX/Windows or 
TeXLive/Ubuntu, so I am a bit surprised here.


But I found this:

http://wiki.lyx.org/Windows/LyXWinTips#toc9

Could you please try if the section Trouble Configuring LyX ... helps 
you here? If not I would ask to provide the output you get on the 
terminal when reconfiguring LyX, so that we can better identify the 
source of the problem.


--
Julien


Re: Getting RevTeX 4.1 layout to work

2010-12-22 Thread Eric Cavalcanti
On Wed, Dec 22, 2010 at 11:51 PM, Julien Rioux
jri...@physics.utoronto.ca wrote:
 On 22/12/2010 12:21 AM, Eric wrote:

 Hi Julien,

 I'm having a similar problem and I've tried the layout file you posted
 below, but with no success. I put it on LyX-1.6/layouts and ran Reconfigure 
 but I
 got the error message:

 The system reconfiguration has failed. Default textclass is used but LyX
 may not be able to work properly. Please reconfigure again if needed.

 Reconfigure works fine when I remove the offending revtex4-1.layout file.

 Any help would be greatly appreciated!

 Cheers,
 Eric


 Hi,

 I've been using this layout without problem with LyX 1.6.5 and 1.6.9
 (developer's bug fix version) and with both MiKteX/Windows or
 TeXLive/Ubuntu, so I am a bit surprised here.

 But I found this:

 http://wiki.lyx.org/Windows/LyXWinTips#toc9

 Could you please try if the section Trouble Configuring LyX ... helps you
 here? If not I would ask to provide the output you get on the terminal when
 reconfiguring LyX, so that we can better identify the source of the problem.

 --
 Julien


Hi and thanks for the response!

I apologise, I should have given more details of my system. I use
MacOS 10.5.8, and recently installed texlive2010 through the mactex
distribution (over an old texlive2007). I installed revtex4-1
following the instructions on the package's readme and apparently had
no problems there.

Cheers!
Eric


Re: Getting RevTeX 4.1 layout to work

2010-12-22 Thread Julien Rioux

On 22/12/2010 9:16 AM, Eric Cavalcanti wrote:

Hi and thanks for the response!

I apologise, I should have given more details of my system. I use
MacOS 10.5.8, and recently installed texlive2010 through the mactex
distribution (over an old texlive2007). I installed revtex4-1
following the instructions on the package's readme and apparently had
no problems there.

Cheers!
Eric



OK so could you capture the output of the LyX's configuration step? To 
do this you would start lyx from a terminal, click the Tools  
reconfigure menu, then investigate what you get in the terminal window.


Also specify the debug flag tclass (see 
http://wiki.lyx.org/LyX/Troubleshooting#sLyX.Troubleshooting_11 ) when 
launching LyX to get further info.


Otherwise I don't know what's the problem and can't help you.

--
Julien


Re: Getting RevTeX 4.1 layout to work

2010-12-22 Thread Stephan Witt
Am 22.12.2010 um 16:40 schrieb Julien Rioux:

 On 22/12/2010 9:16 AM, Eric Cavalcanti wrote:
 Hi and thanks for the response!
 
 I apologise, I should have given more details of my system. I use
 MacOS 10.5.8, and recently installed texlive2010 through the mactex
 distribution (over an old texlive2007). I installed revtex4-1
 following the instructions on the package's readme and apparently had
 no problems there.
 
 Cheers!
 Eric
 
 
 OK so could you capture the output of the LyX's configuration step? To do 
 this you would start lyx from a terminal, click the Tools  reconfigure 
 menu, then investigate what you get in the terminal window.

To start LyX from terminal use something like:
% /Applications/LyX-1.6.8.app/Contents/MacOS/lyx

On a Mac it is LyX - Reconfigure...

 
 Also specify the debug flag tclass (see 
 http://wiki.lyx.org/LyX/Troubleshooting#sLyX.Troubleshooting_11 ) when 
 launching LyX to get further info.
 
 Otherwise I don't know what's the problem and can't help you.

I tried that with LyX-1.6.9svn on MacOS 10.6.5 with TeXLive-2009 and it works 
here:
(The output of the reconfigure is truncated at some line length...)

...
+checking for document class revtex4-1 [revtex4-1,natbib.sty,revsymb4-1.sty,tex
+checking for document class revtex4 [revtex4]... no
+checking for document class revtex [revtex]... yes
...

This is the relevant output after restart:
...
branch-1_6_x/src/TextClass.cpp(257): Reading textclass: ~/Library/Application 
Support/LyX-1.6/layouts/revtex4-1.layout
branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/stdclass.inc]
branch-1_6_x/src/TextClass.cpp(155): Reading style Standard
branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/stdfloats.inc]
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: 
[layouts/stdfloats.inc]
branch-1_6_x/src/TextClass.cpp(257): Reading input file: 
[layouts/stdcounters.inc]
branch-1_6_x/src/Counters.cpp(180): Reading new counter part
branch-1_6_x/src/Counters.cpp(180): Reading new counter chapter
branch-1_6_x/src/Counters.cpp(180): Reading new counter section
branch-1_6_x/src/Counters.cpp(180): Reading new counter subsection
branch-1_6_x/src/Counters.cpp(180): Reading new counter subsubsection
branch-1_6_x/src/Counters.cpp(180): Reading new counter paragraph
branch-1_6_x/src/Counters.cpp(180): Reading new counter subparagraph
branch-1_6_x/src/Counters.cpp(180): Reading new counter enumi
branch-1_6_x/src/Counters.cpp(180): Reading new counter enumii
branch-1_6_x/src/Counters.cpp(180): Reading new counter enumiii
branch-1_6_x/src/Counters.cpp(180): Reading new counter enumiv
branch-1_6_x/src/Counters.cpp(180): Reading new counter bibitem
branch-1_6_x/src/Counters.cpp(180): Reading new counter listing
branch-1_6_x/src/Counters.cpp(180): Reading new counter equation
branch-1_6_x/src/Counters.cpp(180): Reading new counter footnote
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: 
[layouts/stdcounters.inc]
branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/stdinsets.inc]
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: 
[layouts/stdinsets.inc]
branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/stdlists.inc]
branch-1_6_x/src/TextClass.cpp(155): Reading style Itemize
branch-1_6_x/src/TextClass.cpp(155): Reading style Enumerate
branch-1_6_x/src/TextClass.cpp(155): Reading style Description
branch-1_6_x/src/TextClass.cpp(155): Reading style List
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: 
[layouts/stdlists.inc]
branch-1_6_x/src/TextClass.cpp(257): Reading input file: 
[layouts/stdsections.inc]
branch-1_6_x/src/TextClass.cpp(155): Reading style Part
branch-1_6_x/src/TextClass.cpp(155): Reading style Chapter
branch-1_6_x/src/TextClass.cpp(155): Reading style Section
branch-1_6_x/src/TextClass.cpp(155): Reading style Subsection
branch-1_6_x/src/TextClass.cpp(155): Reading style Subsubsection
branch-1_6_x/src/TextClass.cpp(155): Reading style Paragraph
branch-1_6_x/src/TextClass.cpp(155): Reading style Subparagraph
branch-1_6_x/src/TextClass.cpp(257): Reading input file: 
[layouts/numarticle.inc]
branch-1_6_x/src/Counters.cpp(177): Reading existing counter section
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: 
[layouts/numarticle.inc]
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: 
[layouts/stdsections.inc]
branch-1_6_x/src/TextClass.cpp(257): Reading input file: 
[layouts/stdstarsections.inc]
branch-1_6_x/src/TextClass.cpp(155): Reading style Part*
branch-1_6_x/src/TextClass.cpp(155): Reading style Chapter*
branch-1_6_x/src/TextClass.cpp(155): Reading style Section*
branch-1_6_x/src/TextClass.cpp(155): Reading style Subsection*
branch-1_6_x/src/TextClass.cpp(155): Reading style Subsubsection*
branch-1_6_x/src/TextClass.cpp(155): Reading style Paragraph*
branch-1_6_x/src/TextClass.cpp(155): Reading style Subparagraph*
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file

Re: Getting RevTeX 4.1 layout to work

2010-12-22 Thread Eric Cavalcanti
On Thu, Dec 23, 2010 at 1:40 AM, Julien Rioux
jri...@physics.utoronto.ca wrote:
 On 22/12/2010 9:16 AM, Eric Cavalcanti wrote:

 Hi and thanks for the response!

 I apologise, I should have given more details of my system. I use
 MacOS 10.5.8, and recently installed texlive2010 through the mactex
 distribution (over an old texlive2007). I installed revtex4-1
 following the instructions on the package's readme and apparently had
 no problems there.

 Cheers!
 Eric


 OK so could you capture the output of the LyX's configuration step? To do
 this you would start lyx from a terminal, click the Tools  reconfigure
 menu, then investigate what you get in the terminal window.

 Also specify the debug flag tclass (see
 http://wiki.lyx.org/LyX/Troubleshooting#sLyX.Troubleshooting_11 ) when
 launching LyX to get further info.

 Otherwise I don't know what's the problem and can't help you.

 --
 Julien

Thanks again Julien. This is the output I get after clicking
LyX/Reconfigure (note there's no Tools/Reconfigure in my version) when
launching lyx with -dbg tclass. I looked up the latexconfig.lyx file
mentioned in the end, but it wasn't very enlightening. Does this give
you any hint to why the reconfiguration failed?

start quote
checking for a Latex2e program...
+checking for latex...   yes
checking for a DVI postprocessing program...
+checking for pplatex...   no
checking for pLaTeX, the Japanese LaTeX...
+checking for platex...   yes
checking for a Tgif viewer and editor...
+checking for tgif...   no
checking for a FIG viewer and editor...
+checking for xfig...   no
+checking for jfig3-itext.jar...   no
+checking for jfig3.jar...   no
checking for a Dia viewer and editor...
+checking for dia...   no
checking for a Grace viewer and editor...
+checking for xmgrace...   no
checking for a FEN viewer and editor...
+checking for xboard...   no
checking for an SVG viewer and editor...
+checking for inkscape...   no
checking for a raster image viewer...
+checking for xv...   no
+checking for kview...   no
+checking for gimp-remote...   no
+checking for gimp...   no
checking for a raster image editor...
+checking for gimp-remote...   no
+checking for gimp...   no
checking for a text editor...
+checking for sensible-editor...   yes
checking for a BibTeX editor...
+checking for sensible-editor...   yes
checking for a Postscript previewer...
+checking for kghostview...   no
+checking for okular...   no
+checking for evince...   no
+checking for gv...   no
+checking for ghostview...   no
checking for a PDF previewer...
+checking for kpdf...   no
+checking for okular...   no
+checking for evince...   no
+checking for kghostview...   no
+checking for xpdf...   no
+checking for acrobat...   no
+checking for acroread...   no
+checking for gv...   no
+checking for ghostview...   no
checking for a DVI previewer...
+checking for xdvi...   yes
checking for an HTML previewer...
+checking for firefox...   no
+checking for mozilla...   no
+checking for netscape...   no
checking for Noteedit...
+checking for noteedit...   no
checking for an OpenDocument viewer...
+checking for swriter...   no
+checking for oowriter...   no
checking for the pdflatex program...
+checking for pdflatex...   yes
checking for a LaTeX/Noweb - LyX converter...
+checking for tex2lyx...   yes
checking for a Noweb - LaTeX converter...
+checking for noweave...   no
checking for an HTML - LaTeX converter...
+checking for html2latex...   no
+checking for gnuhtml2latex...   no
+checking for htmltolatex...   no
+checking for java...   yes
checking for an MS Word - LaTeX converter...
+checking for wvCleanLatex...   no
checking for elyxer module...
no
checking for a LyX - HTML converter...
+checking for elyxer.py...   no
+checking for elyxer...   no
checking for a LaTeX - HTML converter...
+checking for htlatex...   yes
checking for a LaTeX - MS Word converter...
+checking for htlatex...   yes
checking for an OpenOffice.org - LaTeX converter...
+checking for w2l...   no
checking for an OpenDocument - LaTeX converter...
+checking for w2l...   no
checking for a LaTeX - Open Document converter...
+checking for oolatex...   no
+checking for mk4ht...   yes
checking for a LaTeX - RTF converter...
+checking for latex2rtf...   no
+checking for latex2rt...   no
checking for a RTF - HTML converter...
+checking for unrtf...   no
checking for a PS to PDF converter...
+checking for ps2pdf13...   yes
checking for a PS to TXT converter...
+checking for pstotext...   no
checking for a PS to TXT converter...
+checking for ps2ascii...   yes
checking for a PS to EPS converter...
+checking for ps2eps...   yes
checking for a PDF to PS converter...
+checking for pdf2ps...   yes
checking for a PDF to EPS converter...
+checking for pdftops...   no
checking for a DVI to TXT converter...
+checking for catdvi...   no
checking for a DVI to PS converter...
+checking for dvips...   yes
checking for a DVI to PDF converter...
+checking for 

Re: Getting RevTeX 4.1 layout to work

2010-12-22 Thread Julien Rioux

On 22/12/2010 12:21 AM, Eric wrote:

Julien Rioux  writes:



Here's an updated layout file for LyX 1.6.x

Let us know how it works for you. I have a version for LyX 2.0 with
template file that I plan to submit to the developers soon.

Cheers,
Julien


Hi Julien,

I'm having a similar problem and I've tried the layout file you posted below,
but with no success. I put it on LyX-1.6/layouts and ran Reconfigure but I got
the error message:

"The system reconfiguration has failed. Default textclass is used but LyX may
not be able to work properly. Please reconfigure again if needed."

Reconfigure works fine when I remove the offending revtex4-1.layout file.

Any help would be greatly appreciated!

Cheers,
Eric






Hi,

I've been using this layout without problem with LyX 1.6.5 and 1.6.9 
(developer's bug fix version) and with both MiKteX/Windows or 
TeXLive/Ubuntu, so I am a bit surprised here.


But I found this:

http://wiki.lyx.org/Windows/LyXWinTips#toc9

Could you please try if the section "Trouble Configuring LyX ..." helps 
you here? If not I would ask to provide the output you get on the 
terminal when reconfiguring LyX, so that we can better identify the 
source of the problem.


--
Julien


Re: Getting RevTeX 4.1 layout to work

2010-12-22 Thread Eric Cavalcanti
On Wed, Dec 22, 2010 at 11:51 PM, Julien Rioux
 wrote:
> On 22/12/2010 12:21 AM, Eric wrote:
>>
>> Hi Julien,
>>
>> I'm having a similar problem and I've tried the layout file you posted
>> below, but with no success. I put it on LyX-1.6/layouts and ran Reconfigure 
>> but I
>> got the error message:
>>
>> "The system reconfiguration has failed. Default textclass is used but LyX
>> may not be able to work properly. Please reconfigure again if needed."
>>
>> Reconfigure works fine when I remove the offending revtex4-1.layout file.
>>
>> Any help would be greatly appreciated!
>>
>> Cheers,
>> Eric
>>
>
> Hi,
>
> I've been using this layout without problem with LyX 1.6.5 and 1.6.9
> (developer's bug fix version) and with both MiKteX/Windows or
> TeXLive/Ubuntu, so I am a bit surprised here.
>
> But I found this:
>
> http://wiki.lyx.org/Windows/LyXWinTips#toc9
>
> Could you please try if the section "Trouble Configuring LyX ..." helps you
> here? If not I would ask to provide the output you get on the terminal when
> reconfiguring LyX, so that we can better identify the source of the problem.
>
> --
> Julien
>

Hi and thanks for the response!

I apologise, I should have given more details of my system. I use
MacOS 10.5.8, and recently installed texlive2010 through the mactex
distribution (over an old texlive2007). I installed revtex4-1
following the instructions on the package's readme and apparently had
no problems there.

Cheers!
Eric


Re: Getting RevTeX 4.1 layout to work

2010-12-22 Thread Julien Rioux

On 22/12/2010 9:16 AM, Eric Cavalcanti wrote:

Hi and thanks for the response!

I apologise, I should have given more details of my system. I use
MacOS 10.5.8, and recently installed texlive2010 through the mactex
distribution (over an old texlive2007). I installed revtex4-1
following the instructions on the package's readme and apparently had
no problems there.

Cheers!
Eric



OK so could you capture the output of the LyX's configuration step? To 
do this you would start lyx from a terminal, click the "Tools > 
reconfigure" menu, then investigate what you get in the terminal window.


Also specify the debug flag "tclass" (see 
http://wiki.lyx.org/LyX/Troubleshooting#sLyX.Troubleshooting_11 ) when 
launching LyX to get further info.


Otherwise I don't know what's the problem and can't help you.

--
Julien


Re: Getting RevTeX 4.1 layout to work

2010-12-22 Thread Stephan Witt
Am 22.12.2010 um 16:40 schrieb Julien Rioux:

> On 22/12/2010 9:16 AM, Eric Cavalcanti wrote:
>> Hi and thanks for the response!
>> 
>> I apologise, I should have given more details of my system. I use
>> MacOS 10.5.8, and recently installed texlive2010 through the mactex
>> distribution (over an old texlive2007). I installed revtex4-1
>> following the instructions on the package's readme and apparently had
>> no problems there.
>> 
>> Cheers!
>> Eric
>> 
> 
> OK so could you capture the output of the LyX's configuration step? To do 
> this you would start lyx from a terminal, click the "Tools > reconfigure" 
> menu, then investigate what you get in the terminal window.

To start LyX from terminal use something like:
% /Applications/LyX-1.6.8.app/Contents/MacOS/lyx

On a Mac it is LyX -> Reconfigure...

> 
> Also specify the debug flag "tclass" (see 
> http://wiki.lyx.org/LyX/Troubleshooting#sLyX.Troubleshooting_11 ) when 
> launching LyX to get further info.
> 
> Otherwise I don't know what's the problem and can't help you.

I tried that with LyX-1.6.9svn on MacOS 10.6.5 with TeXLive-2009 and it works 
here:
(The output of the reconfigure is truncated at some line length...)

...
+checking for document class revtex4-1 [revtex4-1,natbib.sty,revsymb4-1.sty,tex
+checking for document class revtex4 [revtex4]... no
+checking for document class revtex [revtex]... yes
...

This is the relevant output after restart:
...
branch-1_6_x/src/TextClass.cpp(257): Reading textclass: ~/Library/Application 
Support/LyX-1.6/layouts/revtex4-1.layout
branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/stdclass.inc]
branch-1_6_x/src/TextClass.cpp(155): Reading style Standard
branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/stdfloats.inc]
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: 
[layouts/stdfloats.inc]
branch-1_6_x/src/TextClass.cpp(257): Reading input file: 
[layouts/stdcounters.inc]
branch-1_6_x/src/Counters.cpp(180): Reading new counter part
branch-1_6_x/src/Counters.cpp(180): Reading new counter chapter
branch-1_6_x/src/Counters.cpp(180): Reading new counter section
branch-1_6_x/src/Counters.cpp(180): Reading new counter subsection
branch-1_6_x/src/Counters.cpp(180): Reading new counter subsubsection
branch-1_6_x/src/Counters.cpp(180): Reading new counter paragraph
branch-1_6_x/src/Counters.cpp(180): Reading new counter subparagraph
branch-1_6_x/src/Counters.cpp(180): Reading new counter enumi
branch-1_6_x/src/Counters.cpp(180): Reading new counter enumii
branch-1_6_x/src/Counters.cpp(180): Reading new counter enumiii
branch-1_6_x/src/Counters.cpp(180): Reading new counter enumiv
branch-1_6_x/src/Counters.cpp(180): Reading new counter bibitem
branch-1_6_x/src/Counters.cpp(180): Reading new counter listing
branch-1_6_x/src/Counters.cpp(180): Reading new counter equation
branch-1_6_x/src/Counters.cpp(180): Reading new counter footnote
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: 
[layouts/stdcounters.inc]
branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/stdinsets.inc]
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: 
[layouts/stdinsets.inc]
branch-1_6_x/src/TextClass.cpp(257): Reading input file: [layouts/stdlists.inc]
branch-1_6_x/src/TextClass.cpp(155): Reading style Itemize
branch-1_6_x/src/TextClass.cpp(155): Reading style Enumerate
branch-1_6_x/src/TextClass.cpp(155): Reading style Description
branch-1_6_x/src/TextClass.cpp(155): Reading style List
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: 
[layouts/stdlists.inc]
branch-1_6_x/src/TextClass.cpp(257): Reading input file: 
[layouts/stdsections.inc]
branch-1_6_x/src/TextClass.cpp(155): Reading style Part
branch-1_6_x/src/TextClass.cpp(155): Reading style Chapter
branch-1_6_x/src/TextClass.cpp(155): Reading style Section
branch-1_6_x/src/TextClass.cpp(155): Reading style Subsection
branch-1_6_x/src/TextClass.cpp(155): Reading style Subsubsection
branch-1_6_x/src/TextClass.cpp(155): Reading style Paragraph
branch-1_6_x/src/TextClass.cpp(155): Reading style Subparagraph
branch-1_6_x/src/TextClass.cpp(257): Reading input file: 
[layouts/numarticle.inc]
branch-1_6_x/src/Counters.cpp(177): Reading existing counter section
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: 
[layouts/numarticle.inc]
branch-1_6_x/src/TextClass.cpp(270): Finished reading input file: 
[layouts/stdsections.inc]
branch-1_6_x/src/TextClass.cpp(257): Reading input file: 
[layouts/stdstarsections.inc]
branch-1_6_x/src/TextClass.cpp(155): Reading style Part*
branch-1_6_x/src/TextClass.cpp(155): Reading style Chapter*
branch-1_6_x/src/TextClass.cpp(155): Reading style Section*
branch-1_6_x/src/TextClass.cpp(155): Reading style Subsection*
branch-1_6_x/src/TextClass.cpp(155): Reading style Subsubsection*
branch-1_6_x/src/TextClass.cpp(1

Re: Getting RevTeX 4.1 layout to work

2010-12-22 Thread Eric Cavalcanti
On Thu, Dec 23, 2010 at 1:40 AM, Julien Rioux
 wrote:
> On 22/12/2010 9:16 AM, Eric Cavalcanti wrote:
>>
>> Hi and thanks for the response!
>>
>> I apologise, I should have given more details of my system. I use
>> MacOS 10.5.8, and recently installed texlive2010 through the mactex
>> distribution (over an old texlive2007). I installed revtex4-1
>> following the instructions on the package's readme and apparently had
>> no problems there.
>>
>> Cheers!
>> Eric
>>
>
> OK so could you capture the output of the LyX's configuration step? To do
> this you would start lyx from a terminal, click the "Tools > reconfigure"
> menu, then investigate what you get in the terminal window.
>
> Also specify the debug flag "tclass" (see
> http://wiki.lyx.org/LyX/Troubleshooting#sLyX.Troubleshooting_11 ) when
> launching LyX to get further info.
>
> Otherwise I don't know what's the problem and can't help you.
>
> --
> Julien

Thanks again Julien. This is the output I get after clicking
LyX/Reconfigure (note there's no Tools/Reconfigure in my version) when
launching lyx with -dbg tclass. I looked up the latexconfig.lyx file
mentioned in the end, but it wasn't very enlightening. Does this give
you any hint to why the reconfiguration failed?

start quote
checking for a Latex2e program...
+checking for "latex"...   yes
checking for a DVI postprocessing program...
+checking for "pplatex"...   no
checking for pLaTeX, the Japanese LaTeX...
+checking for "platex"...   yes
checking for a Tgif viewer and editor...
+checking for "tgif"...   no
checking for a FIG viewer and editor...
+checking for "xfig"...   no
+checking for "jfig3-itext.jar"...   no
+checking for "jfig3.jar"...   no
checking for a Dia viewer and editor...
+checking for "dia"...   no
checking for a Grace viewer and editor...
+checking for "xmgrace"...   no
checking for a FEN viewer and editor...
+checking for "xboard"...   no
checking for an SVG viewer and editor...
+checking for "inkscape"...   no
checking for a raster image viewer...
+checking for "xv"...   no
+checking for "kview"...   no
+checking for "gimp-remote"...   no
+checking for "gimp"...   no
checking for a raster image editor...
+checking for "gimp-remote"...   no
+checking for "gimp"...   no
checking for a text editor...
+checking for "sensible-editor"...   yes
checking for a BibTeX editor...
+checking for "sensible-editor"...   yes
checking for a Postscript previewer...
+checking for "kghostview"...   no
+checking for "okular"...   no
+checking for "evince"...   no
+checking for "gv"...   no
+checking for "ghostview"...   no
checking for a PDF previewer...
+checking for "kpdf"...   no
+checking for "okular"...   no
+checking for "evince"...   no
+checking for "kghostview"...   no
+checking for "xpdf"...   no
+checking for "acrobat"...   no
+checking for "acroread"...   no
+checking for "gv"...   no
+checking for "ghostview"...   no
checking for a DVI previewer...
+checking for "xdvi"...   yes
checking for an HTML previewer...
+checking for "firefox"...   no
+checking for "mozilla"...   no
+checking for "netscape"...   no
checking for Noteedit...
+checking for "noteedit"...   no
checking for an OpenDocument viewer...
+checking for "swriter"...   no
+checking for "oowriter"...   no
checking for the pdflatex program...
+checking for "pdflatex"...   yes
checking for a LaTeX/Noweb -> LyX converter...
+checking for "tex2lyx"...   yes
checking for a Noweb -> LaTeX converter...
+checking for "noweave"...   no
checking for an HTML -> LaTeX converter...
+checking for "html2latex"...   no
+checking for "gnuhtml2latex"...   no
+checking for "htmltolatex"...   no
+checking for "java"...   yes
checking for an MS Word -> LaTeX converter...
+checking for "wvCleanLatex"...   no
checking for "elyxer module"...
no
checking for a LyX -> HTML converter...
+checking for "elyxer.py"...   no
+checking for "elyxer"...   no
checking for a LaTeX -> HTML converter...
+checking for "htlatex"...   yes
checking for a LaTeX -> MS Word converter...
+checking for "htlatex"...   yes
checking for an OpenOffice.org -> LaTeX converter...
+checking for "w2l"...   no
checking for an OpenDocument -> LaTeX converter...
+checking for "w2l"...   no
checking for a LaTeX -> Open Document converter...
+checking for "oolatex"...   no
+checking for "mk4ht"...   yes
checking for a LaTeX -> RTF converter...
+checking for "latex2rtf"...   no
+checking for "latex2rt"...   no
checking for a RTF -> HTML converter...
+checking for "unrtf"...   no
checking for a PS to PDF converter...
+checking for "ps2pdf13"...   yes
checking for a PS to TXT converter...
+checking for "pstotext"...   no
checking for a PS to TXT converter...
+checking for "ps2ascii"...   yes
checking for a PS to EPS converter...
+checking for "ps2eps"...   yes
checking for a PDF to PS converter...
+checking for "pdf2ps"...   yes
checking for a PDF to EPS converter...
+checking for "pdftops"...   no

Re: Getting RevTeX 4.1 layout to work

2010-12-21 Thread Eric
Julien Rioux jrioux at physics.utoronto.ca writes:

 
 Here's an updated layout file for LyX 1.6.x
 
 Let us know how it works for you. I have a version for LyX 2.0 with 
 template file that I plan to submit to the developers soon.
 
 Cheers,
 Julien

Hi Julien,

I'm having a similar problem and I've tried the layout file you posted below,
but with no success. I put it on LyX-1.6/layouts and ran Reconfigure but I got
the error message:

The system reconfiguration has failed. Default textclass is used but LyX may
not be able to work properly. Please reconfigure again if needed.

Reconfigure works fine when I remove the offending revtex4-1.layout file.

Any help would be greatly appreciated!

Cheers,
Eric





Re: Getting RevTeX 4.1 layout to work

2010-12-21 Thread Eric
Julien Rioux jrioux at physics.utoronto.ca writes:

 
 Here's an updated layout file for LyX 1.6.x
 
 Let us know how it works for you. I have a version for LyX 2.0 with 
 template file that I plan to submit to the developers soon.
 
 Cheers,
 Julien

Hi Julien,

I'm having a similar problem and I've tried the layout file you posted below,
but with no success. I put it on LyX-1.6/layouts and ran Reconfigure but I got
the error message:

The system reconfiguration has failed. Default textclass is used but LyX may
not be able to work properly. Please reconfigure again if needed.

Reconfigure works fine when I remove the offending revtex4-1.layout file.

Any help would be greatly appreciated!

Cheers,
Eric





Re: Getting RevTeX 4.1 layout to work

2010-12-21 Thread Eric
Julien Rioux  physics.utoronto.ca> writes:

 
> Here's an updated layout file for LyX 1.6.x
> 
> Let us know how it works for you. I have a version for LyX 2.0 with 
> template file that I plan to submit to the developers soon.
> 
> Cheers,
> Julien

Hi Julien,

I'm having a similar problem and I've tried the layout file you posted below,
but with no success. I put it on LyX-1.6/layouts and ran Reconfigure but I got
the error message:

"The system reconfiguration has failed. Default textclass is used but LyX may
not be able to work properly. Please reconfigure again if needed."

Reconfigure works fine when I remove the offending revtex4-1.layout file.

Any help would be greatly appreciated!

Cheers,
Eric





Re: Getting RevTeX 4.1 layout to work

2010-07-29 Thread Julien Rioux

On 28/07/2010 3:44 PM, Daniel Joshua Stark wrote:

Dear All,

I'm using LyX 1.6.7 on Mac OS X 10.6.4.

I've installed the revtex4-1.layout file in /Library/Application 
Support/LyX-1.6/layouts

I use the 2009 Tex Live distribution of MacTeX and it is up-to-date.  When I 
check in texmf-dist/tex/latex/revtex, revtex4-1.cls is present.

I've run sudo texhash several times and have reconfigured LyX several times.  However, whenever I 
try to select Article (REVTeX 4.1) in Lyx, I get the following error:  The 
document class revtex4-1 could not be loaded.

I'm at a lost as to why it is not loading.  Any help would be greatly 
appreciated.

Confused,

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-8099

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




Here's an updated layout file for LyX 1.6.x

Let us know how it works for you. I have a version for LyX 2.0 with 
template file that I plan to submit to the developers soon.


Cheers,
Julien
#% Do not delete the line below; configure depends on this
#  
\DeclareLaTeXClass[revtex4-1,natbib.sty,revsymb4-1.sty,textcase.sty,url.sty]{article
 (REVTeX 4.1)}
# REVTeX 4.1 textclass definition file.
# Based on article.layout, revtex4.layout and stdclass.inc definition files.

# Author: Julien Rioux jri...@physics.utoronto.ca
# Author: Manoj Rajagopalan

# Some notes:
#   - The \definecolor's are there to avoid LyX bug #4625.
#   - We provide natbib-internal according to LyX bug #5182.
#   - The command \lovname is missing from the class file.

Format 11

Input stdclass.inc
Input numrevtex.inc

Provides  natbib-internal  1
Provides  url  1
ProvidesModulevideos
SecNumDepth   3
TocDepth  3

ClassOptions
Other aps,manuscript
End

Preamble
% Fix a bug in REVTeX 4.1
\def\lovname{List of Videos}
\...@ifundefined{textcolor}{}
{%
  \definecolor{BLACK}{gray}{0}
  \definecolor{WHITE}{gray}{1}
  \definecolor{RED}{rgb}{1,0,0}
  \definecolor{GREEN}{rgb}{0,1,0}
  \definecolor{BLUE}{rgb}{0,0,1}
  \definecolor{CYAN}{cmyk}{1,0,0,0}
  \definecolor{MAGENTA}{cmyk}{0,1,0,0}
  \definecolor{YELLOW}{cmyk}{0,0,1,0}
}
EndPreamble

Style Section
Align Center
Font
# Series  Medium
  Shape   Smallcaps
# SizeLarge
EndFont
End

Style Subsubsection
Font
  Shape   Italic
# SizeNormal
EndFont
End

Style Paragraph
#   TopSep0.7
#   ParSep0.4
Font
  Shape   Italic
# SizeNormal
EndFont
End

# This input needs to appear *after* modifications to sections
Input stdstarsections.inc

### Front matter 

Style Abstract
InTitle   1
End

Style Preprint
Category  FrontMatter
MarginRight_Address_Box
LatexType Command
InTitle   1
LatexName preprint
ParSkip   0.4
BottomSep 1.5
ParSep1.5
Align Left
End

Style PACS
Category  FrontMatter
MarginDynamic
LatexType Command
InTitle   1
LatexName pacs
LabelType Static
LabelSep  M
LabelString   PACS numbers:
End

Style Keywords
CopyStyle PACS
LatexName keywords
LabelString   Keywords:
End

Style Title
OptionalArgs  1
Font
  Series  Bold
  SizeLarge
EndFont
End

Style Date
LabelType Static
LabelString   Date:
LabelFont
  Shape   Italic
  SizeLarge
EndFont
End

Style Affiliation
Category  FrontMatter
MarginDynamic
LatexType Command
InTitle   1
LatexName affiliation
ParSkip   0.4
#BottomSep1.5
#ParSep   1.5
Align Center
AlignPossible Block, Left, Right, Center
LabelType Static
LabelSep  M
LabelString   Affiliation:

LabelFont
  Shape   Italic
EndFont
End

Style AltAffiliation
CopyStyle Affiliation
LatexName altaffiliation
LabelString   AltAffiliation
OptionalArgs  1
PassThru  1
End

# Address is exactly the same as Affiliation. We just put

Re: Getting RevTeX 4.1 layout to work

2010-07-29 Thread Julien Rioux

On 28/07/2010 3:44 PM, Daniel Joshua Stark wrote:

Dear All,

I'm using LyX 1.6.7 on Mac OS X 10.6.4.

I've installed the revtex4-1.layout file in /Library/Application 
Support/LyX-1.6/layouts

I use the 2009 Tex Live distribution of MacTeX and it is up-to-date.  When I 
check in texmf-dist/tex/latex/revtex, revtex4-1.cls is present.

I've run sudo texhash several times and have reconfigured LyX several times.  However, whenever I 
try to select Article (REVTeX 4.1) in Lyx, I get the following error:  The 
document class revtex4-1 could not be loaded.

I'm at a lost as to why it is not loading.  Any help would be greatly 
appreciated.

Confused,

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-8099

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




Here's an updated layout file for LyX 1.6.x

Let us know how it works for you. I have a version for LyX 2.0 with 
template file that I plan to submit to the developers soon.


Cheers,
Julien
#% Do not delete the line below; configure depends on this
#  
\DeclareLaTeXClass[revtex4-1,natbib.sty,revsymb4-1.sty,textcase.sty,url.sty]{article
 (REVTeX 4.1)}
# REVTeX 4.1 textclass definition file.
# Based on article.layout, revtex4.layout and stdclass.inc definition files.

# Author: Julien Rioux jri...@physics.utoronto.ca
# Author: Manoj Rajagopalan

# Some notes:
#   - The \definecolor's are there to avoid LyX bug #4625.
#   - We provide natbib-internal according to LyX bug #5182.
#   - The command \lovname is missing from the class file.

Format 11

Input stdclass.inc
Input numrevtex.inc

Provides  natbib-internal  1
Provides  url  1
ProvidesModulevideos
SecNumDepth   3
TocDepth  3

ClassOptions
Other aps,manuscript
End

Preamble
% Fix a bug in REVTeX 4.1
\def\lovname{List of Videos}
\...@ifundefined{textcolor}{}
{%
  \definecolor{BLACK}{gray}{0}
  \definecolor{WHITE}{gray}{1}
  \definecolor{RED}{rgb}{1,0,0}
  \definecolor{GREEN}{rgb}{0,1,0}
  \definecolor{BLUE}{rgb}{0,0,1}
  \definecolor{CYAN}{cmyk}{1,0,0,0}
  \definecolor{MAGENTA}{cmyk}{0,1,0,0}
  \definecolor{YELLOW}{cmyk}{0,0,1,0}
}
EndPreamble

Style Section
Align Center
Font
# Series  Medium
  Shape   Smallcaps
# SizeLarge
EndFont
End

Style Subsubsection
Font
  Shape   Italic
# SizeNormal
EndFont
End

Style Paragraph
#   TopSep0.7
#   ParSep0.4
Font
  Shape   Italic
# SizeNormal
EndFont
End

# This input needs to appear *after* modifications to sections
Input stdstarsections.inc

### Front matter 

Style Abstract
InTitle   1
End

Style Preprint
Category  FrontMatter
MarginRight_Address_Box
LatexType Command
InTitle   1
LatexName preprint
ParSkip   0.4
BottomSep 1.5
ParSep1.5
Align Left
End

Style PACS
Category  FrontMatter
MarginDynamic
LatexType Command
InTitle   1
LatexName pacs
LabelType Static
LabelSep  M
LabelString   PACS numbers:
End

Style Keywords
CopyStyle PACS
LatexName keywords
LabelString   Keywords:
End

Style Title
OptionalArgs  1
Font
  Series  Bold
  SizeLarge
EndFont
End

Style Date
LabelType Static
LabelString   Date:
LabelFont
  Shape   Italic
  SizeLarge
EndFont
End

Style Affiliation
Category  FrontMatter
MarginDynamic
LatexType Command
InTitle   1
LatexName affiliation
ParSkip   0.4
#BottomSep1.5
#ParSep   1.5
Align Center
AlignPossible Block, Left, Right, Center
LabelType Static
LabelSep  M
LabelString   Affiliation:

LabelFont
  Shape   Italic
EndFont
End

Style AltAffiliation
CopyStyle Affiliation
LatexName altaffiliation
LabelString   AltAffiliation
OptionalArgs  1
PassThru  1
End

# Address is exactly the same as Affiliation. We just put

Re: Getting RevTeX 4.1 layout to work

2010-07-29 Thread Julien Rioux

On 28/07/2010 3:44 PM, Daniel Joshua Stark wrote:

Dear All,

I'm using LyX 1.6.7 on Mac OS X 10.6.4.

I've installed the revtex4-1.layout file in /Library/Application 
Support/LyX-1.6/layouts

I use the 2009 Tex Live distribution of MacTeX and it is up-to-date.  When I 
check in texmf-dist/tex/latex/revtex, revtex4-1.cls is present.

I've run sudo texhash several times and have reconfigured LyX several times.  However, whenever I 
try to select "Article (REVTeX 4.1)" in Lyx, I get the following error:  "The 
document class revtex4-1 could not be loaded."

I'm at a lost as to why it is not loading.  Any help would be greatly 
appreciated.

Confused,

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-8099

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




Here's an updated layout file for LyX 1.6.x

Let us know how it works for you. I have a version for LyX 2.0 with 
template file that I plan to submit to the developers soon.


Cheers,
Julien
#% Do not delete the line below; configure depends on this
#  
\DeclareLaTeXClass[revtex4-1,natbib.sty,revsymb4-1.sty,textcase.sty,url.sty]{article
 (REVTeX 4.1)}
# REVTeX 4.1 textclass definition file.
# Based on article.layout, revtex4.layout and stdclass.inc definition files.

# Author: Julien Rioux <jri...@physics.utoronto.ca>
# Author: Manoj Rajagopalan

# Some notes:
#   - The \definecolor's are there to avoid LyX bug #4625.
#   - We provide natbib-internal according to LyX bug #5182.
#   - The command \lovname is missing from the class file.

Format 11

Input stdclass.inc
Input numrevtex.inc

Provides  natbib-internal  1
Provides  url  1
ProvidesModulevideos
SecNumDepth   3
TocDepth  3

ClassOptions
Other "aps,manuscript"
End

Preamble
% Fix a bug in REVTeX 4.1
\def\lovname{List of Videos}
\...@ifundefined{textcolor}{}
{%
  \definecolor{BLACK}{gray}{0}
  \definecolor{WHITE}{gray}{1}
  \definecolor{RED}{rgb}{1,0,0}
  \definecolor{GREEN}{rgb}{0,1,0}
  \definecolor{BLUE}{rgb}{0,0,1}
  \definecolor{CYAN}{cmyk}{1,0,0,0}
  \definecolor{MAGENTA}{cmyk}{0,1,0,0}
  \definecolor{YELLOW}{cmyk}{0,0,1,0}
}
EndPreamble

Style Section
Align Center
Font
# Series  Medium
  Shape   Smallcaps
# SizeLarge
EndFont
End

Style Subsubsection
Font
  Shape   Italic
# SizeNormal
EndFont
End

Style Paragraph
#   TopSep0.7
#   ParSep0.4
Font
  Shape   Italic
# SizeNormal
EndFont
End

# This input needs to appear *after* modifications to sections
Input stdstarsections.inc

### Front matter 

Style Abstract
InTitle   1
End

Style Preprint
Category  FrontMatter
MarginRight_Address_Box
LatexType Command
InTitle   1
LatexName preprint
ParSkip   0.4
BottomSep 1.5
ParSep1.5
Align Left
End

Style PACS
Category  FrontMatter
MarginDynamic
LatexType Command
InTitle   1
LatexName pacs
LabelType Static
LabelSep  M
LabelString   "PACS numbers:"
End

Style Keywords
CopyStyle PACS
LatexName keywords
LabelString   "Keywords:"
End

Style Title
OptionalArgs  1
Font
  Series  Bold
  SizeLarge
EndFont
End

Style Date
LabelType Static
LabelString   "Date:"
LabelFont
  Shape   Italic
  SizeLarge
EndFont
End

Style Affiliation
Category  FrontMatter
MarginDynamic
LatexType Command
InTitle   1
LatexName affiliation
ParSkip   0.4
#BottomSep1.5
#ParSep   1.5
Align Center
AlignPossible Block, Left, Right, Center
LabelType Static
LabelSep  M
LabelString   "Affiliation:"

LabelFont
  Shape   Italic
EndFont
End

Style AltAffiliation
CopyStyle Affiliation
LatexName altaffiliation
LabelString   "AltAffiliation"

Getting RevTeX 4.1 layout to work

2010-07-28 Thread Daniel Joshua Stark
Dear All,

I'm using LyX 1.6.7 on Mac OS X 10.6.4.  

I've installed the revtex4-1.layout file in /Library/Application 
Support/LyX-1.6/layouts 

I use the 2009 Tex Live distribution of MacTeX and it is up-to-date.  When I 
check in texmf-dist/tex/latex/revtex, revtex4-1.cls is present.  

I've run sudo texhash several times and have reconfigured LyX several times.  
However, whenever I try to select Article (REVTeX 4.1) in Lyx, I get the 
following error:  The document class revtex4-1 could not be loaded. 

I'm at a lost as to why it is not loading.  Any help would be greatly 
appreciated.

Confused,

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-8099

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: Getting RevTeX 4.1 layout to work

2010-07-28 Thread Richard Heck

On 07/28/2010 03:44 PM, Daniel Joshua Stark wrote:

Dear All,

I'm using LyX 1.6.7 on Mac OS X 10.6.4.

I've installed the revtex4-1.layout file in /Library/Application
Support/LyX-1.6/layouts

I use the 2009 Tex Live distribution of MacTeX and it is up-to-date.
 When I check in texmf-dist/tex/latex/revtex, revtex4-1.cls is present.

I've run sudo texhash several times and have reconfigured LyX several
times.  However, whenever I try to select Article (REVTeX 4.1) in
Lyx, I get the following error:  The document class revtex4-1 could
not be loaded.

I'm at a lost as to why it is not loading.  Any help would be greatly
appreciated.

The error message is saying that the layout file could not be loaded. If 
you've downloaded the layout file from the wiki here:

http://wiki.lyx.org/Layouts/Revtex4-1
then the problem is that this is for LyX 2.0, not for LyX 1.6.x. I've 
added a note to that effect to the wiki.


The error messages for this kind of thing will be more informative in 2.0.

Richard



Getting RevTeX 4.1 layout to work

2010-07-28 Thread Daniel Joshua Stark
Dear All,

I'm using LyX 1.6.7 on Mac OS X 10.6.4.  

I've installed the revtex4-1.layout file in /Library/Application 
Support/LyX-1.6/layouts 

I use the 2009 Tex Live distribution of MacTeX and it is up-to-date.  When I 
check in texmf-dist/tex/latex/revtex, revtex4-1.cls is present.  

I've run sudo texhash several times and have reconfigured LyX several times.  
However, whenever I try to select Article (REVTeX 4.1) in Lyx, I get the 
following error:  The document class revtex4-1 could not be loaded. 

I'm at a lost as to why it is not loading.  Any help would be greatly 
appreciated.

Confused,

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-8099

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: Getting RevTeX 4.1 layout to work

2010-07-28 Thread Richard Heck

On 07/28/2010 03:44 PM, Daniel Joshua Stark wrote:

Dear All,

I'm using LyX 1.6.7 on Mac OS X 10.6.4.

I've installed the revtex4-1.layout file in /Library/Application
Support/LyX-1.6/layouts

I use the 2009 Tex Live distribution of MacTeX and it is up-to-date.
 When I check in texmf-dist/tex/latex/revtex, revtex4-1.cls is present.

I've run sudo texhash several times and have reconfigured LyX several
times.  However, whenever I try to select Article (REVTeX 4.1) in
Lyx, I get the following error:  The document class revtex4-1 could
not be loaded.

I'm at a lost as to why it is not loading.  Any help would be greatly
appreciated.

The error message is saying that the layout file could not be loaded. If 
you've downloaded the layout file from the wiki here:

http://wiki.lyx.org/Layouts/Revtex4-1
then the problem is that this is for LyX 2.0, not for LyX 1.6.x. I've 
added a note to that effect to the wiki.


The error messages for this kind of thing will be more informative in 2.0.

Richard



Getting RevTeX 4.1 layout to work

2010-07-28 Thread Daniel Joshua Stark
Dear All,

I'm using LyX 1.6.7 on Mac OS X 10.6.4.  

I've installed the revtex4-1.layout file in /Library/Application 
Support/LyX-1.6/layouts 

I use the 2009 Tex Live distribution of MacTeX and it is up-to-date.  When I 
check in texmf-dist/tex/latex/revtex, revtex4-1.cls is present.  

I've run sudo texhash several times and have reconfigured LyX several times.  
However, whenever I try to select "Article (REVTeX 4.1)" in Lyx, I get the 
following error:  "The document class revtex4-1 could not be loaded." 

I'm at a lost as to why it is not loading.  Any help would be greatly 
appreciated.

Confused,

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-8099

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: Getting RevTeX 4.1 layout to work

2010-07-28 Thread Richard Heck

On 07/28/2010 03:44 PM, Daniel Joshua Stark wrote:

Dear All,

I'm using LyX 1.6.7 on Mac OS X 10.6.4.

I've installed the revtex4-1.layout file in /Library/Application
Support/LyX-1.6/layouts

I use the 2009 Tex Live distribution of MacTeX and it is up-to-date.
 When I check in texmf-dist/tex/latex/revtex, revtex4-1.cls is present.

I've run sudo texhash several times and have reconfigured LyX several
times.  However, whenever I try to select "Article (REVTeX 4.1)" in
Lyx, I get the following error:  "The document class revtex4-1 could
not be loaded."

I'm at a lost as to why it is not loading.  Any help would be greatly
appreciated.

The error message is saying that the layout file could not be loaded. If 
you've downloaded the layout file from the wiki here:

http://wiki.lyx.org/Layouts/Revtex4-1
then the problem is that this is for LyX 2.0, not for LyX 1.6.x. I've 
added a note to that effect to the wiki.


The error messages for this kind of thing will be more informative in 2.0.

Richard



Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manolo Martínez
Hi, Manoj.

I'll be happy to help you troubleshoot the layout. If you have LyX files that 
you want me to compile, or anything, let me know.

Cheers,
Manolo

On Wed, 3 Mar 2010 21:28:03 -0500
Manoj Rajagopalan rma...@umich.edu wrote:

 Hi lyx-users,
 
    REVTeX 4.1 was recently released and all APS and AIP journals require this 
 format which may be backwards-incompatible with v4.0. I've the extended 
 revtex4.layout that accompanies LyX to revtex4-1.layout and am attaching it. 
 I 
 request help with testing the layout.
 
I have ported the sample document aipsamp.tex that comes with the REVTeX 
 4.1 distribution to a lyx file and the PDFs generated from both sources are 
 almost identical so I believe I have addressed most of the issues.
 
This list doesn't accept emails over 60kB so I am able to attach only the 
 layout. Should someone be interested in the other files, please contact me 
 directly by email at this address.
 
 
 Thanks,
 Manoj Rajagopalan


Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manoj Rajagopalan

Hi Manolo,

  Thanks! I will attach the AIP sample (aipsamp.tex) that came with RevTeX 
4.1, and my LyX port of that file (aipsamp-lyx.lyx) in a separate email to 
you (too big for this list). I'll also attach PDFs generated from aipsamp.tex 
and from aipsamp-lyx.lyx.

   It would help if you could port the APS sample that comes with revtex to 
lyx and compare the PDFs or DVIs generated from those. The easy part is in 
applying the layout. The time-consuming part is in copy-pasting the latex 
source and converting the tex markup into lyx equivalent. To speed this up 
see the last appendix that I created in aipsamp-lyx.lyx (how to use lyx with 
revtex).

   Latest RevTeX 4.1 can be downloaded from http://authors.aps.org/revtex4/ - 
they have already fixed a few bugs

At present, I am experiencing trouble with the \listofvideos command. LyX 
properly inserts this command where I want it but my latex doesn't compile 
and therefore my DVI and PDF are not being generated. Let me know if you 
happen to see the same. If there is a bug we could file a report. The video 
environment is a new feature that they have just begun to support.

   If you have suggestions for improvement those would be welcome.

Thanks once again!
Manoj


On Thursday 04 March 2010 12:09:19 pm Manolo Martínez wrote:
 Hi, Manoj.

 I'll be happy to help you troubleshoot the layout. If you have LyX files
 that you want me to compile, or anything, let me know.

 Cheers,
 Manolo

 On Wed, 3 Mar 2010 21:28:03 -0500

 Manoj Rajagopalan rma...@umich.edu wrote:
  Hi lyx-users,
 
     REVTeX 4.1 was recently released and all APS and AIP journals require
  this format which may be backwards-incompatible with v4.0. I've the
  extended revtex4.layout that accompanies LyX to revtex4-1.layout and am
  attaching it. I request help with testing the layout.
 
 I have ported the sample document aipsamp.tex that comes with the
  REVTeX 4.1 distribution to a lyx file and the PDFs generated from both
  sources are almost identical so I believe I have addressed most of the
  issues.
 
 This list doesn't accept emails over 60kB so I am able to attach only
  the layout. Should someone be interested in the other files, please
  contact me directly by email at this address.
 
 
  Thanks,
  Manoj Rajagopalan



Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manoj Rajagopalan

Hi lyx-users,

   I have created a new wiki page for this layout:

http://wiki.lyx.org/Layouts/Revtex4-1

  Here I provide a link the layout file and list features to be tested and/or 
implemented.

Thanks,
Manoj


Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Julien Rioux
 At present, I am experiencing trouble with the \listofvideos command. LyX 
 properly inserts this command where I want it but my latex doesn't compile 
 and therefore my DVI and PDF are not being generated. Let me know if you 
 happen to see the same. If there is a bug we could file a report. The video 
 environment is a new feature that they have just begun to support.

Try in the preamble:

\def\lovname{List of Videos}

This should be considered a bug in revtex 4.1 IMHO.  Similar commands are
defined on line no 7088--7089 of revtex4-1.cls but \lovname is missing.

--
Julien




Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Julien Rioux
http://wiki.lyx.org/Layouts/Revtex4-1 says:
 Mention features from the REVTeX 4.1 documentation
 that should be tested (and fixed in the layout if
 broken) before final release of this layout.

* New environment: video
* \listofvideos seems broken (latex doesn't compile)

Nicely done.  See my other message about your compilation error.

* Using \cite instead of \footnote for footnotes as
 the REVTeX guide suggests. So far \footnote works but
 may not be acceptable by journals. Will using the LyX
 citation inset generate proper latex?

I don't see any mention of this in the revtex user's guide.  I don't see a
problem with this.  Revtex produces a .bib file from your footnotes and use the
bibtex mechanism.  For submission you need to inline the bibitems anyway.

* New feature: structured abstracts using the description environment

This works (at the level of LyX) out-of-the-box.  One can insert description
or other list environments and increase their nesting depth (using TAB or the
toolbar buttons).

* Test newly added support for arXiv.org in BibTeX

This should just work. More interesting are these features, which would require
changes in the LyX citation dialog (or use of ERT):

  - Multiple references in a single bibliography entry.
  - Prepending and/or appending text to a citation.
  - Online citation \onlinecite (this is not new in revtex 4.1, but maybe now is
an opportunity to implement it in LyX)

* Port the LaTeX AIP sample to LyX and visually diff the generated PDFs
* Port the LaTeX APS sample to LyX and visually diff the generated PDFs

This would indeed be a nice accomplishment.

--
Julien




Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manolo Martínez
Hi, Manoj.

I'll be happy to help you troubleshoot the layout. If you have LyX files that 
you want me to compile, or anything, let me know.

Cheers,
Manolo

On Wed, 3 Mar 2010 21:28:03 -0500
Manoj Rajagopalan rma...@umich.edu wrote:

 Hi lyx-users,
 
    REVTeX 4.1 was recently released and all APS and AIP journals require this 
 format which may be backwards-incompatible with v4.0. I've the extended 
 revtex4.layout that accompanies LyX to revtex4-1.layout and am attaching it. 
 I 
 request help with testing the layout.
 
I have ported the sample document aipsamp.tex that comes with the REVTeX 
 4.1 distribution to a lyx file and the PDFs generated from both sources are 
 almost identical so I believe I have addressed most of the issues.
 
This list doesn't accept emails over 60kB so I am able to attach only the 
 layout. Should someone be interested in the other files, please contact me 
 directly by email at this address.
 
 
 Thanks,
 Manoj Rajagopalan


Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manoj Rajagopalan

Hi Manolo,

  Thanks! I will attach the AIP sample (aipsamp.tex) that came with RevTeX 
4.1, and my LyX port of that file (aipsamp-lyx.lyx) in a separate email to 
you (too big for this list). I'll also attach PDFs generated from aipsamp.tex 
and from aipsamp-lyx.lyx.

   It would help if you could port the APS sample that comes with revtex to 
lyx and compare the PDFs or DVIs generated from those. The easy part is in 
applying the layout. The time-consuming part is in copy-pasting the latex 
source and converting the tex markup into lyx equivalent. To speed this up 
see the last appendix that I created in aipsamp-lyx.lyx (how to use lyx with 
revtex).

   Latest RevTeX 4.1 can be downloaded from http://authors.aps.org/revtex4/ - 
they have already fixed a few bugs

At present, I am experiencing trouble with the \listofvideos command. LyX 
properly inserts this command where I want it but my latex doesn't compile 
and therefore my DVI and PDF are not being generated. Let me know if you 
happen to see the same. If there is a bug we could file a report. The video 
environment is a new feature that they have just begun to support.

   If you have suggestions for improvement those would be welcome.

Thanks once again!
Manoj


On Thursday 04 March 2010 12:09:19 pm Manolo Martínez wrote:
 Hi, Manoj.

 I'll be happy to help you troubleshoot the layout. If you have LyX files
 that you want me to compile, or anything, let me know.

 Cheers,
 Manolo

 On Wed, 3 Mar 2010 21:28:03 -0500

 Manoj Rajagopalan rma...@umich.edu wrote:
  Hi lyx-users,
 
     REVTeX 4.1 was recently released and all APS and AIP journals require
  this format which may be backwards-incompatible with v4.0. I've the
  extended revtex4.layout that accompanies LyX to revtex4-1.layout and am
  attaching it. I request help with testing the layout.
 
 I have ported the sample document aipsamp.tex that comes with the
  REVTeX 4.1 distribution to a lyx file and the PDFs generated from both
  sources are almost identical so I believe I have addressed most of the
  issues.
 
 This list doesn't accept emails over 60kB so I am able to attach only
  the layout. Should someone be interested in the other files, please
  contact me directly by email at this address.
 
 
  Thanks,
  Manoj Rajagopalan



Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manoj Rajagopalan

Hi lyx-users,

   I have created a new wiki page for this layout:

http://wiki.lyx.org/Layouts/Revtex4-1

  Here I provide a link the layout file and list features to be tested and/or 
implemented.

Thanks,
Manoj


Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Julien Rioux
 At present, I am experiencing trouble with the \listofvideos command. LyX 
 properly inserts this command where I want it but my latex doesn't compile 
 and therefore my DVI and PDF are not being generated. Let me know if you 
 happen to see the same. If there is a bug we could file a report. The video 
 environment is a new feature that they have just begun to support.

Try in the preamble:

\def\lovname{List of Videos}

This should be considered a bug in revtex 4.1 IMHO.  Similar commands are
defined on line no 7088--7089 of revtex4-1.cls but \lovname is missing.

--
Julien




Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Julien Rioux
http://wiki.lyx.org/Layouts/Revtex4-1 says:
 Mention features from the REVTeX 4.1 documentation
 that should be tested (and fixed in the layout if
 broken) before final release of this layout.

* New environment: video
* \listofvideos seems broken (latex doesn't compile)

Nicely done.  See my other message about your compilation error.

* Using \cite instead of \footnote for footnotes as
 the REVTeX guide suggests. So far \footnote works but
 may not be acceptable by journals. Will using the LyX
 citation inset generate proper latex?

I don't see any mention of this in the revtex user's guide.  I don't see a
problem with this.  Revtex produces a .bib file from your footnotes and use the
bibtex mechanism.  For submission you need to inline the bibitems anyway.

* New feature: structured abstracts using the description environment

This works (at the level of LyX) out-of-the-box.  One can insert description
or other list environments and increase their nesting depth (using TAB or the
toolbar buttons).

* Test newly added support for arXiv.org in BibTeX

This should just work. More interesting are these features, which would require
changes in the LyX citation dialog (or use of ERT):

  - Multiple references in a single bibliography entry.
  - Prepending and/or appending text to a citation.
  - Online citation \onlinecite (this is not new in revtex 4.1, but maybe now is
an opportunity to implement it in LyX)

* Port the LaTeX AIP sample to LyX and visually diff the generated PDFs
* Port the LaTeX APS sample to LyX and visually diff the generated PDFs

This would indeed be a nice accomplishment.

--
Julien




Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manolo Martínez
Hi, Manoj.

I'll be happy to help you troubleshoot the layout. If you have LyX files that 
you want me to compile, or anything, let me know.

Cheers,
Manolo

On Wed, 3 Mar 2010 21:28:03 -0500
Manoj Rajagopalan <rma...@umich.edu> wrote:

> Hi lyx-users,
> 
>    REVTeX 4.1 was recently released and all APS and AIP journals require this 
> format which may be backwards-incompatible with v4.0. I've the extended 
> revtex4.layout that accompanies LyX to revtex4-1.layout and am attaching it. 
> I 
> request help with testing the layout.
> 
>I have ported the sample document aipsamp.tex that comes with the REVTeX 
> 4.1 distribution to a lyx file and the PDFs generated from both sources are 
> almost identical so I believe I have addressed most of the issues.
> 
>This list doesn't accept emails over 60kB so I am able to attach only the 
> layout. Should someone be interested in the other files, please contact me 
> directly by email at this address.
> 
> 
> Thanks,
> Manoj Rajagopalan


Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manoj Rajagopalan

Hi Manolo,

  Thanks! I will attach the AIP sample (aipsamp.tex) that came with RevTeX 
4.1, and my LyX port of that file (aipsamp-lyx.lyx) in a separate email to 
you (too big for this list). I'll also attach PDFs generated from aipsamp.tex 
and from aipsamp-lyx.lyx.

   It would help if you could port the APS sample that comes with revtex to 
lyx and compare the PDFs or DVIs generated from those. The easy part is in 
applying the layout. The time-consuming part is in copy-pasting the latex 
source and converting the tex markup into lyx equivalent. To speed this up 
see the last appendix that I created in aipsamp-lyx.lyx (how to use lyx with 
revtex).

   Latest RevTeX 4.1 can be downloaded from http://authors.aps.org/revtex4/ - 
they have already fixed a few bugs

At present, I am experiencing trouble with the \listofvideos command. LyX 
properly inserts this command where I want it but my latex doesn't compile 
and therefore my DVI and PDF are not being generated. Let me know if you 
happen to see the same. If there is a bug we could file a report. The video 
environment is a new feature that they have just begun to support.

   If you have suggestions for improvement those would be welcome.

Thanks once again!
Manoj


On Thursday 04 March 2010 12:09:19 pm Manolo Martínez wrote:
> Hi, Manoj.
>
> I'll be happy to help you troubleshoot the layout. If you have LyX files
> that you want me to compile, or anything, let me know.
>
> Cheers,
> Manolo
>
> On Wed, 3 Mar 2010 21:28:03 -0500
>
> Manoj Rajagopalan <rma...@umich.edu> wrote:
> > Hi lyx-users,
> >
> >    REVTeX 4.1 was recently released and all APS and AIP journals require
> > this format which may be backwards-incompatible with v4.0. I've the
> > extended revtex4.layout that accompanies LyX to revtex4-1.layout and am
> > attaching it. I request help with testing the layout.
> >
> >I have ported the sample document aipsamp.tex that comes with the
> > REVTeX 4.1 distribution to a lyx file and the PDFs generated from both
> > sources are almost identical so I believe I have addressed most of the
> > issues.
> >
> >This list doesn't accept emails over 60kB so I am able to attach only
> > the layout. Should someone be interested in the other files, please
> > contact me directly by email at this address.
> >
> >
> > Thanks,
> > Manoj Rajagopalan



Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Manoj Rajagopalan

Hi lyx-users,

   I have created a new wiki page for this layout:

http://wiki.lyx.org/Layouts/Revtex4-1

  Here I provide a link the layout file and list features to be tested and/or 
implemented.

Thanks,
Manoj


Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Julien Rioux
> At present, I am experiencing trouble with the \listofvideos command. LyX 
> properly inserts this command where I want it but my latex doesn't compile 
> and therefore my DVI and PDF are not being generated. Let me know if you 
> happen to see the same. If there is a bug we could file a report. The video 
> environment is a new feature that they have just begun to support.

Try in the preamble:

\def\lovname{List of Videos}

This should be considered a bug in revtex 4.1 IMHO.  Similar commands are
defined on line no 7088--7089 of revtex4-1.cls but \lovname is missing.

--
Julien




Re: REVTeX 4.1 layout: alpha

2010-03-04 Thread Julien Rioux
http://wiki.lyx.org/Layouts/Revtex4-1 says:
> Mention features from the REVTeX 4.1 documentation
> that should be tested (and fixed in the layout if
> broken) before final release of this layout.
>
>* New environment: video
>* \listofvideos seems broken (latex doesn't compile)

Nicely done.  See my other message about your compilation error.

>* Using \cite instead of \footnote for footnotes as
> the REVTeX guide suggests. So far \footnote works but
> may not be acceptable by journals. Will using the LyX
> citation inset generate proper latex?

I don't see any mention of this in the revtex user's guide.  I don't see a
problem with this.  Revtex produces a .bib file from your footnotes and use the
bibtex mechanism.  For submission you need to inline the bibitems anyway.

>* New feature: structured abstracts using the description environment

This works (at the level of LyX) out-of-the-box.  One can insert "description"
or other list environments and increase their nesting depth (using TAB or the
toolbar buttons).

>* Test newly added support for arXiv.org in BibTeX

This should just work. More interesting are these features, which would require
changes in the LyX citation dialog (or use of ERT):

  - Multiple references in a single bibliography entry.
  - Prepending and/or appending text to a citation.
  - Online citation \onlinecite (this is not new in revtex 4.1, but maybe now is
an opportunity to implement it in LyX)

>* Port the LaTeX AIP sample to LyX and visually diff the generated PDFs
>* Port the LaTeX APS sample to LyX and visually diff the generated PDFs

This would indeed be a nice accomplishment.

--
Julien




REVTeX 4.1 layout: alpha

2010-03-03 Thread Manoj Rajagopalan
Hi lyx-users,

   REVTeX 4.1 was recently released and all APS and AIP journals require this 
format which may be backwards-incompatible with v4.0. I've the extended 
revtex4.layout that accompanies LyX to revtex4-1.layout and am attaching it. I 
request help with testing the layout.

   I have ported the sample document aipsamp.tex that comes with the REVTeX 
4.1 distribution to a lyx file and the PDFs generated from both sources are 
almost identical so I believe I have addressed most of the issues.

   This list doesn't accept emails over 60kB so I am able to attach only the 
layout. Should someone be interested in the other files, please contact me 
directly by email at this address.


Thanks,
Manoj Rajagopalan
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{article (REVTeX 4.1)}
# RevTeX 4.1 textclass definition file. Based on:
# AMS-Article textclass definition file. Taken from initial LyX source code
# and from the Article textclass definition file, following the AMS sample
# paper testmath.tex of January, 1995
# Author : David L. Johnson d...@lehigh.edu (AMS)
#  Marc Mengel (RevTeX)
#  Amir Karger (LyX v11.34 style modifications)
#  Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
#  Manoj Rajagopalan (RevTeX 4.1) 1/2010


Format 19
Columns 1
Sides   1
PageStyle   Headers
Provides natbib-internal1
Provides url1

# Default textclass options. The user may need to modify this.
ClassOptions
Other manuscript
End

Preamble
\...@ifundefined{textcolor}{}
{%
 \definecolor{BLACK}{gray}{0}
 \definecolor{WHITE}{gray}{1}
 \definecolor{RED}{rgb}{1,0,0}
 \definecolor{GREEN}{rgb}{0,1,0}
 \definecolor{BLUE}{rgb}{0,0,1}
 \definecolor{CYAN}{cmyk}{1,0,0,0}
 \definecolor{MAGENTA}{cmyk}{0,1,0,0}
 \definecolor{YELLOW}{cmyk}{0,0,1,0}
 }
EndPreamble


Style Standard
MarginStatic
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip   0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End


# Idea from aapaper: declare all layouts here (Style Foo\nEnd\n)
# so that they appear in a specific order in the layout dropdown menu.

Input stdinsets.inc
Input stdsections.inc
Input numrevtex.inc

Style Section
Align Center
AlignPossible Block, Center, Left
Font
  Series  Medium
  Shape   Smallcaps
  SizeLarge
EndFont
TocLevel 1
End


Style Subsection
Font
  Series  Bold
  SizeNormal
EndFont
TocLevel 2
End


Style Subsubsection
Font
# Shape   Italic
  SizeNormal
EndFont
TocLevel 3
End


Style Paragraph
TopSep0.7
ParSep0.4
Font
  Shape   Italic
  SizeNormal
EndFont
TocLevel 4
End

# then define the unumbered sections, based on the numbered ones.
Input stdstarsections.inc

NoStyle Chapter
NoStyle Chapter*
NoStyle Subparagraph
NoStyle Subparagraph*

Input stdlayouts.inc
Input stdlists.inc
Input stdtitle.inc
Input stdstruct.inc


Style Preprint
MarginRight_Address_Box
LatexType Command
InTitle   1
LatexName preprint
ParSkip   0.4
BottomSep 1.5
ParSep1.5
Align Left
End


Style Title
Font
  Series  Bold
  SizeLarge
EndFont
OptionalArgs  1
End


Style Author
Font
  SizeLarge
# Shape   Smallcaps
EndFont
End


Style Date
LabelType Static
LabelString   Date:
LabelFont
  Shape   Italic
  SizeLarge
EndFont
End


Style Affiliation
MarginDynamic
LatexType Command
InTitle   1
LatexName affiliation
ParSkip   0.4
#  BottomSep1.5
#  ParSep   1.5
Align Center
AlignPossible Block, Left, Right, Center
LabelType Static
LabelSep  M
LabelString   Affiliation:

LabelFont
  Shape   Italic
EndFont
End


Style AltAffiliation
CopyStyle Affiliation
PassThru

REVTeX 4.1 layout: alpha

2010-03-03 Thread Manoj Rajagopalan
Hi lyx-users,

   REVTeX 4.1 was recently released and all APS and AIP journals require this 
format which may be backwards-incompatible with v4.0. I've the extended 
revtex4.layout that accompanies LyX to revtex4-1.layout and am attaching it. I 
request help with testing the layout.

   I have ported the sample document aipsamp.tex that comes with the REVTeX 
4.1 distribution to a lyx file and the PDFs generated from both sources are 
almost identical so I believe I have addressed most of the issues.

   This list doesn't accept emails over 60kB so I am able to attach only the 
layout. Should someone be interested in the other files, please contact me 
directly by email at this address.


Thanks,
Manoj Rajagopalan
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{article (REVTeX 4.1)}
# RevTeX 4.1 textclass definition file. Based on:
# AMS-Article textclass definition file. Taken from initial LyX source code
# and from the Article textclass definition file, following the AMS sample
# paper testmath.tex of January, 1995
# Author : David L. Johnson d...@lehigh.edu (AMS)
#  Marc Mengel (RevTeX)
#  Amir Karger (LyX v11.34 style modifications)
#  Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
#  Manoj Rajagopalan (RevTeX 4.1) 1/2010


Format 19
Columns 1
Sides   1
PageStyle   Headers
Provides natbib-internal1
Provides url1

# Default textclass options. The user may need to modify this.
ClassOptions
Other manuscript
End

Preamble
\...@ifundefined{textcolor}{}
{%
 \definecolor{BLACK}{gray}{0}
 \definecolor{WHITE}{gray}{1}
 \definecolor{RED}{rgb}{1,0,0}
 \definecolor{GREEN}{rgb}{0,1,0}
 \definecolor{BLUE}{rgb}{0,0,1}
 \definecolor{CYAN}{cmyk}{1,0,0,0}
 \definecolor{MAGENTA}{cmyk}{0,1,0,0}
 \definecolor{YELLOW}{cmyk}{0,0,1,0}
 }
EndPreamble


Style Standard
MarginStatic
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip   0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End


# Idea from aapaper: declare all layouts here (Style Foo\nEnd\n)
# so that they appear in a specific order in the layout dropdown menu.

Input stdinsets.inc
Input stdsections.inc
Input numrevtex.inc

Style Section
Align Center
AlignPossible Block, Center, Left
Font
  Series  Medium
  Shape   Smallcaps
  SizeLarge
EndFont
TocLevel 1
End


Style Subsection
Font
  Series  Bold
  SizeNormal
EndFont
TocLevel 2
End


Style Subsubsection
Font
# Shape   Italic
  SizeNormal
EndFont
TocLevel 3
End


Style Paragraph
TopSep0.7
ParSep0.4
Font
  Shape   Italic
  SizeNormal
EndFont
TocLevel 4
End

# then define the unumbered sections, based on the numbered ones.
Input stdstarsections.inc

NoStyle Chapter
NoStyle Chapter*
NoStyle Subparagraph
NoStyle Subparagraph*

Input stdlayouts.inc
Input stdlists.inc
Input stdtitle.inc
Input stdstruct.inc


Style Preprint
MarginRight_Address_Box
LatexType Command
InTitle   1
LatexName preprint
ParSkip   0.4
BottomSep 1.5
ParSep1.5
Align Left
End


Style Title
Font
  Series  Bold
  SizeLarge
EndFont
OptionalArgs  1
End


Style Author
Font
  SizeLarge
# Shape   Smallcaps
EndFont
End


Style Date
LabelType Static
LabelString   Date:
LabelFont
  Shape   Italic
  SizeLarge
EndFont
End


Style Affiliation
MarginDynamic
LatexType Command
InTitle   1
LatexName affiliation
ParSkip   0.4
#  BottomSep1.5
#  ParSep   1.5
Align Center
AlignPossible Block, Left, Right, Center
LabelType Static
LabelSep  M
LabelString   Affiliation:

LabelFont
  Shape   Italic
EndFont
End


Style AltAffiliation
CopyStyle Affiliation
PassThru

REVTeX 4.1 layout: alpha

2010-03-03 Thread Manoj Rajagopalan
Hi lyx-users,

   REVTeX 4.1 was recently released and all APS and AIP journals require this 
format which may be backwards-incompatible with v4.0. I've the extended 
revtex4.layout that accompanies LyX to revtex4-1.layout and am attaching it. I 
request help with testing the layout.

   I have ported the sample document aipsamp.tex that comes with the REVTeX 
4.1 distribution to a lyx file and the PDFs generated from both sources are 
almost identical so I believe I have addressed most of the issues.

   This list doesn't accept emails over 60kB so I am able to attach only the 
layout. Should someone be interested in the other files, please contact me 
directly by email at this address.


Thanks,
Manoj Rajagopalan
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{article (REVTeX 4.1)}
# RevTeX 4.1 textclass definition file. Based on:
# AMS-Article textclass definition file. Taken from initial LyX source code
# and from the Article textclass definition file, following the AMS sample
# paper "testmath.tex" of January, 1995
# Author : David L. Johnson <d...@lehigh.edu> (AMS)
#      Marc Mengel (RevTeX)
#  Amir Karger (LyX v11.34 style modifications)
#      Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
#  Manoj Rajagopalan (RevTeX 4.1) 1/2010


Format 19
Columns 1
Sides   1
PageStyle   Headers
Provides natbib-internal1
Provides url1

# Default textclass options. The user may need to modify this.
ClassOptions
Other "manuscript"
End

Preamble
\...@ifundefined{textcolor}{}
{%
 \definecolor{BLACK}{gray}{0}
 \definecolor{WHITE}{gray}{1}
 \definecolor{RED}{rgb}{1,0,0}
 \definecolor{GREEN}{rgb}{0,1,0}
 \definecolor{BLUE}{rgb}{0,0,1}
 \definecolor{CYAN}{cmyk}{1,0,0,0}
 \definecolor{MAGENTA}{cmyk}{0,1,0,0}
 \definecolor{YELLOW}{cmyk}{0,0,1,0}
 }
EndPreamble


Style Standard
MarginStatic
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip   0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End


# Idea from aapaper: declare all layouts here ("Style Foo\nEnd\n")
# so that they appear in a specific order in the layout dropdown menu.

Input stdinsets.inc
Input stdsections.inc
Input numrevtex.inc

Style Section
Align Center
AlignPossible Block, Center, Left
Font
  Series  Medium
  Shape   Smallcaps
  SizeLarge
EndFont
TocLevel 1
End


Style Subsection
Font
  Series  Bold
  SizeNormal
EndFont
TocLevel 2
End


Style Subsubsection
Font
# Shape   Italic
  SizeNormal
EndFont
TocLevel 3
End


Style Paragraph
TopSep0.7
ParSep0.4
Font
  Shape   Italic
  SizeNormal
EndFont
TocLevel 4
End

# then define the unumbered sections, based on the numbered ones.
Input stdstarsections.inc

NoStyle Chapter
NoStyle Chapter*
NoStyle Subparagraph
NoStyle Subparagraph*

Input stdlayouts.inc
Input stdlists.inc
Input stdtitle.inc
Input stdstruct.inc


Style Preprint
MarginRight_Address_Box
LatexType Command
InTitle   1
LatexName preprint
ParSkip   0.4
BottomSep 1.5
ParSep1.5
Align Left
End


Style Title
Font
  Series  Bold
  SizeLarge
EndFont
OptionalArgs  1
End


Style Author
Font
  SizeLarge
# Shape   Smallcaps
EndFont
End


Style Date
LabelType Static
LabelString   "Date:"
LabelFont
  Shape   Italic
  SizeLarge
EndFont
End


Style Affiliation
MarginDynamic
LatexType Command
InTitle   1
LatexName affiliation
ParSkip   0.4
#  BottomSep1.5
#  ParSep   1.5
Align Center
AlignPossible Block, Left, Right, Center
LabelType Static
LabelSep  M
LabelString   "Affiliation:"

LabelFont
  Shape   Italic
EndFont
End


Style 

problem with RevTeX and setspace package

2008-03-02 Thread Ares
Hello everyone,

I have a problem with a file using RevTeX class and setspace package.
When I try to compile the following simple file:

%% LyX 1.5.1 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english,preprint]{revtex4}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{setspace}
\doublespacing

\makeatletter
\usepackage{babel}
\makeatother

\begin{document}

%\doublespacing
I
\\am
\end{document}

I get:

Package: `setspace' 6.7 2000/12/01
)
! Undefined control sequence.
\setstretch ...ef \baselinestretch [EMAIL PROTECTED]

l.7 \doublespacing

I googled for the problem but couldn't find anything useful. Any hint?
I found a workaround, that is using the preprint option for the revtex
package and setting to single the line spacing in the document
properties panel (or deleting the \doublespacing command in the tex
file).

Regards,
-- 
Diego
http://www.ares001.altervista.org/


Re: problem with RevTeX and setspace package

2008-03-02 Thread Steve Litt
On Sunday 02 March 2008 08:57, Ares wrote:
 Hello everyone,

 I have a problem with a file using RevTeX class and setspace package.
 When I try to compile the following simple file:

 %% LyX 1.5.1 created this file.  For more info, see http://www.lyx.org/.
 %% Do not edit unless you really know what you are doing.
 \documentclass[english,preprint]{revtex4}
 \usepackage[T1]{fontenc}
 \usepackage[latin9]{inputenc}
 \usepackage{setspace}
 \doublespacing

 \makeatletter
 \usepackage{babel}
 \makeatother

 \begin{document}

 %\doublespacing
 I
 \\am
 \end{document}

 I get:

 Package: `setspace' 6.7 2000/12/01
 )
 ! Undefined control sequence.
 \setstretch ...ef \baselinestretch [EMAIL PROTECTED]

 l.7 \doublespacing

 I googled for the problem but couldn't find anything useful. Any hint?
 I found a workaround, that is using the preprint option for the revtex
 package and setting to single the line spacing in the document
 properties panel (or deleting the \doublespacing command in the tex
 file).

 Regards,

I get the same thing when I use latex to compile your file. Like you, I find 
that commenting out the \doublespacing allows it to compile. I also find that 
if I change the revtex4 to book, it compiles. So there's some conflict 
between revtex4 and setspace.

I think there's probably something missing from revtex4.cls (or revsymb.sty) 
that exists in book.cls, but I couldn't find it. One thing I might recommend 
is that you put the following into the LyX part of your layout file:

Input stdclass.inc
Format 2


That's helped me out of similar situations.

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: problem with RevTeX and setspace package

2008-03-02 Thread Jürgen Spitzmüller
Ares wrote:
 Package: `setspace' 6.7 2000/12/01
 )
 ! Undefined control sequence.
 \setstretch ...ef \baselinestretch [EMAIL PROTECTED]

 l.7 \doublespacing

revtex4 (as well as some other classes) do not work with setspace. This might 
be intentional, as changing line spacing is considered non-standard use (or 
mis-use) of such classes, that aim to provide a very specific layout.

However, to get setspace working with revtex4.cls, put the following in the 
preamble (and reset LyX's line spacing value to single):

\makeatletter 
[EMAIL PROTECTED] 10pt documents
% or:
[EMAIL PROTECTED] 11pt documents 
[EMAIL PROTECTED] 12pt documents 
[EMAIL PROTECTED] 
\makeatother 
\usepackage{setspace}
\doublespace

Jürgen


problem with RevTeX and setspace package

2008-03-02 Thread Ares
Hello everyone,

I have a problem with a file using RevTeX class and setspace package.
When I try to compile the following simple file:

%% LyX 1.5.1 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english,preprint]{revtex4}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{setspace}
\doublespacing

\makeatletter
\usepackage{babel}
\makeatother

\begin{document}

%\doublespacing
I
\\am
\end{document}

I get:

Package: `setspace' 6.7 2000/12/01
)
! Undefined control sequence.
\setstretch ...ef \baselinestretch [EMAIL PROTECTED]

l.7 \doublespacing

I googled for the problem but couldn't find anything useful. Any hint?
I found a workaround, that is using the preprint option for the revtex
package and setting to single the line spacing in the document
properties panel (or deleting the \doublespacing command in the tex
file).

Regards,
-- 
Diego
http://www.ares001.altervista.org/


Re: problem with RevTeX and setspace package

2008-03-02 Thread Steve Litt
On Sunday 02 March 2008 08:57, Ares wrote:
 Hello everyone,

 I have a problem with a file using RevTeX class and setspace package.
 When I try to compile the following simple file:

 %% LyX 1.5.1 created this file.  For more info, see http://www.lyx.org/.
 %% Do not edit unless you really know what you are doing.
 \documentclass[english,preprint]{revtex4}
 \usepackage[T1]{fontenc}
 \usepackage[latin9]{inputenc}
 \usepackage{setspace}
 \doublespacing

 \makeatletter
 \usepackage{babel}
 \makeatother

 \begin{document}

 %\doublespacing
 I
 \\am
 \end{document}

 I get:

 Package: `setspace' 6.7 2000/12/01
 )
 ! Undefined control sequence.
 \setstretch ...ef \baselinestretch [EMAIL PROTECTED]

 l.7 \doublespacing

 I googled for the problem but couldn't find anything useful. Any hint?
 I found a workaround, that is using the preprint option for the revtex
 package and setting to single the line spacing in the document
 properties panel (or deleting the \doublespacing command in the tex
 file).

 Regards,

I get the same thing when I use latex to compile your file. Like you, I find 
that commenting out the \doublespacing allows it to compile. I also find that 
if I change the revtex4 to book, it compiles. So there's some conflict 
between revtex4 and setspace.

I think there's probably something missing from revtex4.cls (or revsymb.sty) 
that exists in book.cls, but I couldn't find it. One thing I might recommend 
is that you put the following into the LyX part of your layout file:

Input stdclass.inc
Format 2


That's helped me out of similar situations.

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: problem with RevTeX and setspace package

2008-03-02 Thread Jürgen Spitzmüller
Ares wrote:
 Package: `setspace' 6.7 2000/12/01
 )
 ! Undefined control sequence.
 \setstretch ...ef \baselinestretch [EMAIL PROTECTED]

 l.7 \doublespacing

revtex4 (as well as some other classes) do not work with setspace. This might 
be intentional, as changing line spacing is considered non-standard use (or 
mis-use) of such classes, that aim to provide a very specific layout.

However, to get setspace working with revtex4.cls, put the following in the 
preamble (and reset LyX's line spacing value to single):

\makeatletter 
[EMAIL PROTECTED] 10pt documents
% or:
[EMAIL PROTECTED] 11pt documents 
[EMAIL PROTECTED] 12pt documents 
[EMAIL PROTECTED] 
\makeatother 
\usepackage{setspace}
\doublespace

Jürgen


problem with RevTeX and setspace package

2008-03-02 Thread Ares
Hello everyone,

I have a problem with a file using RevTeX class and setspace package.
When I try to compile the following simple file:

%% LyX 1.5.1 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english,preprint]{revtex4}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{setspace}
\doublespacing

\makeatletter
\usepackage{babel}
\makeatother

\begin{document}

%\doublespacing
I
\\am
\end{document}

I get:

Package: `setspace' 6.7 <2000/12/01>
)
! Undefined control sequence.
\setstretch ...ef \baselinestretch [EMAIL PROTECTED]

l.7 \doublespacing

I googled for the problem but couldn't find anything useful. Any hint?
I found a workaround, that is using the preprint option for the revtex
package and setting to single the line spacing in the document
properties panel (or deleting the \doublespacing command in the tex
file).

Regards,
-- 
Diego
http://www.ares001.altervista.org/


Re: problem with RevTeX and setspace package

2008-03-02 Thread Steve Litt
On Sunday 02 March 2008 08:57, Ares wrote:
> Hello everyone,
>
> I have a problem with a file using RevTeX class and setspace package.
> When I try to compile the following simple file:
>
> %% LyX 1.5.1 created this file.  For more info, see http://www.lyx.org/.
> %% Do not edit unless you really know what you are doing.
> \documentclass[english,preprint]{revtex4}
> \usepackage[T1]{fontenc}
> \usepackage[latin9]{inputenc}
> \usepackage{setspace}
> \doublespacing
>
> \makeatletter
> \usepackage{babel}
> \makeatother
>
> \begin{document}
>
> %\doublespacing
> I
> \\am
> \end{document}
>
> I get:
>
> Package: `setspace' 6.7 <2000/12/01>
> )
> ! Undefined control sequence.
> \setstretch ...ef \baselinestretch [EMAIL PROTECTED]
>
> l.7 \doublespacing
>
> I googled for the problem but couldn't find anything useful. Any hint?
> I found a workaround, that is using the preprint option for the revtex
> package and setting to single the line spacing in the document
> properties panel (or deleting the \doublespacing command in the tex
> file).
>
> Regards,

I get the same thing when I use latex to compile your file. Like you, I find 
that commenting out the \doublespacing allows it to compile. I also find that 
if I change the revtex4 to book, it compiles. So there's some conflict 
between revtex4 and setspace.

I think there's probably something missing from revtex4.cls (or revsymb.sty) 
that exists in book.cls, but I couldn't find it. One thing I might recommend 
is that you put the following into the LyX part of your layout file:

Input stdclass.inc
Format 2


That's helped me out of similar situations.

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: problem with RevTeX and setspace package

2008-03-02 Thread Jürgen Spitzmüller
Ares wrote:
> Package: `setspace' 6.7 <2000/12/01>
> )
> ! Undefined control sequence.
> \setstretch ...ef \baselinestretch [EMAIL PROTECTED]
>
> l.7 \doublespacing

revtex4 (as well as some other classes) do not work with setspace. This might 
be intentional, as changing line spacing is considered non-standard use (or 
mis-use) of such classes, that aim to provide a very specific layout.

However, to get setspace working with revtex4.cls, put the following in the 
preamble (and reset LyX's line spacing value to "single"):

\makeatletter 
[EMAIL PROTECTED] 10pt documents
% or:
[EMAIL PROTECTED] 11pt documents 
[EMAIL PROTECTED] 12pt documents 
[EMAIL PROTECTED] 
\makeatother 
\usepackage{setspace}
\doublespace

Jürgen


  1   2   >