]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.h
more changes, read the Changelog
[lyx.git] / src / LaTeXFeatures.h
index 64b7c2eac4dc73ab395760ecc797ca392e02b8a0..05736eb9dcf8d4751080d94f885a5f2e502e49cd 100644 (file)
@@ -33,16 +33,24 @@ struct Language;
   in buffer.C and paragraph.C when you do so. */
 struct LaTeXFeatures {
        ///
-       explicit LaTeXFeatures(int n) ;
+       LaTeXFeatures(BufferParams const &, int n) ;
        /// The packaes needed by the document
-       string getPackages(BufferParams const & params);
+       string getPackages();
        /// The macros definitions needed by the document
-       string getMacros(BufferParams const & params);
+       string getMacros();
        /// The definitions needed by the document's textclass
-       string getTClassPreamble(BufferParams const & params);
+       string getTClassPreamble();
+       ///
+       string getIncludedFiles();
 
        ///
-       void showStruct(BufferParams const & params);
+       void showStruct();
+
+       /// Provide a string name-space to the requirements
+       void require(string const & name);
+
+       /// Static preamble bits from the external material insets
+       string externalPreambles;
 
        //@Man: Packages
        //@{
@@ -79,6 +87,12 @@ struct LaTeXFeatures {
        bool floatflt;  // floatflt.sty
        ///
        bool url;       // url.sty
+       ///
+       bool varioref;  // varioref.sty
+       ///
+       bool prettyref; // prettyref.sty
+       ///
+       bool chess;     // chess.sty
        //@}
 
        
@@ -136,7 +150,18 @@ struct LaTeXFeatures {
        typedef std::set<Language const *> LanguageList;
        ///
        LanguageList UsedLanguages;
+       ///
+       typedef std::set<string> FloatList;
+       ///
+       FloatList usedFloats;
+       ///
+       typedef std::map<string , string> FileMap;
+       ///
+       FileMap IncludedFiles;                                                                     
        //@}
+       BufferParams const & bufferParams() const;
+private:
+       BufferParams const & params;
 };
 
 #endif