sbib and csl

This commit is contained in:
ackman678
2021-03-29 11:31:20 -07:00
parent 0217daf383
commit 9d857211dd
5 changed files with 2138 additions and 37 deletions

1166
OMEGA.bib

File diff suppressed because it is too large Load Diff

View File

@@ -5,8 +5,8 @@ omega.bib : A bibtex data file containing scientific source literature curated
### History
Long ago some of this data started as an endnote/proprietary library file. Then it was a sente/proprietary library for a few years. Once in awhile some of the data would explore other possibilities (papers, zotero, citeulike, mendeley, bookends). But nothing quite fit the combination of truly open/non-proprietary and flexible/hackable/future proofable.
But then finally the data was freed. It turned into a plain text/open/future proof bibtex file. And there the data has lived happily for ten years. It has enjoyed being managed with the excellent open source BibDesk program long developed for os x/macos. Now it is managed by the equally powerful and feature rich jabref program, which is of course also open source but runs on any platform (a java application) including linux.
Long ago some of this data started as a sequence of non-open library files associated with proprietary programs (endnote, sente in the early-mid 2000s). Once in awhile some of the data would explore other possibilities (papers, citeulike, mendeley, bookends, zotero). But nothing quite fit the combination of truly open/non-proprietary and flexible/hackable/future proofable.
Then the data was freed. It turned into a **plain text**/open/future proof file of a bibtex type format. And there the data has lived happily for ten years, being used with python routines or pandoc for conversion, integration to document prepartion formats intended for web or print publishing. It has enjoyed being managed with the excellent open source BibDesk program long developed for mac osx/macos. It has been also managed by the equally powerful and feature rich jabref program, which is also open source but runs on any platform (as a java application) including linux. In recent times the management has been minimzized (simplified meaning increasingly less external dependencies) with fuzzy-search and bash scripts at the command line.
Methods for transforming the file url links from BibDesk (which were macos specific) are detailed in a separate document '2018-11-01-bibdesk-convert.md'.

335
bibd-md.csl Normal file
View File

