// {[(
-#include <config.h>
+#ifndef LYX_PREAMBLE_H
+#define LYX_PREAMBLE_H
+
+#include "Author.h"
#include <iosfwd>
#include <sstream>
void addModule(std::string const & module);
///
void suppressDate(bool suppress);
+ /// Register an author named \p name in the author list
+ void registerAuthor(std::string const & name);
+ /// Get author named \p name (must be registered first)
+ Author const & getAuthor(std::string const & name) const;
/// Parses the LaTeX preamble into internal data
///
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);
///
void handle_if(Parser & p, bool in_lyx_preamble);
+
+ AuthorList authors_;
};
} // namespace lyx
+
+#endif