]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.h
cleanup error messages
[lyx.git] / src / BufferParams.h
index 0be946c37f42ee1a0c6d4eec607256b06e0e983d..87b8713c2aa88ca09b37788005ef99b7864acb92 100644 (file)
@@ -157,7 +157,7 @@ public:
        /// returns the main font for the buffer (document)
        Font const getFont() const;
 
-       /* this are for the PaperLayout */
+       /* these are for the PaperLayout */
        /// the papersize
        PAPER_SIZE papersize;
        ///
@@ -194,6 +194,8 @@ public:
        std::string bibtex_command;
        /// customized index processor
        std::string index_command;
+       /// font encoding
+       std::string fontenc;
        /// the rm font
        std::string fontsRoman;
        /// the sf font
@@ -294,6 +296,8 @@ public:
        Package use_amsmath;
        /// Whether and how to load esint
        Package use_esint;
+       /// Whether and how to load mhchem
+       Package use_mhchem;
        /// Split bibliography?
        bool use_bibtopic;
        /// Split the index?
@@ -314,6 +318,8 @@ public:
 
        /// map of the file's author IDs to AuthorList indexes
        std::map<unsigned int, int> author_map;
+       /// the buffer's font encoding
+       std::string const font_encoding() const;
        ///
        std::string const dvips_options() const;
        /** The return value of paperSizeName() depends on the