@@ -0,0 +1,335 @@
<?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>Public Library of Science</title>
<title-short>PLOS</title-short>
<id>http://www.zotero.org/styles/plos</id>
<link href="http://www.zotero.org/styles/plos" rel="self"/>
<link href="http://www.zotero.org/styles/vancouver" rel="template"/>
<link href="http://www.plosone.org/static/guidelines#references" rel="documentation"/>
<author>
<name>Sebastian Karcher</name>
</author>
<contributor>
<name>James Ackman</name>
</contributor>
<category citation-format="numeric"/>
<category field="science"/>
<summary>Customized Vancouver from PLoS Journals with pmid, url fields</summary>
<updated>2020-06-12T06:53:56-07: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">
<date form="text" delimiter=" ">
<date-part name="day"/>
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="year"/>
</date>
<terms>
<term name="presented at">presented at</term>
<term name="retrieved">available</term>
<term name="section" form="short">sect.</term>
</terms>
</locale>
<macro name="author">
<names variable="author">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<label form="long" prefix=", "/>
<substitute>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="editor">
<group delimiter=": ">
<choose>
<if type="chapter paper-conference" match="any">
<text term="in" text-case="capitalize-first"/>
</if>
</choose>
<names variable="editor" suffix=".">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<label form="long" prefix=", "/>
</names>
</group>
</macro>
<macro name="publisher">
<choose>
<if type="thesis">
<group delimiter=", " suffix=".">
<text variable="genre"/>
<text variable="publisher"/>
</group>
</if>
<else>
<choose>
<if type="article-newspaper article-journal article-magazine" match="none">
<group delimiter=": " suffix=";">
<choose>
<if type="speech" match="any"/>
<else>
<text variable="publisher-place"/>
</else>
</choose>
<text variable="publisher"/>
</group>
</if>
</choose>
</else>
</choose>
</macro>
<macro name="access-id">
<choose>
<if variable="id">
<text variable="id"/>
</if>
</choose>
</macro>
<macro name="access-doi">
<choose>
<if variable="DOI">
<text variable="DOI" prefix="doi:"/>
</if>
</choose>
</macro>
<macro name="access-pmid">
<choose>
<if variable="PMID">
<text variable="PMID" prefix="pmid:"/>
</if>
</choose>
</macro>
<macro name="access-url">
<choose>
<if variable="URL">
<group delimiter=" ">
<text variable="URL"/>
</group>
</if>
</choose>
</macro>
<macro name="accessed-date">
<choose>
<if variable="URL">
<group prefix="[" suffix="]" delimiter=" ">
<text term="cited" text-case="lowercase"/>
<date variable="accessed" form="text"/>
</group>
</if>
</choose>
</macro>
<macro name="container-title">
<choose>
<if type="article-journal article-magazine chapter paper-conference article-newspaper post-weblog webpage" match="any">
<group suffix="." delimiter=" ">
<choose>
<if type="article-journal">
<text variable="container-title" form="short" strip-periods="true"/>
</if>
<else-if type="post-weblog webpage" match="any">
<group delimiter=" ">
<text term="in" text-case="capitalize-first" suffix=":"/>
<text variable="container-title"/>
<choose>
<if variable="URL">
<text term="internet" prefix="[" suffix="]" text-case="capitalize-first"/>
</if>
</choose>
</group>
</else-if>
<else>
<text variable="container-title" strip-periods="true"/>
</else>
</choose>
</group>
<text macro="edition" prefix=" "/>
</if>
<!--add event-name and event-place once they become available-->
<else-if type="bill legislation" match="any">
<group delimiter=", ">
<group delimiter=". ">
<text variable="container-title"/>
<group delimiter=" ">
<text term="section" form="short" text-case="capitalize-first"/>
<text variable="section"/>
</group>
</group>
<text variable="number"/>
</group>
</else-if>
<else-if type="speech">
<group delimiter=": " suffix=";">
<group delimiter=" ">
<text variable="genre" text-case="capitalize-first"/>
<text term="presented at"/>
</group>
<text variable="event"/>
</group>
</else-if>
<else>
<text variable="container-title" suffix="."/>
</else>
</choose>
</macro>
<macro name="title">
<text variable="title"/>
<choose>
<if type="article-journal article-magazine chapter paper-conference article-newspaper post-weblog webpage" match="none">
<choose>
<if variable="URL">
<text term="internet" prefix=" [" suffix="]" text-case="capitalize-first"/>
</if>
</choose>
<text macro="edition" prefix=". "/>
</if>
<else-if type="post-weblog webpage" match="any">
<choose>
<if variable="container-title" match="none">
<text term="internet" prefix=" [" suffix="]" text-case="capitalize-first"/>
</if>
</choose>
</else-if>
</choose>
<choose>
<if type="song motion_picture" match="any">
<text variable="medium" prefix=" [" suffix="]"/>
</if>
</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="date">
<choose>
<if type="article-journal" match="any">
<group suffix=";" delimiter=" ">
<date variable="issued" form="text" date-parts="year"/>
</group>
</if>
<else-if type="article-magazine article-newspaper" match="any">
<date variable="issued" form="text"/>
</else-if>
<else-if type="bill legislation" match="any">
<group delimiter=", ">
<date variable="issued" delimiter=" ">
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="day"/>
</date>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</else-if>
<else-if type="report">
<date variable="issued" delimiter=" ">
<date-part name="year"/>
<date-part name="month" form="short" strip-periods="true"/>
</date>
</else-if>
<else-if type="patent">
<group suffix=".">
<group delimiter=", ">
<text variable="number"/>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</group>
</else-if>
<else-if type="speech">
<group delimiter="; ">
<group delimiter=" ">
<date variable="issued" delimiter=" ">
<date-part name="year"/>
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="day"/>
</date>
</group>
<text variable="event-place"/>
</group>
</else-if>
<else-if type="post-weblog webpage" match="any">
<date variable="issued" form="text"/>
<text macro="accessed-date" prefix=" "/>
</else-if>
<else>
<group suffix=".">
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</else>
</choose>
</macro>
<macro name="pages">
<choose>
<if type="article-journal article-magazine article-newspaper" match="any">
<text variable="page" prefix=": "/>
</if>
<else>
<group prefix=" " delimiter=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</else>
</choose>
</macro>
<macro name="journal-location">
<choose>
<if type="article-journal article-magazine" match="any">
<text variable="volume"/>
</if>
</choose>
</macro>
<macro name="report-details">
<choose>
<if type="report">
<text variable="number" prefix="Report No.: "/>
</if>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout prefix="[" suffix="]" delimiter=",">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography et-al-min="7" et-al-use-first="6" second-field-align="flush">
<layout>
<text macro="access-id" prefix="[^" suffix="]: "/>
<group delimiter=". " suffix=". ">
<text macro="author"/>
<text macro="title"/>
</group>
<group delimiter=" " suffix=". ">
<text macro="editor"/>
<text macro="container-title"/>
<text macro="publisher"/>
<group>
<text macro="date"/>
<text macro="journal-location"/>
<text macro="pages"/>
</group>
</group>
<text macro="report-details" suffix=". "/>
<group delimiter=" ">
<text macro="access-doi"/>
<text macro="access-pmid"/>
<?text variable="abstract" display="block"/?>
<text macro="access-url"/>
</group>
</layout>
</bibliography>
</style>

