]> git.lyx.org Git - lyx.git/blobdiff - src/OutputParams.h
Fix setting Interlingua as GUI language
[lyx.git] / src / OutputParams.h
index f220b5e654d3cf7fa3f61393ec7ae2ead21f4c31..8663c1766ea5cad895eaffd3fb10d71e6d30e32b 100644 (file)
@@ -99,13 +99,13 @@ public:
        */
        bool intitle;
 
-       /** inulemcmd == true means that the environment in which the
+       /** inulemcmd > 0 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;
+       mutable int inulemcmd;
 
        /** the font at the point where the inset is
         */
@@ -113,9 +113,11 @@ public:
 
        /** Document language babel name
         */
-       mutable std::string document_language;
+       std::string document_language;
 
        /** The master language. Non-null only for child documents.
+           Note that this is not the language of the top level master, but
+           of the direct parent for nested includes.
         */
        mutable Language const * master_language;
 
@@ -161,11 +163,11 @@ public:
 
        /** Customized bibtex_command
        */
-       mutable std::string bibtex_command;
+       std::string bibtex_command;
 
        /** Customized index_command
        */
-       mutable std::string index_command;
+       std::string index_command;
 
        /** Line length to use with plaintext or LaTeX export.
        */