Skip to content

Commit

Permalink
Merge branch 'citation-style-language:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
maehr authored Feb 26, 2024
2 parents ba1f5ae + 1bb9097 commit 5bc5921
Show file tree
Hide file tree
Showing 2 changed files with 1,457 additions and 18 deletions.
42 changes: 24 additions & 18 deletions frontiers.csl
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,17 @@
<category citation-format="author-date"/>
<category field="generic-base"/>
<summary>Style for the Open Access Frontiers in ... Journals</summary>
<updated>2024-02-01T09:56:22+00:00</updated>
<updated>2024-02-20T20:07:43+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<locale xml:lang="en">
<terms>
<term name="edition" form="short">edn</term>
</terms>
</locale>
<macro name="editor">
<names variable="editor" delimiter=", ">
<label form="short" prefix=", "/>
<label form="short"/>
<name and="text" initialize-with=". " delimiter=", " prefix=" "/>
</names>
</macro>
Expand Down Expand Up @@ -102,11 +107,11 @@
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
<text term="edition" form="short" text-case="capitalize-first"/>
</group>
</if>
<else>
<text variable="edition" suffix="."/>
<text variable="edition"/>
</else>
</choose>
</macro>
Expand Down Expand Up @@ -138,26 +143,27 @@
<text macro="year-date" prefix="(" suffix=")."/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song thesis" match="any">
<group delimiter=" ">
<text macro="title"/>
<text macro="edition"/>
<text macro="editor"/>
<group delimiter=". ">
<group delimiter=", ">
<text macro="title"/>
<text macro="edition"/>
<text macro="editor"/>
</group>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=" ">
<group delimiter=", ">
<text macro="title"/>
<text term="in"/>
<text variable="container-title" font-style="italic"/>
<text variable="collection-title" suffix="."/>
</group>
<text macro="editor"/>
<group suffix=".">
<text macro="publisher" prefix=" (" suffix=")"/>
<group prefix=", ">
<text variable="page"/>
<group delimiter=" ">
<text term="in"/>
<text variable="container-title" font-style="italic"/>
</group>
<group delimiter=" ">
<text macro="editor"/>
<text macro="publisher" prefix="(" suffix=")"/>
</group>
<text variable="page"/>
</group>
</else-if>
<else>
Expand Down
Loading

0 comments on commit 5bc5921

Please sign in to comment.