333
bibd-plain.csl Normal file
View File

@@ -0,0 +1,333 @@
<?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>Public Library of Science</title>
<title-short>PLOS</title-short>
<id>http://www.zotero.org/styles/plos</id>
<link href="http://www.zotero.org/styles/plos" rel="self"/>
<link href="http://www.zotero.org/styles/vancouver" rel="template"/>
<link href="http://www.plosone.org/static/guidelines#references" rel="documentation"/>
<author>
<name>Sebastian Karcher</name>
</author>
<contributor>
<name>James Ackman</name>
</contributor>
<category citation-format="numeric"/>
<category field="science"/>
<summary>Customized Vancouver from PLoS Journals with pmid, url fields</summary>
<updated>2019-07-14T20:12:53+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">
<date form="text" delimiter=" ">
<date-part name="day"/>
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="year"/>
</date>
<terms>
<term name="presented at">presented at</term>
<term name="retrieved">available</term>
<term name="section" form="short">sect.</term>
</terms>
</locale>
<macro name="author">
<names variable="author">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<label form="long" prefix=", "/>
<substitute>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="editor">
<group delimiter=": ">
<choose>
<if type="chapter paper-conference" match="any">
<text term="in" text-case="capitalize-first"/>
</if>
</choose>
<names variable="editor" suffix=".">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<label form="long" prefix=", "/>
</names>
</group>
</macro>
<macro name="publisher">
<choose>
<if type="thesis">
<group delimiter=", " suffix=".">
<text variable="genre"/>
<text variable="publisher"/>
</group>
</if>
<else>
<choose>
<if type="article-newspaper article-journal article-magazine" match="none">
<group delimiter=": " suffix=";">
<choose>
<if type="speech" match="any"/>
<else>
<text variable="publisher-place"/>
</else>
</choose>
<text variable="publisher"/>
</group>
</if>
</choose>
</else>
</choose>
</macro>
<macro name="access-id">
<choose>
<if variable="id">
<text variable="id"/>
</if>
</choose>
</macro>
<macro name="access-doi">
<choose>
<if variable="DOI">
<text variable="DOI" prefix="doi:"/>
</if>
</choose>
</macro>
<macro name="access-pmid">
<choose>
<if variable="PMID">
<text variable="PMID" prefix="pmid:"/>
</if>
</choose>
</macro>
<macro name="access-url">
<choose>
<if variable="URL">
<group delimiter=" ">
<text variable="URL"/>
</group>
</if>
</choose>
</macro>
<macro name="accessed-date">
<choose>
<if variable="URL">
<group prefix="[" suffix="]" delimiter=" ">
<text term="cited" text-case="lowercase"/>
<date variable="accessed" form="text"/>
</group>
</if>
</choose>
</macro>
<macro name="container-title">
<choose>
<if type="article-journal article-magazine chapter paper-conference article-newspaper post-weblog webpage" match="any">
<group suffix="." delimiter=" ">
<choose>
<if type="article-journal">
<text variable="container-title" form="short" strip-periods="true"/>
</if>
<else-if type="post-weblog webpage" match="any">
<group delimiter=" ">
<text term="in" text-case="capitalize-first" suffix=":"/>
<text variable="container-title"/>
<choose>
<if variable="URL">
<text term="internet" prefix="[" suffix="]" text-case="capitalize-first"/>
</if>
</choose>
</group>
</else-if>
<else>
<text variable="container-title" strip-periods="true"/>
</else>
</choose>
</group>
<text macro="edition" prefix=" "/>
</if>
<!--add event-name and event-place once they become available-->
<else-if type="bill legislation" match="any">
<group delimiter=", ">
<group delimiter=". ">
<text variable="container-title"/>
<group delimiter=" ">
<text term="section" form="short" text-case="capitalize-first"/>
<text variable="section"/>
</group>
</group>
<text variable="number"/>
</group>
</else-if>
<else-if type="speech">
<group delimiter=": " suffix=";">
<group delimiter=" ">
<text variable="genre" text-case="capitalize-first"/>
<text term="presented at"/>
</group>
<text variable="event"/>
</group>
</else-if>
<else>
<text variable="container-title" suffix="."/>
</else>
</choose>
</macro>
<macro name="title">
<text variable="title"/>
<choose>
<if type="article-journal article-magazine chapter paper-conference article-newspaper post-weblog webpage" match="none">
<choose>
<if variable="URL">
<text term="internet" prefix=" [" suffix="]" text-case="capitalize-first"/>
</if>
</choose>
<text macro="edition" prefix=". "/>
</if>
<else-if type="post-weblog webpage" match="any">
<choose>
<if variable="container-title" match="none">
<text term="internet" prefix=" [" suffix="]" text-case="capitalize-first"/>
</if>
</choose>
</else-if>
</choose>
<choose>
<if type="song motion_picture" match="any">
<text variable="medium" prefix=" [" suffix="]"/>
</if>
</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="date">
<choose>
<if type="article-journal" match="any">
<group suffix=";" delimiter=" ">
<date variable="issued" form="text" date-parts="year"/>
</group>
</if>
<else-if type="article-magazine article-newspaper" match="any">
<date variable="issued" form="text"/>
</else-if>
<else-if type="bill legislation" match="any">
<group delimiter=", ">
<date variable="issued" delimiter=" ">
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="day"/>
</date>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</else-if>
<else-if type="report">
<date variable="issued" delimiter=" ">
<date-part name="year"/>
<date-part name="month" form="short" strip-periods="true"/>
</date>
</else-if>
<else-if type="patent">
<group suffix=".">
<group delimiter=", ">
<text variable="number"/>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</group>
</else-if>
<else-if type="speech">
<group delimiter="; ">
<group delimiter=" ">
<date variable="issued" delimiter=" ">
<date-part name="year"/>
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="day"/>
</date>
</group>
<text variable="event-place"/>
</group>
</else-if>
<else-if type="post-weblog webpage" match="any">
<date variable="issued" form="text"/>
<text macro="accessed-date" prefix=" "/>
</else-if>
<else>
<group suffix=".">
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</else>
</choose>
</macro>
<macro name="pages">
<choose>
<if type="article-journal article-magazine article-newspaper" match="any">
<text variable="page" prefix=": "/>
</if>
<else>
<group prefix=" " delimiter=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</else>
</choose>
</macro>
<macro name="journal-location">
<choose>
<if type="article-journal article-magazine" match="any">
<text variable="volume"/>
</if>
</choose>
</macro>
<macro name="report-details">
<choose>
<if type="report">
<text variable="number" prefix="Report No.: "/>
</if>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout prefix="[" suffix="]" delimiter=",">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography et-al-min="7" et-al-use-first="6" second-field-align="flush">
<layout>
<group delimiter=". " suffix=". ">
<text macro="author"/>
<text macro="title"/>
</group>
<group delimiter=" " suffix=". ">
<text macro="editor"/>
<text macro="container-title"/>
<text macro="publisher"/>
<group>
<text macro="date"/>
<text macro="journal-location"/>
<text macro="pages"/>
</group>
</group>
<text macro="report-details" suffix=". "/>
<group delimiter=" ">
<text macro="access-doi"/>
<text macro="access-pmid"/>
<?text variable="abstract" display="block"/?>
</group>
</layout>
</bibliography>
</style>

