Project

General

Profile

« Previous | Next » 

Revision 59816

[Library|Trunk]

code clean up:
-remove app.* files from library
-remove unused imports, code, files (Old search pages for results, dataproviders, map search page, etc)
-remove Freeguard from modules
-unsubscribe all subscriptions
-Services: configuration, isvocabularies, user management: unsubscribe from app component or the component that uses them (clearSubscriptions())
-Fetchers: unsubscribe from the component that uses them (clearSubscriptions())

View differences:

citation.class.ts
15 15
  apa:string ='<?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" page-range-format="expanded"> <info> <title>American Psychological Association 6th edition</title> <title-short>APA</title-short> <id>http://www.zotero.org/styles/apa</id> <link href="http://www.zotero.org/styles/apa" rel="self"/> <link href="http://owl.english.purdue.edu/owl/resource/560/01/" rel="documentation"/> <author> <name>Simon Kornblith</name> <email>simon@simonster.com</email> </author> <contributor> <name>Bruce DArcus</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> <contributor> <name> Brenton M. Wiernik</name> <email>zotero@wiernik.org</email> </contributor> <category citation-format="author-date"/> <category field="psychology"/> <category field="generic-base"/> <updated>2016-09-28T13:09: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> <locale xml:lang="en"> <terms> <term name="editortranslator" form="short"> <single>ed. &amp; trans.</single> <multiple>eds. &amp; trans.</multiple> </term> <term name="translator" form="short"> <single>trans.</single> <multiple>trans.</multiple> </term> </terms> </locale> <macro name="container-contributors"> <choose> <if type="chapter paper-conference entry-dictionary entry-encyclopedia" match="any"> <group delimiter=", "> <names variable="container-author" delimiter=", "> <name and="symbol" initialize-with=". " delimiter=", "/> <label form="short" prefix=" (" text-case="title" suffix=")"/> </names> <names variable="editor translator" delimiter=", "> <name and="symbol" initialize-with=". " delimiter=", "/> <label form="short" prefix=" (" text-case="title" suffix=")"/> </names> </group> </if> </choose> </macro> <macro name="secondary-contributors"> <choose> <if type="article-journal chapter paper-conference entry-dictionary entry-encyclopedia" match="none"> <group delimiter=", " prefix=" (" suffix=")"> <names variable="container-author" delimiter=", "> <name and="symbol" initialize-with=". " delimiter=", "/> <label form="short" prefix=", " text-case="title"/> </names> <names variable="editor translator" delimiter=", "> <name and="symbol" initialize-with=". " delimiter=", "/> <label form="short" prefix=", " text-case="title"/> </names> </group> </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"/> <choose> <if type="report"> <text variable="publisher"/> <text macro="title"/> </if> <else> <text macro="title"/> </else> </choose> </substitute> </names> </macro> <macro name="author-short"> <choose> <if type="patent" variable="number" match="all"> <text macro="patent-number"/> </if> <else> <names variable="author"> <name form="short" and="symbol" delimiter=", " initialize-with=". "/> <substitute> <names variable="editor"/> <names variable="translator"/> <choose> <if type="report"> <text variable="publisher"/> <text variable="title" form="short" font-style="italic"/> </if> <else-if type="legal_case"> <text variable="title" font-style="italic"/> </else-if> <else-if type="book graphic motion_picture song" match="any"> <text variable="title" form="short" font-style="italic"/> </else-if> <else-if type="bill legislation" match="any"> <text variable="title" form="short"/> </else-if> <else-if variable="reviewed-author"> <choose> <if variable="reviewed-title" match="none"> <text variable="title" form="short" font-style="italic" prefix="Review of "/> </if> <else> <text variable="title" form="short" quotes="true"/> </else> </choose> </else-if> <else> <text variable="title" form="short" quotes="true"/> </else> </choose> </substitute> </names> </else> </choose> </macro> <macro name="patent-number"> <!-- genre: U.S. Patent number: 123,445--> <group delimiter=" "> <group delimiter=" "> <text variable="genre"/> <text term="issue" form="short" text-case="capitalize-first"/> </group> <text variable="number"/> </group> </macro> <macro name="access"> <choose> <if type="thesis report" match="any"> <choose> <if variable="DOI" match="any"> <text variable="DOI" prefix="https://doi.org/"/> </if> <else-if variable="URL" match="any"> <group> <text term="retrieved" text-case="capitalize-first" suffix=" "/> <text term="from" suffix=" "/> <text variable="URL"/> </group> </else-if> <else-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> </else-if> </choose> </if> <else> <choose> <if variable="DOI"> <text variable="DOI" prefix="https://doi.org/"/> </if> <else> <choose> <if type="post post-weblog webpage" match="any"> <group delimiter=" "> <text term="retrieved" text-case="capitalize-first" suffix=" "/> <group> <date variable="accessed" form="text" suffix=", "/> </group> <text term="from"/> <text variable="URL"/> </group> </if> <else> <group> <text term="retrieved" text-case="capitalize-first" suffix=" "/> <text term="from" suffix=" "/> <text variable="URL"/> </group> </else> </choose> </else> </choose> </else> </choose> </macro> <macro name="title"> <choose> <if type="book dataset graphic manuscript motion_picture report song speech thesis" match="any"> <choose> <if variable="version" type="book" match="all"> <!---This is a hack until we have a computer program type --> <text variable="title"/> </if> <else> <text variable="title" font-style="italic"/> </else> </choose> </if> <else-if variable="reviewed-author"> <choose> <if variable="reviewed-title"> <group delimiter=" "> <text variable="title"/> <group delimiter=", " prefix="[" suffix="]"> <text variable="reviewed-title" font-style="italic" prefix="Review of "/> <names variable="reviewed-author" delimiter=", "> <label form="verb-short" suffix=" "/> <name and="symbol" initialize-with=". " delimiter=", "/> </names> </group> </group> </if> <else> <!-- assume `title` is title of reviewed work --> <group delimiter=", " prefix="[" suffix="]"> <text variable="title" font-style="italic" prefix="Review of "/> <names variable="reviewed-author" delimiter=", "> <label form="verb-short" suffix=" "/> <name and="symbol" initialize-with=". " delimiter=", "/> </names> </group> </else> </choose> </else-if> <else-if type="patent" variable="number" match="all"> <text macro="patent-number" font-style="italic"/> </else-if> <else> <text variable="title"/> </else> </choose> </macro> <macro name="title-plus-extra"> <text macro="title"/> <choose> <if type="report thesis" match="any"> <group prefix=" (" suffix=")" delimiter=", "> <group delimiter=" "> <choose> <if variable="genre" match="any"> <text variable="genre"/> </if> <else> <text variable="collection-title"/> </else> </choose> <text variable="number" prefix="No. "/> </group> <group delimiter=" "> <text term="version" text-case="capitalize-first"/> <text variable="version"/> </group> <text macro="edition"/> </group> </if> <else-if type="post-weblog webpage" match="any"> <text variable="genre" prefix=" [" suffix="]"/> </else-if> <else-if variable="version"> <group delimiter=" " prefix=" (" suffix=")"> <text term="version" text-case="capitalize-first"/> <text variable="version"/> </group> </else-if> </choose> <text macro="format" prefix=" [" suffix="]"/> </macro> <macro name="format"> <choose> <if match="any" variable="medium"> <text variable="medium" text-case="capitalize-first"/> </if> <else-if type="dataset" match="any"> <choose> <if variable="genre"> <text variable="genre" text-case="capitalize-first"/> </if> <else> <!-- This should be localized --> <text value="Data set"/> </else> </choose> </else-if> </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-if type="patent"> <group delimiter=": "> <text variable="publisher-place"/> <choose> <if variable="publisher"> <text variable="publisher"/> </if> <else> <text variable="authority"/> </else> </choose> </group> </else-if> <else-if type="post-weblog webpage" match="none"> <group delimiter=", "> <choose> <if variable="event version" type="speech dataset motion_picture" match="none"> <!-- Including version is to avoid printing the programming language for computerProgram /--> <text variable="genre"/> </if> </choose> <choose> <if type="article-journal article-magazine article-newspaper" match="none"> <group delimiter=": "> <choose> <if variable="publisher-place"> <text variable="publisher-place"/> </if> <else> <text variable="event-place"/> </else> </choose> <text variable="publisher"/> </group> </if> </choose> </group> </else-if> </choose> </macro> <macro name="event"> <choose> <if variable="container-title" match="none"> <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> <else-if type="speech"> <text variable="genre" text-case="capitalize-first"/> </else-if> </choose> </if> </choose> </macro> <macro name="issued"> <choose> <if type="bill legal_case legislation" match="none"> <choose> <if variable="issued"> <group prefix=" (" suffix=")"> <date variable="issued"> <date-part name="year"/> </date> <text variable="year-suffix"/> <choose> <if type="speech" match="any"> <date variable="issued"> <date-part prefix=", " name="month"/> </date> </if> <else-if type="article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song dataset" match="none"> <date variable="issued"> <date-part prefix=", " name="month"/> <date-part prefix=" " name="day"/> </date> </else-if> </choose> </group> </if> <else-if variable="status"> <group prefix=" (" suffix=")"> <text variable="status"/> <text variable="year-suffix" prefix="-"/> </group> </else-if> <else> <group prefix=" (" suffix=")"> <text term="no date" form="short"/> <text variable="year-suffix" prefix="-"/> </group> </else> </choose> </if> </choose> </macro> <macro name="issued-sort"> <choose> <if type="article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song dataset" match="none"> <date variable="issued"> <date-part name="year"/> <date-part name="month"/> <date-part name="day"/> </date> </if> <else> <date variable="issued"> <date-part name="year"/> </date> </else> </choose> </macro> <macro name="issued-year"> <choose> <if variable="issued"> <group delimiter="/"> <date variable="original-date"> <date-part name="year"/> </date> <group> <date variable="issued"> <date-part name="year"/> </date> <text variable="year-suffix"/> </group> </group> </if> <else-if variable="status"> <text variable="status"/> <text variable="year-suffix" prefix="-"/> </else-if> <else> <text term="no date" form="short"/> <text variable="year-suffix" prefix="-"/> </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"/> </else> </choose> </macro> <macro name="locators"> <choose> <if type="article-journal article-magazine" match="any"> <group prefix=", " delimiter=", "> <group> <text variable="volume" font-style="italic"/> <text variable="issue" prefix="(" suffix=")"/> </group> <text variable="page"/> </group> <choose> <!--for advanced online publication--> <if variable="issued"> <choose> <if variable="page issue" match="none"> <text variable="status" prefix=". "/> </if> </choose> </if> </choose> </if> <else-if type="article-newspaper"> <group delimiter=" " prefix=", "> <label variable="page" form="short"/> <text variable="page"/> </group> </else-if> <else-if type="book graphic motion_picture report song chapter paper-conference entry-encyclopedia entry-dictionary" match="any"> <group prefix=" (" suffix=")" delimiter=", "> <choose> <if type="report" match="none"> <!-- edition for report is included in title-plus-extra /--> <text macro="edition"/> </if> </choose> <choose> <if variable="volume" match="any"> <group> <text term="volume" form="short" text-case="capitalize-first" suffix=" "/> <number variable="volume" form="numeric"/> </group> </if> <else> <group> <text term="volume" form="short" plural="true" text-case="capitalize-first" suffix=" "/> <number variable="number-of-volumes" form="numeric" prefix="1&#8211;"/> </group> </else> </choose> <group> <label variable="page" form="short" suffix=" "/> <text variable="page"/> </group> </group> </else-if> <else-if type="legal_case"> <group prefix=" (" suffix=")" delimiter=" "> <text variable="authority"/> <choose> <if variable="container-title" match="any"> <!--Only print year for cases published in reporters--> <date variable="issued" form="numeric" date-parts="year"/> </if> <else> <date variable="issued" form="text"/> </else> </choose> </group> </else-if> <else-if type="bill legislation" match="any"> <date variable="issued" prefix=" (" suffix=")"> <date-part name="year"/> </date> </else-if> </choose> </macro> <macro name="citation-locator"> <group> <choose> <if locator="chapter"> <label variable="locator" form="long" text-case="capitalize-first"/> </if> <else> <label variable="locator" form="short"/> </else> </choose> <text variable="locator" prefix=" "/> </group> </macro> <macro name="container"> <choose> <if type="post-weblog webpage" match="none"> <group> <choose> <if type="chapter paper-conference entry-encyclopedia" match="any"> <text term="in" text-case="capitalize-first" suffix=" "/> </if> </choose> <group delimiter=", "> <text macro="container-contributors"/> <text macro="secondary-contributors"/> <text macro="container-title"/> </group> </group> </if> </choose> </macro> <macro name="container-title"> <choose> <if type="article article-journal article-magazine article-newspaper" match="any"> <text variable="container-title" font-style="italic" text-case="title"/> </if> <else-if type="bill legal_case legislation" match="none"> <text variable="container-title" font-style="italic"/> </else-if> </choose> </macro> <macro name="legal-cites"> <choose> <if type="legal_case" match="any"> <group prefix=", " delimiter=" "> <choose> <if variable="container-title"> <text variable="volume"/> <text variable="container-title"/> <group delimiter=" "> <!--change to label variable="section" as that becomes available --> <text term="section" form="symbol"/> <text variable="section"/> </group> <text variable="page"/> </if> <else> <text variable="number" prefix="No. "/> </else> </choose> </group> </if> <else-if type="bill legislation" match="any"> <group delimiter=", " prefix=", "> <choose> <if variable="number"> <!--Theres a public law number--> <text variable="number" prefix="Pub. L. No. "/> <group delimiter=" "> <!--change to label variable="section" as that becomes available --> <text term="section" form="symbol"/> <text variable="section"/> </group> <group delimiter=" "> <text variable="volume"/> <text variable="container-title"/> <text variable="page-first"/> </group> </if> <else> <group delimiter=" "> <text variable="volume"/> <text variable="container-title"/> <!--change to label variable="section" as that becomes available --> <text term="section" form="symbol"/> <text variable="section"/> </group> </else> </choose> </group> </else-if> </choose> </macro> <macro name="original-date"> <choose> <if type="bill legal_case legislation" match="none"> <choose> <if variable="original-date"> <group prefix=" (" suffix=")" delimiter=" "> <!---This should be localized--> <text value="Original work published"/> <choose> <if type="speech" match="any"> <date variable="original-date" delimiter=" "> <date-part name="month"/> <date-part name="year"/> </date> </if> <else-if type="article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song dataset" match="none"> <date variable="original-date" form="text"/> </else-if> <else> <date variable="original-date"> <date-part name="year"/> </date> </else> </choose> </group> </if> </choose> </if> </choose> </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" collapse="year" givenname-disambiguation-rule="primary-name"> <sort> <key macro="author"/> <key macro="issued-sort"/> </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="6" et-al-use-last="true" entry-spacing="0" line-spacing="2"> <sort> <key macro="author"/> <key macro="issued-sort" sort="ascending"/> <key macro="title"/> </sort> <layout> <group suffix="."> <group delimiter=". "> <text macro="author"/> <text macro="issued"/> <text macro="title-plus-extra"/> <text macro="container"/> </group> <text macro="legal-cites"/> <text macro="locators"/> <group delimiter=", " prefix=". "> <text macro="event"/> <text macro="publisher"/> </group> </group> <text macro="access" prefix=" "/> <text macro="original-date" prefix=" "/> </layout> </bibliography> </style>`';
