]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.h
Remove unused font variable which caused a warning.
[lyx.git] / src / LaTeXFeatures.h
index 5e6ff72c565b86a48e8ad858d4cbd22b4d16b195..fa1dbc33b76bf936dfd29d3ff568c72544655def 100644 (file)
@@ -5,7 +5,7 @@
 *           LyX, The Document Processor
 *        
 *           Copyright 1995 Matthias Ettrich
-*           Copyright 1995-2000 the LyX Team.
+*           Copyright 1995-2001 the LyX Team.
 *
 * ====================================================== */
 
@@ -21,9 +21,9 @@
 #include <set>
 
 #include "LString.h"
+#include "layout.h"
 
 class BufferParams; 
-class LyXTextClass;
 struct Language;
 
 /** The packages and commands that a buffer needs. This struct
@@ -34,18 +34,20 @@ struct Language;
 */
 struct LaTeXFeatures {
        ///
-       LaTeXFeatures(BufferParams const &, int n) ;
+       LaTeXFeatures(BufferParams const &, LyXTextClass::size_type n) ;
        /// The packaes needed by the document
-       string const getPackages();
+       string const getPackages() const;
        /// The macros definitions needed by the document
-       string const getMacros();
+       string const getMacros() const;
        /// The definitions needed by the document's textclass
-       string const getTClassPreamble();
+       string const getTClassPreamble() const;
        ///
-       string const getIncludedFiles();
+       string const getIncludedFiles(string const & fname) const;
+       ///
+       void getFloatDefinitions(std::ostream & os) const;
 
        ///
-       void showStruct();
+       void showStruct() const;
 
        /// Provide a string name-space to the requirements
        void require(string const & name);
@@ -70,7 +72,7 @@ struct LaTeXFeatures {
        ///
        bool longtable; // longtable.sty
        ///
-       bool algorithm; // algorithm.sty
+       //bool algorithm; // algorithm.sty
        ///
        bool rotating;  // rotating.sty
        ///
@@ -91,6 +93,8 @@ struct LaTeXFeatures {
        bool prettyref; // prettyref.sty
        ///
        bool chess;     // chess.sty
+       ///
+       bool natbib;    // natbib.sty
 
        ///
        bool lyx;
@@ -124,7 +128,7 @@ struct LaTeXFeatures {
        std::vector<bool> layout;
 
        ///
-       bool LyXParagraphIndent;
+       bool ParagraphIndent;
        ///
        bool NeedLyXFootnoteCode;
        ///
@@ -134,9 +138,9 @@ struct LaTeXFeatures {
        ///
        LanguageList UsedLanguages;
        ///
-       typedef std::set<string> FloatList;
+       typedef std::set<string> UsedFloats;
        ///
-       FloatList usedFloats;
+       UsedFloats usedFloats;
        ///
        typedef std::map<string , string> FileMap;
        ///