#include <set>
#include <list>
#include <map>
+#include <string>
class Buffer;
class BufferParams;
class LaTeXFeatures {
public:
///
- LaTeXFeatures(Buffer const &, BufferParams const &);
+ LaTeXFeatures(Buffer const &, BufferParams const &, bool);
/// The packages needed by the document
std::string const getPackages() const;
/// The macros definitions needed by the document
BufferParams const & bufferParams() const;
/// the return value is dependent upon both LyXRC and LaTeXFeatures.
bool useBabel() const;
+ ///
+ bool nice() const { return nice_; };
private:
std::list<std::string> usedLayouts_;
Buffer const & buffer_;
///
BufferParams const & params_;
+ /** If we are writing a nice LaTeX file or not.
+ * Only needed by InsetInclude::validate().
+ */
+ bool nice_;
};
#endif