]> git.lyx.org Git - features.git/blobdiff - src/tex2lyx/Preamble.h
Fix misparsing of \textgreek without polyglossia
[features.git] / src / tex2lyx / Preamble.h
index a0e5198d73682c659b5e21ca91d9573475ec9834..ae5886e08e854c7b92fb3b6d38f46c79c7c5e72a 100644 (file)
@@ -53,6 +53,8 @@ public:
        /// The language of text which is not explicitly marked
        std::string defaultLanguage() const  { return default_language; }
        ///
+       bool usePolyglossia() const;
+       ///
        std::string use_indices() const { return h_use_indices; }
        ///
        std::string polyglossia2lyx(std::string const & language);
@@ -130,7 +132,7 @@ private:
        std::string h_font_sans;
        std::string h_font_typewriter;
        std::string h_font_default_family;
-       std::string h_use_non_tex_fonts;
+       bool h_use_non_tex_fonts;
        std::string h_font_sc;
        std::string h_font_osf;
        std::string h_font_sf_scale;