// {[(
+#ifndef LYX_PREAMBLE_H
+#define LYX_PREAMBLE_H
+
#include "Author.h"
#include <iosfwd>
///
std::string notefontcolor() const { return h_notefontcolor; }
///
+ std::string use_indices() const { return h_use_indices; }
+ ///
bool indentParagraphs() const;
///
bool isPackageUsed(std::string const & package) const;
void parse(Parser & p, std::string const & forceclass,
TeX2LyXDocClass & tc);
/// Writes the LyX file header from internal data
- bool writeLyXHeader(std::ostream & os);
+ bool writeLyXHeader(std::ostream & os, bool subdoc);
private:
///
std::string h_tocdepth;
std::string h_tracking_changes;
std::string h_use_bibtopic;
+ std::string h_use_indices;
std::string h_use_geometry;
std::string h_use_amsmath;
std::string h_use_default_options;
///
void handle_hyperref(std::vector<std::string> & options);
///
+ void handle_geometry(std::vector<std::string> & options);
+ ///
void handle_package(Parser &p, std::string const & name,
std::string const & opts, bool in_lyx_preamble);
///
} // namespace lyx
+
+#endif