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