]> git.lyx.org Git - lyx.git/blobdiff - src/OutputParams.h
* disable some invalid insets in description items (covers bug 5937).
[lyx.git] / src / OutputParams.h
index cc0f01548eb6da3848f7bc760a650f461674c36f..9ead2167f7a475a8805ddecd9b03bbaf2a537de6 100644 (file)
@@ -75,6 +75,14 @@ public:
        */
        bool intitle;
 
+       /** inulemcmd == true means that the environment in which the
+           inset is typeset is part of a ulem command (\uline, \uuline,
+           \uwave, or \sout). Insets that output latex commands relying
+           on local assignments (such as \cite) should enclose such
+           commands in \mbox{} in order to avoid breakage.
+       */
+       mutable bool inulemcmd;
+
        /** the font at the point where the inset is
         */
        Font const * local_font;
@@ -111,6 +119,10 @@ public:
        */
        bool use_babel;
 
+       /** Are we generating multiple indices?
+       */
+       bool use_indices;
+
        /** Are we using japanese (pLaTeX)?
        */
        bool use_japanese;