mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +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)
|
// Some classes load natbib themselves, but still allow (or even require)
|
||||||
// plain numeric citations (ReVTeX is such a case, see bug 5182).
|
// plain numeric citations (ReVTeX is such a case, see bug 5182).
|
||||||
// This special case is indicated by the "natbib-internal" key.
|
// This special case is indicated by the "natbib-internal" key.
|
||||||
if (mustProvide("natbib")
|
if (mustProvide("natbib") && !tclass.provides("natbib-internal")) {
|
||||||
&& !params_.getTextClass().provides("natbib-internal")) {
|
|
||||||
packages << "\\usepackage[";
|
packages << "\\usepackage[";
|
||||||
if (params_.citeEngine() == ENGINE_NATBIB_NUMERICAL)
|
if (params_.citeEngine() == ENGINE_NATBIB_NUMERICAL)
|
||||||
packages << "numbers";
|
packages << "numbers";
|
||||||
|
Loading…
Reference in New Issue
Block a user