class Lexer;
class BufferParams;
class Language;
+class OutputParams;
///
to this font. Returns number of chars written. Base is the
font state active now.
*/
- int latexWriteStartChanges(odocstream &, Font const & base,
- Font const & prev) const;
+ int latexWriteStartChanges(odocstream &, BufferParams const & bparams,
+ OutputParams const & runparams,
+ Font const & base,
+ Font const & prev) const;
/** Writes the tail of the LaTeX needed to change to this font.
Returns number of chars written. Base is the font state we want
to achieve.
*/
- int latexWriteEndChanges(odocstream &, Font const & base,
- Font const & next) const;
+ int latexWriteEndChanges(odocstream &, BufferParams const & bparams,
+ OutputParams const & runparams,
+ Font const & base,
+ Font const & next,
+ bool const & closeLanguage = true) const;
/// Build GUI description of font state
/// Updates a misc setting according to request
Font::FONT_MISC_STATE setMisc(Font::FONT_MISC_STATE newfont,
Font::FONT_MISC_STATE org);
+ /// Did latexWriteStartChanges open an encoding environment?
+ mutable bool open_encoding_;
};