16 16
  // is short version
17 17
  harvard:string = '<?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>Harvard Reference format 1 (author-date)</title> <id>http://www.zotero.org/styles/harvard1</id> <link href="http://www.zotero.org/styles/harvard1" rel="self"/> <link href="http://libweb.anglia.ac.uk/referencing/harvard.htm" rel="documentation"/> <author> <name>Julian Onions</name> <email>julian.onions@gmail.com</email> </author> <category citation-format="author-date"/> <category field="generic-base"/> <summary>The Harvard author-date style</summary> <updated>2012-09-27T22:06:38+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" delimiter=", "> <name and="symbol" initialize-with=". " delimiter=", "/> <label form="short" prefix=", " text-case="lowercase"/> </names> </macro> <macro name="anon"> <text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/> </macro> <macro name="author"> <names variable="author"> <name name-as-sort-order="all" and="symbol" sort-separator=", " initialize-with="." delimiter-precedes-last="never" delimiter=", "/> <label form="short" prefix=" " text-case="lowercase"/> <substitute> <names variable="editor"/> <text macro="anon"/> </substitute> </names> </macro> <macro name="author-short"> <names variable="author"> <name form="short" and="symbol" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/> <substitute> <names variable="editor"/> <names variable="translator"/> <text macro="anon"/> </substitute> </names> </macro> <macro name="access"> <choose> <if variable="URL"> <text value="Available at:" suffix=" "/> <text variable="URL"/> <group prefix=" [" suffix="]"> <text term="accessed" text-case="capitalize-first" suffix=" "/> <date variable="accessed"> <date-part name="month" suffix=" "/> <date-part name="day" suffix=", "/> <date-part name="year"/> </date> </group> </if> </choose> </macro> <macro name="title"> <choose> <if type="bill book graphic legal_case legislation motion_picture report song thesis" match="any"> <text variable="title" font-style="italic"/> </if> <else> <text variable="title"/> </else> </choose> </macro> <macro name="publisher"> <group delimiter=": "> <text variable="publisher-place"/> <text variable="publisher"/> </group> </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="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="pages"> <group> <label variable="page" form="short" suffix=" "/> <text variable="page"/> </group> </macro> <citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true"> <layout prefix="(" suffix=")" delimiter="; "> <group delimiter=", "> <group delimiter=" "> <text macro="author-short"/> <text macro="year-date"/> </group> <group> <label variable="locator" form="short"/> <text variable="locator"/> </group> </group> </layout> </citation> <bibliography hanging-indent="true" et-al-min="4" et-al-use-first="1"> <sort> <key macro="author"/> <key variable="title"/> </sort> <layout> <text macro="author" suffix=","/> <date variable="issued" prefix=" " suffix="."> <date-part name="year"/> </date> <choose> <if type="bill book graphic legal_case legislation motion_picture report song" match="any"> <group prefix=" " delimiter=" " suffix=","> <text macro="title"/> <text macro="edition"/> <text macro="editor"/> </group> <text prefix=" " suffix="." macro="publisher"/> </if> <else-if type="chapter paper-conference" match="any"> <text macro="title" prefix=" " suffix="."/> <group prefix=" " delimiter=" "> <text term="in" text-case="capitalize-first"/> <text macro="editor"/> <text variable="container-title" font-style="italic" suffix="."/> <text variable="collection-title" suffix="."/> <text variable="event" suffix="."/> <group suffix="." delimiter=", "> <text macro="publisher" prefix=" "/> <text macro="pages"/> </group> </group> </else-if> <else-if type="thesis"> <group prefix=" " suffix="." delimiter=". "> <text macro="title"/> <text variable="genre"/> <text macro="publisher"/> </group> </else-if> <else> <group suffix="."> <text macro="title" prefix=" "/> <text macro="editor" prefix=" "/> </group> <group prefix=" " suffix="."> <text variable="container-title" font-style="italic"/> <group prefix=", "> <text variable="volume"/> <text variable="issue" prefix="(" suffix=")"/> </group> <group prefix=", "> <label variable="page" form="short"/> <text variable="page"/> </group> </group> </else> </choose> <text prefix=" " macro="access" suffix="."/> </layout> </bibliography> </style>';
