*
* \author Angus Leeming
* \author Herbert Voß
- * \author Richard Heck
+ * \author Richard Kimberly Heck
* \author Julien Rioux
*
* Full author contact details are available in file CREDITS.
#include "support/docstring.h"
-#include "BufferParams.h"
-#include "Citation.h"
-
#include <map>
#include <set>
#include <vector>
namespace lyx {
class Buffer;
+class BufferParams;
+class CitationStyle;
+class CiteItem;
+class XMLStream;
/// \param latex_str a LaTeX command, "cite", "Citep*", etc
CitationStyle citationStyleFromString(std::string const & latex_str,
std::string citationStyleToString(CitationStyle const &, bool const latex = false);
/// Transforms the information about authors into a <authorgroup> (directly written to a XMLStream).
-docstring authorsToDocBookAuthorGroup(docstring const & authorsString, XMLStream & xs, Buffer const & buf);
+/// Type: "author" or empty means author of the entry (article, book, etc.); "book" means author of the book
+/// (but not necessarily of this entry in particular).
+void authorsToDocBookAuthorGroup(docstring const & authorsString, XMLStream & xs, Buffer const & buf,
+ std::string type);
/// Class to represent information about a BibTeX or