// {[(
-#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
std::string const & opts, bool in_lyx_preamble);
///
void handle_if(Parser & p, bool in_lyx_preamble);
+
+ AuthorList authors_;
};
} // namespace lyx
+
+#endif