18
  locale:string ='<?xml version="1.0" encoding="utf-8"?> <locale xmlns="http://purl.org/net/xbiblio/csl" version="1.0" xml:lang="en-US"> <info> <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>2012-07-04T23:31:02+00:00</updated> </info> <style-options punctuation-in-quote="true" leading-noise-words="a,an,the" name-as-sort-order="ja zh kr my hu vi" name-never-short="ja zh kr my hu vi"/> <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="radio-broadcast">radio broadcast</term> <term name="television-broadcast">television broadcast</term> <term name="podcast">podcast</term> <term name="instant-message">instant message</term> <term name="email">email</term> <term name="number-of-volumes"> <single>volume</single> <multiple>volumes</multiple> </term> <term name="accessed">accessed</term> <term name="and">and</term> <term name="and" form="symbol">&amp;</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="paragraph"> <single>paragraph</single> <multiple>paragraph</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">bk.</term> <term name="chapter" form="short">chap.</term> <term name="column" form="short">col.</term> <term name="figure" form="short">fig.</term> <term name="folio" form="short">f.</term> <term name="issue" form="short">no.</term> <term name="line" form="short">l.</term> <term name="note" form="short">n.</term> <term name="opus" form="short">op.</term> <term name="page" form="short"> <single>p.</single> <multiple>pp.</multiple> </term> <term name="paragraph" form="short">para.</term> <term name="part" form="short">pt.</term> <term name="section" form="short">sec.</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 &amp; translator</single> <multiple>editors &amp; 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. &amp; tran.</single> <multiple>eds. &amp; trans.</multiple> </term> <!-- VERB ROLE FORMS --> <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 &amp; translated by</term> <!-- SHORT VERB ROLE FORMS --> <term name="container-author" form="verb-short">by</term> <term name="director" form="verb-short">dir.</term> <term name="editor" form="verb-short">ed.</term> <term name="editorial-director" form="verb-short">ed.</term> <term name="illustrator" form="verb-short">illus.</term> <term name="translator" form="verb-short">trans.</term> <term name="editortranslator" form="verb-short">ed. &amp; trans.</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>';
