update packages
This commit is contained in:
357
lisp/org-ref/citeproc/csl-locales/locales-en-US.xml
Normal file
357
lisp/org-ref/citeproc/csl-locales/locales-en-US.xml
Normal file
@@ -0,0 +1,357 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<locale xmlns="http://purl.org/net/xbiblio/csl" version="1.0" xml:lang="en-US">
|
||||
<info>
|
||||
<translator>
|
||||
<name>Andrew Dunning</name>
|
||||
</translator>
|
||||
<translator>
|
||||
<name>Sebastian Karcher</name>
|
||||
</translator>
|
||||
<translator>
|
||||
<name>Rintze M. Zelle</name>
|
||||
</translator>
|
||||
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
|
||||
<updated>2015-10-10T23:31:02+00:00</updated>
|
||||
</info>
|
||||
<style-options punctuation-in-quote="true"/>
|
||||
<date form="text">
|
||||
<date-part name="month" suffix=" "/>
|
||||
<date-part name="day" suffix=", "/>
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
<date form="numeric">
|
||||
<date-part name="month" form="numeric-leading-zeros" suffix="/"/>
|
||||
<date-part name="day" form="numeric-leading-zeros" suffix="/"/>
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
<terms>
|
||||
<term name="accessed">accessed</term>
|
||||
<term name="and">and</term>
|
||||
<term name="and others">and others</term>
|
||||
<term name="anonymous">anonymous</term>
|
||||
<term name="anonymous" form="short">anon.</term>
|
||||
<term name="at">at</term>
|
||||
<term name="available at">available at</term>
|
||||
<term name="by">by</term>
|
||||
<term name="circa">circa</term>
|
||||
<term name="circa" form="short">c.</term>
|
||||
<term name="cited">cited</term>
|
||||
<term name="edition">
|
||||
<single>edition</single>
|
||||
<multiple>editions</multiple>
|
||||
</term>
|
||||
<term name="edition" form="short">ed.</term>
|
||||
<term name="et-al">et al.</term>
|
||||
<term name="forthcoming">forthcoming</term>
|
||||
<term name="from">from</term>
|
||||
<term name="ibid">ibid.</term>
|
||||
<term name="in">in</term>
|
||||
<term name="in press">in press</term>
|
||||
<term name="internet">internet</term>
|
||||
<term name="interview">interview</term>
|
||||
<term name="letter">letter</term>
|
||||
<term name="no date">no date</term>
|
||||
<term name="no date" form="short">n.d.</term>
|
||||
<term name="online">online</term>
|
||||
<term name="presented at">presented at the</term>
|
||||
<term name="reference">
|
||||
<single>reference</single>
|
||||
<multiple>references</multiple>
|
||||
</term>
|
||||
<term name="reference" form="short">
|
||||
<single>ref.</single>
|
||||
<multiple>refs.</multiple>
|
||||
</term>
|
||||
<term name="retrieved">retrieved</term>
|
||||
<term name="scale">scale</term>
|
||||
<term name="version">version</term>
|
||||
|
||||
<!-- ANNO DOMINI; BEFORE CHRIST -->
|
||||
<term name="ad">AD</term>
|
||||
<term name="bc">BC</term>
|
||||
|
||||
<!-- PUNCTUATION -->
|
||||
<term name="open-quote">“</term>
|
||||
<term name="close-quote">”</term>
|
||||
<term name="open-inner-quote">‘</term>
|
||||
<term name="close-inner-quote">’</term>
|
||||
<term name="page-range-delimiter">–</term>
|
||||
|
||||
<!-- ORDINALS -->
|
||||
<term name="ordinal">th</term>
|
||||
<term name="ordinal-01">st</term>
|
||||
<term name="ordinal-02">nd</term>
|
||||
<term name="ordinal-03">rd</term>
|
||||
<term name="ordinal-11">th</term>
|
||||
<term name="ordinal-12">th</term>
|
||||
<term name="ordinal-13">th</term>
|
||||
|
||||
<!-- LONG ORDINALS -->
|
||||
<term name="long-ordinal-01">first</term>
|
||||
<term name="long-ordinal-02">second</term>
|
||||
<term name="long-ordinal-03">third</term>
|
||||
<term name="long-ordinal-04">fourth</term>
|
||||
<term name="long-ordinal-05">fifth</term>
|
||||
<term name="long-ordinal-06">sixth</term>
|
||||
<term name="long-ordinal-07">seventh</term>
|
||||
<term name="long-ordinal-08">eighth</term>
|
||||
<term name="long-ordinal-09">ninth</term>
|
||||
<term name="long-ordinal-10">tenth</term>
|
||||
|
||||
<!-- LONG LOCATOR FORMS -->
|
||||
<term name="book">
|
||||
<single>book</single>
|
||||
<multiple>books</multiple>
|
||||
</term>
|
||||
<term name="chapter">
|
||||
<single>chapter</single>
|
||||
<multiple>chapters</multiple>
|
||||
</term>
|
||||
<term name="column">
|
||||
<single>column</single>
|
||||
<multiple>columns</multiple>
|
||||
</term>
|
||||
<term name="figure">
|
||||
<single>figure</single>
|
||||
<multiple>figures</multiple>
|
||||
</term>
|
||||
<term name="folio">
|
||||
<single>folio</single>
|
||||
<multiple>folios</multiple>
|
||||
</term>
|
||||
<term name="issue">
|
||||
<single>number</single>
|
||||
<multiple>numbers</multiple>
|
||||
</term>
|
||||
<term name="line">
|
||||
<single>line</single>
|
||||
<multiple>lines</multiple>
|
||||
</term>
|
||||
<term name="note">
|
||||
<single>note</single>
|
||||
<multiple>notes</multiple>
|
||||
</term>
|
||||
<term name="opus">
|
||||
<single>opus</single>
|
||||
<multiple>opera</multiple>
|
||||
</term>
|
||||
<term name="page">
|
||||
<single>page</single>
|
||||
<multiple>pages</multiple>
|
||||
</term>
|
||||
<term name="number-of-pages">
|
||||
<single>page</single>
|
||||
<multiple>pages</multiple>
|
||||
</term>
|
||||
<term name="paragraph">
|
||||
<single>paragraph</single>
|
||||
<multiple>paragraphs</multiple>
|
||||
</term>
|
||||
<term name="part">
|
||||
<single>part</single>
|
||||
<multiple>parts</multiple>
|
||||
</term>
|
||||
<term name="section">
|
||||
<single>section</single>
|
||||
<multiple>sections</multiple>
|
||||
</term>
|
||||
<term name="sub verbo">
|
||||
<single>sub verbo</single>
|
||||
<multiple>sub verbis</multiple>
|
||||
</term>
|
||||
<term name="verse">
|
||||
<single>verse</single>
|
||||
<multiple>verses</multiple>
|
||||
</term>
|
||||
<term name="volume">
|
||||
<single>volume</single>
|
||||
<multiple>volumes</multiple>
|
||||
</term>
|
||||
|
||||
<!-- SHORT LOCATOR FORMS -->
|
||||
<term name="book" form="short">
|
||||
<single>bk.</single>
|
||||
<multiple>bks.</multiple>
|
||||
</term>
|
||||
<term name="chapter" form="short">
|
||||
<single>chap.</single>
|
||||
<multiple>chaps.</multiple>
|
||||
</term>
|
||||
<term name="column" form="short">
|
||||
<single>col.</single>
|
||||
<multiple>cols.</multiple>
|
||||
</term>
|
||||
<term name="figure" form="short">
|
||||
<single>fig.</single>
|
||||
<multiple>figs.</multiple>
|
||||
</term>
|
||||
<term name="folio" form="short">
|
||||
<single>fol.</single>
|
||||
<multiple>fols.</multiple>
|
||||
</term>
|
||||
<term name="issue" form="short">
|
||||
<single>no.</single>
|
||||
<multiple>nos.</multiple>
|
||||
</term>
|
||||
<term name="line" form="short">
|
||||
<single>l.</single>
|
||||
<multiple>ll.</multiple>
|
||||
</term>
|
||||
<term name="note" form="short">
|
||||
<single>n.</single>
|
||||
<multiple>nn.</multiple>
|
||||
</term>
|
||||
<term name="opus" form="short">
|
||||
<single>op.</single>
|
||||
<multiple>opp.</multiple>
|
||||
</term>
|
||||
<term name="page" form="short">
|
||||
<single>p.</single>
|
||||
<multiple>pp.</multiple>
|
||||
</term>
|
||||
<term name="number-of-pages" form="short">
|
||||
<single>p.</single>
|
||||
<multiple>pp.</multiple>
|
||||
</term>
|
||||
<term name="paragraph" form="short">
|
||||
<single>para.</single>
|
||||
<multiple>paras.</multiple>
|
||||
</term>
|
||||
<term name="part" form="short">
|
||||
<single>pt.</single>
|
||||
<multiple>pts.</multiple>
|
||||
</term>
|
||||
<term name="section" form="short">
|
||||
<single>sec.</single>
|
||||
<multiple>secs.</multiple>
|
||||
</term>
|
||||
<term name="sub verbo" form="short">
|
||||
<single>s.v.</single>
|
||||
<multiple>s.vv.</multiple>
|
||||
</term>
|
||||
<term name="verse" form="short">
|
||||
<single>v.</single>
|
||||
<multiple>vv.</multiple>
|
||||
</term>
|
||||
<term name="volume" form="short">
|
||||
<single>vol.</single>
|
||||
<multiple>vols.</multiple>
|
||||
</term>
|
||||
|
||||
<!-- SYMBOL LOCATOR FORMS -->
|
||||
<term name="paragraph" form="symbol">
|
||||
<single>¶</single>
|
||||
<multiple>¶¶</multiple>
|
||||
</term>
|
||||
<term name="section" form="symbol">
|
||||
<single>§</single>
|
||||
<multiple>§§</multiple>
|
||||
</term>
|
||||
|
||||
<!-- LONG ROLE FORMS -->
|
||||
<term name="director">
|
||||
<single>director</single>
|
||||
<multiple>directors</multiple>
|
||||
</term>
|
||||
<term name="editor">
|
||||
<single>editor</single>
|
||||
<multiple>editors</multiple>
|
||||
</term>
|
||||
<term name="editorial-director">
|
||||
<single>editor</single>
|
||||
<multiple>editors</multiple>
|
||||
</term>
|
||||
<term name="illustrator">
|
||||
<single>illustrator</single>
|
||||
<multiple>illustrators</multiple>
|
||||
</term>
|
||||
<term name="translator">
|
||||
<single>translator</single>
|
||||
<multiple>translators</multiple>
|
||||
</term>
|
||||
<term name="editortranslator">
|
||||
<single>editor & translator</single>
|
||||
<multiple>editors & translators</multiple>
|
||||
</term>
|
||||
|
||||
<!-- SHORT ROLE FORMS -->
|
||||
<term name="director" form="short">
|
||||
<single>dir.</single>
|
||||
<multiple>dirs.</multiple>
|
||||
</term>
|
||||
<term name="editor" form="short">
|
||||
<single>ed.</single>
|
||||
<multiple>eds.</multiple>
|
||||
</term>
|
||||
<term name="editorial-director" form="short">
|
||||
<single>ed.</single>
|
||||
<multiple>eds.</multiple>
|
||||
</term>
|
||||
<term name="illustrator" form="short">
|
||||
<single>ill.</single>
|
||||
<multiple>ills.</multiple>
|
||||
</term>
|
||||
<term name="translator" form="short">
|
||||
<single>tran.</single>
|
||||
<multiple>trans.</multiple>
|
||||
</term>
|
||||
<term name="editortranslator" form="short">
|
||||
<single>ed. & tran.</single>
|
||||
<multiple>eds. & trans.</multiple>
|
||||
</term>
|
||||
|
||||
<!-- VERB ROLE FORMS -->
|
||||
<term name="container-author" form="verb">by</term>
|
||||
<term name="director" form="verb">directed by</term>
|
||||
<term name="editor" form="verb">edited by</term>
|
||||
<term name="editorial-director" form="verb">edited by</term>
|
||||
<term name="illustrator" form="verb">illustrated by</term>
|
||||
<term name="interviewer" form="verb">interview by</term>
|
||||
<term name="recipient" form="verb">to</term>
|
||||
<term name="reviewed-author" form="verb">by</term>
|
||||
<term name="translator" form="verb">translated by</term>
|
||||
<term name="editortranslator" form="verb">edited & translated by</term>
|
||||
|
||||
<!-- SHORT VERB ROLE FORMS -->
|
||||
<term name="director" form="verb-short">dir. by</term>
|
||||
<term name="editor" form="verb-short">ed. by</term>
|
||||
<term name="editorial-director" form="verb-short">ed. by</term>
|
||||
<term name="illustrator" form="verb-short">illus. by</term>
|
||||
<term name="translator" form="verb-short">trans. by</term>
|
||||
<term name="editortranslator" form="verb-short">ed. & trans. by</term>
|
||||
|
||||
<!-- LONG MONTH FORMS -->
|
||||
<term name="month-01">January</term>
|
||||
<term name="month-02">February</term>
|
||||
<term name="month-03">March</term>
|
||||
<term name="month-04">April</term>
|
||||
<term name="month-05">May</term>
|
||||
<term name="month-06">June</term>
|
||||
<term name="month-07">July</term>
|
||||
<term name="month-08">August</term>
|
||||
<term name="month-09">September</term>
|
||||
<term name="month-10">October</term>
|
||||
<term name="month-11">November</term>
|
||||
<term name="month-12">December</term>
|
||||
|
||||
<!-- SHORT MONTH FORMS -->
|
||||
<term name="month-01" form="short">Jan.</term>
|
||||
<term name="month-02" form="short">Feb.</term>
|
||||
<term name="month-03" form="short">Mar.</term>
|
||||
<term name="month-04" form="short">Apr.</term>
|
||||
<term name="month-05" form="short">May</term>
|
||||
<term name="month-06" form="short">Jun.</term>
|
||||
<term name="month-07" form="short">Jul.</term>
|
||||
<term name="month-08" form="short">Aug.</term>
|
||||
<term name="month-09" form="short">Sep.</term>
|
||||
<term name="month-10" form="short">Oct.</term>
|
||||
<term name="month-11" form="short">Nov.</term>
|
||||
<term name="month-12" form="short">Dec.</term>
|
||||
|
||||
<!-- SEASONS -->
|
||||
<term name="season-01">Spring</term>
|
||||
<term name="season-02">Summer</term>
|
||||
<term name="season-03">Autumn</term>
|
||||
<term name="season-04">Winter</term>
|
||||
</terms>
|
||||
</locale>
|
||||
341
lisp/org-ref/citeproc/csl-styles/apa-5th-edition.csl
Normal file
341
lisp/org-ref/citeproc/csl-styles/apa-5th-edition.csl
Normal file
@@ -0,0 +1,341 @@
|
||||
<?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">
|
||||
<info>
|
||||
<title>American Psychological Association 5th edition</title>
|
||||
<title-short>APA (5th ed.)</title-short>
|
||||
<id>http://www.zotero.org/styles/apa-5th-edition</id>
|
||||
<link href="http://www.zotero.org/styles/apa-5th-edition" rel="self"/>
|
||||
<link href="http://rdc.libguides.com/content.php?pid=63487" rel="documentation"/>
|
||||
<author>
|
||||
<name>Simon Kornblith</name>
|
||||
<email>simon@simonster.com</email>
|
||||
</author>
|
||||
<contributor>
|
||||
<name>Bruce D'Arcus</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Curtis M. Humphrey</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Richard Karnesky</name>
|
||||
<email>karnesky+zotero@gmail.com</email>
|
||||
<uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Sebastian Karcher</name>
|
||||
</contributor>
|
||||
<category citation-format="author-date"/>
|
||||
<category field="psychology"/>
|
||||
<category field="generic-base"/>
|
||||
<updated>2020-03-23T14:28:18+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="fr">
|
||||
<terms>
|
||||
<term name="editor" form="short">
|
||||
<single>éd.</single>
|
||||
<multiple>éds.</multiple>
|
||||
</term>
|
||||
</terms>
|
||||
</locale>
|
||||
<macro name="container-contributors">
|
||||
<choose>
|
||||
<if type="chapter paper-conference" match="any">
|
||||
<text term="in" text-case="capitalize-first" suffix=" "/>
|
||||
<names variable="editor" delimiter=", " suffix=", ">
|
||||
<name and="symbol" initialize-with=". " delimiter=", "/>
|
||||
<label form="short" prefix=" (" text-case="capitalize-first" suffix=")"/>
|
||||
<substitute>
|
||||
<names variable="translator"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="secondary-contributors">
|
||||
<choose>
|
||||
<if type="chapter paper-conference" match="none">
|
||||
<names variable="translator" delimiter=", " prefix=" (" suffix=")">
|
||||
<name and="symbol" initialize-with=". " delimiter=", "/>
|
||||
<label form="short" prefix=", " text-case="capitalize-first"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="author">
|
||||
<names variable="author">
|
||||
<name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
|
||||
<label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
<text macro="title"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="author-short">
|
||||
<names variable="author">
|
||||
<name form="short" and="symbol" 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="access">
|
||||
<choose>
|
||||
<if type="thesis">
|
||||
<choose>
|
||||
<if variable="archive" match="any">
|
||||
<group>
|
||||
<text term="retrieved" text-case="capitalize-first" suffix=" "/>
|
||||
<text term="from" suffix=" "/>
|
||||
<text variable="archive" suffix="."/>
|
||||
<text variable="archive_location" prefix=" (" suffix=")"/>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<group>
|
||||
<text term="retrieved" text-case="capitalize-first" suffix=" "/>
|
||||
<date variable="accessed" suffix=", ">
|
||||
<date-part name="month" suffix=" "/>
|
||||
<date-part name="day" suffix=", "/>
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
<text term="from" suffix=" "/>
|
||||
<text variable="URL"/>
|
||||
</group>
|
||||
</else>
|
||||
</choose>
|
||||
</if>
|
||||
<else>
|
||||
<choose>
|
||||
<if variable="URL">
|
||||
<choose>
|
||||
<if variable="archive">
|
||||
<group>
|
||||
<text term="retrieved" text-case="capitalize-first" suffix=" "/>
|
||||
<text term="from" suffix=" "/>
|
||||
<text variable="archive" suffix="."/>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<group>
|
||||
<text term="retrieved" text-case="capitalize-first" suffix=" "/>
|
||||
<date variable="accessed" suffix=", ">
|
||||
<date-part name="month" suffix=" "/>
|
||||
<date-part name="day" suffix=", "/>
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
<group>
|
||||
<text term="from" suffix=" "/>
|
||||
<text variable="URL"/>
|
||||
</group>
|
||||
</group>
|
||||
</else>
|
||||
</choose>
|
||||
</if>
|
||||
</choose>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="title">
|
||||
<choose>
|
||||
<if type="report thesis" match="any">
|
||||
<text variable="title" font-style="italic"/>
|
||||
<group prefix=" (" suffix=")">
|
||||
<text variable="genre"/>
|
||||
<text variable="number" prefix=" No. "/>
|
||||
</group>
|
||||
</if>
|
||||
<else-if type="bill book graphic legal_case legislation manuscript motion_picture report song speech" match="any">
|
||||
<text variable="title" font-style="italic"/>
|
||||
</else-if>
|
||||
<else>
|
||||
<text variable="title"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="publisher">
|
||||
<choose>
|
||||
<if type="report" match="any">
|
||||
<group delimiter=": ">
|
||||
<text variable="publisher-place"/>
|
||||
<text variable="publisher"/>
|
||||
</group>
|
||||
</if>
|
||||
<else-if type="thesis" match="any">
|
||||
<group delimiter=", ">
|
||||
<text variable="publisher"/>
|
||||
<text variable="publisher-place"/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else>
|
||||
<choose>
|
||||
<if variable="event" match="none">
|
||||
<text variable="genre" suffix=", "/>
|
||||
</if>
|
||||
</choose>
|
||||
<group delimiter=": ">
|
||||
<text variable="publisher-place"/>
|
||||
<text variable="publisher"/>
|
||||
</group>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="event">
|
||||
<choose>
|
||||
<if variable="event">
|
||||
<choose>
|
||||
<if variable="genre" match="none">
|
||||
<text term="presented at" text-case="capitalize-first" suffix=" "/>
|
||||
<text variable="event"/>
|
||||
</if>
|
||||
<else>
|
||||
<group delimiter=" ">
|
||||
<text variable="genre" text-case="capitalize-first"/>
|
||||
<text term="presented at"/>
|
||||
<text variable="event"/>
|
||||
</group>
|
||||
</else>
|
||||
</choose>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="issued">
|
||||
<choose>
|
||||
<if variable="issued">
|
||||
<group prefix=" (" suffix=").">
|
||||
<date variable="issued">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
<choose>
|
||||
<if type="article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="none">
|
||||
<date variable="issued">
|
||||
<date-part prefix=", " name="month"/>
|
||||
<date-part prefix=" " name="day"/>
|
||||
</date>
|
||||
</if>
|
||||
</choose>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<text prefix=" (" term="no date" suffix=")." form="short"/>
|
||||
</else>
|
||||
</choose>
|
||||
</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="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="locators">
|
||||
<choose>
|
||||
<if type="article-journal article-magazine article-newspaper" match="any">
|
||||
<group prefix=", " delimiter=", ">
|
||||
<group>
|
||||
<text variable="volume" font-style="italic"/>
|
||||
<text variable="issue" prefix="(" suffix=")"/>
|
||||
</group>
|
||||
<text variable="page"/>
|
||||
</group>
|
||||
</if>
|
||||
<else-if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
|
||||
<group prefix=" (" suffix=")" delimiter=", ">
|
||||
<text macro="edition"/>
|
||||
<group>
|
||||
<text term="volume" form="short" plural="true" text-case="capitalize-first" suffix=" "/>
|
||||
<number variable="number-of-volumes" form="numeric" prefix="1-"/>
|
||||
</group>
|
||||
<group>
|
||||
<text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
|
||||
<number variable="volume" form="numeric"/>
|
||||
</group>
|
||||
<group>
|
||||
<label variable="page" form="short" suffix=" "/>
|
||||
<text variable="page"/>
|
||||
</group>
|
||||
</group>
|
||||
</else-if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="citation-locator">
|
||||
<group>
|
||||
<label variable="locator" form="short"/>
|
||||
<text variable="locator" prefix=" "/>
|
||||
</group>
|
||||
</macro>
|
||||
<citation et-al-min="6" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" givenname-disambiguation-rule="primary-name" collapse="year">
|
||||
<sort>
|
||||
<key macro="author"/>
|
||||
<key macro="issued-year"/>
|
||||
</sort>
|
||||
<layout prefix="(" suffix=")" delimiter="; ">
|
||||
<group delimiter=", ">
|
||||
<text macro="author-short"/>
|
||||
<text macro="issued-year"/>
|
||||
<text macro="citation-locator"/>
|
||||
</group>
|
||||
</layout>
|
||||
</citation>
|
||||
<bibliography hanging-indent="true" et-al-min="8" et-al-use-first="7" entry-spacing="0" line-spacing="2">
|
||||
<sort>
|
||||
<key macro="author"/>
|
||||
<key macro="issued-year" sort="ascending"/>
|
||||
</sort>
|
||||
<layout>
|
||||
<group suffix=".">
|
||||
<text macro="author" suffix="."/>
|
||||
<text macro="issued" suffix=" "/>
|
||||
<group delimiter=". ">
|
||||
<text macro="title"/>
|
||||
<group>
|
||||
<text macro="container-contributors"/>
|
||||
<text macro="secondary-contributors"/>
|
||||
<group delimiter=", ">
|
||||
<text variable="container-title" font-style="italic"/>
|
||||
<text variable="collection-title"/>
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
<text macro="locators"/>
|
||||
<group delimiter=", " prefix=". ">
|
||||
<text macro="event"/>
|
||||
<text macro="publisher"/>
|
||||
</group>
|
||||
</group>
|
||||
<text macro="access" prefix=". "/>
|
||||
</layout>
|
||||
</bibliography>
|
||||
</style>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,657 @@
|
||||
<?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="display-and-sort" page-range-format="chicago">
|
||||
<info>
|
||||
<title>Chicago Manual of Style 16th edition (author-date)</title>
|
||||
<id>http://www.zotero.org/styles/chicago-author-date-16th-edition</id>
|
||||
<link href="http://www.zotero.org/styles/chicago-author-date-16th-edition" rel="self"/>
|
||||
<link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation"/>
|
||||
<author>
|
||||
<name>Julian Onions</name>
|
||||
<email>julian.onions@gmail.com</email>
|
||||
</author>
|
||||
<contributor>
|
||||
<name>Sebastian Karcher</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Richard Karnesky</name>
|
||||
<email>karnesky+zotero@gmail.com</email>
|
||||
<uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Andrew Dunning</name>
|
||||
<email>andrew.dunning@utoronto.ca</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Brenton M. Wiernik</name>
|
||||
</contributor>
|
||||
<category citation-format="author-date"/>
|
||||
<category field="generic-base"/>
|
||||
<summary>The author-date variant of the Chicago style</summary>
|
||||
<updated>2020-04-26T18:22:50+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="verb-short">ed.</term>
|
||||
<term name="container-author" form="verb">by</term>
|
||||
<term name="translator" form="verb-short">trans.</term>
|
||||
<term name="editortranslator" form="verb">edited and translated by</term>
|
||||
<term name="translator" form="short">trans.</term>
|
||||
</terms>
|
||||
</locale>
|
||||
<macro name="secondary-contributors">
|
||||
<choose>
|
||||
<if type="chapter entry-dictionary entry-encyclopedia paper-conference" match="none">
|
||||
<group delimiter=". ">
|
||||
<names variable="editor translator" delimiter=". ">
|
||||
<label form="verb" text-case="capitalize-first" suffix=" "/>
|
||||
<name and="text" delimiter=", "/>
|
||||
</names>
|
||||
<names variable="director" delimiter=". ">
|
||||
<label form="verb" text-case="capitalize-first" suffix=" "/>
|
||||
<name and="text" delimiter=", "/>
|
||||
</names>
|
||||
</group>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="container-contributors">
|
||||
<choose>
|
||||
<if type="chapter entry-dictionary entry-encyclopedia paper-conference" match="any">
|
||||
<group prefix=", " delimiter=", ">
|
||||
<names variable="container-author" delimiter=", ">
|
||||
<label form="verb" suffix=" "/>
|
||||
<name and="text" delimiter=", "/>
|
||||
</names>
|
||||
<names variable="editor translator" delimiter=", ">
|
||||
<label form="verb" suffix=" "/>
|
||||
<name and="text" delimiter=", "/>
|
||||
</names>
|
||||
</group>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="editor">
|
||||
<names variable="editor">
|
||||
<name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
|
||||
<label form="short" prefix=", "/>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="translator">
|
||||
<names variable="translator">
|
||||
<name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
|
||||
<label form="short" prefix=", "/>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="recipient">
|
||||
<choose>
|
||||
<if type="personal_communication">
|
||||
<choose>
|
||||
<if variable="genre">
|
||||
<text variable="genre" text-case="capitalize-first"/>
|
||||
</if>
|
||||
<else>
|
||||
<text term="letter" text-case="capitalize-first"/>
|
||||
</else>
|
||||
</choose>
|
||||
</if>
|
||||
</choose>
|
||||
<names variable="recipient" delimiter=", ">
|
||||
<label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
|
||||
<name and="text" delimiter=", "/>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="substitute-title">
|
||||
<choose>
|
||||
<if type="article-magazine article-newspaper review review-book" match="any">
|
||||
<text macro="container-title"/>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="contributors">
|
||||
<group delimiter=". ">
|
||||
<names variable="author">
|
||||
<name and="text" name-as-sort-order="first" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
|
||||
<label form="short" prefix=", "/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
<names variable="director"/>
|
||||
<text macro="substitute-title"/>
|
||||
<text macro="title"/>
|
||||
</substitute>
|
||||
</names>
|
||||
<text macro="recipient"/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="contributors-short">
|
||||
<names variable="author">
|
||||
<name form="short" and="text" delimiter=", " initialize-with=". "/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
<names variable="director"/>
|
||||
<text macro="substitute-title"/>
|
||||
<text macro="title"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="interviewer">
|
||||
<names variable="interviewer" delimiter=", ">
|
||||
<label form="verb" prefix=" " text-case="capitalize-first" suffix=" "/>
|
||||
<name and="text" delimiter=", "/>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="archive">
|
||||
<group delimiter=". ">
|
||||
<text variable="archive_location" text-case="capitalize-first"/>
|
||||
<text variable="archive"/>
|
||||
<text variable="archive-place"/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="access">
|
||||
<group delimiter=". ">
|
||||
<choose>
|
||||
<if type="graphic report" match="any">
|
||||
<text macro="archive"/>
|
||||
</if>
|
||||
<else-if type="article-journal bill book chapter legal_case legislation motion_picture paper-conference" match="none">
|
||||
<text macro="archive"/>
|
||||
</else-if>
|
||||
</choose>
|
||||
<choose>
|
||||
<if type="webpage post-weblog" match="any">
|
||||
<date variable="issued" delimiter=" ">
|
||||
<date-part name="month"/>
|
||||
<date-part name="day"/>
|
||||
</date>
|
||||
</if>
|
||||
</choose>
|
||||
<choose>
|
||||
<if variable="issued" match="none">
|
||||
<group delimiter=" ">
|
||||
<text term="accessed" text-case="capitalize-first"/>
|
||||
<date variable="accessed" delimiter=" ">
|
||||
<date-part name="month"/>
|
||||
<date-part name="day"/>
|
||||
</date>
|
||||
</group>
|
||||
</if>
|
||||
</choose>
|
||||
<choose>
|
||||
<if type="legal_case" match="none">
|
||||
<choose>
|
||||
<if variable="DOI">
|
||||
<text variable="DOI" prefix="doi:"/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="URL"/>
|
||||
</else>
|
||||
</choose>
|
||||
</if>
|
||||
</choose>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="title">
|
||||
<choose>
|
||||
<if variable="title" match="none">
|
||||
<choose>
|
||||
<if type="personal_communication" match="none">
|
||||
<text variable="genre" text-case="capitalize-first"/>
|
||||
</if>
|
||||
</choose>
|
||||
</if>
|
||||
<else-if type="bill book graphic legislation motion_picture song" match="any">
|
||||
<text variable="title" text-case="title" font-style="italic"/>
|
||||
<group prefix=" (" suffix=")" delimiter=" ">
|
||||
<text term="version"/>
|
||||
<text variable="version"/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if variable="reviewed-author">
|
||||
<choose>
|
||||
<if variable="reviewed-title">
|
||||
<group delimiter=". ">
|
||||
<text variable="title" text-case="title" quotes="true"/>
|
||||
<group delimiter=", ">
|
||||
<text variable="reviewed-title" text-case="title" font-style="italic" prefix="Review of "/>
|
||||
<names variable="reviewed-author">
|
||||
<label form="verb-short" text-case="lowercase" suffix=" "/>
|
||||
<name and="text" delimiter=", "/>
|
||||
</names>
|
||||
</group>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<group delimiter=", ">
|
||||
<text variable="title" text-case="title" font-style="italic" prefix="Review of "/>
|
||||
<names variable="reviewed-author">
|
||||
<label form="verb-short" text-case="lowercase" suffix=" "/>
|
||||
<name and="text" delimiter=", "/>
|
||||
</names>
|
||||
</group>
|
||||
</else>
|
||||
</choose>
|
||||
</else-if>
|
||||
<else-if type="legal_case interview patent" match="any">
|
||||
<text variable="title"/>
|
||||
</else-if>
|
||||
<else>
|
||||
<text variable="title" text-case="title" quotes="true"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="edition">
|
||||
<choose>
|
||||
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
||||
<choose>
|
||||
<if is-numeric="edition">
|
||||
<group delimiter=" " prefix=". ">
|
||||
<number variable="edition" form="ordinal"/>
|
||||
<text term="edition" form="short" strip-periods="true"/>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="edition" text-case="capitalize-first" prefix=". "/>
|
||||
</else>
|
||||
</choose>
|
||||
</if>
|
||||
<else-if type="chapter entry-dictionary entry-encyclopedia paper-conference" match="any">
|
||||
<choose>
|
||||
<if is-numeric="edition">
|
||||
<group delimiter=" " prefix=", ">
|
||||
<number variable="edition" form="ordinal"/>
|
||||
<text term="edition" form="short"/>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="edition" prefix=", "/>
|
||||
</else>
|
||||
</choose>
|
||||
</else-if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="locators">
|
||||
<choose>
|
||||
<if type="article-journal">
|
||||
<choose>
|
||||
<if variable="volume">
|
||||
<text variable="volume" prefix=" "/>
|
||||
<group prefix=" (" suffix=")">
|
||||
<choose>
|
||||
<if variable="issue">
|
||||
<text variable="issue"/>
|
||||
</if>
|
||||
<else>
|
||||
<date variable="issued">
|
||||
<date-part name="month"/>
|
||||
</date>
|
||||
</else>
|
||||
</choose>
|
||||
</group>
|
||||
</if>
|
||||
<else-if variable="issue">
|
||||
<group delimiter=" " prefix=", ">
|
||||
<text term="issue" form="short"/>
|
||||
<text variable="issue"/>
|
||||
<date variable="issued" prefix="(" suffix=")">
|
||||
<date-part name="month"/>
|
||||
</date>
|
||||
</group>
|
||||
</else-if>
|
||||
<else>
|
||||
<date variable="issued" prefix=", ">
|
||||
<date-part name="month"/>
|
||||
</date>
|
||||
</else>
|
||||
</choose>
|
||||
</if>
|
||||
<else-if type="legal_case">
|
||||
<text variable="volume" prefix=", "/>
|
||||
<text variable="container-title" prefix=" "/>
|
||||
<text variable="page" prefix=" "/>
|
||||
</else-if>
|
||||
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
||||
<group prefix=". " delimiter=". ">
|
||||
<group>
|
||||
<text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
|
||||
<number variable="volume" form="numeric"/>
|
||||
</group>
|
||||
<group>
|
||||
<number variable="number-of-volumes" form="numeric"/>
|
||||
<text term="volume" form="short" prefix=" " plural="true"/>
|
||||
</group>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="chapter entry-dictionary entry-encyclopedia paper-conference" match="any">
|
||||
<choose>
|
||||
<if variable="page" match="none">
|
||||
<group prefix=". ">
|
||||
<text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
|
||||
<number variable="volume" form="numeric"/>
|
||||
</group>
|
||||
</if>
|
||||
</choose>
|
||||
</else-if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="locators-chapter">
|
||||
<choose>
|
||||
<if type="chapter entry-dictionary entry-encyclopedia paper-conference" match="any">
|
||||
<choose>
|
||||
<if variable="page">
|
||||
<group prefix=", ">
|
||||
<text variable="volume" suffix=":"/>
|
||||
<text variable="page"/>
|
||||
</group>
|
||||
</if>
|
||||
</choose>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="locators-article">
|
||||
<choose>
|
||||
<if type="article-newspaper">
|
||||
<group prefix=", " delimiter=", ">
|
||||
<group delimiter=" ">
|
||||
<text variable="edition"/>
|
||||
<text term="edition"/>
|
||||
</group>
|
||||
<group>
|
||||
<text term="section" form="short" suffix=" "/>
|
||||
<text variable="section"/>
|
||||
</group>
|
||||
</group>
|
||||
</if>
|
||||
<else-if type="article-journal">
|
||||
<choose>
|
||||
<if variable="volume issue" match="any">
|
||||
<text variable="page" prefix=": "/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="page" prefix=", "/>
|
||||
</else>
|
||||
</choose>
|
||||
</else-if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="point-locators">
|
||||
<choose>
|
||||
<if variable="locator">
|
||||
<choose>
|
||||
<if locator="page" match="none">
|
||||
<choose>
|
||||
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
||||
<choose>
|
||||
<if variable="volume">
|
||||
<group>
|
||||
<text term="volume" form="short" suffix=" "/>
|
||||
<number variable="volume" form="numeric"/>
|
||||
<label variable="locator" form="short" prefix=", " suffix=" "/>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<label variable="locator" form="short" suffix=" "/>
|
||||
</else>
|
||||
</choose>
|
||||
</if>
|
||||
<else>
|
||||
<label variable="locator" form="short" suffix=" "/>
|
||||
</else>
|
||||
</choose>
|
||||
</if>
|
||||
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
||||
<number variable="volume" form="numeric" suffix=":"/>
|
||||
</else-if>
|
||||
</choose>
|
||||
<text variable="locator"/>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="container-prefix">
|
||||
<text term="in" text-case="capitalize-first"/>
|
||||
</macro>
|
||||
<macro name="container-title">
|
||||
<choose>
|
||||
<if type="chapter entry-dictionary entry-encyclopedia paper-conference" match="any">
|
||||
<text macro="container-prefix" suffix=" "/>
|
||||
</if>
|
||||
</choose>
|
||||
<choose>
|
||||
<if type="legal_case" match="none">
|
||||
<text variable="container-title" text-case="title" font-style="italic"/>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="publisher">
|
||||
<group delimiter=": ">
|
||||
<text variable="publisher-place"/>
|
||||
<text variable="publisher"/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="date">
|
||||
<choose>
|
||||
<if variable="issued">
|
||||
<group delimiter=" ">
|
||||
<date variable="original-date" form="text" date-parts="year" prefix="(" suffix=")"/>
|
||||
<date variable="issued">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</group>
|
||||
</if>
|
||||
<else-if variable="accessed">
|
||||
<date variable="accessed">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</else-if>
|
||||
<else-if variable="status">
|
||||
<text variable="status" text-case="capitalize-first"/>
|
||||
</else-if>
|
||||
<else>
|
||||
<text term="no date" form="short"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="date-in-text">
|
||||
<choose>
|
||||
<if variable="issued">
|
||||
<group delimiter=" ">
|
||||
<date variable="original-date" form="text" date-parts="year" prefix="[" suffix="]"/>
|
||||
<date variable="issued">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</group>
|
||||
</if>
|
||||
<else-if variable="accessed">
|
||||
<date variable="accessed">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</else-if>
|
||||
<else-if variable="status">
|
||||
<text variable="status"/>
|
||||
</else-if>
|
||||
<else>
|
||||
<text term="no date" form="short"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="day-month">
|
||||
<date variable="issued">
|
||||
<date-part name="month"/>
|
||||
<date-part name="day" prefix=" "/>
|
||||
</date>
|
||||
</macro>
|
||||
<macro name="collection-title">
|
||||
<choose>
|
||||
<if match="none" type="article-journal">
|
||||
<choose>
|
||||
<if match="none" is-numeric="collection-number">
|
||||
<group delimiter=", ">
|
||||
<text variable="collection-title" text-case="title"/>
|
||||
<text variable="collection-number"/>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<group delimiter=" ">
|
||||
<text variable="collection-title" text-case="title"/>
|
||||
<text variable="collection-number"/>
|
||||
</group>
|
||||
</else>
|
||||
</choose>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="collection-title-journal">
|
||||
<choose>
|
||||
<if type="article-journal">
|
||||
<group delimiter=" ">
|
||||
<text variable="collection-title"/>
|
||||
<text variable="collection-number"/>
|
||||
</group>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="event">
|
||||
<group delimiter=" ">
|
||||
<choose>
|
||||
<if variable="genre">
|
||||
<text term="presented at"/>
|
||||
</if>
|
||||
<else>
|
||||
<text term="presented at" text-case="capitalize-first"/>
|
||||
</else>
|
||||
</choose>
|
||||
<text variable="event"/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="description">
|
||||
<choose>
|
||||
<if type="interview">
|
||||
<group delimiter=". ">
|
||||
<text macro="interviewer"/>
|
||||
<text variable="medium" text-case="capitalize-first"/>
|
||||
</group>
|
||||
</if>
|
||||
<else-if type="patent">
|
||||
<group delimiter=" " prefix=". ">
|
||||
<text variable="authority"/>
|
||||
<text variable="number"/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else>
|
||||
<text variable="medium" text-case="capitalize-first" prefix=". "/>
|
||||
</else>
|
||||
</choose>
|
||||
<choose>
|
||||
<if variable="title" match="none"/>
|
||||
<else-if type="thesis personal_communication speech" match="any"/>
|
||||
<else>
|
||||
<group delimiter=" " prefix=". ">
|
||||
<text variable="genre" text-case="capitalize-first"/>
|
||||
<choose>
|
||||
<if type="report">
|
||||
<text variable="number"/>
|
||||
</if>
|
||||
</choose>
|
||||
</group>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="issue">
|
||||
<choose>
|
||||
<if type="legal_case">
|
||||
<text variable="authority" prefix=". "/>
|
||||
</if>
|
||||
<else-if type="speech">
|
||||
<group prefix=". " delimiter=", ">
|
||||
<group delimiter=" ">
|
||||
<text variable="genre" text-case="capitalize-first"/>
|
||||
<text macro="event"/>
|
||||
</group>
|
||||
<text variable="event-place"/>
|
||||
<text macro="day-month"/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="article-newspaper article-magazine personal_communication" match="any">
|
||||
<text macro="day-month" prefix=", "/>
|
||||
</else-if>
|
||||
<else-if type="patent">
|
||||
<group delimiter=", " prefix=", ">
|
||||
<group delimiter=" ">
|
||||
<!--Needs Localization-->
|
||||
<text value="filed"/>
|
||||
<date variable="submitted" form="text"/>
|
||||
</group>
|
||||
<group delimiter=" ">
|
||||
<choose>
|
||||
<if variable="issued submitted" match="all">
|
||||
<text term="and"/>
|
||||
</if>
|
||||
</choose>
|
||||
<!--Needs Localization-->
|
||||
<text value="issued"/>
|
||||
<date variable="issued" form="text"/>
|
||||
</group>
|
||||
</group>
|
||||
</else-if>
|
||||
<else>
|
||||
<group prefix=". " delimiter=", ">
|
||||
<choose>
|
||||
<if type="thesis">
|
||||
<text variable="genre" text-case="capitalize-first"/>
|
||||
</if>
|
||||
</choose>
|
||||
<text macro="publisher"/>
|
||||
</group>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" givenname-disambiguation-rule="primary-name" collapse="year">
|
||||
<layout prefix="(" suffix=")" delimiter="; ">
|
||||
<group delimiter=", ">
|
||||
<choose>
|
||||
<if variable="issued accessed" match="any">
|
||||
<group delimiter=" ">
|
||||
<text macro="contributors-short"/>
|
||||
<text macro="date-in-text"/>
|
||||
</group>
|
||||
</if>
|
||||
<!---comma before forthcoming and n.d.-->
|
||||
<else>
|
||||
<group delimiter=", ">
|
||||
<text macro="contributors-short"/>
|
||||
<text macro="date-in-text"/>
|
||||
</group>
|
||||
</else>
|
||||
</choose>
|
||||
<text macro="point-locators"/>
|
||||
</group>
|
||||
</layout>
|
||||
</citation>
|
||||
<bibliography hanging-indent="true" et-al-min="11" et-al-use-first="7" subsequent-author-substitute="———" entry-spacing="0">
|
||||
<sort>
|
||||
<key macro="contributors"/>
|
||||
<key variable="issued"/>
|
||||
<key variable="title"/>
|
||||
</sort>
|
||||
<layout suffix=".">
|
||||
<group delimiter=". ">
|
||||
<text macro="contributors"/>
|
||||
<text macro="date"/>
|
||||
<text macro="title"/>
|
||||
</group>
|
||||
<text macro="description"/>
|
||||
<text macro="secondary-contributors" prefix=". "/>
|
||||
<text macro="container-title" prefix=". "/>
|
||||
<text macro="container-contributors"/>
|
||||
<text macro="edition"/>
|
||||
<text macro="locators-chapter"/>
|
||||
<text macro="collection-title-journal" prefix=", " suffix=", "/>
|
||||
<text macro="locators"/>
|
||||
<text macro="collection-title" prefix=". "/>
|
||||
<text macro="issue"/>
|
||||
<text macro="locators-article"/>
|
||||
<text macro="access" prefix=". "/>
|
||||
</layout>
|
||||
</bibliography>
|
||||
</style>
|
||||
239
lisp/org-ref/citeproc/csl-styles/elsevier-harvard.csl
Normal file
239
lisp/org-ref/citeproc/csl-styles/elsevier-harvard.csl
Normal file
@@ -0,0 +1,239 @@
|
||||
<?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="never" default-locale="en-US">
|
||||
<info>
|
||||
<title>Elsevier - Harvard (with titles)</title>
|
||||
<id>http://www.zotero.org/styles/elsevier-harvard</id>
|
||||
<link href="http://www.zotero.org/styles/elsevier-harvard" rel="self"/>
|
||||
<link href="http://www.zotero.org/styles/ecology-letters" rel="template"/>
|
||||
<link href="http://www.elsevier.com/journals/biological-conservation/0006-3207/guide-for-authors#68000" rel="documentation"/>
|
||||
<author>
|
||||
<name>David Kaplan</name>
|
||||
<email>david.kaplan@ird.fr</email>
|
||||
</author>
|
||||
<contributor>
|
||||
<name>Simon Kornblith</name>
|
||||
<email>simon@simonster.com</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Bruce D'Arcus</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Curtis M. Humphrey</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Richard Karnesky</name>
|
||||
<email>karnesky+zotero@gmail.com</email>
|
||||
<uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Sebastian Karcher</name>
|
||||
</contributor>
|
||||
<category citation-format="author-date"/>
|
||||
<category field="biology"/>
|
||||
<category field="generic-base"/>
|
||||
<updated>2014-03-04T00:09: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="container">
|
||||
<choose>
|
||||
<if type="chapter paper-conference" match="any">
|
||||
<text term="in" prefix=", " suffix=": "/>
|
||||
<names variable="editor translator" delimiter=", " suffix=", ">
|
||||
<name name-as-sort-order="all" sort-separator=", " initialize-with="." delimiter=", " delimiter-precedes-last="always"/>
|
||||
<label form="short" text-case="capitalize-first" prefix=" (" suffix=")"/>
|
||||
</names>
|
||||
<group delimiter=", ">
|
||||
<text variable="container-title" text-case="title"/>
|
||||
<text variable="collection-title" text-case="title"/>
|
||||
</group>
|
||||
</if>
|
||||
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
||||
<group prefix=", " delimiter=", ">
|
||||
<text variable="container-title"/>
|
||||
<text variable="collection-title"/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else>
|
||||
<group prefix=". " delimiter=", ">
|
||||
<text variable="container-title" form="short"/>
|
||||
<text variable="collection-title"/>
|
||||
</group>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="author">
|
||||
<names variable="author">
|
||||
<name name-as-sort-order="all" sort-separator=", " initialize-with="." delimiter=", " delimiter-precedes-last="always"/>
|
||||
<label form="short" prefix=" (" suffix=")" text-case="capitalize-first"/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
<text macro="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="access">
|
||||
<choose>
|
||||
<if variable="DOI">
|
||||
<text variable="DOI" prefix="https://doi.org/"/>
|
||||
</if>
|
||||
<else-if type="webpage post-weblog" match="any">
|
||||
<group delimiter=" ">
|
||||
<text value="URL"/>
|
||||
<text variable="URL"/>
|
||||
<group prefix="(" suffix=").">
|
||||
<text term="accessed" suffix=" "/>
|
||||
<date variable="accessed">
|
||||
<date-part name="month" form="numeric" suffix="."/>
|
||||
<date-part name="day" suffix="."/>
|
||||
<date-part name="year" form="short"/>
|
||||
</date>
|
||||
</group>
|
||||
</group>
|
||||
</else-if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="title">
|
||||
<choose>
|
||||
<if type="report thesis" match="any">
|
||||
<text variable="title"/>
|
||||
<group prefix=" (" suffix=")" delimiter=" ">
|
||||
<text variable="genre"/>
|
||||
<text variable="number" prefix="No. "/>
|
||||
</group>
|
||||
</if>
|
||||
<else-if type="bill book graphic legal_case legislation motion_picture report song speech" match="any">
|
||||
<text variable="title"/>
|
||||
<text macro="edition" prefix=", "/>
|
||||
</else-if>
|
||||
<else-if type="webpage">
|
||||
<text variable="title"/>
|
||||
<text value="WWW Document" prefix=" [" suffix="]"/>
|
||||
</else-if>
|
||||
<else>
|
||||
<text variable="title"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="publisher">
|
||||
<group delimiter=", ">
|
||||
<text variable="publisher"/>
|
||||
<text variable="publisher-place"/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="event">
|
||||
<choose>
|
||||
<if variable="event">
|
||||
<text term="presented at" text-case="capitalize-first" suffix=" "/>
|
||||
<text variable="event"/>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="issued">
|
||||
<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="edition">
|
||||
<group delimiter=" ">
|
||||
<choose>
|
||||
<if is-numeric="edition">
|
||||
<number variable="edition" form="ordinal"/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="edition" suffix="."/>
|
||||
</else>
|
||||
</choose>
|
||||
<text value="ed"/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="locators">
|
||||
<choose>
|
||||
<if type="article-journal article-magazine article-newspaper" match="any">
|
||||
<group prefix=" " delimiter=", ">
|
||||
<group>
|
||||
<text variable="volume"/>
|
||||
</group>
|
||||
<text variable="page"/>
|
||||
</group>
|
||||
</if>
|
||||
<else-if type="bill book graphic legal_case legislation motion_picture report song thesis" match="any">
|
||||
<group delimiter=", " prefix=". ">
|
||||
<text macro="event"/>
|
||||
<text macro="publisher"/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="chapter paper-conference" match="any">
|
||||
<group delimiter=", " prefix=". ">
|
||||
<text macro="event"/>
|
||||
<text macro="publisher"/>
|
||||
<group>
|
||||
<label variable="page" form="short" suffix=" "/>
|
||||
<text variable="page"/>
|
||||
</group>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="patent">
|
||||
<text variable="number" prefix=". "/>
|
||||
</else-if>
|
||||
</choose>
|
||||
</macro>
|
||||
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-givenname="true" disambiguate-add-year-suffix="true" collapse="year" cite-group-delimiter=", ">
|
||||
<sort>
|
||||
<key macro="author"/>
|
||||
<key macro="issued" sort="descending"/>
|
||||
</sort>
|
||||
<layout prefix="(" suffix=")" delimiter="; ">
|
||||
<group delimiter=", ">
|
||||
<text macro="author-short"/>
|
||||
<text macro="issued"/>
|
||||
<group delimiter=" ">
|
||||
<label variable="locator" form="short"/>
|
||||
<text variable="locator"/>
|
||||
</group>
|
||||
</group>
|
||||
</layout>
|
||||
</citation>
|
||||
<bibliography hanging-indent="true" entry-spacing="0" line-spacing="1">
|
||||
<sort>
|
||||
<key macro="author"/>
|
||||
<key macro="issued" sort="descending"/>
|
||||
</sort>
|
||||
<layout>
|
||||
<group suffix=".">
|
||||
<text macro="author" suffix=","/>
|
||||
<text macro="issued" prefix=" "/>
|
||||
<group prefix=". ">
|
||||
<text macro="title"/>
|
||||
<text macro="container"/>
|
||||
<text macro="locators"/>
|
||||
</group>
|
||||
</group>
|
||||
<text macro="access" prefix=". "/>
|
||||
</layout>
|
||||
</bibliography>
|
||||
</style>
|
||||
149
lisp/org-ref/citeproc/csl-styles/elsevier-with-titles.csl
Normal file
149
lisp/org-ref/citeproc/csl-styles/elsevier-with-titles.csl
Normal file
@@ -0,0 +1,149 @@
|
||||
<?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>Elsevier (numeric, with titles)</title>
|
||||
<id>http://www.zotero.org/styles/elsevier-with-titles</id>
|
||||
<link href="http://www.zotero.org/styles/elsevier-with-titles" rel="self"/>
|
||||
<link href="http://www.zotero.org/styles/elsevier-without-titles" rel="template"/>
|
||||
<link href="http://www.elsevier.com/journals/journal-of-hazardous-materials/0304-3894/guide-for-authors#68001" rel="documentation"/>
|
||||
<author>
|
||||
<name>Richard Karnesky</name>
|
||||
<email>karnesky+zotero@gmail.com</email>
|
||||
<uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
|
||||
</author>
|
||||
<contributor>
|
||||
<name>Rintze Zelle</name>
|
||||
<uri>http://twitter.com/rintzezelle</uri>
|
||||
</contributor>
|
||||
<category citation-format="numeric"/>
|
||||
<category field="generic-base"/>
|
||||
<summary>A style for many of Elsevier's journals that includes article titles in the reference list</summary>
|
||||
<updated>2019-10-15T15:14:08+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 initialize-with="." delimiter=", " delimiter-precedes-last="always"/>
|
||||
<label form="short" prefix=", "/>
|
||||
<substitute>
|
||||
<names variable="editor"/>
|
||||
<names variable="translator"/>
|
||||
</substitute>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="editor">
|
||||
<names variable="editor">
|
||||
<name initialize-with="." delimiter=", " delimiter-precedes-last="always"/>
|
||||
<label form="short" prefix=" (" text-case="capitalize-first" suffix=")"/>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="year-date">
|
||||
<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="publisher">
|
||||
<text variable="publisher" suffix=", "/>
|
||||
<text variable="publisher-place" suffix=", "/>
|
||||
<text macro="year-date"/>
|
||||
</macro>
|
||||
<macro name="edition">
|
||||
<!--TODO: CSL should have low numeric be text (e.g. '3'->'third')-->
|
||||
<choose>
|
||||
<if is-numeric="edition">
|
||||
<group delimiter=" ">
|
||||
<number variable="edition" form="ordinal"/>
|
||||
<text term="edition" form="short"/>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="edition"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="access">
|
||||
<choose>
|
||||
<if variable="URL">
|
||||
<text variable="URL"/>
|
||||
<group prefix=" (" suffix=")" delimiter=" ">
|
||||
<text term="accessed"/>
|
||||
<date variable="accessed" form="text"/>
|
||||
</group>
|
||||
</if>
|
||||
</choose>
|
||||
</macro>
|
||||
<citation collapse="citation-number">
|
||||
<sort>
|
||||
<key variable="citation-number"/>
|
||||
</sort>
|
||||
<layout prefix="[" suffix="]" delimiter=",">
|
||||
<text variable="citation-number"/>
|
||||
</layout>
|
||||
</citation>
|
||||
<bibliography entry-spacing="0" second-field-align="flush">
|
||||
<layout suffix=".">
|
||||
<text variable="citation-number" prefix="[" suffix="]"/>
|
||||
<text macro="author" suffix=", "/>
|
||||
<choose>
|
||||
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
||||
<group delimiter=", ">
|
||||
<text variable="title"/>
|
||||
<text macro="edition"/>
|
||||
<text macro="publisher"/>
|
||||
</group>
|
||||
</if>
|
||||
<else-if type="chapter paper-conference" match="any">
|
||||
<text variable="title" suffix=", "/>
|
||||
<text term="in" suffix=": "/>
|
||||
<text macro="editor" suffix=", "/>
|
||||
<text variable="container-title" form="short" text-case="title" suffix=", "/>
|
||||
<text macro="edition" suffix=", "/>
|
||||
<text macro="publisher"/>
|
||||
<group delimiter=" ">
|
||||
<label variable="page" form="short" prefix=": "/>
|
||||
<text variable="page"/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="patent">
|
||||
<group delimiter=", ">
|
||||
<text variable="title"/>
|
||||
<text variable="number"/>
|
||||
<text macro="year-date"/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="thesis">
|
||||
<group delimiter=", ">
|
||||
<text variable="title"/>
|
||||
<text variable="genre"/>
|
||||
<text variable="publisher"/>
|
||||
<text macro="year-date"/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else>
|
||||
<group delimiter=" ">
|
||||
<text variable="title" suffix=","/>
|
||||
<text variable="container-title" form="short" text-case="title" suffix="."/>
|
||||
<text variable="volume"/>
|
||||
<text macro="year-date" prefix="(" suffix=")"/>
|
||||
<text variable="page" form="short"/>
|
||||
</group>
|
||||
</else>
|
||||
</choose>
|
||||
<choose>
|
||||
<if variable="DOI">
|
||||
<text variable="DOI" prefix=". https://doi.org/"/>
|
||||
</if>
|
||||
<else>
|
||||
<text macro="access" prefix=". "/>
|
||||
</else>
|
||||
</choose>
|
||||
</layout>
|
||||
</bibliography>
|
||||
</style>
|
||||
@@ -1,214 +0,0 @@
|
||||
<?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" page-range-format="expanded" default-locale="en-US">
|
||||
<info>
|
||||
<title>ACS Nano</title>
|
||||
<title-short>ACS Nano</title-short>
|
||||
<id>http://www.zotero.org/styles/acs-nano</id>
|
||||
<link href="http://www.zotero.org/styles/acs-nano" rel="self"/>
|
||||
<link href="http://www.zotero.org/styles/american-chemical-society-with-titles" rel="template"/>
|
||||
<link href="http://pubs.acs.org/paragonplus/submission/ancac3/ancac3_authguide.pdf" rel="documentation"/>
|
||||
<category citation-format="numeric"/>
|
||||
<category field="chemistry"/>
|
||||
<issn>1936-0851</issn>
|
||||
<eissn>1936-086X</eissn>
|
||||
<summary>ACS style with et al in italics</summary>
|
||||
<updated>2014-09-21T00:39:49+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="editor">
|
||||
<names variable="editor">
|
||||
<name sort-separator=", " initialize-with=". " name-as-sort-order="all" delimiter="; " delimiter-precedes-last="always"/>
|
||||
<et-al font-style="italic"/>
|
||||
<label form="short" prefix=", " text-case="capitalize-first"/>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="author">
|
||||
<names variable="author" suffix=".">
|
||||
<name sort-separator=", " initialize-with=". " name-as-sort-order="all" delimiter="; " delimiter-precedes-last="always"/>
|
||||
<et-al font-style="italic"/>
|
||||
<label form="short" prefix=", " text-case="capitalize-first"/>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="publisher">
|
||||
<group delimiter=": ">
|
||||
<text variable="publisher"/>
|
||||
<text variable="publisher-place"/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="title">
|
||||
<choose>
|
||||
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
||||
<text variable="title" text-case="title" font-style="italic"/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="title" text-case="title"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="volume">
|
||||
<group delimiter=" ">
|
||||
<text term="volume" form="short" text-case="capitalize-first"/>
|
||||
<text variable="volume"/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="series">
|
||||
<text variable="collection-title"/>
|
||||
</macro>
|
||||
<macro name="pages">
|
||||
<label variable="page" form="short" suffix=" "/>
|
||||
<text variable="page"/>
|
||||
</macro>
|
||||
<macro name="book-container">
|
||||
<group delimiter=" ">
|
||||
<text macro="title" suffix="."/>
|
||||
<text term="in" text-case="capitalize-first"/>
|
||||
<text variable="container-title" font-style="italic"/>
|
||||
</group>
|
||||
</macro>
|
||||
<macro name="issued">
|
||||
<date variable="issued" delimiter=" ">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</macro>
|
||||
<macro name="full-issued">
|
||||
<date variable="issued" delimiter=" ">
|
||||
<date-part name="month" form="long" suffix=" "/>
|
||||
<date-part name="day" suffix=", "/>
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</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>
|
||||
<citation collapse="citation-number">
|
||||
<sort>
|
||||
<key variable="citation-number"/>
|
||||
</sort>
|
||||
<layout delimiter="," vertical-align="sup">
|
||||
<text variable="citation-number"/>
|
||||
</layout>
|
||||
</citation>
|
||||
<bibliography second-field-align="flush" entry-spacing="0" et-al-min="11" et-al-use-first="10">
|
||||
<layout suffix=".">
|
||||
<text variable="citation-number" prefix="(" suffix=") "/>
|
||||
<text macro="author" suffix=" "/>
|
||||
<choose>
|
||||
<if type="article-magazine">
|
||||
<group delimiter=" ">
|
||||
<text macro="title" suffix="."/>
|
||||
<text variable="container-title" font-style="italic" suffix="."/>
|
||||
<text macro="edition"/>
|
||||
<text macro="publisher"/>
|
||||
<text macro="full-issued" suffix=","/>
|
||||
<text macro="pages"/>
|
||||
</group>
|
||||
</if>
|
||||
<else-if type="thesis">
|
||||
<group delimiter=", ">
|
||||
<group delimiter=". ">
|
||||
<text macro="title"/>
|
||||
<text variable="genre"/>
|
||||
</group>
|
||||
<text macro="publisher"/>
|
||||
<text macro="issued"/>
|
||||
<text macro="volume"/>
|
||||
<text macro="pages"/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
||||
<group delimiter="; ">
|
||||
<text macro="title"/>
|
||||
<text macro="editor" prefix=" "/>
|
||||
<text macro="series"/>
|
||||
<text macro="edition"/>
|
||||
<choose>
|
||||
<if type="report">
|
||||
<group delimiter=" ">
|
||||
<text variable="genre"/>
|
||||
<text variable="number"/>
|
||||
</group>
|
||||
</if>
|
||||
</choose>
|
||||
<group delimiter=", ">
|
||||
<text macro="publisher"/>
|
||||
<text macro="issued"/>
|
||||
</group>
|
||||
<group delimiter=", ">
|
||||
<text macro="volume"/>
|
||||
<text macro="pages"/>
|
||||
</group>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="patent">
|
||||
<group delimiter=", ">
|
||||
<group delimiter=". ">
|
||||
<text macro="title"/>
|
||||
<text variable="number"/>
|
||||
</group>
|
||||
<date variable="issued" form="text"/>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="chapter paper-conference" match="any">
|
||||
<group delimiter="; ">
|
||||
<text macro="book-container"/>
|
||||
<text macro="editor"/>
|
||||
<text macro="series"/>
|
||||
<group delimiter=", ">
|
||||
<text macro="publisher"/>
|
||||
<text macro="issued"/>
|
||||
</group>
|
||||
<group delimiter=", ">
|
||||
<text macro="volume"/>
|
||||
<text macro="pages"/>
|
||||
</group>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="webpage">
|
||||
<group delimiter=" ">
|
||||
<text variable="title"/>
|
||||
<text variable="URL"/>
|
||||
<date variable="accessed" prefix="(accessed " suffix=")" delimiter=" ">
|
||||
<date-part name="month" form="short" strip-periods="true"/>
|
||||
<date-part name="day" suffix=", "/>
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</group>
|
||||
</else-if>
|
||||
<else-if type="article-journal">
|
||||
<group delimiter=" ">
|
||||
<text macro="title" suffix="."/>
|
||||
<text variable="container-title" font-style="italic" form="short"/>
|
||||
<group delimiter=", ">
|
||||
<text macro="issued" font-weight="bold"/>
|
||||
<text variable="volume" font-style="italic"/>
|
||||
<text variable="page"/>
|
||||
</group>
|
||||
</group>
|
||||
</else-if>
|
||||
<else>
|
||||
<group delimiter=", ">
|
||||
<group delimiter=". ">
|
||||
<text macro="title"/>
|
||||
<text variable="container-title" font-style="italic"/>
|
||||
</group>
|
||||
<group delimiter=", ">
|
||||
<text macro="issued"/>
|
||||
<text variable="volume" font-style="italic"/>
|
||||
<text variable="page"/>
|
||||
</group>
|
||||
</group>
|
||||
</else>
|
||||
</choose>
|
||||
</layout>
|
||||
</bibliography>
|
||||
</style>
|
||||
@@ -1,92 +0,0 @@
|
||||
;;; author-year.el --- Citation Style Lisp - the other CSL
|
||||
|
||||
|
||||
;;; Commentary:
|
||||
;;
|
||||
|
||||
;;; Code:
|
||||
|
||||
(setq citation-style
|
||||
'((label . orcp-citation-author-year-label)
|
||||
(prefix . "(")
|
||||
(suffix . ")")
|
||||
(delimiter . "; ")
|
||||
(citeauthor . ((vertical-align . baseline)
|
||||
(label . orcp-citation-author-label)
|
||||
(prefix . "")
|
||||
(suffix . " ")))
|
||||
(citeyear . ((vertical-align . baseline)
|
||||
(label . orcp-citation-year-label)
|
||||
(prefix . "")
|
||||
(suffix . " ")
|
||||
(chomp-leading-space . nil)
|
||||
))))
|
||||
|
||||
|
||||
|
||||
(setq bibliography-style
|
||||
'((sort . nil)
|
||||
(hanging-indent . 3)
|
||||
(justification . full)
|
||||
(spacing . 1)
|
||||
(label . orcp-citation-author-year-label)
|
||||
(label-prefix . "(")
|
||||
(label-suffix . ") ")
|
||||
(header . ((text . "Bibliography")
|
||||
(font-style . bold)))
|
||||
;; Formatting of fields
|
||||
;; Single author name
|
||||
(author . ((initialize . t) ; use initials, not full names
|
||||
;; use firstname and lastname symbols
|
||||
(name-order . (firstname lastname))
|
||||
(name-separator . " ")
|
||||
(et-al . 4) ; after 4 authors use et-al
|
||||
(delimiter . "; ")
|
||||
(last-author-delimiter . " and ")
|
||||
(suffix . "")
|
||||
(field-separator . ", ")
|
||||
;; ; function to convert (first von last jr) to a string.)
|
||||
(name-format . ''format-author-name)
|
||||
(field-separator ", ")))
|
||||
|
||||
(title . ((font-style . italics)
|
||||
(suffix . "")
|
||||
(field-separator . ", ")))
|
||||
(booktitle . ((font-style . italics)
|
||||
(suffix . "")
|
||||
(field-separator . "in ")))
|
||||
(journal . ((suffix . "")
|
||||
(field-separator . ", ")))
|
||||
;; here we use some logic to group volume(issue) or volume
|
||||
(volume . ((suffix . (when (orcp-get-entry-field "number" entry)
|
||||
(orcp-issue entry)))
|
||||
(field-separator . ", ")))
|
||||
(issue . ((font-style . bold)
|
||||
(prefix . "(")
|
||||
(suffix . ")")
|
||||
(field-separator . ", ")))
|
||||
(pages . ((prefix . "pp. ")
|
||||
(suffix . "")
|
||||
(field-separator . " ")
|
||||
(collapse-range . nil)))
|
||||
(year . ((prefix . "(")
|
||||
(suffix . ")")
|
||||
(field-separator . ".")))
|
||||
(doi . ((prefix . " ")
|
||||
(suffix . ".")
|
||||
(field-separator . "")
|
||||
(formatter . orcp-doi-formatter)))
|
||||
;; Formatting of entries
|
||||
(entries . ((article . (author title journal volume pages year doi))
|
||||
(inproceedings . (author title booktitle year))
|
||||
(book . (author title year))
|
||||
(manual . (author title url doi))
|
||||
(misc . (author title url doi))
|
||||
(techreport . (author title institution year))
|
||||
(mastersthesis . (author title school year))
|
||||
(phdthesis . (author title school year))
|
||||
(t . (author title year))))))
|
||||
|
||||
(provide 'author-year)
|
||||
|
||||
;;; author-year.el ends here
|
||||
@@ -1,86 +0,0 @@
|
||||
;;; unsrt-footnote.el --- Citation Style Lisp - the other CSL
|
||||
|
||||
|
||||
;;; Commentary:
|
||||
;; Convert citations to org-mode footnotes
|
||||
|
||||
;;; Code:
|
||||
|
||||
(setq citation-style
|
||||
'((label . orcp-footnote-label)
|
||||
(prefix . "")
|
||||
(suffix . "")
|
||||
;; sort on increasing citation numbers.
|
||||
(sort . (lambda (key1 key2)
|
||||
(let ((i1 (-find-index
|
||||
(lambda (entry)
|
||||
(string= key1 (car entry)))
|
||||
*orcp-unique-entries*))
|
||||
(i2 (-find-index
|
||||
(lambda (entry)
|
||||
(string= key2 (car entry)))
|
||||
*orcp-unique-entries*)))
|
||||
(> i2 i1))))
|
||||
(delimiter . ", ")
|
||||
(vertical-align . baseline)))
|
||||
|
||||
|
||||
(setq bibliography-style
|
||||
'((sort . nil)
|
||||
(hanging-indent . 3)
|
||||
(justification . full)
|
||||
(spacing . 1)
|
||||
(label . orcp-footnote-label)
|
||||
(label-prefix . "")
|
||||
(label-suffix . " ")
|
||||
(header . ((text . "Bibliography")
|
||||
(font-style . bold)))
|
||||
;; Formatting of fields
|
||||
;; Single author name
|
||||
(author . ((initialize . t) ; use initials, not full names
|
||||
(name-order . (lastname firstname))
|
||||
(name-separator . ", ")
|
||||
(et-al . 4) ; after 4 authors use et-al
|
||||
(delimiter . "; ")
|
||||
(last-author-delimiter . " and ")
|
||||
(suffix . "")
|
||||
(field-separator . ", ")
|
||||
;; ; function to convert (first von last jr) to a string.)
|
||||
(name-format . ''format-author-name)
|
||||
(field-separator ", ")))
|
||||
(title . ((font-style . italics)
|
||||
(suffix . "")
|
||||
(field-separator . ", ")))
|
||||
(journal . ((suffix . "")
|
||||
(field-separator . ", ")))
|
||||
;; here we use some logic to group volume(issue) or volume
|
||||
(volume . ((suffix . (when (orcp-get-entry-field "number" entry)
|
||||
(orcp-issue entry)))
|
||||
(field-separator . ", ")))
|
||||
(issue . ((font-style . bold)
|
||||
(prefix . "(")
|
||||
(suffix . ")")
|
||||
(field-separator . ", ")))
|
||||
(pages . ((prefix . "pp. ")
|
||||
(suffix . "")
|
||||
(field-separator . " ")
|
||||
(collapse-range . nil)))
|
||||
(year . ((prefix . "(")
|
||||
(suffix . ")")
|
||||
(field-separator . ".")))
|
||||
(doi . ((prefix . " ")
|
||||
(suffix . ".")
|
||||
(field-separator . "")
|
||||
(formatter . orcp-doi-formatter)))
|
||||
;; Formatting of entries
|
||||
(entries . ((article . (author title journal volume pages year doi))
|
||||
(book . (author title year))
|
||||
(misc . (author title url doi))
|
||||
(techreport . (author title institution year))
|
||||
(mastersthesis . (author title school year))
|
||||
(phdthesis . (author title school year))
|
||||
(t . (author title year))))))
|
||||
|
||||
(provide 'unsrt)
|
||||
|
||||
;;; unsrt.el ends here
|
||||
@@ -1,107 +0,0 @@
|
||||
;;; unsrt-paren.el --- numbered citations in ()
|
||||
|
||||
;;; Commentary:
|
||||
;; This does not work well for brackets because org-mode interprets them as
|
||||
;; footnotes.
|
||||
|
||||
;;; Code:
|
||||
|
||||
(setq citation-style
|
||||
'((label . orcp-citation-number-label)
|
||||
(prefix . "(")
|
||||
(suffix . ")")
|
||||
(chomp-leading-space . nil)
|
||||
(chomp-trailing-space . nil)
|
||||
;; sort on increasing citation numbers.
|
||||
(sort . (lambda (key1 key2)
|
||||
(let ((i1 (-find-index
|
||||
(lambda (entry)
|
||||
(string= key1 (car entry)))
|
||||
*orcp-unique-entries*))
|
||||
(i2 (-find-index
|
||||
(lambda (entry)
|
||||
(string= key2 (car entry)))
|
||||
*orcp-unique-entries*)))
|
||||
(> i2 i1))))
|
||||
(collapse . 'orcp-collapse-numeric-range)
|
||||
(delimiter . ",")
|
||||
(vertical-align . baseline)
|
||||
(transpose-punctuation . nil) ;put citations on right of punctuation
|
||||
(citenum . ((vertical-align . baseline)
|
||||
(prefix . "")
|
||||
(suffix . "")
|
||||
(chomp-leading-space . nil)
|
||||
(chomp-trailing-space . nil)))
|
||||
(citeauthor . ((vertical-align . baseline)
|
||||
(label . orcp-citation-author-label)
|
||||
(prefix . "")
|
||||
(suffix . "")
|
||||
(chomp-leading-space . nil)
|
||||
(chomp-trailing-space . nil)))
|
||||
(citeyear . ((vertical-align . baseline)
|
||||
(label . orcp-citation-year-label)
|
||||
(prefix . "")
|
||||
(suffix . "")
|
||||
(chomp-leading-space . nil)
|
||||
(chomp-trailing-space . nil)))))
|
||||
|
||||
|
||||
(setq bibliography-style
|
||||
'((sort . nil)
|
||||
(hanging-indent . 3)
|
||||
(justification . full)
|
||||
(spacing . 1)
|
||||
(label . orcp-citation-number-label)
|
||||
(label-prefix . "")
|
||||
(label-suffix . ") ")
|
||||
(header . ((text . "Bibliography")
|
||||
(font-style . bold)))
|
||||
;; Formatting of fields
|
||||
;; Single author name
|
||||
(author . ((initialize . t) ; use initials, not full names
|
||||
(name-order . (lastname firstname))
|
||||
(name-separator . ", ")
|
||||
(et-al . 4) ; after 4 authors use et-al
|
||||
(delimiter . "; ")
|
||||
(last-author-delimiter . " and ")
|
||||
(suffix . "")
|
||||
(field-separator . ", ")
|
||||
;; ; function to convert (first von last jr) to a string.)
|
||||
(name-format . ''format-author-name)
|
||||
(field-separator ", ")))
|
||||
(title . ((font-style . italics)
|
||||
(suffix . "")
|
||||
(field-separator . ", ")))
|
||||
(journal . ((suffix . "")
|
||||
(field-separator . ", ")))
|
||||
;; here we use some logic to group volume(issue) or volume
|
||||
(volume . ((suffix . (when (orcp-get-entry-field "number" entry)
|
||||
(orcp-issue entry)))
|
||||
(field-separator . ", ")))
|
||||
(issue . ((font-style . bold)
|
||||
(prefix . "(")
|
||||
(suffix . ")")
|
||||
(field-separator . ", ")))
|
||||
(pages . ((prefix . "pp. ")
|
||||
(suffix . "")
|
||||
(field-separator . " ")
|
||||
(collapse-range . nil)))
|
||||
(year . ((prefix . "(")
|
||||
(suffix . ")")
|
||||
(field-separator . ".")))
|
||||
(doi . ((prefix . " ")
|
||||
(suffix . ".")
|
||||
(field-separator . "")
|
||||
(formatter . orcp-doi-formatter)))
|
||||
;; Formatting of entries
|
||||
(entries . ((article . (author title journal volume pages year doi))
|
||||
(book . (author title year))
|
||||
(misc . (author title url doi))
|
||||
(techreport . (author title institution year))
|
||||
(mastersthesis . (author title school year))
|
||||
(phdthesis . (author title school year))
|
||||
(t . (author title year))))))
|
||||
|
||||
(provide 'unsrt-paren)
|
||||
|
||||
;;; unsrt-paren.el ends here
|
||||
@@ -1,111 +0,0 @@
|
||||
;;; unsrt.el --- Citation Style Lisp - the other CSL
|
||||
|
||||
|
||||
;;; Commentary:
|
||||
;;
|
||||
|
||||
;;; Code:
|
||||
|
||||
(setq citation-style
|
||||
'((label . orcp-citation-number-label)
|
||||
(prefix . "")
|
||||
(suffix . "")
|
||||
(chomp-leading-space . t)
|
||||
(chomp-trailing-space . nil)
|
||||
;; sort on increasing citation numbers.
|
||||
(sort . (lambda (key1 key2)
|
||||
(let ((i1 (-find-index
|
||||
(lambda (entry)
|
||||
(string= key1 (car entry)))
|
||||
*orcp-unique-entries*))
|
||||
(i2 (-find-index
|
||||
(lambda (entry)
|
||||
(string= key2 (car entry)))
|
||||
*orcp-unique-entries*)))
|
||||
(> i2 i1))))
|
||||
(collapse . 'orcp-collapse-numeric-range)
|
||||
(delimiter . ",")
|
||||
(vertical-align . superscript)
|
||||
(transpose-punctuation . t) ;put citations on right of punctuation
|
||||
(citenum . ((vertical-align . baseline)
|
||||
(prefix . " ")
|
||||
(suffix . " ")
|
||||
(chomp-leading-space . nil)
|
||||
(chomp-trailing-space . nil)))
|
||||
(citeauthor . ((vertical-align . baseline)
|
||||
(label . orcp-citation-author-label)
|
||||
(prefix . "")
|
||||
(suffix . " ")
|
||||
(chomp-leading-space . nil)
|
||||
(chomp-trailing-space . nil)))
|
||||
(citeyear . ((vertical-align . baseline)
|
||||
(label . orcp-citation-year-label)
|
||||
(prefix . "")
|
||||
(suffix . " ")
|
||||
(chomp-leading-space . nil)
|
||||
(chomp-trailing-space . nil)))))
|
||||
|
||||
|
||||
(setq bibliography-style
|
||||
'((sort . nil)
|
||||
(hanging-indent . 3)
|
||||
(justification . full)
|
||||
(spacing . 1)
|
||||
(label . orcp-citation-number-label)
|
||||
(label-prefix . "")
|
||||
(label-suffix . ". ")
|
||||
(header . ((text . "Bibliography")
|
||||
(font-style . bold)))
|
||||
;; Formatting of fields
|
||||
;; Single author name
|
||||
(author . ((initialize . t) ; use initials, not full names
|
||||
(name-order . (lastname firstname))
|
||||
(name-separator . ", ")
|
||||
(et-al . 4) ; after 4 authors use et-al
|
||||
(delimiter . "; ")
|
||||
(last-author-delimiter . " and ")
|
||||
(suffix . "")
|
||||
(field-separator . ", ")
|
||||
;; ; function to convert (first von last jr) to a string.)
|
||||
(name-format . ''format-author-name)
|
||||
(field-separator ", ")))
|
||||
(title . ((font-style . italics)
|
||||
(suffix . "")
|
||||
(field-separator . ", ")))
|
||||
(booktitle . ((font-style . italics)
|
||||
(suffix . "")
|
||||
(field-separator . "in ")))
|
||||
(journal . ((suffix . "")
|
||||
(field-separator . ", ")))
|
||||
;; here we use some logic to group volume(issue) or volume
|
||||
(volume . ((suffix . (when (orcp-get-entry-field "number" entry)
|
||||
(orcp-issue entry)))
|
||||
(field-separator . ", ")))
|
||||
(issue . ((font-style . bold)
|
||||
(prefix . "(")
|
||||
(suffix . ")")
|
||||
(field-separator . ", ")))
|
||||
(pages . ((prefix . "pp. ")
|
||||
(suffix . "")
|
||||
(field-separator . " ")
|
||||
(collapse-range . nil)))
|
||||
(year . ((prefix . "(")
|
||||
(suffix . ")")
|
||||
(field-separator . ".")))
|
||||
(doi . ((prefix . " ")
|
||||
(suffix . ".")
|
||||
(field-separator . "")
|
||||
(formatter . orcp-doi-formatter)))
|
||||
;; Formatting of entries
|
||||
(entries . ((article . (author title journal volume pages year doi))
|
||||
(inproceedings . (author title booktitle year))
|
||||
(book . (author title year))
|
||||
(misc . (author title url doi))
|
||||
(techreport . (author title institution year))
|
||||
(mastersthesis . (author title school year))
|
||||
(phdthesis . (author title school year))
|
||||
(t . (author title year))))))
|
||||
|
||||
(provide 'unsrt)
|
||||
|
||||
;;; unsrt.el ends here
|
||||
@@ -1,92 +0,0 @@
|
||||
* DONE Introduction to a citation processor in org-ref
|
||||
CLOSED: [2015-12-11 Fri 18:05]
|
||||
:PROPERTIES:
|
||||
:categories: emacs,orgref,orgmode,citations
|
||||
:date: 2015/12/11 18:05:43
|
||||
:updated: 2015/12/11 18:22:40
|
||||
:END:
|
||||
|
||||
As a potential solution for citions in org-mode for non-LaTeX export, here we introduce csl (citation syntax lisp). The idea is heavily influenced by the xml-based Citation Syntax Language, but uses lisp sexps instead.
|
||||
|
||||
Briefly, there is a csl file that contains two variables: citation-style and bibliography-style. The citation-style defines how the in-text citations are represented for different types of citations. The bibliography-style defines how the bibliography is constructed.
|
||||
|
||||
What do we gain by this?
|
||||
1. No need for external citeproc program, and hackability by org-mode experts.
|
||||
2. Punctuation transposition and space chomping, i.e. put superscripts on the right side of punctuation if you want it, and remove whitespace before superscripts if you want it.
|
||||
3. Total tunability of the citation format to different backends.
|
||||
4. Easy to change bibliography format with the bibliographystyle link.
|
||||
5. The use of Bibtex databases. These are plain text, and flexible.
|
||||
|
||||
The real code for this is too long to blog about. Instead, you should check it out here: https://github.com/jkitchin/org-ref/tree/master/citeproc
|
||||
|
||||
** Reference types
|
||||
|
||||
- A book cite:kittel-2005-introd-solid.
|
||||
|
||||
- An article cite:kitchin-2015-examp
|
||||
|
||||
- A miscellaneous bibtex type cite:xu-suppor.
|
||||
|
||||
There is work to do in supporting other types of entry types that are common in bibtex files.
|
||||
|
||||
** Citation types
|
||||
|
||||
- Regular citation: cite:kitchin-2015-examp
|
||||
- citenum: See Ref. citenum:kitchin-2015-examp
|
||||
- citeauthor: citeauthor:kitchin-2015-examp
|
||||
- citeyear: citeyear:kitchin-2015-examp
|
||||
|
||||
There is work to do in supporting other types of citations.
|
||||
|
||||
** Multiple citations and sorting within citation
|
||||
You can specify that the cites within a citation are consistently sorted in the export.
|
||||
|
||||
- a,b: cite:kitchin-2015-examp,kitchin-2015-data-surfac-scien
|
||||
- b,a: cite:kitchin-2015-data-surfac-scien,kitchin-2015-examp
|
||||
|
||||
There is work to do for range collapsing, e.g. to turn 1,2,3 into 1-3.
|
||||
** Space chomping and punctuation testing
|
||||
I think citations should always be put in the sentence they logically belong to. LaTeX has a feature through natbib I think where for some styles, e.g. superscripts, the citations are moved to the right side of punctuation, and whitespace is chomped so the superscript is next to words, not separated by spaces. We can do that here too.
|
||||
|
||||
- Citation at end of sentence cite:kitchin-2015-examp.
|
||||
- Citation in clause cite:kitchin-2015-examp,kitchin-2015-data-surfac-scien, with a comma.
|
||||
- Citation in middle of cite:kitchin-2015-examp,kitchin-2015-data-surfac-scien a sentence.
|
||||
|
||||
** Building
|
||||
:PROPERTIES:
|
||||
:date: 2015/12/11 14:47:59
|
||||
:updated: 2015/12/11 14:48:26
|
||||
:END:
|
||||
|
||||
At the moment, you have to add a hook function to put the replacements in the document before parsing.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(add-to-list 'load-path ".")
|
||||
(require 'org-ref-citeproc)
|
||||
|
||||
(let ((org-export-before-parsing-hook '(orcp-citeproc)))
|
||||
(browse-url (org-html-export-to-html)))
|
||||
#+End_src
|
||||
|
||||
#+RESULTS:
|
||||
: #<process open ./readme-author-year.html>
|
||||
|
||||
|
||||
** Summary thoughts
|
||||
This looks promising. There is probably a lot of work to do to make this as robust as say citeproc-js or the Zotero handler. I am not sure if we could write this in a way to directly use the CSL. My feeling is it would not be as flexible as this, and we would have to add to it anyway.
|
||||
|
||||
Here are some remaining things that could be worked on if we continue this direction.
|
||||
|
||||
1. Other bibtex entries need to be tested out.
|
||||
2. Remaining bibtex fields need to be defined.
|
||||
3. Standardization of styling that can be done. Not all features described in my csl are supported, e.g. et. al. and probably others.
|
||||
4. The author-year style needs name disambiguation somehow.
|
||||
5. Hyperlinking in html.
|
||||
6. Make sure export to other backends works.
|
||||
7. Can this work for notes-based styles?
|
||||
|
||||
** Bibliography
|
||||
You use a bibliographystyle link to specify a csl. These are similar to bibtex styles, and in some cases no change is needed for LaTeX export (although you may have to remove the citeproc hook function).
|
||||
|
||||
bibliographystyle:author-year
|
||||
bibliography:~/Dropbox/bibliography/references.bib
|
||||
@@ -1,93 +0,0 @@
|
||||
* DONE Introduction to a citation processor in org-ref
|
||||
CLOSED: [2015-12-11 Fri 18:05]
|
||||
:PROPERTIES:
|
||||
:categories: emacs,orgref,orgmode,citations
|
||||
:date: 2015/12/11 18:05:43
|
||||
:updated: 2015/12/11 18:22:40
|
||||
:END:
|
||||
|
||||
As a potential solution for citions in org-mode for non-LaTeX export, here we introduce csl (citation syntax lisp). The idea is heavily influenced by the xml-based Citation Syntax Language, but uses lisp sexps instead.
|
||||
|
||||
Briefly, there is a csl file that contains two variables: citation-style and bibliography-style. The citation-style defines how the in-text citations are represented for different types of citations. The bibliography-style defines how the bibliography is constructed.
|
||||
|
||||
What do we gain by this?
|
||||
1. No need for external citeproc program, and hackability by org-mode experts.
|
||||
2. Punctuation transposition and space chomping, i.e. put superscripts on the right side of punctuation if you want it, and remove whitespace before superscripts if you want it.
|
||||
3. Total tunability of the citation format to different backends.
|
||||
4. Easy to change bibliography format with the bibliographystyle link.
|
||||
5. The use of Bibtex databases. These are plain text, and flexible.
|
||||
|
||||
The real code for this is too long to blog about. Instead, you should check it out here: https://github.com/jkitchin/org-ref/tree/master/citeproc
|
||||
|
||||
** Reference types
|
||||
|
||||
- A book cite:kittel-2005-introd-solid.
|
||||
|
||||
- An article cite:kitchin-2015-examp
|
||||
|
||||
- A miscellaneous bibtex type cite:xu-suppor.
|
||||
|
||||
There is work to do in supporting other types of entry types that are common in bibtex files.
|
||||
|
||||
** Citation types
|
||||
|
||||
- Regular citation: cite:kitchin-2015-examp
|
||||
- citenum: See Ref. citenum:kitchin-2015-examp
|
||||
- citeauthor: citeauthor:kitchin-2015-examp
|
||||
- citeyear: citeyear:kitchin-2015-examp
|
||||
|
||||
There is work to do in supporting other types of citations.
|
||||
|
||||
** Multiple citations and sorting within citation
|
||||
You can specify that the cites within a citation are consistently sorted in the export.
|
||||
|
||||
- a,b: cite:kitchin-2015-examp,kitchin-2015-data-surfac-scien
|
||||
- b,a: cite:kitchin-2015-data-surfac-scien,kitchin-2015-examp
|
||||
|
||||
There is work to do for range collapsing, e.g. to turn 1,2,3 into 1-3.
|
||||
** Space chomping and punctuation testing
|
||||
I think citations should always be put in the sentence they logically belong to. LaTeX has a feature through natbib I think where for some styles, e.g. superscripts, the citations are moved to the right side of punctuation, and whitespace is chomped so the superscript is next to words, not separated by spaces. We can do that here too.
|
||||
|
||||
- Citation at end of sentence cite:kitchin-2015-examp.
|
||||
- Citation in clause cite:kitchin-2015-examp,kitchin-2015-data-surfac-scien, with a comma.
|
||||
- Citation in middle of cite:kitchin-2015-examp,kitchin-2015-data-surfac-scien a sentence.
|
||||
|
||||
** Building
|
||||
:PROPERTIES:
|
||||
:date: 2015/12/11 14:47:59
|
||||
:updated: 2015/12/11 14:48:26
|
||||
:END:
|
||||
|
||||
At the moment, you have to add a hook function to put the replacements in the document before parsing.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(add-to-list 'load-path ".")
|
||||
(require 'org-ref-citeproc)
|
||||
|
||||
(when (file-exists-p "readme.html") (delete-file "readme.html"))
|
||||
(let ((org-export-before-parsing-hook '(orcp-citeproc)))
|
||||
(browse-url (org-html-export-to-html)))
|
||||
#+End_src
|
||||
|
||||
#+RESULTS:
|
||||
: #<process open ./readme-unsrt.html>
|
||||
|
||||
|
||||
** Summary thoughts
|
||||
This looks promising. There is probably a lot of work to do to make this as robust as say citeproc-js or the Zotero handler. I am not sure if we could write this in a way to directly use the CSL. My feeling is it would not be as flexible as this, and we would have to add to it anyway.
|
||||
|
||||
Here are some remaining things that could be worked on if we continue this direction.
|
||||
|
||||
1. Other bibtex entries need to be tested out.
|
||||
2. Remaining bibtex fields need to be defined.
|
||||
3. Standardization of styling that can be done. Not all features described in my csl are supported, e.g. et. al. and probably others.
|
||||
4. The author-year style needs name disambiguation somehow.
|
||||
5. Hyperlinking in html.
|
||||
6. Make sure export to other backends works.
|
||||
7. Can this work for notes-based styles?
|
||||
|
||||
** Bibliography
|
||||
You use a bibliographystyle link to specify a csl. These are similar to bibtex styles, and in some cases no change is needed for LaTeX export (although you may have to remove the citeproc hook function).
|
||||
|
||||
bibliographystyle:unsrt
|
||||
bibliography:~/Dropbox/bibliography/references.bib
|
||||
@@ -1,203 +0,0 @@
|
||||
|
||||
@techreport{2011-mater-genom,
|
||||
title = {Materials Genome Initiative for Global Competitiveness},
|
||||
institution = {National Science and Technology Council},
|
||||
year = {2011},
|
||||
type = {Report}
|
||||
}
|
||||
|
||||
@phdthesis{Hossein-thesis,
|
||||
author = {Hossein Pourmatin},
|
||||
title = {Computational Multiscale Methods for Defects: 1. Line Defects
|
||||
in Liquid Crystals; 2. Electron Scattering in Defected
|
||||
Crystals},
|
||||
school = {Carnegie Mellon University},
|
||||
year = 2014,
|
||||
note = {Available at
|
||||
\url{sites.google.com/site/kaushikdayal/publications#Theses}}
|
||||
}
|
||||
|
||||
@inproceedings{abolhasani-2011-model,
|
||||
Author = {Abolhasani, M. and Kumacheva, E. and G{\"u}nther,
|
||||
A.},
|
||||
Title = {Model-predictive Strategy for Exploration of Carbon
|
||||
Dioxide Dissolution and Mass Transfer},
|
||||
Booktitle = {15th International Conference on Miniaturized
|
||||
Systems for Chemistry and Life Sciences},
|
||||
Year = 2011,
|
||||
Month = {October},
|
||||
Url =
|
||||
{"http://www.rsc.org/images/LOC/2011/PDFs/Papers/224_1180.pdf}
|
||||
}
|
||||
|
||||
@article{anderson-1977-raman,
|
||||
author = {George R. Anderson},
|
||||
title = {The {R}aman Spectra of Carbon Dioxide in Liquid Water and
|
||||
Water-D2},
|
||||
journal = {J. Phys. Chem.},
|
||||
volume = 81,
|
||||
number = 3,
|
||||
pages = {273-276},
|
||||
year = 1977,
|
||||
doi = {10.1021/j100518a017},
|
||||
url = {http://dx.doi.org/10.1021/j100518a017},
|
||||
month = 2,
|
||||
eprint = {http://pubs.acs.org/doi/pdf/10.1021/j100518a017},
|
||||
}
|
||||
|
||||
@MastersThesis{ding-2012-metal-oxide,
|
||||
author = {Zhizhong Ding},
|
||||
title = {Metal Oxide Oxygen Carriers for Chemical-Looping Combustion},
|
||||
school = {Carnegie Mellon University},
|
||||
year = 2012}
|
||||
|
||||
@article{kitchin-2015-data-surfac-scien,
|
||||
author = "John R. Kitchin",
|
||||
title = {Data Sharing in Surface Science},
|
||||
journal = "Surface Science ",
|
||||
volume = "N/A",
|
||||
pages = "in press",
|
||||
year = 2015,
|
||||
doi = {10.1016/j.susc.2015.05.007},
|
||||
url =
|
||||
"http://www.sciencedirect.com/science/article/pii/S0039602815001326",
|
||||
issn = "0039-6028",
|
||||
keywords = {DESC0004031, early-career, orgmode, Data sharing },
|
||||
}
|
||||
|
||||
@article{kitchin-2015-examp,
|
||||
author = {Kitchin, John R.},
|
||||
title = {Examples of Effective Data Sharing in Scientific Publishing},
|
||||
journal = {ACS Catalysis},
|
||||
volume = {5},
|
||||
number = {6},
|
||||
pages = {3894-3899},
|
||||
year = 2015,
|
||||
doi = {10.1021/acscatal.5b00538},
|
||||
url = { http://dx.doi.org/10.1021/acscatal.5b00538 },
|
||||
keywords = {DESC0004031, early-career, orgmode, Data sharing },
|
||||
eprint = { http://dx.doi.org/10.1021/acscatal.5b00538 },
|
||||
}
|
||||
|
||||
@book{kittel-2005-introd-solid,
|
||||
author = {Charles Kittel},
|
||||
title = {Introduction to Solid State Physics},
|
||||
publisher = {Wiley},
|
||||
year = 2005,
|
||||
edition = {8th}
|
||||
}
|
||||
|
||||
@misc{xu-suppor,
|
||||
author = {Zhongnan Xu and Jan Rossmeisl and John R. Kitchin},
|
||||
title = {Supporting data for: A linear response, {DFT+U} study of trends
|
||||
in the oxygen evolution activity of transition metal rutile
|
||||
dioxides. doi:10.5281/zenodo.12635},
|
||||
keywords = {DESC0004031, early-career, },
|
||||
year = {2015},
|
||||
url = {https://zenodo.org/record/12635},
|
||||
doi = {10.5281/zenodo.12635}
|
||||
}
|
||||
|
||||
@article{ye-2012-proces-charac,
|
||||
author = {Y. E. Chunbo and Guangwen CHEN and Quan YUAN},
|
||||
title = {Process Characteristics of \ce{CO2} Absorption By Aqueous
|
||||
Monoethanolamine in a Microchannel Reactor},
|
||||
journal = {Chinese Journal of Chemical Engineering},
|
||||
volume = 20,
|
||||
number = 1,
|
||||
pages = {111-119},
|
||||
year = 2012,
|
||||
doi = {10.1016/s1004-9541(12)60370-x},
|
||||
url = {http://dx.doi.org/10.1016/S1004-9541(12)60370-X},
|
||||
}
|
||||
|
||||
@article{yeo-2012-in-situ,
|
||||
author = {Yeo, Boon Siang and Bell, Alexis T.},
|
||||
title = {In Situ {R}aman Study of Nickel Oxide and Gold-Supported
|
||||
Nickel Oxide Catalysts for the Electrochemical Evolution of
|
||||
Oxygen},
|
||||
journal = {The Journal of Physical Chemistry C},
|
||||
volume = 116,
|
||||
number = 15,
|
||||
pages = {8394-8400},
|
||||
year = 2012,
|
||||
doi = {10.1021/jp3007415},
|
||||
url = {http://pubs.acs.org/doi/abs/10.1021/jp3007415},
|
||||
eprint = {http://pubs.acs.org/doi/pdf/10.1021/jp3007415},
|
||||
}
|
||||
|
||||
@article{zhu-2013-sulfur,
|
||||
author = {Zhu, Qingjun and Wegener, Staci L. and Xie, Chao and Uche,
|
||||
Obioma and Neurock, Matthew and Marks, Tobin J.},
|
||||
title = {Sulfur As a Selective "soft" Oxidant for Catalytic Methane
|
||||
Conversion Probed By Experiment and Theory},
|
||||
journal = {Nature chemistry},
|
||||
volume = 5,
|
||||
pages = {104-109},
|
||||
year = 2013,
|
||||
doi = "10.1002/ange.201311111",
|
||||
url =
|
||||
"http://www.nature.com/nchem/journal/v5/n2/full/nchem.1527.html",
|
||||
}
|
||||
|
||||
@article{lizzit-2001-surfac-ru,
|
||||
author = {S. Lizzit and A. Baraldi and A. Groso and K. Reuter and M. V.
|
||||
Ganduglia-Pirovano and C. Stampfl and M. Scheffler and M.
|
||||
Stichler and C. Keller and W. Wurth and D. Menzel},
|
||||
title = {Surface Core-Level Shifts of Clean and Oxygen-Covered
|
||||
{Ru}(0001)},
|
||||
journal = {Phys. Rev. B},
|
||||
volume = 63,
|
||||
number = 20,
|
||||
pages = {205419},
|
||||
year = 2001,
|
||||
doi = {10.1103/physrevb.63.205419},
|
||||
url = {http://dx.doi.org/10.1103/physrevb.63.205419},
|
||||
date_added = {Mon Nov 16 16:28:01 2015},
|
||||
}
|
||||
|
||||
@article{weaver-2011-high-selec,
|
||||
author = {Jason F. Weaver and Can Hakanoglu and Abbin Antony and Aravind
|
||||
Asthagiri},
|
||||
title = {High Selectivity for Primary {C-H} Bond Cleavage of Propane
|
||||
$\sigma$-complexes on the {PdO}(101) Surface},
|
||||
keywords = {alkane},
|
||||
journal = {J. Am. Chem. Soc.},
|
||||
volume = 133,
|
||||
number = 40,
|
||||
pages = {16196-16200},
|
||||
year = 2011,
|
||||
doi = {10.1021/ja206599k},
|
||||
url = {http://dx.doi.org/10.1021/ja206599k},
|
||||
date_added = {Sat Nov 28 09:10:59 2015},
|
||||
}
|
||||
|
||||
@article{antony-2012-pathw-c,
|
||||
author = {Abbin Antony and Aravind Asthagiri and Jason F. Weaver},
|
||||
title = {Pathways for {C-H} Bond Cleavage of Propane $\sigma$-complexes on
|
||||
{PdO}(101)},
|
||||
keywords = {alkane},
|
||||
journal = {Phys. Chem. Chem. Phys.},
|
||||
volume = 14,
|
||||
number = 35,
|
||||
pages = 12202,
|
||||
year = 2012,
|
||||
doi = {10.1039/c2cp41900a},
|
||||
url = {http://dx.doi.org/10.1039/c2cp41900a},
|
||||
date_added = {Sat Nov 28 09:13:32 2015},
|
||||
}
|
||||
|
||||
@article{wang-2013-immob-co2,
|
||||
author = {Xianfeng Wang and Novruz G. Akhmedov and Yuhua Duan and David
|
||||
Luebke and Bingyun Li},
|
||||
title = {Immobilization of Amino Acid Ionic Liquids Into Nanoporous
|
||||
Microspheres As Robust Sorbents for CO2 Capture},
|
||||
journal = {J. Mater. Chem. A},
|
||||
volume = 1,
|
||||
number = 9,
|
||||
pages = 2978,
|
||||
year = 2013,
|
||||
doi = {10.1039/c3ta00768e},
|
||||
url = {http://dx.doi.org/10.1039/C3TA00768E},
|
||||
date_added = {Thu Dec 3 06:13:09 2015},
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user