Richard Heck wrote: >> The only other thing I've come up with is to manually erase >> \usepackage{natbib} from the LaTeX file, but I hope there's a way form >> inside LyX. > I think that's probably the best you're going to do at the moment.
A *very* dirty solution for now would be to place an empty file "natbib.sty" in your HOMETEXMF folder, that overloads natbib. This would of course disable proper natbib support completely. > I wonder if it'd be worth allowing for other citation styles somehow in > that dialog, though, even ones that could be configured by the user. Martin Vermeer just committed something to LyX 1.4.5svn that will allow you to declare ProvidesNatbib 1 in the layout file, which in turn enables the natbib citation styles in the citation dialog and outputs all the \citet etc. commands, but does not print \usepackage{natbib} to the preamble. This is intended for classes that load natbib by themselves, but it also can be (mis)used to use other citation packages than natbib or jurabib, for that matter. Personally, I'm using this as a workaround to get the excellent (though still beta) biblatex package to work with LyX (by redefining \citet et al. in biblatex). However, a sane approach would be to let the user define proper citation styles that appear in the dialog. This is certainly more tricky to implement, but I think it might be worth an enhancement request on bugzilla. Jürgen