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