]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.C
This is the ParagraphIndent stuff compatibility. All of it only the GUI for
[lyx.git] / src / LaTeXFeatures.C
index 418f0b00ee93a359ede077a80459333ad325c2a9..8af355106ca04121f04098f32de5b3189c6a0087 100644 (file)
@@ -245,7 +245,7 @@ string const LaTeXFeatures::getPackages() const
 
        // float.sty
        // natbib.sty
-       if (isRequired("natbib")) {
+       if (isRequired("natbib") && ! tclass.provides(LyXTextClass::natbib)) {
                packages << "\\usepackage[";
                if (params.use_numerical_citations) {
                        packages << "numbers";
@@ -303,8 +303,8 @@ string const LaTeXFeatures::getMacros() const
        // other
        if (isRequired("NeedLyXMinipageIndent"))
                macros << minipageindent_def;
-       if (isRequired("ParagraphIndent"))
-               macros << paragraphindent_def;
+       if (isRequired("ParagraphLeftIndent"))
+               macros << paragraphleftindent_def;
        if (isRequired("NeedLyXFootnoteCode"))
                macros << floatingfootnote_def;