18
  locale:string ='<?xml version="1.0" encoding="utf-8"?> <locale xmlns="http://purl.org/net/xbiblio/csl" version="1.0" xml:lang="en-US"> <info> <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>2012-07-04T23:31:02+00:00</updated> </info> <style-options punctuation-in-quote="true" leading-noise-words="a,an,the" name-as-sort-order="ja zh kr my hu vi" name-never-short="ja zh kr my hu vi"/> <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="radio-broadcast">radio broadcast</term> <term name="television-broadcast">television broadcast</term> <term name="podcast">podcast</term> <term name="instant-message">instant message</term> <term name="email">email</term> <term name="number-of-volumes"> <single>volume</single> <multiple>volumes</multiple> </term> <term name="accessed">accessed</term> <term name="and">and</term> <term name="and" form="symbol">&amp;</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="paragraph"> <single>paragraph</single> <multiple>paragraph</multiple> </term> <term name="part"> <single>part</single> <multiple>parts</multiple> </term> <term name="section"> <single>section</single> <multiple>sections</multiple> </term> <term name="subscriptions verbo"> <single>subscriptions verbo</single> <multiple>subscriptions 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">bk.</term> <term name="chapter" form="short">chap.</term> <term name="column" form="short">col.</term> <term name="figure" form="short">fig.</term> <term name="folio" form="short">f.</term> <term name="issue" form="short">no.</term> <term name="line" form="short">l.</term> <term name="note" form="short">n.</term> <term name="opus" form="short">op.</term> <term name="page" form="short"> <single>p.</single> <multiple>pp.</multiple> </term> <term name="paragraph" form="short">para.</term> <term name="part" form="short">pt.</term> <term name="section" form="short">sec.</term> <term name="subscriptions 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 &amp; translator</single> <multiple>editors &amp; 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. &amp; tran.</single> <multiple>eds. &amp; trans.</multiple> </term> <!-- VERB ROLE FORMS --> <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 &amp; translated by</term> <!-- SHORT VERB ROLE FORMS --> <term name="container-author" form="verb-short">by</term> <term name="director" form="verb-short">dir.</term> <term name="editor" form="verb-short">ed.</term> <term name="editorial-director" form="verb-short">ed.</term> <term name="illustrator" form="verb-short">illus.</term> <term name="translator" form="verb-short">trans.</term> <term name="editortranslator" form="verb-short">ed. &amp; trans.</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>';
