mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26300 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
808dfb6c1f
commit
827f28a1b1
@ -602,8 +602,7 @@ string const LaTeXFeatures::getPackages() const
|
||||
// Some classes load natbib themselves, but still allow (or even require)
|
||||
// plain numeric citations (ReVTeX is such a case, see bug 5182).
|
||||
// This special case is indicated by the "natbib-internal" key.
|
||||
if (mustProvide("natbib")
|
||||
&& !params_.getTextClass().provides("natbib-internal")) {
|
||||
if (mustProvide("natbib") && !tclass.provides("natbib-internal")) {
|
||||
packages << "\\usepackage[";
|
||||
if (params_.citeEngine() == ENGINE_NATBIB_NUMERICAL)
|
||||
packages << "numbers";
|
||||
|
Loading…
Reference in New Issue
Block a user