]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.h
small changes to ButtonController usage
[lyx.git] / src / LaTeXFeatures.h
index 1446ebe64a55c39a0e08ad3c96b3406ebbb17cf9..f8cc2e63aec019b3ac1f1e7473d1e1e6557de43c 100644 (file)
@@ -27,10 +27,11 @@ class LyXTextClass;
 struct Language;
 
 /** The packages and commands that a buffer needs. This struct
-  contains an entry for each of the latex packages and
-  commands that a buffer might need. This struct is supposed to be
-  extended as the need arises. Remember to update the validate function
-  in buffer.C and paragraph.C when you do so. */
+    contains an entry for each of the latex packages and
+    commands that a buffer might need. This struct is supposed to be
+    extended as the need arises. Remember to update the validate function
+    in buffer.C and paragraph.C when you do so.
+*/
 struct LaTeXFeatures {
        ///
        LaTeXFeatures(BufferParams const &, int n) ;
@@ -52,17 +53,14 @@ struct LaTeXFeatures {
        /// 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
        ///
@@ -93,11 +91,7 @@ struct LaTeXFeatures {
        bool prettyref; // prettyref.sty
        ///
        bool chess;     // chess.sty
-       //@}
 
-       
-       //@Man: Commands
-       //@{
        ///
        bool lyx;
        ///
@@ -106,10 +100,7 @@ struct LaTeXFeatures {
        bool noun;
        /// \lyxarrow
        bool lyxarrow;
-       //@}
-       
-       //@Man: Quotes
-       //@{
+
        ///
        bool quotesinglbase;
        ///
@@ -122,25 +113,17 @@ struct LaTeXFeatures {
        bool guillemotleft;
        ///
        bool guillemotright;
-       //@}
-       
-       //@Man: Math mode
-       //@{
+
        ///
        bool amsstyle;
        ///
        bool boldsymbol;
        ///
        bool binom;
-       //@}
        
-       //@Man: Layouts
-       //@{
        std::vector<bool> layout;
-       //@}
-       
-       //@Man: Special features
-       //@{
+
+       ///
        bool LyXParagraphIndent;
        ///
        bool NeedLyXFootnoteCode;
@@ -155,12 +138,13 @@ struct LaTeXFeatures {
        ///
        FloatList usedFloats;
        ///
-       typedef map<string , string> FileMap;
+       typedef std::map<string , string> FileMap;
+       ///
+       FileMap IncludedFiles;
        ///
-       FileMap IncludedFiles;                                                                     
-       //@}
        BufferParams const & bufferParams() const;
 private:
+       ///
        BufferParams const & params;
 };