]> git.lyx.org Git - lyx.git/blobdiff - src/OutputParams.h
InsetBibitem.cpp: fix bibitemWidest.
[lyx.git] / src / OutputParams.h
index f0816d6e4eafc9dab5907458a5b31eecaa48d63a..75e6918089ff10a1d3bae1b23d3bebc0e7a9f905 100644 (file)
@@ -32,6 +32,7 @@ public:
        enum FLAVOR {
                LATEX,
                PDFLATEX,
+               XETEX,
                XML
        };
 
@@ -41,6 +42,12 @@ public:
                ALIGNED
        };
 
+       enum Float {
+               NONFLOAT,
+               MAINFLOAT,
+               SUBFLOAT
+       };
+
        OutputParams(Encoding const *);
        ~OutputParams();
 
@@ -68,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;
@@ -104,10 +119,22 @@ public:
        */
        bool use_babel;
 
+       /** Are we generating multiple indices?
+       */
+       bool use_indices;
+
        /** Are we using japanese (pLaTeX)?
        */
        bool use_japanese;
 
+       /** Customized bibtex_command
+       */
+       mutable std::string bibtex_command;
+
+       /** Customized index_command
+       */
+       mutable std::string index_command;
+
        /** Line length to use with plaintext export.
        */
        size_type linelen;
@@ -136,6 +163,11 @@ public:
          */
        TableCell inTableCell;
 
+       /** Whether we are inside a float or subfloat.
+        *  Needed for subfloat detection on the command line.
+        */
+       Float inFloat;
+
        /** Whether we are inside an inset that is logically deleted.
         *  A value > 0 indicates a deleted inset.
          */