-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create natbib-plainnat-author-dat.csl (#4967)
- Loading branch information
1 parent
fb1592a
commit eb0d37e
Showing
1 changed file
with
276 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,276 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US"> | ||
<info> | ||
<title>natbib - plainnat (author-date)</title> | ||
<id>http://www.zotero.org/styles/natbib-plainnat-author-date</id> | ||
<link href="http://www.zotero.org/styles/natbib-plainnat-author-date" rel="self"/> | ||
<link href="http://www.zotero.org/styles/universidade-de-sao-paulo-instituto-de-matematica-e-estatistica" rel="template"/> | ||
<link href="https://www.bibtex.com/s/bibliography-style-natbib-plainnat/" rel="documentation"/> | ||
<author> | ||
<name>Patrick O'Brien</name> | ||
</author> | ||
<category citation-format="author-date"/> | ||
<category field="generic-base"/> | ||
<updated>2020-08-12T12:38:00+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> | ||
<macro name="author"> | ||
<names variable="author"> | ||
<name and="text" initialize-with=" "/> | ||
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first" strip-periods="true"/> | ||
<substitute> | ||
<names variable="editor"/> | ||
<names variable="translator"/> | ||
<text variable="title"/> | ||
</substitute> | ||
</names> | ||
</macro> | ||
<macro name="author-short"> | ||
<names variable="author"> | ||
<name form="short" and="text" delimiter=", " initialize-with=". "/> | ||
<substitute> | ||
<names variable="editor"/> | ||
<names variable="translator"/> | ||
<choose> | ||
<if type="bill book graphic legal_case legislation motion_picture report song" match="any"> | ||
<text variable="title" form="short" font-style="italic"/> | ||
</if> | ||
<else> | ||
<text variable="title" form="short" quotes="true"/> | ||
</else> | ||
</choose> | ||
</substitute> | ||
</names> | ||
</macro> | ||
<macro name="author-ea"> | ||
<names variable="author"> | ||
<name form="short" and="text" et-al-min="3" et-al-use-first="1" initialize-with=". "/> | ||
<substitute> | ||
<names variable="editor"/> | ||
<names variable="translator"/> | ||
<choose> | ||
<if type="bill book graphic legal_case legislation motion_picture report song" match="any"> | ||
<text variable="title" form="short" font-style="italic"/> | ||
</if> | ||
<else> | ||
<text variable="title" form="short" quotes="true"/> | ||
</else> | ||
</choose> | ||
</substitute> | ||
</names> | ||
</macro> | ||
<macro name="edition"> | ||
<choose> | ||
<if is-numeric="edition"> | ||
<group delimiter=" "> | ||
<number variable="edition" form="ordinal"/> | ||
<text term="edition" form="short"/> | ||
</group> | ||
</if> | ||
<else> | ||
<text variable="edition" suffix="."/> | ||
</else> | ||
</choose> | ||
</macro> | ||
<macro name="access"> | ||
<choose> | ||
<if type="article-journal"> | ||
<text variable="DOI" prefix="doi: "/> | ||
</if> | ||
<else-if type="webpage post post-weblog" match="any"> | ||
<group delimiter=": "> | ||
<text term="accessed" text-case="capitalize-first"/> | ||
<date variable="accessed"> | ||
<date-part name="year" suffix="-"/> | ||
<date-part name="month" form="numeric-leading-zeros" suffix="-"/> | ||
<date-part name="day" form="numeric-leading-zeros"/> | ||
</date> | ||
</group> | ||
</else-if> | ||
</choose> | ||
</macro> | ||
<macro name="editor"> | ||
<names variable="editor"> | ||
<name and="text" initialize-with=" "/> | ||
<label text-case="lowercase" strip-periods="false" prefix=", " suffix="."/> | ||
</names> | ||
</macro> | ||
<macro name="issued-year"> | ||
<choose> | ||
<if variable="issued"> | ||
<date variable="issued"> | ||
<date-part name="year"/> | ||
</date> | ||
</if> | ||
<else> | ||
<text term="no date" form="short"/> | ||
</else> | ||
</choose> | ||
</macro> | ||
<macro name="citation-locator"> | ||
<group> | ||
<label variable="locator" form="short"/> | ||
<text variable="locator"/> | ||
</group> | ||
</macro> | ||
<macro name="issued-month-year"> | ||
<date variable="issued"> | ||
<date-part name="month" suffix=" "/> | ||
<date-part name="year"/> | ||
</date> | ||
</macro> | ||
<macro name="pages"> | ||
<group delimiter=" "> | ||
<label variable="page"/> | ||
<text variable="page"/> | ||
</group> | ||
</macro> | ||
<macro name="publisher"> | ||
<group delimiter=", "> | ||
<text variable="publisher"/> | ||
<text variable="publisher-place"/> | ||
</group> | ||
</macro> | ||
<citation disambiguate-add-year-suffix="true" collapse="year"> | ||
<sort> | ||
<key variable="issued"/> | ||
<key macro="author"/> | ||
</sort> | ||
<layout delimiter=", " prefix="[" suffix="]"> | ||
<group delimiter=", "> | ||
<group> | ||
<text macro="author-short"/> | ||
<text macro="issued-year" prefix="(" suffix=")"/> | ||
</group> | ||
<text macro="citation-locator"/> | ||
</group> | ||
</layout> | ||
</citation> | ||
<bibliography et-al-min="3" et-al-use-first="1" hanging-indent="true" entry-spacing="0"> | ||
<sort> | ||
<key macro="author"/> | ||
<key variable="issued"/> | ||
</sort> | ||
<layout suffix="."> | ||
<group delimiter=" " suffix=". "> | ||
<group prefix="[" suffix="]"> | ||
<text macro="author-ea" font-weight="normal"/> | ||
<text macro="issued-year" font-weight="normal" prefix="(" suffix=")"/> | ||
</group> | ||
<text macro="author"/> | ||
</group> | ||
<choose> | ||
<if type="paper-conference"> | ||
<group delimiter=". "> | ||
<text variable="title"/> | ||
<group delimiter=" "> | ||
<text variable="container-title" font-style="italic"/> | ||
<group delimiter=", "> | ||
<group delimiter=", " prefix="(" suffix=")"> | ||
<text variable="publisher-place"/> | ||
<date variable="issued"> | ||
<date-part name="month" form="short" suffix=".-"/> | ||
<date-part name="year"/> | ||
</date> | ||
</group> | ||
<text variable="page"/> | ||
</group> | ||
</group> | ||
</group> | ||
</if> | ||
<else-if type="article-journal"> | ||
<group delimiter=". "> | ||
<text variable="title"/> | ||
<text variable="container-title" form="short" font-style="italic"/> | ||
<group delimiter=", "> | ||
<group delimiter=":"> | ||
<group> | ||
<text variable="volume"/> | ||
<text variable="issue" prefix="(" suffix=")"/> | ||
</group> | ||
<text variable="page"/> | ||
</group> | ||
<text macro="issued-month-year"/> | ||
</group> | ||
</group> | ||
</else-if> | ||
<else-if type="patent"> | ||
<group delimiter=". "> | ||
<text variable="title"/> | ||
<text variable="number" prefix="U.S. Patent #"/> | ||
<date variable="issued"> | ||
<date-part name="day" suffix="-"/> | ||
<date-part name="month" form="short" suffix=".-"/> | ||
<date-part name="year"/> | ||
</date> | ||
</group> | ||
</else-if> | ||
<else-if type="thesis"> | ||
<group delimiter=". "> | ||
<text variable="title" font-style="normal"/> | ||
<group delimiter=", "> | ||
<text variable="genre"/> | ||
<text macro="publisher"/> | ||
<text macro="issued-month-year"/> | ||
</group> | ||
</group> | ||
</else-if> | ||
<else-if type="report"> | ||
<group delimiter=". "> | ||
<text variable="title" font-style="italic"/> | ||
<group delimiter=" "> | ||
<text variable="genre"/> | ||
<text variable="number" prefix="Technical Report #"/> | ||
</group> | ||
<text macro="publisher"/> | ||
<text macro="issued-month-year"/> | ||
</group> | ||
</else-if> | ||
<else-if type="webpage post post-weblog" match="any"> | ||
<group delimiter=". "> | ||
<text variable="title"/> | ||
<group delimiter=", "> | ||
<text variable="URL" font-style="italic"/> | ||
<date date-parts="year" form="text" variable="issued"/> | ||
</group> | ||
</group> | ||
</else-if> | ||
<else-if type="chapter paper-conference" match="any"> | ||
<group delimiter=". "> | ||
<text variable="title"/> | ||
<group delimiter=", "> | ||
<group delimiter=" "> | ||
<text term="in" text-case="capitalize-first"/> | ||
<text macro="editor"/> | ||
</group> | ||
<text variable="container-title" font-style="italic"/> | ||
<text macro="pages"/> | ||
</group> | ||
<group delimiter=", "> | ||
<text macro="publisher"/> | ||
<text macro="issued-month-year"/> | ||
</group> | ||
</group> | ||
</else-if> | ||
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any"> | ||
<group delimiter=". "> | ||
<text variable="title" font-style="italic"/> | ||
<group delimiter=", "> | ||
<text macro="publisher"/> | ||
<text macro="edition"/> | ||
<text macro="issued-month-year"/> | ||
</group> | ||
</group> | ||
</else-if> | ||
<else> | ||
<group delimiter=". "> | ||
<text variable="title"/> | ||
<text variable="container-title" font-style="italic"/> | ||
<text variable="publisher"/> | ||
</group> | ||
</else> | ||
</choose> | ||
<text macro="access" prefix=". "/> | ||
</layout> | ||
</bibliography> | ||
</style> |