335
bibd.csl Normal file
View File

@@ -0,0 +1,335 @@
<?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>Public Library of Science</title>
<title-short>PLOS</title-short>
<id>http://www.zotero.org/styles/plos</id>
<link href="http://www.zotero.org/styles/plos" rel="self"/>
<link href="http://www.zotero.org/styles/vancouver" rel="template"/>
<link href="http://www.plosone.org/static/guidelines#references" rel="documentation"/>
<author>
<name>Sebastian Karcher</name>
</author>
<contributor>
<name>James Ackman</name>
</contributor>
<category citation-format="numeric"/>
<category field="science"/>
<summary>Customized Vancouver from PLoS Journals with pmid, url fields</summary>
<updated>2020-06-12T06:53:56-07: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">
<date form="text" delimiter=" ">
<date-part name="day"/>
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="year"/>
</date>
<terms>
<term name="presented at">presented at</term>
<term name="retrieved">available</term>
<term name="section" form="short">sect.</term>
</terms>
</locale>
<macro name="author">
<names variable="author">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<label form="long" prefix=", "/>
<substitute>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="editor">
<group delimiter=": ">
<choose>
<if type="chapter paper-conference" match="any">
<text term="in" text-case="capitalize-first"/>
</if>
</choose>
<names variable="editor" suffix=".">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<label form="long" prefix=", "/>
</names>
</group>
</macro>
<macro name="publisher">
<choose>
<if type="thesis">
<group delimiter=", " suffix=".">
<text variable="genre"/>
<text variable="publisher"/>
</group>
</if>
<else>
<choose>
<if type="article-newspaper article-journal article-magazine" match="none">
<group delimiter=": " suffix=";">
<choose>
<if type="speech" match="any"/>
<else>
<text variable="publisher-place"/>
</else>
</choose>
<text variable="publisher"/>
</group>
</if>
</choose>
</else>
</choose>
</macro>
<macro name="access-id">
<choose>
<if variable="id">
<text variable="id"/>
</if>
</choose>
</macro>
<macro name="access-doi">
<choose>
<if variable="DOI">
<text variable="DOI" prefix="doi:"/>
</if>
</choose>
</macro>
<macro name="access-pmid">
<choose>
<if variable="PMID">
<text variable="PMID" prefix="pmid:"/>
</if>
</choose>
</macro>
<macro name="access-url">
<choose>
<if variable="URL">
<group delimiter=" ">
<text variable="URL"/>
</group>
</if>
</choose>
</macro>
<macro name="accessed-date">
<choose>
<if variable="URL">
<group prefix="[" suffix="]" delimiter=" ">
<text term="cited" text-case="lowercase"/>
<date variable="accessed" form="text"/>
</group>
</if>
</choose>
</macro>
<macro name="container-title">
<choose>
<if type="article-journal article-magazine chapter paper-conference article-newspaper post-weblog webpage" match="any">
<group suffix="." delimiter=" ">
<choose>
<if type="article-journal">
<text variable="container-title" form="short" strip-periods="true"/>
</if>
<else-if type="post-weblog webpage" match="any">
<group delimiter=" ">
<text term="in" text-case="capitalize-first" suffix=":"/>
<text variable="container-title"/>
<choose>
<if variable="URL">
<text term="internet" prefix="[" suffix="]" text-case="capitalize-first"/>
</if>
</choose>
</group>
</else-if>
<else>
<text variable="container-title" strip-periods="true"/>
</else>
</choose>
</group>
<text macro="edition" prefix=" "/>
</if>
<!--add event-name and event-place once they become available-->
<else-if type="bill legislation" match="any">
<group delimiter=", ">
<group delimiter=". ">
<text variable="container-title"/>
<group delimiter=" ">
<text term="section" form="short" text-case="capitalize-first"/>
<text variable="section"/>
</group>
</group>
<text variable="number"/>
</group>
</else-if>
<else-if type="speech">
<group delimiter=": " suffix=";">
<group delimiter=" ">
<text variable="genre" text-case="capitalize-first"/>
<text term="presented at"/>
</group>
<text variable="event"/>
</group>
</else-if>
<else>
<text variable="container-title" suffix="."/>
</else>
</choose>
</macro>
<macro name="title">
<text variable="title"/>
<choose>
<if type="article-journal article-magazine chapter paper-conference article-newspaper post-weblog webpage" match="none">
<choose>
<if variable="URL">
<text term="internet" prefix=" [" suffix="]" text-case="capitalize-first"/>
</if>
</choose>
<text macro="edition" prefix=". "/>
</if>
<else-if type="post-weblog webpage" match="any">
<choose>
<if variable="container-title" match="none">
<text term="internet" prefix=" [" suffix="]" text-case="capitalize-first"/>
</if>
</choose>
</else-if>
</choose>
<choose>
<if type="song motion_picture" match="any">
<text variable="medium" prefix=" [" suffix="]"/>
</if>
</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="date">
<choose>
<if type="article-journal" match="any">
<group suffix=";" delimiter=" ">
<date variable="issued" form="text" date-parts="year"/>
</group>
</if>
<else-if type="article-magazine article-newspaper" match="any">
<date variable="issued" form="text"/>
</else-if>
<else-if type="bill legislation" match="any">
<group delimiter=", ">
<date variable="issued" delimiter=" ">
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="day"/>
</date>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</else-if>
<else-if type="report">
<date variable="issued" delimiter=" ">
<date-part name="year"/>
<date-part name="month" form="short" strip-periods="true"/>
</date>
</else-if>
<else-if type="patent">
<group suffix=".">
<group delimiter=", ">
<text variable="number"/>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</group>
</else-if>
<else-if type="speech">
<group delimiter="; ">
<group delimiter=" ">
<date variable="issued" delimiter=" ">
<date-part name="year"/>
<date-part name="month" form="short" strip-periods="true"/>
<date-part name="day"/>
</date>
</group>
<text variable="event-place"/>
</group>
</else-if>
<else-if type="post-weblog webpage" match="any">
<date variable="issued" form="text"/>
<text macro="accessed-date" prefix=" "/>
</else-if>
<else>
<group suffix=".">
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</else>
</choose>
</macro>
<macro name="pages">
<choose>
<if type="article-journal article-magazine article-newspaper" match="any">
<text variable="page" prefix=": "/>
</if>
<else>
<group prefix=" " delimiter=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</else>
</choose>
</macro>
<macro name="journal-location">
<choose>
<if type="article-journal article-magazine" match="any">
<text variable="volume"/>
</if>
</choose>
</macro>
<macro name="report-details">
<choose>
<if type="report">
<text variable="number" prefix="Report No.: "/>
</if>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout prefix="[" suffix="]" delimiter=",">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography et-al-min="7" et-al-use-first="6" second-field-align="flush">
<layout>
<text variable="citation-number" suffix=". "/>
<group delimiter=". " suffix=". ">
<text macro="author"/>
<text macro="title"/>
</group>
<group delimiter=" " suffix=". ">
<text macro="editor"/>
<text macro="container-title"/>
<text macro="publisher"/>
<group>
<text macro="date"/>
<text macro="journal-location"/>
<text macro="pages"/>
</group>
</group>
<text macro="report-details" suffix=". "/>
<group delimiter=" ">
<text macro="access-doi"/>
<text macro="access-pmid"/>
<?text variable="abstract" display="block"/?>
<text macro="access-url"/>
</group>
</layout>
</bibliography>
</style>