#include "support/copied_ptr.h"
#include <list>
+#include <map>
#include <vector>
namespace lyx {
class Bullet;
class DocumentClass;
class Encoding;
+class HSpace;
+class IndicesList;
class Language;
class LatexFeatures;
class LayoutFile;
///
bool hasClassDefaults() const;
+ ///
+ HSpace const & getIndentation() const;
+ ///
+ void setIndentation(HSpace const & indent);
///
VSpace const & getDefSkip() const;
///
/// 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;
///
std::string graphicsDriver;
/// The default output format
std::string defaultOutputFormat;
+ /// customized bibliography processor
+ 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
/// BranchList:
BranchList & branchlist();
BranchList const & branchlist() const;
+ /// IndicesList:
+ IndicesList & indiceslist();
+ IndicesList const & indiceslist() const;
/**
* The input encoding for LaTeX. This can be one of
* - \c auto: find out the input encoding from the used languages
///
std::string master;
///
+ bool suppress_date;
+ ///
std::string float_placement;
///
unsigned int columns;
PageSides sides;
///
std::string pagestyle;
+ ///
+ RGBColor backgroundcolor;
/// \param index should lie in the range 0 <= \c index <= 3.
Bullet & temp_bullet(size_type index);
Bullet const & temp_bullet(size_type index) const;
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?
+ bool use_indices;
/// revision tracking for this buffer ?
bool trackChanges;
/** This param decides whether change tracking marks should be used
AuthorList & authors();
AuthorList const & authors() const;
- /// map of the file's author IDs to buffer author IDs
- std::vector<unsigned int> author_map;
+ /// 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
PDFOptions & pdfoptions();
PDFOptions const & pdfoptions() const;
+ /// whether to use MathML for math output, or instead images
+ bool html_use_mathml;
+ /// whether to attempt to be XHTML 1.1 compliant or instead be
+ /// a little more mellow
+ bool html_be_strict;
+
private:
///
void readPreamble(Lexer &);