On Monday 10 June 2002 9:40 am, R. Lahaye wrote: > Juergen Spitzmueller writes: > > R. Lahaye wrote: > > > Hmmm, if LyX by its own is able to decide whether it needs natbib, then > > > why do we need a manual checkbox for "use natbib"? Why not using natbib > > > automagically when needed? > > > > And how should LyX decide this? > > Don't know, but Angus wrote in > http://www.mail-archive.com/lyx-devel%40lists.lyx.org/msg39253.html : > > "It is intended in that we call InsetCitation::validate to ascertain > whether we need a \usepackage{natbib}." > > So I understood that LyX can determine whether it needs natbib or not. > If indeed so, there's no need to bother the user to select it manually. > > Rob.
Well LyX knows your citations will be in natbib style (the use natbib check button), but won't add a usepackage{natbib} command unless you have a citation. Seems reasonable to me. If you know enough LaTeX to add a \nocite*{} command, then you know enough to add a usepackage{} to your preamble. A