X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferParams.h;h=d0888406f80f3a95f62ad92d821798d288dce0a9;hb=dae70977a00c23657659682f3b593f04e618e5fd;hp=47c0f2f2cd40c0dfdb58ea5811c3013ea1f37cca;hpb=f946b6ed0bb582d0d8cd2775459ea2c001bfca47;p=lyx.git diff --git a/src/BufferParams.h b/src/BufferParams.h index 47c0f2f2cd..d0888406f8 100644 --- a/src/BufferParams.h +++ b/src/BufferParams.h @@ -36,6 +36,7 @@ class BranchList; class Bullet; class DocumentClass; class Encoding; +class IndicesList; class Language; class LatexFeatures; class LayoutFile; @@ -181,6 +182,12 @@ public: /* some LaTeX options */ /// The graphics driver std::string graphicsDriver; + /// The default output format + std::string defaultOutputFormat; + /// customized bibliography processor + std::string bibtex_command; + /// customized index processor + std::string index_command; /// the rm font std::string fontsRoman; /// the sf font @@ -189,6 +196,8 @@ public: std::string fontsTypewriter; /// the default family (rm, sf, tt) std::string fontsDefaultFamily; + /// use the XeTeX processor + bool useXetex; /// use expert Small Caps bool fontsSC; /// use Old Style Figures @@ -211,6 +220,9 @@ public: /// 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 @@ -250,6 +262,8 @@ public: 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; @@ -272,8 +286,10 @@ public: Package use_amsmath; /// Whether and how to load esint Package use_esint; - /// + /// 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 @@ -313,11 +329,14 @@ public: /// handle inputenc etc. void writeEncodingPreamble(odocstream & os, LaTeXFeatures & features, TexRow & texrow) const; + /// + std::string const parseFontName(std::string const & name) const; /// set up the document fonts std::string const loadFonts(std::string const & rm, std::string const & sf, std::string const & tt, bool const & sc, bool const & osf, - int const & sfscale, int const & ttscale) const; + int const & sfscale, int const & ttscale, + bool const & xetex) const; /// get the appropriate cite engine (natbib handling) CiteEngine citeEngine() const;