]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.h
Angus insetindex patch + protect patch from Dekel
[lyx.git] / src / LaTeXFeatures.h
index d3daa6e0e26e207346e070176e6d0d860d3e6f25..cee55913a121baf94785f6acbfc916483df0c751 100644 (file)
@@ -40,21 +40,28 @@ struct LaTeXFeatures {
        string getMacros();
        /// The definitions needed by the document's textclass
        string getTClassPreamble();
+       ///
+       string getIncludedFiles();
 
        ///
        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
        //@{
        ///
+       bool array;
+       ///
        bool color;     // color.sty
-#ifdef USE_GRAPHICX
        ///
        bool graphicx; // graphicx.sty
-#else
        ///
        bool graphics;  // graphics.sty
-#endif
        ///
        bool setspace;  // setspace.sty
        ///
@@ -79,6 +86,12 @@ struct LaTeXFeatures {
        bool floatflt;  // floatflt.sty
        ///
        bool url;       // url.sty
+       ///
+       bool varioref;  // varioref.sty
+       ///
+       bool prettyref; // prettyref.sty
+       ///
+       bool chess;     // chess.sty
        //@}
 
        
@@ -136,6 +149,14 @@ 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: