On Tuesday 23 April 2002 9:16 am, Jean-Marc Lasgouttes wrote: > >>>>> "Mike" == Mike Ressler <[EMAIL PROTECTED]> writes: > > Mike> I've carried through on my threat and created a ProvidesNatbib > Mike> layout keyword. It's attached as diff_natbib (diff -ru format). > Mike> I've also attached the updated AASTeX stuff as diff_aastex. Only > Mike> if the natbib patch is accepted should the aastex patch be > Mike> applied. The changes are trivial, but get done what I need. > > It seems to be exactly what needs to be done. > > Mike> There is one thing I'd like to do, but haven't figured out how: > Mike> the patch currently does not turn on the GUI natbib support > Mike> automatically; you still need to click the radio button. Is > Mike> there some way to tell the GUI to turn on without clicking > Mike> anything else? > > Hmm, yes, I forgot about that. How does the amsmath code work?
Dunno, but the variable you're looking for is in bufferparams.h, BufferParams::use_natbib Angus > Mike> The Changelog entry, which I didn't apply, should look like > Mike> LaTeXFeatures.C, lyxtextclass.C lyxtextclass.h: Add layout > Mike> keyword ProvidesNatbib. Do not add \usepackage{natbib} to tex > Mike> file if natbib is provided by the LaTeX class. > > Please provide this changelog entry. It helps. Also, Customization.lyx > should be updated (although I am not sure that the other ProvidesXXX > are there). > > JMarc