19 19
  frontiers:string = '<?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>Frontiers journals</title>    <id>http://www.zotero.org/styles/frontiers</id>    <link href="http://www.zotero.org/styles/frontiers" rel="self"/>    <link href="http://www.frontiersin.org/about/AuthorGuidelines" rel="documentation"/>    <author>      <name>Sebastian Karcher</name>    </author>    <contributor>      <name>Julian Onions</name>      <email>julian.onions@gmail.com</email>    </contributor>    <category citation-format="author-date"/>    <category field="generic-base"/>    <summary>Style for the Open Access Frontiers in ... Journals</summary>    <updated>2012-09-27T22:06:38+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" delimiter=", ">      <label form="short" prefix=", "/>      <name and="text" initialize-with=". " delimiter=", " prefix=" "/>    </names>  </macro>  <macro name="author">    <names variable="author">      <name name-as-sort-order="all" and="text" sort-separator=", " initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>      <label form="short" prefix=" "/>      <substitute>        <names variable="editor"/>        <text variable="title"/>      </substitute>    </names>  </macro>  <macro name="author-short">    <names variable="author">      <name form="short" and="text" delimiter=", " initialize-with=". "/>      <substitute>        <names variable="editor"/>        <names variable="translator"/>        <text variable="title"/>      </substitute>    </names>  </macro>  <macro name="access">    <choose>      <if variable="DOI">        <text variable="DOI" prefix="doi:"/>      </if>      <else-if variable="URL">        <text value="Available at:" suffix=" "/>        <text variable="URL"/>        <group prefix=" [" suffix="]">          <text term="accessed" text-case="capitalize-first" suffix=" "/>          <date variable="accessed">            <date-part name="month" suffix=" "/>            <date-part name="day" suffix=", "/>            <date-part name="year"/>          </date>        </group>      </else-if>    </choose>  </macro>  <macro name="title">    <choose>      <if type="book">        <text variable="title" font-style="italic" suffix="."/>      </if>      <else-if type="chapter">        <text variable="title" quotes="true" suffix=","/>      </else-if>      <else>        <text variable="title" suffix="."/>      </else>    </choose>  </macro>  <macro name="publisher">    <group delimiter=": ">      <text variable="publisher-place"/>      <text variable="publisher"/>    </group>  </macro>  <macro name="year-date">    <date variable="issued">      <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 et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year">    <sort>      <key macro="year-date"/>      <key macro="author-short"/>    </sort>    <layout prefix="(" suffix=")" delimiter="; ">      <group delimiter=", ">        <text macro="author-short"/>        <text macro="year-date"/>        <text variable="locator"/>      </group>    </layout>  </citation>  <bibliography hanging-indent="true" et-al-min="7" et-al-use-first="6">    <sort>      <key macro="author"/>      <key macro="year-date"/>      <key variable="title"/>    </sort>    <layout suffix=".">      <text macro="author"/>      <text macro="year-date" prefix=" (" suffix=")."/>      <choose>        <if type="bill book graphic legal_case legislation motion_picture report song" match="any">          <group delimiter=" " prefix=" ">            <text macro="title"/>            <text macro="edition"/>            <text macro="editor"/>            <text macro="publisher"/>          </group>        </if>        <else-if type="chapter paper-conference" match="any">          <group delimiter=" " prefix=" ">            <text macro="title"/>            <text term="in"/>            <text variable="container-title" font-style="italic"/>            <text variable="collection-title" suffix="."/>          </group>          <text macro="editor"/>          <group suffix=".">            <text macro="publisher" prefix=" (" suffix=")"/>            <group prefix=", ">              <text variable="page"/>            </group>          </group>        </else-if>        <else>          <text macro="title" prefix=" " suffix="."/>          <group delimiter=", " prefix=" " suffix=".">            <group delimiter=" ">              <text variable="container-title" form="short" font-style="italic"/>              <text variable="volume"/>            </group>            <text variable="page"/>          </group>        </else>      </choose>      <text prefix=" " macro="access"/>    </layout>  </bibliography></style>';
