Allan Rae wrote:
>>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}}
this is the default by babel itself. we had a long diskuccion about babel
and the only thing you can do is the one with the preferences.
but you're right, this is not the best way.
Herbert
--
http://www.lyx.org/help/