I found it! The problem was that I i initially imported the doc from a
plain TeX file and LyX set the language package to "none" instead of
"default". After setting the language package to default or babel LyX adds
the [english] parameter correctly.



On Wed, Mar 7, 2012 at 9:44 PM, Richard Heck <rgh...@comcast.net> wrote:

> On 03/07/2012 10:37 AM, Uwe Jugel wrote:
>
>> Hi,
>> I want to configure a lyx layout for this documentclass syntax:
>>
>>     \documentclass[english]{lni}
>>
>> What is right \DeclareLaTeXClass syntax for this?
>>
>>  Just: \DeclareLaTeXClass{lni}.
>
> If you want to force english, then add this to the layout file as:
>
> ClassOptions
>    Other english
> End
>
> and then it will appear as a "predefined" option under Document>Settings.
>
> Though you don't really need to do that. The english option will be added
> for you if you choose English as your document language under
> Document>Settings>Language.
>
> Richard
>
>

Reply via email to