20 20
  ama:string = '<?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" page-range-format="expanded">  <info>    <title>American Medical Association</title>    <title-short>AMA</title-short>    <id>http://www.zotero.org/styles/american-medical-association</id>    <link href="http://www.zotero.org/styles/american-medical-association" rel="self"/>    <link href="https://westlibrary.txwes.edu/sites/default/files/pdf/AMACitationStyle.pdf" rel="documentation"/>    <author>      <name>Julian Onions</name>      <email>julian.onions@gmail.com</email>    </author>    <contributor>      <name>Christian Pietsch</name>      <uri>http://purl.org/net/pietsch</uri>    </contributor>    <contributor>      <name>Daniel W Chan</name>      <email>danwchan@protonmail.com</email>    </contributor>    <category citation-format="numeric"/>    <category field="medicine"/>    <summary>The American Medical Association style as used in JAMA.</summary>    <updated>2018-01-18T11:17:00-05: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="page-range-delimiter">-</term>    </terms>  </locale>  <macro name="editor">    <names variable="editor">      <name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>      <label form="short" prefix=", "/>    </names>  </macro>  <macro name="author">    <group suffix=".">      <names variable="author">        <name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>        <label form="short" prefix=", "/>        <substitute>          <names variable="editor"/>          <text macro="title"/>        </substitute>      </names>    </group>  </macro>  <macro name="access">    <choose>      <if type="article-newspaper" match="none">        <choose>          <if variable="DOI">            <text value="doi:"/>            <text variable="DOI"/>          </if>          <else-if variable="URL">            <group delimiter=". " suffix=".">              <text variable="URL"/>              <choose>                <if type="webpage">                  <date variable="issued" prefix="Published " form="text"/>                </if>              </choose>              <group>                <text term="accessed" text-case="capitalize-first" suffix=" "/>                <date variable="accessed">                  <date-part name="month" suffix=" "/>                  <date-part name="day" suffix=", "/>                  <date-part name="year"/>                </date>              </group>            </group>          </else-if>        </choose>      </if>    </choose>  </macro>  <macro name="title">    <choose>      <if type="bill book graphic legal_case legislation motion_picture report song" match="any">        <text variable="title" font-style="italic" text-case="title"/>      </if>      <else>        <text variable="title"/>      </else>    </choose>  </macro>  <macro name="publisher">    <group delimiter=": ">      <text variable="publisher-place"/>      <text variable="publisher"/>    </group>  </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"/>      <group prefix="(" suffix=")">        <label variable="locator" form="short" strip-periods="true"/>        <text variable="locator"/>      </group>    </layout>  </citation>  <bibliography hanging-indent="false" et-al-min="7" et-al-use-first="3" second-field-align="flush">    <layout>      <text variable="citation-number" suffix=". "/>      <text macro="author"/>      <text macro="title" prefix=" " suffix="."/>      <choose>        <if type="bill book graphic legislation motion_picture report song" match="any">          <group suffix="." prefix=" " delimiter=" ">            <group delimiter=" ">              <text term="volume" form="short" text-case="capitalize-first" strip-periods="true"/>              <text variable="volume" suffix="."/>            </group>            <text macro="edition"/>            <text macro="editor" prefix="(" suffix=")"/>          </group>          <text macro="publisher" prefix=" "/>          <group suffix="." prefix="; ">            <date variable="issued">              <date-part name="year"/>            </date>            <text variable="page" prefix=":"/>          </group>        </if>        <else-if type="chapter paper-conference entry-dictionary entry-encyclopedia" match="any">          <group prefix=" " delimiter=" ">            <text term="in" text-case="capitalize-first" suffix=":"/>            <text macro="editor"/>            <text variable="container-title" font-style="italic" suffix="." text-case="title"/>            <group delimiter=" ">              <text term="volume" form="short" text-case="capitalize-first" strip-periods="true"/>              <text variable="volume" suffix="."/>            </group>            <text macro="edition"/>            <text variable="collection-title" suffix="."/>            <group suffix=".">              <text macro="publisher"/>              <group suffix="." prefix="; ">                <date variable="issued">                  <date-part name="year"/>                </date>                <text variable="page" prefix=":"/>              </group>            </group>          </group>        </else-if>        <else-if type="article-newspaper">          <text variable="container-title" font-style="italic" prefix=" " suffix=". "/>          <choose>            <if variable="URL">              <group delimiter=". " suffix=".">                <text variable="URL"/>                <group prefix="Published ">                  <date variable="issued">                    <date-part name="month" suffix=" "/>                    <date-part name="day" suffix=", "/>                    <date-part name="year"/>                  </date>                </group>                <group>                  <text term="accessed" text-case="capitalize-first" suffix=" "/>                  <date variable="accessed">                    <date-part name="month" suffix=" "/>                    <date-part name="day" suffix=", "/>                    <date-part name="year"/>                  </date>                </group>              </group>            </if>            <else>              <group delimiter=":" suffix=".">                <group>                  <date variable="issued">                    <date-part name="month" suffix=" "/>                    <date-part name="day" suffix=", "/>                    <date-part name="year"/>                  </date>                </group>                <text variable="page"/>              </group>            </else>          </choose>        </else-if>        <else-if type="legal_case">          <group suffix="," prefix=" " delimiter=" ">            <text macro="editor" prefix="(" suffix=")"/>          </group>          <group prefix=" " delimiter=" ">            <text variable="container-title"/>            <text variable="volume"/>          </group>          <text variable="page" prefix=", " suffix=" "/>          <group prefix="(" suffix=")." delimiter=" ">            <text variable="authority"/>            <date variable="issued">              <date-part name="year"/>            </date>          </group>        </else-if>        <else-if type="webpage">          <text variable="container-title" prefix=" " suffix="."/>        </else-if>        <else-if type="speech">          <group prefix=" " suffix=":">            <choose>              <if variable="genre">                <text variable="genre" suffix=" "/>                <text term="presented at"/>              </if>              <else>                <text term="presented at" text-case="capitalize-first"/>              </else>            </choose>          </group>          <group delimiter="; " prefix=" " suffix=".">            <text variable="event"/>            <group>              <date delimiter=" " variable="issued">                <date-part name="month"/>                <date-part name="day" suffix=","/>                <date-part name="year"/>              </date>            </group>            <text variable="event-place"/>          </group>        </else-if>        <else>          <text macro="editor" prefix=" " suffix="."/>          <group prefix=" " suffix=".">            <text variable="container-title" font-style="italic" form="short" strip-periods="true" suffix="."/>            <group delimiter=";" prefix=" ">              <choose>                <if variable="issue volume" match="any">                  <date variable="issued">                    <date-part name="year"/>                  </date>                </if>                <else>                  <date variable="issued">                    <date-part name="month" suffix=" "/>                    <date-part name="year"/>                  </date>                </else>              </choose>              <group>                <text variable="volume"/>                <text variable="issue" prefix="(" suffix=")"/>              </group>            </group>            <text variable="page" prefix=":"/>          </group>        </else>      </choose>      <text prefix=" " macro="access"/>    </layout>  </bibliography></style>';
21 21
}

Also available in: Unified diff