Am Dienstag, 14. März 2006 14:52 schrieb Maria Gouskova:

> #% #% Do not delete the line below; configure depends on this
> #  \DeclareLaTeXClass[article]{article (Covington)}
> # Article textclass definition file. Taken from initial LyX source code
> # Author : Matthias Ettrich <[EMAIL PROTECTED]>
> # Transposed by Pascal Andre <[EMAIL PROTECTED]>
> # Heavily modifed and enhanced by several developers.
> 
> Format 2

This line tells LyX that the layout file is in the new format for 1.4, but 
this is not true, because it contains the old keyword MaxCounter. Read 
the section 'Upgrading old layout files' in Customization.lyx if you want 
to know more about this.

> Input stdclass.inc
> Input numarticle.inc
> Input linguistics.inc
> 
> NoStyle Chapter
> NoStyle Chapter*
> 
> MaxCounter              Counter_Section
> SecNumDepth             3
> TocDepth                3
> 
> End

End is not valid at this place (neither in 1.3 nor in 1.4). Remove this 
line and the line with Format above and everything should work.
It seems that LyX 1.4 is more picky about unknown keywords in layout files 
than 1.3.

> i didn't change the contents of the linguistics.inc file, though. if
> that has to be modified as well, then this could be causing the
> problem.

No, that one works fine.


Georg

Reply via email to