- /// the return value is dependent upon both LyXRC and LaTeXFeatures.
- bool useBabel() const;
- ///
- bool nice() const { return nice_; };
+ /** Which language package do we require? \p englishbabel determines
+ * if we require babel even if English is the only language.
+ */
+ LangPackage langPackage() const;
+ /// Convenience function to test if we use babel
+ bool useBabel() const { return langPackage() == LANG_PACK_BABEL; }
+ /// Convenience function to test if we use polyglossia
+ bool usePolyglossia() const { return langPackage() == LANG_PACK_POLYGLOSSIA; }
+ /// are we in a float?
+ bool inFloat() const { return in_float_; }
+ /// are we in a float?
+ void inFloat(bool const b) { in_float_ = b; }
+ /// Runparams that will be used for exporting this file.
+ OutputParams const & runparams() const { return runparams_; }
+ /// Resolve alternatives like "esint|amsmath|wasysym"
+ void resolveAlternatives();
+ ///
+ void setHTMLTitle(docstring const & t) { htmltitle_ = t; }
+ ///
+ docstring const & htmlTitle() const { return htmltitle_; }