= Document title
Author Name
:my-attribute: value
// ...
and
The author line is ignored by Metanorma, but needs to be present for Asciidoctor to process document attributes correctly.
However Asciidoctor manual states that
The document header is a special set of contiguous lines at the start of the document that encapsulates the document title, author and revision information, and document-wide attributes (either built-in or user-defined).
The header typically begins with a document title, though this element is optional. If a document title is specified, it may be immediately followed by two optional lines of text to set the author and revision information. Finally, the header may declare document-wide attributes (built-in or user-defined) using attribute entries.
It doesn't seem to be actually required by Asciidoctor!
Based on https://www.metanorma.com/author/topics/document-format/meta-attributes/ we must have headers such as
and
However Asciidoctor manual states that
It doesn't seem to be actually required by Asciidoctor!
Here's the details of how Asciidoctor handles single and multiple authors: https://asciidoctor.org/docs/user-manual/#author-and-email
We have two options to handle multiple authors: either
or
The latter is obviously cleaner (and it's equivalent to what the former is doing under the hood w/ some regexps).
Note that the variable
authorcount
exists (and is automatically set).