>>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes:
Martin> The attached patches make both these mechanisms respond to the Martin> ProvidesNatbib textclass flag. I am not sure I did this right Martin> -- I am especially uncertain about the handling of the numeric Martin> vs. author-year thing. Shouldn't this also be in the .layout Martin> file if the class is loading natbib? CiteEngine_enum getEngine(Buffer const & buffer) { - return buffer.params().cite_engine; + BufferParams const & p = buffer.params(); + if (p.getLyXTextClass().provides(LyXTextClass::natbib)) { + if (p.cite_engine == biblio::ENGINE_NATBIB_NUMERICAL) + return ENGINE_NATBIB_NUMERICAL; + else + return ENGINE_NATBIB_AUTHORYEAR; + } else + return p.cite_engine; } What is the logic here? Martin> I suppose that if this solution is acceptable, it should go Martin> into 1.4 also. So Manuel will get it in time for the April EGS Martin> meeting in Vienna :-) Yes, probably. JMarc