On Mon, 11 Feb 2002, Nick Burgan wrote:
> Hello All,
>
> I am writing a paper for the IEEE using IEEEtran_v15.cls as my Document Class.
> After trying lots of things to try and get IEEEtran to work and reading all
> of the emails on the list that I could find related to this, I believe that
> you can not use Babel when using the IEEEtran. Is this correct ?
>
> Now that I have removed the line \usepackage{babel} from Edit -> Preferences
> -> Lang Opts -> language, Package my paper compiles without any errors.
>
> My problem is that often I have several documents open within LyX. All of
> these except for the IEEE paper use babel. If I want to compile them I need
> to type the \usepackage{babel} line in again. I was wondering if there was
> something that I could put just in the preamble of my IEEE paper that would
> turn babel off, without having to turn it off globally in LyX.
Try this (just a guess) in the preferences dialog instead:
\AtBeginDocument{\usepackage{babel}}
Allan. (ARRae)