Skip to content

Commit

Permalink
Create annual-review-of-linguistics (#5992)
Browse files Browse the repository at this point in the history
* Create annual-review-of-linguistics

Based on https://github.com/citation-style-language/styles/blob/master/annual-reviews-author-date.csl, with fixes for Ann Rev Linguistics. Validated 28 March 2022.

* Add file extension
  • Loading branch information
Dan Villarreal authored Apr 19, 2022
1 parent 0fb9c40 commit 80a9506
Showing 1 changed file with 399 additions and 0 deletions.
399 changes: 399 additions & 0 deletions annual-review-of-linguistics.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,399 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" page-range-format="chicago" demote-non-dropping-particle="never" default-locale="en-US">
<!-- This style was edited with the Visual CSL Editor (https://editor.citationstyles.org/visualEditor/) -->
<info>
<title>Annual Review of Linguistics</title>
<id>http://www.zotero.org/styles/annual-review-of-linguistics</id>
<link href="http://www.zotero.org/styles/annual-review-of-linguistics" rel="self"/>
<link href="http://www.zotero.org/styles/annual-reviews-alphabetical" rel="template"/>
<link href="http://www.annualreviews.org/page/authors/author-instructions/preparing/handbooks" rel="documentation"/>
<author>
<name>Michael Berkowitz</name>
<email>[email protected]</email>
</author>
<contributor>
<name>Julian Onions</name>
<email>[email protected]</email>
</contributor>
<contributor>
<name>Rintze Zelle</name>
<uri>http://twitter.com/rintzezelle</uri>
</contributor>
<contributor>
<name>Sebastian Karcher</name>
</contributor>
<contributor>
<name>Aurimas Vinckevicius</name>
<email>[email protected]</email>
</contributor>
<contributor>
<name>Brenton Wiernik</name>
<email>[email protected]</email>
</contributor>
<contributor>
<name>Dan Villarreal</name>
<email>[email protected]</email>
</contributor>
<category citation-format="author-date"/>
<category field="generic-base"/>
<updated>2022-03-28T19:39:51+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="editor" form="short">
<single>ed</single>
<multiple>eds</multiple>
</term>
<term name="month-03" form="short">March</term>
<term name="month-04" form="short">April</term>
<term name="month-05" form="short">May</term>
<term name="month-06" form="short">June</term>
<term name="month-07" form="short">July</term>
</terms>
</locale>
<macro name="author">
<names variable="author">
<name et-al-min="6" initialize-with="" name-as-sort-order="all" sort-separator=" "/>
<label form="short" prefix=", "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" delimiter=", " and="symbol" delimiter-precedes-last="never"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="author-last-names">
<names variable="author">
<name form="short"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor">
<label form="short" suffix=". " plural="contextual"/>
<name initialize-with="" delimiter=", "/>
</names>
</macro>
<macro name="year-date">
<date variable="issued">
<date-part name="year"/>
</date>
</macro>
<macro name="date-original">
<group delimiter=" ">
<date variable="issued">
<date-part name="year"/>
</date>
<date variable="original-date" prefix="(" suffix=")">
<date-part name="year"/>
</date>
</group>
</macro>
<macro name="date-m-d">
<date variable="issued" delimiter=" ">
<date-part name="month" form="short"/>
<date-part name="day"/>
</date>
</macro>
<macro name="title">
<choose>
<if type="bill graphic legal_case legislation motion_picture song thesis webpage manuscript" match="any">
<text variable="title" font-style="italic"/>
</if>
<else-if type="book" match="any">
<group delimiter=", ">
<text variable="title" font-style="italic" text-case="title"/>
<group>
<label variable="volume" form="short" suffix=" " text-case="capitalize-first"/>
<text variable="volume" text-case="title"/>
</group>
</group>
</else-if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="container-title">
<choose>
<if type="paper-conference" match="any">
<text variable="event" text-case="title" font-style="italic" prefix="Presented to "/>
</if>
<else-if type="chapter" match="any">
<text term="in" text-case="capitalize-first" suffix=" "/>
<group delimiter=", ">
<text variable="container-title" text-case="title" font-style="italic"/>
<group>
<label variable="volume" form="short" suffix=" " text-case="capitalize-first"/>
<text variable="volume" text-case="title"/>
</group>
</group>
</else-if>
<else-if type="article-newspaper article-magazine article-journal" match="any">
<text variable="container-title" form="short" font-style="italic"/>
</else-if>
<else-if type="report">
<text variable="collection-title" font-style="italic" form="short"/>
</else-if>
</choose>
</macro>
<macro name="publisher">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
</macro>
<macro name="locator">
<choose>
<if type="article-journal" match="any">
<group prefix=". ">
<group suffix=":">
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<group delimiter=". ">
<text variable="page"/>
<text macro="status"/>
</group>
</group>
</if>
<else-if type="paper-conference" match="any">
<choose>
<if variable="volume">
<group prefix=". ">
<group suffix=":">
<text variable="volume"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<choose>
<if variable="page" match="any">
<group delimiter=". ">
<text variable="page"/>
<text macro="status"/>
</group>
</if>
<else>
<text variable="URL" prefix=". "/>
</else>
</choose>
</group>
</if>
<else>
<choose>
<if is-numeric="page" match="all">
<group prefix=", ">
<label variable="page" form="short" suffix=" "/>
<text variable="page"/>
</group>
</if>
<else>
<text variable="page" prefix=". "/>
</else>
</choose>
</else>
</choose>
</else-if>
<else-if type="chapter" match="any">
<group prefix=", ">
<label variable="page" form="short" suffix=" "/>
<text variable="page"/>
</group>
</else-if>
<else-if type="article-magazine article-newspaper" match="any">
<group delimiter=", ">
<text macro="date-m-d"/>
<choose>
<if variable="page" match="any">
<choose>
<if is-numeric="page" match="all">
<group prefix=", ">
<label variable="page" form="short" suffix=" "/>
<text variable="page"/>
</group>
</if>
<else>
<text variable="page" prefix=". "/>
</else>
</choose>
</if>
<else>
<text variable="URL" prefix=". "/>
</else>
</choose>
</group>
</else-if>
<else>
<text variable="page"/>
</else>
</choose>
</macro>
<macro name="container">
<choose>
<if type="book" match="any">
<group delimiter=". ">
<text macro="publisher"/>
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<label variable="edition" form="short"/>
</group>
<text macro="status"/>
</group>
</if>
<else-if type="chapter" match="any">
<group delimiter=". ">
<group>
<text macro="container-title"/>
<text macro="editor" prefix=", "/>
<text macro="locator"/>
</group>
<text macro="publisher"/>
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<label variable="edition" form="short"/>
</group>
<text macro="status"/>
</group>
</else-if>
<else-if type="article-journal" match="any">
<text macro="container-title"/>
<text macro="locator"/>
</else-if>
<else-if type="paper-conference" match="any">
<choose>
<if variable="volume" match="any">
<text macro="container-title"/>
<text macro="locator"/>
</if>
<else>
<text macro="container-title"/>
<text macro="locator"/>
<choose>
<if variable="publisher" match="any">
<group delimiter=". " prefix=". ">
<text macro="publisher"/>
<text macro="status"/>
</group>
</if>
<else>
<text variable="URL" prefix=". "/>
</else>
</choose>
</else>
</choose>
</else-if>
<else-if type="article-magazine article-newspaper" match="any">
<group delimiter=". ">
<group delimiter=", ">
<text macro="container-title"/>
<text macro="locator"/>
</group>
<text macro="status"/>
</group>
</else-if>
<else-if type="broadcast" match="any">
<group delimiter=", ">
<text variable="publisher-place"/>
<group delimiter=" " font-style="italic">
<text variable="publisher"/>
<text value="Broadcast"/>
</group>
<text macro="date-m-d"/>
</group>
</else-if>
<else-if type="patent" match="any">
<group font-style="italic">
<text variable="number"/>
</group>
</else-if>
<else-if type="report" match="any">
<group delimiter=". ">
<text macro="container-title"/>
<group delimiter=". ">
<group delimiter=", ">
<text variable="number" font-style="italic"/>
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
<text macro="status"/>
</group>
</group>
</else-if>
<else-if type="thesis" match="any">
<group delimiter=", ">
<text variable="genre"/>
<text variable="publisher" form="short"/>
<text variable="event-place"/>
</group>
</else-if>
<else-if type="post-weblog" match="any">
<group delimiter=", " suffix=". ">
<text variable="container-title" font-style="italic"/>
<date date-parts="year-month" form="text" variable="issued"/>
</group>
<text variable="URL"/>
</else-if>
<else-if type="webpage" match="any">
<group delimiter=". ">
<text variable="container-title"/>
<text variable="URL" form="short"/>
</group>
</else-if>
<else-if type="manuscript">
<group>
<text value="Work. Pap."/>
</group>
<text variable="publisher-place" prefix=", "/>
</else-if>
</choose>
</macro>
<macro name="status">
<text variable="status" text-case="capitalize-first"/>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year-suffix-ranged" year-suffix-delimiter="," after-collapse-delimiter="; ">
<sort>
<key macro="author-short" names-min="2" names-use-first="1"/>
<key macro="year-date"/>
</sort>
<layout prefix="(" suffix=")" delimiter=", ">
<group delimiter=", ">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="year-date"/>
</group>
<group delimiter=" ">
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</group>
</layout>
</citation>
<bibliography entry-spacing="0" line-spacing="2" hanging-indent="true" et-al-min="7" et-al-use-first="5">
<sort>
<key macro="author" names-min="2" names-use-first="1" names-use-last="false"/>
<key macro="author-last-names"/>
<key macro="year-date"/>
</sort>
<layout>
<group delimiter=". ">
<text macro="author"/>
<text macro="date-original"/>
<text macro="title"/>
<text macro="container"/>
</group>
</layout>
</bibliography>
</style>

0 comments on commit 80a9506

Please sign in to comment.