Authors & Affiliations
Overview
An important goal for Quarto is to make it possible to use the same source document to produce multiple output formats. One significant challenge to overcome is defining a consistent way to express author and affiliation metadata such that articles targeting multiple Journals do not require special tweaking of authors and affiliations for each publication.
Quarto’s answer to this challenge is two-fold:
Parse a variety of expressions of authors and affiliations into a standard schema.
Provide de-normalized views of authors together with affiliations such that it is straightforward for template authors to create the LaTeX required by Journals.
Below we’ll explore these facilities in more detail from the standpoint of template authors. To learn more about these facilities from the perspective of article writers, see Authors & Affiliations.
Note that while there is a great deal of variety afforded in how authors and affiliations are specified, for a given Journal template.qmd you will likely have a preferred approach, and it’s good form to seed the template with an example of this approach.
Affiliations Schema
The complete, normalized affiliations schema is defined as:
affiliations:
  - id: string
    number: number
    name: string
    department: string
    group: string
    address: string
    city: string
    region: string
    country: string
    postal-code: string
    url: stringParsing Notes
You may specify either state or region- either will be normalized into the region key.
If you specify only a string for an affiliation, it will be used as the name of affiliation.
You may omit an id and the id will be automatically generated (a simple counter based id will be used).
The url field may also be populated by an
affiliation-urlkey in the author, which preserves compatibility with Distill metadata for authors and affiliations.
Combinations
To combine the above schemas, users may specify author and affiliations in a number of different ways. Each will be normalized into the standard schema described above.
Inline Affiliations
You may write affiliations as simple string or complex affiliations inline. For example:
author:
  - name: Norah Jones
    affiliations:
      - Carnegie Mellon University
      - University of Chicagoor
author:
  - name: Norah Jones
    affiliations:
      - name: Carnegie Mellon University
        city: Pittsburgh
        state: PA
      - name: University of Chicago
        city: Chicago
        state: ILReference Affiliations
You may write out the affiliations into a separate key and only reference the affiliation in the author. For example:
author:
  - name: Norah Jones
    affiliations:
      - ref: cmu
      - ref: chicago
affiliations:
  - id: cmu
    name: Carnegie Mellon University
    city: Pittsburgh
    state: PA
  - id: chicago
    name: University of Chicago
    city: Chicago
    state: ILInline References
You may also assign ids to affiliations created in the author key and use those ids as references in other authors. For example:
author:
  - name: Norah Jones
    affiliations:
      - id: cmu
        name: Carnegie Mellon University
        city: Pittsburgh
        state: PA
      - id: chicago
        name: University of Chicago
        city: Chicago
        state: IL
  - name: John Hamm
    affiliations:
      - ref: cmu
      - name: University of California, San Diego
        city: San Diego
        state: CA