std::string const getPackages() const;
/// The macros definitions needed by the document
docstring const getMacros() const;
- ///
- std::string const getBabelOptions() const;
+ /// Extra preamble code before babel is called
+ std::string const getBabelPresettings() const;
+ /// Extra preamble code after babel is called
+ std::string const getBabelPostsettings() const;
+ /// Do we need to pass the languages to babel directly?
+ bool needBabelLangOptions() const;
/// The definitions needed by the document's textclass
docstring const getTClassPreamble() const;
/// The language dependent definitions needed by the document's textclass
void showStruct() const;
///
void addPreambleSnippet(std::string const &);
+ ///
+ std::string getPreambleSnippets() const;
/// Add a feature name requirements
void require(std::string const & name);
/// Add a set of feature names requirements
void inFloat(bool const b) { in_float_ = b; }
/// Runparams that will be used for exporting this file.
OutputParams const & runparams() const { return runparams_; }
+ ///
+ void setHTMLTitle(docstring const & t) { htmltitle_ = t; }
+ ///
+ docstring const & htmlTitle() const { return htmltitle_; }
private:
///
typedef std::set<std::string> Features;
///
Features features_;
- /// Static preamble bits from the external material insets
+ /// Static preamble bits, from external templates, or anywhere else
typedef std::list<std::string> SnippetList;
///
SnippetList preamble_snippets_;
OutputParams const & runparams_;
///
bool in_float_;
+ ///
+ docstring htmltitle_;
};