On Tue, May 29, 2001 at 11:02:39AM +1000, Peter D Drummond wrote:
> This doesn't help, unfortunately. The `english' option
> still gets added, and this breaks REVTEX. I guess the
> same would occur if I changed to `german' - it seems
> you can't have a `null' option.
One option is to fix the revtex.cls file.
Add the following lines to it:
\DeclareOption{english}{
\PackageWarning{revtex}{Ignoring LaTeX option \CurrentOption}
}
at the appropriate place (e.g., just before the other \DeclareOption
commands).
> Solution would be if LyX could delete the language
> option when there is no language package chosen. RevTex
> 4 will solve the problem RSN, but it would be nice to have backward
> compatibility!!
Another solution is to add one or two of the following lines to
~/.lyx/preferences
\language_use_babel "false"
\language_global_options "false"
(return the preferences->languages->language->package to the default)
The first line will cause LyX to not use babel (and not put the english
option) when the language is the default language (english).
The second line will put the language options as arguments to \usepackage
instead as arguments to \documentclass.