/// need not be done if we know this isn't the final time through, or if
/// the BufferParams do not represent the parameters for an actual buffer
/// (as in GuiDocument).
- bool addLayoutModule(std::string modName);
+ bool addLayoutModule(std::string const & modName);
/// Clear the list
void clearLayoutModules();
std::vector<unsigned int> author_map;
///
std::string const dvips_options() const;
+ /** The return value of paperSizeName() depends on the
+ * purpose for which the paper size is needed, since they
+ * support different subsets of paper sizes.
+ */
+ enum Papersize_Purpose {
+ ///
+ DVIPS,
+ ///
+ DVIPDFM,
+ ///
+ XDVI
+ };
///
- std::string const paperSizeName() const;
+ std::string const paperSizeName(Papersize_Purpose const & purpose) const;
/// set up if and how babel is called
std::string const babelCall(std::string const & lang_opts) const;
/// handle inputenc etc.