Hi Vincent and Richard, now i am getting a different problem, I'm new to lyx
1.6.6.1 so i must be doing something erroneous. Let me detail my steps
1. Make copy of article.layout renamed as article-aer.layout
2. Changed -
\DeclareLaTeXClass{article}
To
\DeclareLaTeXClass[article, aer.sty]{article (aer)}
And added -
Preamble
\usepackage{aer}
EndPreamble
3. Saved article-aer.layout in C:\Program Files\LyX16\Resources\layouts
4. Open lyx, reconfigure, exit lyx
5. Reopen lyx, start new document, go to documents\settings choose "article
(aer)" as document class, clicked OK
6. Tried a test document
7. Then tried to view DVI or PS
Got the following error
"Undefined control sequence.
Undefined control sequence.
LaTeX error: Missing \begin{document}." Etc
With the following Description
" \nopagenumbers
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined."
Advice much appreciated!
Andy
-----Original Message-----
From: Richard Heck [mailto:[email protected]]
Sent: Thursday, 1 July, 2010 6:05 PM
To: Vincent van Ravesteijn
Cc: Andy S Feng; [email protected]
Subject: Re: Converting sty to layout
On 07/01/2010 01:01 PM, Vincent van Ravesteijn wrote:
>> 2) But once i select it and start typing, it reverts to the plain
>> "article" layout which is the incorrect layout.
>>
>>
> Can you explain what you do here exactly ?
>
> Is it reverted without any message ? Does it get reverted if you press
> "Apply" ? Is it reverted after "OK" and opening the document settings
> again ?
>
>
We do need really detailed information about this. I can't imagine how
this might happen. I've tried it with both 1.6.6 and trunk, and don't
see any reversion no matter what I do.
Richard
Please access the attached hyperlink for an important electronic communications
disclaimer:
http://www.lse.ac.uk/collections/planningAndCorporatePolicy/legalandComplianceTeam/legal/disclaimer.htm