X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLaTeXFeatures.h;h=f8cc2e63aec019b3ac1f1e7473d1e1e6557de43c;hb=797d87b4513088a66b17c7ac653b84e36ea80458;hp=cee55913a121baf94785f6acbfc916483df0c751;hpb=612a097878de07556b76f7445a5564320987ff97;p=features.git diff --git a/src/LaTeXFeatures.h b/src/LaTeXFeatures.h index cee55913a1..f8cc2e63ae 100644 --- a/src/LaTeXFeatures.h +++ b/src/LaTeXFeatures.h @@ -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,8 +53,6 @@ struct LaTeXFeatures { /// Static preamble bits from the external material insets string externalPreambles; - //@Man: Packages - //@{ /// bool array; /// @@ -92,11 +91,7 @@ struct LaTeXFeatures { bool prettyref; // prettyref.sty /// bool chess; // chess.sty - //@} - - //@Man: Commands - //@{ /// bool lyx; /// @@ -105,10 +100,7 @@ struct LaTeXFeatures { bool noun; /// \lyxarrow bool lyxarrow; - //@} - - //@Man: Quotes - //@{ + /// bool quotesinglbase; /// @@ -121,25 +113,17 @@ struct LaTeXFeatures { bool guillemotleft; /// bool guillemotright; - //@} - - //@Man: Math mode - //@{ + /// bool amsstyle; /// bool boldsymbol; /// bool binom; - //@} - //@Man: Layouts - //@{ std::vector layout; - //@} - - //@Man: Special features - //@{ + + /// bool LyXParagraphIndent; /// bool NeedLyXFootnoteCode; @@ -157,9 +141,10 @@ struct LaTeXFeatures { typedef std::map FileMap; /// FileMap IncludedFiles; - //@} + /// BufferParams const & bufferParams() const; private: + /// BufferParams const & params; };