Skip to content

Commit

Permalink
CSL author macro: substitute editor/venue
Browse files Browse the repository at this point in the history
Merges manubot/rootstock#219

Ensures there is a newline between the title and venue,
when authors are missing.
Closes manubot/rootstock#218
Supersedes manubot/rootstock#158

Substitutes editors for authors when authors are missing.
Editors are labeled like "Sönke Bartling, Sascha Friesike (editors)".
  • Loading branch information
dhimmel committed May 14, 2019
1 parent 1eb6da8 commit 5da1d32
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/assets/style.csl
Expand Up @@ -16,6 +16,11 @@
<macro name="author">
<names variable="author">
<name initialize="false" initialize-with="" et-al-min="12" et-al-use-first="10" et-al-use-last="true"/>
<label form="long" prefix=" (" suffix=")"/>
<substitute>
<names variable="editor"/>
<text macro="venue"/>
</substitute>
</names>
</macro>
<macro name="venue">
Expand Down

0 comments on commit 5da1d32

Please sign in to comment.