@kedataindo/docflow-plugins 0.0.34 → 0.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/citations.js CHANGED
@@ -1,12 +1,1089 @@
1
- import {
2
- CSL_LOCALE_EN_US,
3
- CSL_STYLES,
4
- CiteEngine,
5
- DEFAULT_CSL_STYLE,
6
- buildCitationNodes,
7
- nextCitationId,
8
- sanitizeCiteprocHtml
9
- } from "./chunk-MZZTJIFJ.js";
1
+ // src/citeEngine.ts
2
+ import CSL from "citeproc";
3
+
4
+ // src/csl/chicagoNotesBibliography.ts
5
+ var xml = '<?xml version="1.0" encoding="utf-8"?>\n<style xmlns="http://purl.org/net/xbiblio/csl" class="note" initialize-with=". " page-range-format="chicago-16" version="1.0">\n <!-- This file was generated by the Style Variant Builder <https://github.com/citation-style-language/style-variant-builder>. To contribute changes, modify the template and regenerate variants. -->\n <info>\n <title>Chicago Manual of Style 18th edition (notes and bibliography)</title>\n <title-short>CMOS/CMS with Bluebook (full notes and bibliography/NB [13.18])</title-short>\n <id>http://www.zotero.org/styles/chicago-notes-bibliography</id>\n <link href="http://www.zotero.org/styles/chicago-notes-bibliography" rel="self"/>\n <link href="https://www.chicagomanualofstyle.org/" rel="documentation"/>\n <link href="https://zotero.org/groups/2205533/collections/5V67EPX3" rel="documentation"/>\n <author>\n <name>Andrew Dunning</name>\n <uri>https://orcid.org/0000-0003-0464-5036</uri>\n </author>\n <category citation-format="note"/>\n <category field="anthropology"/>\n <category field="communications"/>\n <category field="generic-base"/>\n <category field="geography"/>\n <category field="history"/>\n <category field="humanities"/>\n <category field="law"/>\n <category field="linguistics"/>\n <category field="literature"/>\n <category field="philosophy"/>\n <category field="political_science"/>\n <category field="science"/>\n <category field="social_science"/>\n <category field="sociology"/>\n <category field="theology"/>\n <summary>Chicago-style source citations (with Bluebook for legal citations), notes and bibliography system</summary>\n <updated>2025-02-09T00:00:00+00:00</updated>\n <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>\n </info>\n <locale xml:lang="en">\n <terms>\n <!-- Chicago omits \'by\' from `verb-short` forms; it abbreviates only the most common roles -->\n <term name="advance-online-publication">ahead of print</term>\n <term name="anonymous">unsigned</term>\n <term form="verb-short" name="collection-editor">ed.</term>\n <term form="short" name="collection-number">\n <single>vol.</single>\n <multiple>vols.</multiple>\n </term>\n <term form="verb-short" name="compiler">comp.</term>\n <term form="verb-short" name="editor">ed.</term>\n <term form="short" name="editor-translator">\n <single>ed. and trans.</single>\n <multiple>eds. and trans.</multiple>\n </term>\n <term form="short" name="editortranslator">\n <single>ed. and trans.</single>\n <multiple>eds. and trans.</multiple>\n </term>\n <term form="verb" name="editor-translator">edited and translated by</term>\n <term form="verb" name="editortranslator">edited and translated by</term>\n <term form="verb-short" name="editor-translator">ed. and trans.</term>\n <term form="verb-short" name="editortranslator">ed. and trans.</term>\n <term form="verb-short" name="illustrator">ill.</term>\n <term form="short" name="legislation">Pub. L.</term>\n <term name="manuscript">unpublished manuscript</term>\n <term name="original-work-published">originally published as</term>\n <term form="short" name="paper-conference">paper</term>\n <!-- \'under\' replaces \'s.v.\' from CMOS17 and earlier (CMOS18 14.130) -->\n <term name="sub-verbo">under</term>\n <term form="short" name="sub-verbo">under</term>\n <term name="timestamp">at</term>\n <term form="verb-short" name="translator">trans.</term>\n </terms>\n </locale>\n <locale xml:lang="en-GB">\n <terms>\n <!-- the Bibliography of Additional Resources recommends the New Oxford Style Manual as a British English guide, which the `en-GB` locale follows -->\n <term form="short" name="collection-number">\n <single>vol.</single>\n <multiple>vols</multiple>\n </term>\n <term form="short" name="editor-translator">\n <single>ed. and trans.</single>\n <multiple>eds and trans.</multiple>\n </term>\n <term form="short" name="editortranslator">\n <single>ed. and trans.</single>\n <multiple>eds and trans.</multiple>\n </term>\n <term form="verb-short" name="illustrator">illus.</term>\n </terms>\n </locale>\n <!-- Contents:\n\n This file interprets Chicago using APA\'s four basic reference elements\n (cf. CMOS18 14.2, 14.64, 14.161):\n\n 1. Author (CMOS18 13.74-86)\n 2. Date (author-date system only, CMOS18 13.102)\n 3. Title and descriptions (CMOS18 13.87-101)\n 3.1. Title\n 3.2. Description\n 3.3. Identifiers (edition, contributors, volume)\n 4. Source\n 4.1. Serial sources\n 4.2. Monographic sources\n 4.3. Series\n 4.4. Event\n 4.5. Publisher\n 4.6. Date\n 4.7. Locator (including page references)\n 4.8. Medium\n 4.9. Archival location\n 4.10. URL or persistent identifier\n\n Freeform annotations to bibliography entries:\n\n 5. Notes\n\n Chicago also provides parallel rules for legal references following\n The Bluebook: A Uniform System of Citation (code shared with APA):\n\n 6. Legal references\n -->\n <!-- In this file, macros suffixed `-bib` and `-note` are parallel versions\n of the same features for the bibliography and notes, and all changes\n must be applied to both. They should only contain differences of\n punctuation (periods in bibliography, commas in notes) and capitalization,\n except where the comments indicate structural changes. -->\n <!-- Categories of CSL item types:\n\n Serial\n : article-journal article-magazine article-newspaper periodical post-weblog review review-book\n\n Serial or Monographic\n : interview paper-conference\n\n Monographic with any of `collection-editor compiler editor editorial-director`.\n A serial `paper-conference` is unpublished if it lacks any of `issue page supplement-number volume`.\n\n Monographic\n : article book broadcast chapter classic collection dataset document\n entry entry-dictionary entry-encyclopedia event figure\n graphic manuscript map motion_picture musical_score\n pamphlet patent performance personal_communication post report\n software song speech standard thesis webpage\n\n Legal\n : bill hearing legal_case legislation regulation treaty\n -->\n <!-- Variable labels -->\n <macro name="label-chapter-number">\n <group delimiter=" ">\n <choose>\n <if is-numeric="chapter-number" type="song">\n <text value="track"/>\n </if>\n <else-if is-numeric="chapter-number">\n <label form="short" variable="chapter-number"/>\n </else-if>\n </choose>\n <text variable="chapter-number"/>\n </group>\n </macro>\n <macro name="label-chapter-number-capitalized">\n <group delimiter=" ">\n <choose>\n <if is-numeric="chapter-number" type="song">\n <text text-case="capitalize-first" value="track"/>\n </if>\n <else-if is-numeric="chapter-number">\n <label form="short" text-case="capitalize-first" variable="chapter-number"/>\n </else-if>\n </choose>\n <text text-case="capitalize-first" variable="chapter-number"/>\n </group>\n </macro>\n <macro name="label-collection-number">\n <group delimiter=" ">\n <choose>\n <if is-numeric="collection-number">\n <label form="short" variable="collection-number"/>\n </if>\n </choose>\n <text variable="collection-number"/>\n </group>\n </macro>\n <macro name="label-edition">\n <group delimiter=" ">\n <choose>\n <if is-numeric="edition">\n <number form="ordinal" variable="edition"/>\n <label form="short" variable="edition"/>\n </if>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types: full label (CMOS18 14.89) -->\n <text variable="edition"/>\n <label variable="edition"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text variable="edition"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text variable="edition"/>\n <label variable="edition"/>\n </else-if>\n <else>\n <!-- monographic types -->\n <text variable="edition"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="label-edition-capitalized">\n <group delimiter=" ">\n <choose>\n <if is-numeric="edition">\n <number form="ordinal" variable="edition"/>\n <label form="short" variable="edition"/>\n </if>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types: full label (CMOS18 14.89) -->\n <text text-case="title" variable="edition"/>\n <label text-case="capitalize-first" variable="edition"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text text-case="capitalize-first" variable="edition"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text text-case="title" variable="edition"/>\n <label text-case="capitalize-first" variable="edition"/>\n </else-if>\n <else>\n <!-- monographic types -->\n <text text-case="capitalize-first" variable="edition"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="label-issue">\n <group delimiter=" ">\n <label form="short" variable="issue"/>\n <text variable="issue"/>\n </group>\n </macro>\n <macro name="label-locator">\n <group delimiter=" ">\n <choose>\n <if locator="page"/>\n <else-if match="any" type="bill hearing legal_case legislation regulation treaty">\n <!-- Bluebook-style labels for legal types (CMOS18 14.174) -->\n <choose>\n <if locator="chapter paragraph section" match="any">\n <label form="symbol" variable="locator"/>\n </if>\n <else>\n <label form="short" variable="locator"/>\n </else>\n </choose>\n </else-if>\n <else-if is-numeric="locator" locator="line">\n <label variable="locator"/>\n </else-if>\n <else-if is-numeric="locator">\n <label form="short" variable="locator"/>\n </else-if>\n <else-if locator="chapter line verse" match="any"/>\n <!-- a non-numeric canonical reference is identified by its formatting and does not need a label (CMOS18 14.143-54) -->\n <else>\n <label form="short" variable="locator"/>\n </else>\n </choose>\n <text variable="locator"/>\n </group>\n </macro>\n <macro name="label-locator-all">\n <group delimiter=" ">\n <label form="short" variable="locator"/>\n <text variable="locator"/>\n </group>\n </macro>\n <macro name="label-number">\n <group delimiter=" ">\n <choose>\n <if type="standard"/>\n <else-if is-numeric="number" match="any" type="legislation regulation">\n <label form="short" variable="number"/>\n </else-if>\n </choose>\n <text variable="number"/>\n </group>\n </macro>\n <macro name="label-number-capitalized">\n <group delimiter=" ">\n <choose>\n <if type="standard"/>\n <else-if is-numeric="number" match="any" type="legislation regulation">\n <label form="short" text-case="capitalize-first" variable="number"/>\n </else-if>\n </choose>\n <text text-case="capitalize-first" variable="number"/>\n </group>\n </macro>\n <macro name="label-number-of-volumes">\n <group delimiter=" ">\n <text variable="number-of-volumes"/>\n <choose>\n <if is-numeric="number-of-volumes">\n <label form="short" variable="number-of-volumes"/>\n </if>\n </choose>\n </group>\n </macro>\n <macro name="label-page">\n <group delimiter=" ">\n <label form="short" variable="page"/>\n <text variable="page"/>\n </group>\n </macro>\n <macro name="label-part-number">\n <group delimiter=" ">\n <choose>\n <if is-numeric="part-number">\n <!-- TODO: Replace with `part-number` label when CSL provides one -->\n <text form="short" term="part"/>\n </if>\n </choose>\n <text variable="part-number"/>\n </group>\n </macro>\n <macro name="label-part-number-capitalized">\n <group delimiter=" ">\n <choose>\n <if is-numeric="part-number">\n <!-- TODO: Replace with `part-number` label when CSL provides one -->\n <text form="short" term="part" text-case="capitalize-first"/>\n </if>\n </choose>\n <text text-case="capitalize-first" variable="part-number"/>\n </group>\n </macro>\n <macro name="label-section">\n <group delimiter=" ">\n <choose>\n <if is-numeric="section">\n <label form="short" variable="section"/>\n </if>\n </choose>\n <text text-case="title" variable="section"/>\n </group>\n </macro>\n <macro name="label-section-capitalized">\n <group delimiter=" ">\n <choose>\n <if is-numeric="section">\n <label form="short" text-case="capitalize-first" variable="section"/>\n </if>\n </choose>\n <text text-case="title" variable="section"/>\n </group>\n </macro>\n <macro name="label-section-symbol">\n <group delimiter=" ">\n <label form="symbol" variable="section"/>\n <text variable="section"/>\n </group>\n </macro>\n <macro name="label-supplement-number">\n <group delimiter=" ">\n <choose>\n <!-- TODO: Replace with `supplement-number` label when CSL provides one -->\n <if variable="issue supplement-number">\n <!-- if there is both an issue and supplement number, do not label both as \'no.\' -->\n <text form="short" term="supplement"/>\n </if>\n <else-if is-numeric="supplement-number" variable="volume-title">\n <!-- if there is a volume title, it is already described as a supplement -->\n <text form="short" term="issue"/>\n </else-if>\n <else-if is-numeric="supplement-number" type="periodical" variable="title">\n <text form="short" term="issue"/>\n </else-if>\n <else-if is-numeric="supplement-number">\n <text form="short" term="supplement"/>\n </else-if>\n </choose>\n <text variable="supplement-number"/>\n </group>\n </macro>\n <macro name="label-version">\n <group delimiter=" ">\n <choose>\n <if type="software">\n <!-- short version label for software (CMOS18 14.169) -->\n <label form="short" variable="version"/>\n </if>\n <else>\n <label variable="version"/>\n </else>\n </choose>\n <text variable="version"/>\n </group>\n </macro>\n <macro name="label-version-capitalized">\n <group delimiter=" ">\n <choose>\n <if type="software">\n <!-- short version label for software (CMOS18 14.169) -->\n <label form="short" text-case="capitalize-first" variable="version"/>\n </if>\n <else>\n <label text-case="capitalize-first" variable="version"/>\n </else>\n </choose>\n <text variable="version"/>\n </group>\n </macro>\n <macro name="label-volume">\n <group delimiter=" ">\n <choose>\n <if is-numeric="volume">\n <label form="short" variable="volume"/>\n </if>\n </choose>\n <text variable="volume"/>\n </group>\n </macro>\n <macro name="label-volume-capitalized">\n <group delimiter=" ">\n <choose>\n <if is-numeric="volume">\n <label form="short" text-case="capitalize-first" variable="volume"/>\n </if>\n </choose>\n <text text-case="capitalize-first" variable="volume"/>\n </group>\n </macro>\n <!-- 1. Author (CMOS18 13.74-86) -->\n <macro name="author-bib">\n <names variable="composer">\n <name and="text" delimiter-precedes-last="always" initialize="false" name-as-sort-order="first"/>\n <label form="short" prefix=", "/>\n <substitute>\n <names variable="author"/>\n <!-- cf. `interview` model (CMOS18 14.110); if it is desired to prioritize `host` over `guest`, the latter could be encoded as a `contributor` -->\n <names variable="guest"/>\n <names variable="host"/>\n <choose>\n <if type="song">\n <names variable="performer"/>\n </if>\n </choose>\n <choose>\n <if type="classic">\n <!-- contributors fall after the title of `classic` (CMOS18 14.147) -->\n <text macro="author-title-substitute-bib"/>\n </if>\n <else-if type="entry-dictionary" variable="container-title">\n <!-- contributors fall after the title of unsigned reference entries (CMOS18 14.130) -->\n <text macro="author-title-substitute-container"/>\n </else-if>\n <else-if type="entry-encyclopedia" variable="container-title">\n <text macro="author-title-substitute-container"/>\n </else-if>\n </choose>\n <names variable="illustrator"/>\n <choose>\n <!-- list an edited multivolume work under the name of the series editor; remove this condition for author-date or notes and bibliography leading with volume title (CMOS18 14.21) -->\n <if variable="container-title"/>\n <else-if match="any" variable="number-of-volumes part-number part-title volume volume-title">\n <names variable="collection-editor"/>\n </else-if>\n </choose>\n <choose>\n <if match="none" type="standard">\n <names variable="editor-translator"/>\n <names variable="editor"/>\n <names variable="translator"/>\n <names variable="collection-editor"/>\n </if>\n </choose>\n <names variable="director"/>\n <choose>\n <!-- serial `broadcast` prioritizes title (CMOS18 14.165, 14.168) -->\n <if type="broadcast" variable="container-title number title"/>\n <else>\n <names variable="producer"/>\n <names variable="executive-producer"/>\n <names variable="series-creator"/>\n <choose>\n <if type="broadcast">\n <names variable="contributor"/>\n </if>\n </choose>\n </else>\n </choose>\n <names variable="editorial-director"/>\n <names variable="compiler"/>\n <choose>\n <if match="any" type="event performance speech">\n <names variable="chair"/>\n <names variable="organizer"/>\n </if>\n </choose>\n <names variable="curator"/>\n <choose>\n <if match="any" type="software webpage">\n <!-- `software` listed under the name of the publisher or developer (CMOS18 14.169); `webpage` listed under a site owner or sponsor (CMOS18 14.104) -->\n <text variable="publisher"/>\n </if>\n <else-if type="standard">\n <!-- `standard` listed in bibliography under organization, but note omits this (CMOS18 14.159) -->\n <text variable="authority"/>\n </else-if>\n </choose>\n <text macro="author-title-substitute-container"/>\n <text macro="author-title-substitute-bib"/>\n <choose>\n <if match="any" variable="container-title event-date event-place event-title genre title publisher publisher-place"/>\n <else-if type="manuscript">\n <text macro="source-archive-bib"/>\n </else-if>\n </choose>\n </substitute>\n </names>\n </macro>\n <macro name="author-note">\n <names variable="composer">\n <name and="text" initialize="false"/>\n <label form="short" prefix=", "/>\n <substitute>\n <names variable="author"/>\n <!-- cf. `interview` model (CMOS18 14.110); use `contributor` if `host` should be prioritized -->\n <names variable="guest"/>\n <names variable="host"/>\n <choose>\n <if type="song">\n <names variable="performer"/>\n </if>\n </choose>\n <choose>\n <if match="any" type="classic performance">\n <!-- note contributors fall after the title of `classic` (CMOS18 14.147), `performance` (CMOS18 14.166) -->\n <text macro="author-title-substitute-note"/>\n </if>\n <else-if type="broadcast" variable="container-title number title">\n <!-- note contributors fall after the title of `broadcast` (CMOS18 14.165) -->\n <text macro="author-title-substitute-container-short"/>\n </else-if>\n <else-if match="any" type="broadcast motion_picture song">\n <!-- note contributors fall after the title of `broadcast`, `motion_picture` (CMOS18 14.165), `song` (CMOS18 14.163) -->\n <text macro="author-title-substitute-note"/>\n </else-if>\n <!-- unsigned reference articles consulted in physical formats list `title` in the manner of a `sub-verbo` locator (CMOS18 14.130) -->\n <else-if match="any" variable="DOI URL"/>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <text macro="author-title-substitute-reference-note"/>\n </else-if>\n </choose>\n <names variable="illustrator"/>\n <choose>\n <!-- list an edited multivolume work under the name of the series editor; remove this condition for notes and bibliography leading with volume title (CMOS18 14.21) -->\n <if variable="container-title"/>\n <else-if match="any" variable="number-of-volumes part-number part-title volume volume-title">\n <names variable="collection-editor"/>\n </else-if>\n </choose>\n <choose>\n <if match="none" type="standard">\n <names variable="editor-translator"/>\n <names variable="editor"/>\n <names variable="translator"/>\n <names variable="collection-editor"/>\n </if>\n </choose>\n <names variable="director"/>\n <choose>\n <!-- serial `broadcast` prioritizes title (CMOS18 14.165, 14.168) -->\n <if type="broadcast" variable="container-title number title"/>\n <else>\n <names variable="producer"/>\n <names variable="executive-producer"/>\n <names variable="series-creator"/>\n <choose>\n <if type="broadcast">\n <names variable="contributor"/>\n </if>\n </choose>\n </else>\n </choose>\n <names variable="editorial-director"/>\n <names variable="compiler"/>\n <choose>\n <if match="any" type="event performance speech">\n <names variable="chair"/>\n <names variable="organizer"/>\n </if>\n </choose>\n <names variable="curator"/>\n <!-- notes omit organization name for `software` (CMOS18 14.169), `standard` (CMOS18 14.159), and `webpage` (CMOS18 14.104) -->\n <choose>\n <!-- in notes, substitute `container-title` only if there is no article title, moving it before `genre` or `section` (CMOS18 14.89); shortened notes use this more liberally -->\n <if match="any" variable="reviewed-genre reviewed-title title"/>\n <else-if type="webpage"/>\n <else>\n <text macro="author-title-substitute-container"/>\n </else>\n </choose>\n <choose>\n <if match="none" variable="reviewed-genre reviewed-title title">\n <!-- TODO: workaround for citeproc bug shown in substitution with an unsigned review; remove when fixed -->\n <text macro="author-title-substitute-note"/>\n </if>\n </choose>\n <choose>\n <if match="any" variable="container-title event-date event-place event-title genre title publisher publisher-place"/>\n <else-if type="manuscript">\n <text macro="source-archive-note"/>\n </else-if>\n </choose>\n </substitute>\n </names>\n </macro>\n <macro name="author-short">\n <choose>\n <if match="any" type="bill hearing legal_case legislation regulation treaty">\n <text macro="title-and-descriptions-short"/>\n </if>\n <else-if match="any" type="interview personal_communication">\n <text macro="author-short-and-recipient"/>\n </else-if>\n <else>\n <names variable="composer">\n <name and="text" form="short" initialize="true"/>\n <substitute>\n <names variable="author"/>\n <names variable="guest"/>\n <names variable="host"/>\n <choose>\n <if type="song">\n <names variable="performer"/>\n </if>\n </choose>\n <choose>\n <if match="any" type="classic performance">\n <!-- note contributors fall after the title of `classic` (CMOS18 14.147), `performance` (CMOS18 14.166) -->\n <text macro="author-title-substitute-short"/>\n </if>\n <else-if type="broadcast" variable="container-title number title">\n <!-- note contributors fall after the title of `broadcast` (CMOS18 14.165) -->\n <text macro="author-title-substitute-container-short"/>\n </else-if>\n <else-if match="any" type="broadcast motion_picture song">\n <!-- note contributors fall after the title of `broadcast`, `motion_picture` (CMOS18 14.165), `song` (CMOS18 14.163) -->\n <text macro="author-title-substitute-short"/>\n </else-if>\n <!-- unsigned reference articles consulted in physical formats list `title` in the manner of a `sub-verbo` locator (CMOS18 14.130) -->\n <else-if match="any" variable="DOI URL"/>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <text macro="author-title-substitute-container-short"/>\n </else-if>\n </choose>\n <names variable="illustrator"/>\n <choose>\n <!-- list an edited multivolume work under the name of the series editor; remove this condition for notes and bibliography leading with volume title (CMOS18 14.21) -->\n <if variable="container-title"/>\n <else-if match="any" variable="number-of-volumes part-number part-title volume volume-title">\n <names variable="collection-editor"/>\n </else-if>\n </choose>\n <choose>\n <if match="none" type="standard">\n <names variable="editor-translator"/>\n <names variable="editor"/>\n <names variable="translator"/>\n <names variable="collection-editor"/>\n </if>\n </choose>\n <choose>\n <if type="broadcast" variable="container-title number title"/>\n <else>\n <names variable="director"/>\n <names variable="producer"/>\n <names variable="executive-producer"/>\n <names variable="series-creator"/>\n <choose>\n <if type="broadcast">\n <names variable="contributor"/>\n </if>\n </choose>\n </else>\n </choose>\n <names variable="editorial-director"/>\n <names variable="compiler"/>\n <choose>\n <if match="any" type="event performance speech">\n <names variable="chair"/>\n <names variable="organizer"/>\n </if>\n </choose>\n <names variable="curator"/>\n <choose>\n <!-- no Chicago definition for these shortened references; this follows the bibliography -->\n <if match="any" type="software webpage">\n <!-- `software` listed under the name of the publisher or developer (CMOS18 14.169); `webpage` listed under a site owner or sponsor (CMOS18 14.104) -->\n <text form="short" variable="publisher"/>\n </if>\n <else-if type="standard">\n <!-- `standard` listed in bibliography under organization (CMOS18 14.159) -->\n <text form="short" variable="authority"/>\n </else-if>\n </choose>\n <text macro="author-title-substitute-container-short"/>\n <text macro="author-title-substitute-short"/>\n <choose>\n <if match="any" variable="container-title event-date event-place event-title genre title publisher publisher-place"/>\n <else-if type="manuscript">\n <text macro="source-archive-note"/>\n </else-if>\n </choose>\n </substitute>\n </names>\n </else>\n </choose>\n </macro>\n <macro name="author-sort">\n <choose>\n <if match="any" type="bill hearing legal_case legislation regulation treaty">\n <text macro="legal-title"/>\n </if>\n <else>\n <text macro="author-bib"/>\n </else>\n </choose>\n </macro>\n <!-- Author elements -->\n <macro name="author-short-and-recipient">\n <group delimiter=" ">\n <choose>\n <!-- inaccessible `interview` or `personal_commmunication`: in-text citation (CMOS18 14.111) -->\n <if match="none" variable="archive archive-place container-title DOI number publisher references URL">\n <choose>\n <if position="first">\n <!-- at the first citation in shortened forms, give the full name -->\n <names variable="author">\n <name and="text" initialize="false"/>\n <!-- never initialize -->\n <substitute>\n <text macro="title-and-descriptions-short"/>\n </substitute>\n </names>\n </if>\n <else>\n <names variable="author">\n <name and="text" form="short" initialize="true"/>\n <substitute>\n <text macro="title-and-descriptions-short"/>\n </substitute>\n </names>\n </else>\n </choose>\n <choose>\n <if variable="genre"/>\n <!-- recipient appears in the description if there is a `genre`; otherwise after `author` -->\n <else-if position="first">\n <names variable="recipient">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n <!-- never initialize -->\n </names>\n </else-if>\n <else>\n <names variable="recipient">\n <label form="verb" suffix=" "/>\n <name and="text" form="short" initialize="true"/>\n </names>\n </else>\n </choose>\n </if>\n <!-- accessible `interview` or `personal_communication`: standard citation -->\n <else-if variable="author recipient">\n <names variable="author">\n <name and="text" form="short" initialize="true"/>\n </names>\n <choose>\n <if match="none" variable="genre">\n <names variable="recipient">\n <label form="verb" suffix=" "/>\n <name and="text" form="short" initialize="true"/>\n </names>\n </if>\n </choose>\n </else-if>\n <else>\n <names variable="author">\n <name and="text" form="short" initialize="true"/>\n <substitute>\n <text macro="title-and-descriptions-short"/>\n </substitute>\n </names>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="author-title-substitute-bib">\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- If a review has no `reviewed-genre` or `reviewed-title`, assume that `title` contains the title of the reviewed work; the description provides it. -->\n <choose>\n <if variable="reviewed-genre title">\n <text macro="title-bib"/>\n </if>\n <else-if variable="reviewed-genre reviewed-title title">\n <text macro="title-bib"/>\n </else-if>\n <else>\n <text macro="title-and-descriptions-bib"/>\n </else>\n </choose>\n </if>\n <else-if variable="title">\n <text macro="title-bib"/>\n </else-if>\n <else>\n <!-- If an item has no `title`, substitute with descriptions. -->\n <text macro="title-and-descriptions-bib"/>\n </else>\n </choose>\n </macro>\n <macro name="author-title-substitute-note">\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- If a review has no `reviewed-genre` or `reviewed-title`, assume that `title` contains the title of the reviewed work; the description provides it. -->\n <choose>\n <if variable="reviewed-genre title">\n <text macro="title-note"/>\n </if>\n <else-if variable="reviewed-genre reviewed-title title">\n <text macro="title-note"/>\n </else-if>\n <else>\n <text macro="title-and-descriptions-note"/>\n </else>\n </choose>\n </if>\n <else-if variable="title">\n <text macro="title-note"/>\n </else-if>\n <else>\n <!-- If an item has no `title`, substitute with descriptions and capitalize -->\n <text macro="title-and-descriptions-bib"/>\n </else>\n </choose>\n </macro>\n <macro name="author-title-substitute-short">\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- If a review has no `reviewed-genre` or `reviewed-title`, assume that `title` contains the title of the reviewed work; the description provides it. -->\n <choose>\n <if variable="reviewed-genre title">\n <text macro="title-short"/>\n </if>\n <else-if variable="reviewed-genre reviewed-title title">\n <text macro="title-short"/>\n </else-if>\n <else>\n <text macro="title-and-descriptions-short"/>\n </else>\n </choose>\n </if>\n <else-if variable="title">\n <text macro="title-short"/>\n </else-if>\n <else>\n <!-- If an item has no `title`, substitute with descriptions and capitalize -->\n <text macro="title-and-descriptions-bib"/>\n </else>\n </choose>\n </macro>\n <macro name="author-title-substitute-container">\n <choose>\n <!-- no Chicago model for citing an anonymous article with an issue title in `volume-title` -->\n <if variable="volume-title"/>\n <else-if match="any" type="article-magazine article-newspaper">\n <!-- Anonymous magazine and newspaper articles substitute name of publication (CMOS18 14.87, 14.97) -->\n <text macro="source-serial-name"/>\n </else-if>\n <else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- Publication name also substituted for unsigned reviews (CMOS18 14.102) -->\n <text macro="source-serial-name"/>\n </else-if>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <!-- Anonymous entries in reference works (CMOS18 14.130) -->\n <text font-style="italic" text-case="title" variable="container-title"/>\n </else-if>\n <else-if type="broadcast">\n <!-- TV broadcasts and podcasts (CMOS18 14.165, 14.168) -->\n <text font-style="italic" text-case="title" variable="container-title"/>\n </else-if>\n <else-if type="webpage">\n <!-- list a webpage under the website title if there is no owner or sponsor (CMOS18 14.104) -->\n <text text-case="title" variable="container-title"/>\n <!-- for author-date:\n <choose><if variable="container-title-short"><text text-case="title" variable="container-title-short"/></if><else><text text-case="title" variable="container-title"/></else></choose>-->\n </else-if>\n </choose>\n </macro>\n <macro name="author-title-substitute-container-short">\n <choose>\n <if match="any" type="article-magazine article-newspaper">\n <!-- Anonymous magazine/newspaper articles substitute name of publication (CMOS18 14.87, 14.97) -->\n <text font-style="italic" text-case="title" variable="container-title"/>\n </if>\n <else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- Publication name also substituted for unsigned reviews (CMOS18 14.102) -->\n <text font-style="italic" text-case="title" variable="container-title"/>\n </else-if>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <!-- Anonymous entries in reference works (CMOS18 14.130) -->\n <text font-style="italic" form="short" text-case="title" variable="container-title"/>\n </else-if>\n <else-if type="broadcast">\n <!-- TV broadcasts and podcasts (CMOS18 14.165, 14.168) -->\n <text font-style="italic" form="short" text-case="title" variable="container-title"/>\n </else-if>\n <else-if type="webpage">\n <!-- list a webpage under the website title if there is no owner or sponsor (CMOS18 14.104) -->\n <text form="short" text-case="title" variable="container-title"/>\n </else-if>\n </choose>\n </macro>\n <macro name="author-title-substitute-reference-note">\n <!-- unsigned reference articles consulted in physical formats list `title` in the manner of a `sub-verbo` locator (CMOS18 14.130) -->\n <group delimiter=", ">\n <group delimiter=" ">\n <group delimiter=", ">\n <text macro="author-title-substitute-container"/>\n <text macro="source-note"/>\n </group>\n <text macro="source-monographic-publication-note-bracketed"/>\n </group>\n <group delimiter=" ">\n <choose>\n <if locator="sub-verbo"/>\n <else-if variable="container-title title">\n <choose>\n <if match="none" variable="DOI URL">\n <!-- Only print reference entries use `sub-verbo` (CMOS18 14.131) -->\n <text form="short" term="sub-verbo"/>\n </if>\n </choose>\n <text macro="title-primary"/>\n </else-if>\n </choose>\n </group>\n </group>\n </macro>\n <!-- 2. Date (CMOS18 13.102) -->\n <macro name="date-short">\n <group delimiter="-">\n <choose>\n <if variable="issued">\n <group delimiter=" ">\n <choose>\n <if is-uncertain-date="original-date">\n <!-- Uncertain date already has square brackets -->\n <text macro="date-original-year"/>\n </if>\n <else>\n <text macro="date-original-year" prefix="[" suffix="]"/>\n </else>\n </choose>\n <group>\n <choose>\n <if match="none" type="interview personal_communication">\n <text macro="date-issued-year"/>\n </if>\n <!-- accessible `interview` or `personal_communication` items appear in the bibliography; inaccessible items are in-text only -->\n <else-if match="any" variable="archive archive-place container-title DOI number publisher references URL">\n <text macro="date-issued-year"/>\n </else-if>\n <else>\n <text macro="date-issued-full"/>\n </else>\n </choose>\n <text variable="year-suffix"/>\n </group>\n </group>\n </if>\n <else-if variable="event-date">\n <text macro="date-event-year"/>\n </else-if>\n <else-if variable="available-date">\n <date date-parts="year" form="numeric" variable="available-date"/>\n </else-if>\n <else-if variable="status">\n <!-- Print the status variable rather than use generic CSL terms (`in press`, etc.) -->\n <text text-case="lowercase" variable="status"/>\n <text variable="year-suffix"/>\n </else-if>\n <else-if match="any" type="interview personal_communication">\n <choose>\n <if match="any" variable="archive archive-place container-title DOI number publisher references URL">\n <!-- only give n.d. for accessible personal communication (CMOS18 14.111)-->\n <text form="short" term="no date"/>\n <text variable="year-suffix"/>\n </if>\n </choose>\n </else-if>\n <else-if match="any" type="classic collection entry entry-dictionary entry-encyclopedia">\n <!-- do not give n.d. for archival collections (CMOS18 14.128), `classic` (CMOS18 14.143), or reference entries (CMOS18 14.131) -->\n <text variable="year-suffix"/>\n </else-if>\n <else-if type="manuscript">\n <!-- do not give n.d. with a bare shelfmark -->\n <choose>\n <if match="any" variable="container-title event-date event-place event-title genre title publisher publisher-place">\n <text form="short" term="no date"/>\n <text variable="year-suffix"/>\n </if>\n </choose>\n </else-if>\n <else>\n <text form="short" term="no date"/>\n <text variable="year-suffix"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- Date elements -->\n <macro name="date-event-full">\n <choose>\n <if is-uncertain-date="issued">\n <!-- guessed-at date (CMOS18 14.44) -->\n <date form="text" prefix="[" suffix="?]" variable="event-date"/>\n </if>\n <else>\n <date form="text" variable="event-date"/>\n </else>\n </choose>\n </macro>\n <macro name="date-event-year">\n <choose>\n <if is-uncertain-date="issued">\n <!-- guessed-at date (CMOS18 14.44) -->\n <date date-parts="year" form="numeric" prefix="[" suffix="?]" variable="event-date"/>\n </if>\n <else>\n <date date-parts="year" form="numeric" variable="event-date"/>\n </else>\n </choose>\n </macro>\n <macro name="date-issued-full">\n <choose>\n <if is-uncertain-date="issued">\n <!-- guessed-at date (CMOS18 14.44) -->\n <date form="text" prefix="[" suffix="?]" variable="issued"/>\n </if>\n <else>\n <date form="text" variable="issued"/>\n </else>\n </choose>\n </macro>\n <macro name="date-issued-year">\n <choose>\n <if is-uncertain-date="issued">\n <!-- guessed-at date (CMOS18 14.44) -->\n <date date-parts="year" form="numeric" prefix="[" suffix="?]" variable="issued"/>\n </if>\n <else>\n <date date-parts="year" form="numeric" variable="issued"/>\n </else>\n </choose>\n </macro>\n <macro name="date-issued-year-month">\n <choose>\n <if is-uncertain-date="issued">\n <!-- guessed-at date (CMOS18 14.44) -->\n <date date-parts="year-month" form="text" prefix="[" suffix="?]" variable="issued"/>\n </if>\n <else>\n <date date-parts="year-month" form="text" variable="issued"/>\n </else>\n </choose>\n </macro>\n <macro name="date-original-full">\n <choose>\n <if is-uncertain-date="original-date">\n <date form="text" prefix="[" suffix="?]" variable="original-date"/>\n </if>\n <else>\n <date form="text" variable="original-date"/>\n </else>\n </choose>\n </macro>\n <macro name="date-original-year">\n <choose>\n <if is-uncertain-date="original-date">\n <date date-parts="year" form="numeric" prefix="[" suffix="?]" variable="original-date"/>\n </if>\n <else>\n <date date-parts="year" form="numeric" variable="original-date"/>\n </else>\n </choose>\n </macro>\n <macro name="date-original-year-month">\n <choose>\n <if is-uncertain-date="original-date">\n <date date-parts="year-month" form="text" prefix="[" suffix="?]" variable="original-date"/>\n </if>\n <else>\n <date date-parts="year-month" form="text" variable="original-date"/>\n </else>\n </choose>\n </macro>\n <!-- 3. Title and descriptions (CMOS18 13.87-101) -->\n <macro name="title-and-descriptions-bib">\n <group delimiter=". ">\n <choose>\n <if variable="title">\n <text macro="title-bib"/>\n <text macro="description-bib"/>\n <text macro="identifier-bib"/>\n </if>\n <else-if match="any" type="bill report">\n <!-- Bills, resolutions, and congressional reports substitute bill number if no title -->\n <!-- Congressional reports are indistinguishable from other reports -->\n <text macro="identifier-number-bib"/>\n <text macro="identifier-bib"/>\n <text macro="description-bib"/>\n </else-if>\n <else>\n <text macro="description-bib"/>\n <text macro="identifier-bib"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="title-and-descriptions-note">\n <group delimiter=", ">\n <choose>\n <if variable="title">\n <text macro="title-note"/>\n <text macro="description-note"/>\n <text macro="identifier-note"/>\n </if>\n <else-if match="any" type="bill report">\n <!-- Bills, resolutions, and congressional reports substitute bill number if no title -->\n <!-- Congressional reports are indistinguishable from other reports -->\n <text macro="identifier-number-note"/>\n <text macro="identifier-note"/>\n <text macro="description-note"/>\n </else-if>\n <else>\n <text macro="description-note"/>\n <text macro="identifier-note"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="title-and-descriptions-short">\n <choose>\n <if variable="title">\n <text macro="title-short"/>\n </if>\n <else-if match="any" type="bill report">\n <!-- Bills, resolutions, and congressional reports substitute bill number if no title -->\n <text macro="legal-identifier-bill-report"/>\n </else-if>\n <else>\n <text macro="description-short"/>\n </else>\n </choose>\n </macro>\n <macro name="title-and-source-bib">\n <group delimiter=". ">\n <choose>\n <if type="broadcast" variable="container-title number title">\n <!-- Bespoke `broadcast` format (CMOS18 14.165, 14.168) -->\n <text font-style="italic" text-case="title" variable="container-title"/>\n <!-- for author-date or notes and bibliography leading with volume title (CMOS18 14.21): -->\n <!-- <text macro="source-monographic-title-specific-title-first"/> -->\n <group delimiter=", ">\n <text macro="identifier-number-bib"/>\n <text macro="title-bib"/>\n <text macro="description-bib"/>\n <text macro="source-monographic-identifier-contributors-bib"/>\n </group>\n <text macro="source-monographic-identifier-contributors-bib-container-author"/>\n <text macro="source-series-bib"/>\n <choose>\n <!-- show event information here only if not collapsed with `issued` (CMOS18 14.167) -->\n <if match="any" variable="event-date original-date original-publisher original-publisher-place publisher status">\n <text macro="source-event-bib"/>\n </if>\n </choose>\n </if>\n <else-if type="chapter" variable="container-title genre">\n <!-- \'introduction to\', \'online appendix to\' (CMOS18 14.12, 14.14) -->\n <group delimiter=" ">\n <text macro="title-and-descriptions-bib"/>\n <text macro="source-bib"/>\n </group>\n </else-if>\n <else-if type="article-journal" variable="container-title genre volume-title">\n <!-- introduction to a special issue or supplement -->\n <group delimiter=" ">\n <text macro="title-and-descriptions-bib"/>\n <text macro="source-bib"/>\n </group>\n </else-if>\n <else>\n <text macro="title-and-descriptions-bib"/>\n <text macro="source-bib"/>\n </else>\n </choose>\n <group delimiter=", ">\n <choose>\n <!-- show event information here only if collapsed with `issued` (CMOS18 14.167) -->\n <if match="any" variable="event-date original-date original-publisher original-publisher-place publisher status"/>\n <!-- omit serial types -->\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book"/>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="source-event-bib"/>\n </else-if>\n <!-- omit serial types -->\n <else-if match="any" type="interview paper-conference"/>\n <else>\n <!-- monographic types -->\n <text macro="source-event-bib"/>\n </else>\n </choose>\n <text macro="source-monographic-publication-bib"/>\n </group>\n <text macro="source-medium-bib"/>\n <text macro="source-archive-bib"/>\n <text macro="source-date-accessed-DOI-URL-bib"/>\n </group>\n </macro>\n <macro name="title-and-source-note">\n <group delimiter=", ">\n <group delimiter=" ">\n <group delimiter=", ">\n <choose>\n <if type="broadcast" variable="container-title number title">\n <!-- Bespoke `broadcast` format (CMOS18 14.165, 14.168) -->\n <text font-style="italic" text-case="title" variable="container-title"/>\n <group delimiter=", ">\n <text macro="identifier-number-note"/>\n <text macro="title-note"/>\n <text macro="description-note"/>\n <text macro="source-monographic-identifier-contributors-note"/>\n </group>\n <text macro="source-series-note"/>\n <text macro="source-event-note"/>\n </if>\n <else-if type="chapter" variable="container-title genre">\n <!-- \'introduction to\', \'online appendix to\' (CMOS18 14.12, 14.14) -->\n <group delimiter=" ">\n <text macro="title-and-descriptions-note"/>\n <text macro="source-note"/>\n </group>\n </else-if>\n <else-if type="article-journal" variable="container-title genre volume-title">\n <!-- introduction to a special issue or supplement -->\n <group delimiter=" ">\n <text macro="title-and-descriptions-note"/>\n <text macro="source-note"/>\n </group>\n </else-if>\n <else>\n <text macro="title-and-descriptions-note"/>\n <text macro="source-note"/>\n </else>\n </choose>\n <text macro="source-monographic-publication-note-unbracketed"/>\n </group>\n <text macro="source-monographic-publication-note-bracketed"/>\n </group>\n <choose>\n <!-- Locator for monographic types only; serial locator handled in `source-serial-locator` -->\n <!-- omit serial types -->\n <if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book"/>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="source-monographic-locator"/>\n </else-if>\n <!-- omit serial types -->\n <else-if match="any" type="interview paper-conference"/>\n <else>\n <!-- monographic types -->\n <text macro="source-monographic-locator"/>\n </else>\n </choose>\n <text macro="source-medium-note"/>\n <text macro="source-archive-note"/>\n <text macro="source-date-accessed-DOI-URL-note"/>\n </group>\n </macro>\n <!-- 3.1. Title -->\n <macro name="title-bib">\n <choose>\n <if match="any" type="post webpage">\n <!-- part number/title always at the analytic level -->\n <text macro="title-and-part-filter-review-bib"/>\n </if>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text macro="title-and-part-filter-review-bib"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="title-primary"/>\n <!-- for author-date or notes and bibliography leading with volume title (CMOS18 14.21): -->\n <!-- <text macro="title-monographic-bib-specific-title-first"/> -->\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text macro="title-and-part-filter-review-bib"/>\n </else-if>\n <else>\n <text macro="title-primary"/>\n <!-- for author-date or notes and bibliography leading with volume title (CMOS18 14.21): -->\n <!-- <text macro="title-monographic-bib-specific-title-first"/> -->\n </else>\n </choose>\n </macro>\n <macro name="title-note">\n <choose>\n <if match="any" type="post webpage">\n <!-- print `container-title` on `post` or `webpage` in the same way as `publisher` (CMOS18 14.104-106) -->\n <text macro="title-and-part-filter-review-note"/>\n </if>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text macro="title-and-part-filter-review-note"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <!-- notes always open with the primary title -->\n <text macro="title-primary"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text macro="title-and-part-filter-review-note"/>\n </else-if>\n <else>\n <!-- notes always open with the primary title -->\n <text macro="title-primary"/>\n </else>\n </choose>\n </macro>\n <macro name="title-short">\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- If a review has no `reviewed-title`, assume that `title` contains the title of the reviewed work; the description provides it. -->\n <choose>\n <if variable="reviewed-genre title">\n <!-- Quotes, title case -->\n <text form="short" quotes="true" text-case="title" variable="title"/>\n </if>\n <else-if variable="reviewed-genre reviewed-title title">\n <!-- Quotes, title case -->\n <text form="short" quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else>\n <text macro="description-short"/>\n </else>\n </choose>\n </if>\n <else>\n <text macro="title-primary-short"/>\n </else>\n </choose>\n </macro>\n <!-- Title elements -->\n <macro name="title-and-part-filter-review-bib">\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- `title` is only the review title if there is a separate `reviewed-genre` or `reviewed-title`; otherwise, it is the title of the reviewed work, printed in the description -->\n <choose>\n <if match="any" variable="reviewed-genre reviewed-title">\n <text macro="title-and-part-title-bib"/>\n </if>\n </choose>\n </if>\n <else>\n <text macro="title-and-part-title-bib"/>\n </else>\n </choose>\n </macro>\n <macro name="title-and-part-filter-review-note">\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- `title` is only the review title if there is a separate `reviewed-genre` or `reviewed-title`; otherwise, it is the title of the reviewed work, printed in the description -->\n <choose>\n <if match="any" variable="reviewed-genre reviewed-title">\n <text macro="title-and-part-title-note"/>\n </if>\n </choose>\n </if>\n <else>\n <text macro="title-and-part-title-note"/>\n </else>\n </choose>\n </macro>\n <macro name="title-and-part-title-bib">\n <group delimiter=". ">\n <text macro="title-primary"/>\n <group delimiter=", ">\n <text macro="label-part-number-capitalized"/>\n <text macro="title-part"/>\n </group>\n </group>\n </macro>\n <macro name="title-and-part-title-note">\n <group delimiter=", ">\n <text macro="title-primary"/>\n <group delimiter=", ">\n <text macro="label-part-number"/>\n <text macro="title-part"/>\n </group>\n </group>\n </macro>\n <macro name="title-part">\n <choose>\n <if type="patent">\n <!-- No italics or quotes, sentence case -->\n <text form="short" text-case="capitalize-first" variable="part-title"/>\n </if>\n <else-if match="any" type="bill collection legislation regulation treaty">\n <!-- No italics or quotes, title case -->\n <text text-case="title" variable="part-title"/>\n </else-if>\n <else-if type="legal_case">\n <!-- Italicized, sentence case -->\n <text font-style="italic" variable="part-title"/>\n </else-if>\n <else-if match="any" type="book classic graphic hearing map">\n <!-- Italicized, title case (regardless of `container-title`) -->\n <text font-style="italic" text-case="title" variable="part-title"/>\n </else-if>\n <else-if type="entry-encyclopedia" variable="author container-title">\n <!-- Signed encyclopedia entry in quotes, title case (CMOS18 14.132) -->\n <text quotes="true" text-case="title" variable="part-title"/>\n </else-if>\n <else-if type="entry-dictionary" variable="container-title">\n <!-- Quotes, sentence case -->\n <text quotes="true" variable="part-title"/>\n </else-if>\n <else-if type="entry-encyclopedia" variable="container-title">\n <!-- Quotes, sentence case -->\n <text quotes="true" variable="part-title"/>\n </else-if>\n <else-if type="post">\n <!-- Quotes, sentence case -->\n <text quotes="true" variable="part-title"/>\n </else-if>\n <else-if type="webpage">\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="part-title"/>\n </else-if>\n <!-- Other types are formatted based on presence of `container-title` -->\n <else-if variable="container-title">\n <choose>\n <if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="part-title"/>\n </if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <!-- Italics, title case -->\n <text font-style="italic" text-case="title" variable="part-title"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="part-title"/>\n </else-if>\n <else>\n <!-- monographic types -->\n <!-- Italics, title case -->\n <text font-style="italic" text-case="title" variable="part-title"/>\n </else>\n </choose>\n </else-if>\n <else-if match="any" type="article dataset document interview manuscript paper-conference personal_communication speech thesis webpage">\n <!-- Container-like but not necessarily with `container-title` -->\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="part-title"/>\n </else-if>\n <else>\n <!-- Italicized, title case (default) -->\n <text font-style="italic" text-case="title" variable="part-title"/>\n </else>\n </choose>\n </macro>\n <macro name="title-primary">\n <choose>\n <if type="patent">\n <!-- No italics or quotes, sentence case -->\n <text form="short" text-case="capitalize-first" variable="title"/>\n </if>\n <else-if match="any" type="bill collection legislation regulation treaty">\n <!-- No italics or quotes, title case -->\n <text text-case="title" variable="title"/>\n </else-if>\n <else-if type="legal_case">\n <!-- Italicized, sentence case -->\n <text font-style="italic" variable="title"/>\n </else-if>\n <else-if match="any" type="book classic graphic hearing map">\n <!-- Italicized, title case (regardless of `container-title`) -->\n <text font-style="italic" text-case="title" variable="title"/>\n </else-if>\n <else-if type="entry-encyclopedia" variable="author container-title">\n <!-- Signed encyclopedia entry in quotes, title case (CMOS18 14.132) -->\n <text quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else-if type="entry-dictionary" variable="container-title">\n <!-- Quotes, sentence case -->\n <text quotes="true" variable="title"/>\n </else-if>\n <else-if type="entry-encyclopedia" variable="container-title">\n <!-- Quotes, sentence case -->\n <text quotes="true" variable="title"/>\n </else-if>\n <else-if type="post">\n <!-- Quotes, sentence case -->\n <text quotes="true" variable="title"/>\n </else-if>\n <!-- Other types are formatted based on presence of `container-title` -->\n <else-if variable="container-title">\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else-if match="any" type="article dataset document interview manuscript paper-conference personal_communication speech thesis webpage">\n <!-- Container-like but not necessarily with `container-title` -->\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else>\n <!-- Italicized, title case (default) -->\n <text font-style="italic" text-case="title" variable="title"/>\n </else>\n </choose>\n </macro>\n <macro name="title-primary-short">\n <choose>\n <if type="patent">\n <!-- No italics or quotes, sentence case -->\n <text form="short" text-case="capitalize-first" variable="title"/>\n </if>\n <else-if match="any" type="bill collection legislation regulation treaty">\n <!-- No italics or quotes, title case -->\n <text form="short" text-case="title" variable="title"/>\n </else-if>\n <else-if type="legal_case">\n <!-- Italicized, sentence case -->\n <text font-style="italic" form="short" variable="title"/>\n </else-if>\n <else-if match="any" type="book classic graphic hearing map">\n <!-- Italicized, title case (regardless of `container-title`) -->\n <text font-style="italic" form="short" text-case="title" variable="title"/>\n </else-if>\n <else-if type="entry-encyclopedia" variable="author container-title">\n <!-- Signed encyclopedia entry in quotes, title case (CMOS18 14.132) -->\n <text form="short" quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else-if type="entry-dictionary" variable="container-title">\n <!-- Quotes, sentence case -->\n <text form="short" quotes="true" variable="title"/>\n </else-if>\n <else-if type="entry-encyclopedia" variable="container-title">\n <!-- Quotes, sentence case -->\n <text form="short" quotes="true" variable="title"/>\n </else-if>\n <else-if type="post">\n <!-- Quotes, sentence case -->\n <text form="short" quotes="true" variable="title"/>\n </else-if>\n <!-- Other types are formatted based on presence of `container-title` -->\n <else-if variable="container-title">\n <!-- Quotes, title case -->\n <text form="short" quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else-if match="any" type="article dataset document interview manuscript paper-conference personal_communication speech thesis webpage">\n <!-- Container-like but not necessarily with `container-title` -->\n <!-- Quotes, title case -->\n <text form="short" quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else>\n <!-- Italicized, title case (default) -->\n <text font-style="italic" form="short" text-case="title" variable="title"/>\n </else>\n </choose>\n </macro>\n <macro name="title-volume">\n <choose>\n <if type="manuscript">\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="volume-title"/>\n </if>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="volume-title"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <!-- Italics, title case -->\n <text font-style="italic" text-case="title" variable="volume-title"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="volume-title"/>\n </else-if>\n <else>\n <!-- monographic types -->\n <!-- Italics, title case -->\n <text font-style="italic" text-case="title" variable="volume-title"/>\n </else>\n </choose>\n </macro>\n <!-- 3.2. Description -->\n <macro name="description-bib">\n <choose>\n <if match="any" type="interview" variable="interviewer">\n <text macro="description-interview-bib"/>\n </if>\n <else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <text macro="description-review-bib"/>\n </else-if>\n <else-if type="personal_communication">\n <text macro="description-letter-bib"/>\n </else-if>\n <else-if type="song" variable="composer">\n <text macro="description-song-bib"/>\n </else-if>\n <!-- thesis type appears with university name (CMOS18 14.113) -->\n <else-if type="thesis"/>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text macro="description-serial-bib"/>\n </else-if>\n <else-if type="paper-conference">\n <text macro="description-paper-conference-bib"/>\n </else-if>\n <else-if match="none" variable="container-title">\n <text macro="description-format-bib"/>\n </else-if>\n <!-- For conference presentations/performances/events, chapters in reports/standards/generic documents, software, place description within the source element -->\n <else-if match="any" type="document report software standard"/>\n <else-if match="any" type="event paper-conference performance speech">\n <choose>\n <if match="any" variable="collection-editor compiler editor editorial-director issue page supplement-number volume">\n <text macro="description-format-bib"/>\n </if>\n </choose>\n </else-if>\n <else>\n <text macro="description-format-bib"/>\n </else>\n </choose>\n </macro>\n <macro name="description-note">\n <choose>\n <if match="any" type="interview" variable="interviewer">\n <text macro="description-interview-note"/>\n </if>\n <else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <text macro="description-review-note"/>\n </else-if>\n <else-if type="personal_communication">\n <text macro="description-letter-note"/>\n </else-if>\n <else-if type="song" variable="composer">\n <text macro="description-song-note"/>\n </else-if>\n <!-- thesis type appears with university name (CMOS18 14.113) -->\n <else-if type="thesis"/>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text macro="description-serial-note"/>\n </else-if>\n <else-if type="paper-conference">\n <text macro="description-paper-conference-note"/>\n </else-if>\n <else-if match="none" variable="container-title">\n <text macro="description-format-note"/>\n </else-if>\n <!-- For conference presentations/performances/events, chapters in reports/standards/generic documents, software, place description within the source element -->\n <else-if match="any" type="document report software standard"/>\n <else-if match="any" type="event paper-conference performance speech">\n <choose>\n <if match="any" variable="collection-editor compiler editor editorial-director issue page supplement-number volume">\n <text macro="description-format-note"/>\n </if>\n </choose>\n </else-if>\n <else>\n <text macro="description-format-note"/>\n </else>\n </choose>\n </macro>\n <macro name="description-short">\n <choose>\n <if match="any" type="interview" variable="interviewer">\n <choose>\n <if match="any" variable="archive archive-place container-title DOI number publisher references URL">\n <text macro="description-interview-short"/>\n </if>\n <else>\n <!-- for an inaccessible `interview`, give a full in-text description at the first citation -->\n <choose>\n <if position="first">\n <text macro="description-interview-note"/>\n </if>\n <else>\n <text macro="description-interview-short"/>\n </else>\n </choose>\n </else>\n </choose>\n </if>\n <else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <text macro="description-review-short"/>\n </else-if>\n <else-if type="personal_communication">\n <text macro="description-letter-short"/>\n </else-if>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text macro="description-serial-short"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="description-format-short"/>\n </else-if>\n <else-if type="paper-conference">\n <!-- serial `paper-conference` -->\n <text macro="description-serial-short"/>\n </else-if>\n <else>\n <!-- monographic types -->\n <text macro="description-format-short"/>\n </else>\n </choose>\n </macro>\n <!-- Description elements -->\n <macro name="description-format-bib">\n <choose>\n <if variable="genre number"/>\n <else-if variable="genre">\n <text text-case="capitalize-first" variable="genre"/>\n </else-if>\n <!-- generic labels if unpublished -->\n <else-if match="any" variable="archive archive-place container-title DOI number publisher references URL"/>\n <else-if type="manuscript">\n <!-- \'unpublished manuscript\' if no `genre` (CMOS18 14.114) -->\n <text term="manuscript" text-case="capitalize-first"/>\n </else-if>\n <else-if type="personal_communication">\n <!-- \'personal communication\' if no `genre` (CMOS18 14.111) -->\n <text term="personal-communication" text-case="capitalize-first"/>\n </else-if>\n </choose>\n </macro>\n <macro name="description-format-note">\n <choose>\n <if variable="genre number"/>\n <else-if variable="genre">\n <text variable="genre"/>\n </else-if>\n <!-- generic labels if unpublished -->\n <else-if match="any" variable="archive archive-place container-title DOI number publisher references URL"/>\n <else-if type="manuscript">\n <!-- \'unpublished manuscript\' if no `genre` (CMOS18 14.114) -->\n <text term="manuscript"/>\n </else-if>\n <else-if type="personal_communication">\n <!-- \'personal communication\' if no `genre` (CMOS18 14.111) -->\n <text term="personal-communication"/>\n </else-if>\n </choose>\n </macro>\n <macro name="description-format-short">\n <group delimiter=" ">\n <choose>\n <if type="chapter" variable="container-title genre">\n <!-- untitled introductions: cf. review model, which includes a title (CMOS18 14.101) -->\n <text form="short" variable="genre"/>\n <choose>\n <if match="none" position="ibid ibid-with-locator">\n <!-- CMOS team suggests leaving out title in repeated references -->\n <text macro="source-monographic-preposition-note"/>\n <text font-style="italic" form="short" text-case="title" variable="container-title"/>\n </if>\n </choose>\n </if>\n <else-if type="article-journal" variable="container-title genre volume-title">\n <!-- untitled introduction to a special issue or supplement -->\n <text form="short" variable="genre"/>\n <choose>\n <if match="none" position="ibid ibid-with-locator">\n <text macro="source-monographic-preposition-note"/>\n <text form="short" quotes="true" text-case="title" variable="volume-title"/>\n </if>\n </choose>\n </else-if>\n <else-if variable="genre">\n <text form="short" variable="genre"/>\n </else-if>\n <else-if variable="medium">\n <text form="short" variable="medium"/>\n </else-if>\n <else-if variable="chapter-number container-title">\n <text macro="source-monographic-preposition-note"/>\n <text font-style="italic" form="short" text-case="title" variable="container-title"/>\n </else-if>\n <else-if variable="chapter-number">\n <text macro="label-chapter-number"/>\n </else-if>\n <!-- generic labels if unpublished -->\n <else-if match="any" variable="archive archive-place container-title DOI number publisher references URL"/>\n <else-if type="manuscript">\n <!-- \'unpublished manuscript\' if no `genre` (CMOS18 14.114) -->\n <text term="manuscript"/>\n </else-if>\n <else-if type="personal_communication">\n <!-- \'pers. comm.\' if no `genre` (CMOS18 14.111) -->\n <text form="short" term="personal-communication"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <macro name="description-interview-bib">\n <group delimiter=", ">\n <choose>\n <if variable="genre number">\n <!-- `genre` printed with `number` -->\n <names variable="interviewer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n <else-if variable="genre">\n <group delimiter=" ">\n <text text-case="capitalize-first" variable="genre"/>\n <group delimiter=" ">\n <text form="verb" term="container-author"/>\n <names variable="interviewer">\n <name and="text" initialize="false"/>\n </names>\n </group>\n </group>\n </else-if>\n <else-if variable="interviewer">\n <names variable="interviewer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </else-if>\n <else>\n <text macro="description-format-bib"/>\n </else>\n </choose>\n <text macro="source-event-place-first"/>\n </group>\n </macro>\n <macro name="description-interview-note">\n <group delimiter=", ">\n <choose>\n <if variable="genre number">\n <!-- `genre` printed with `number` -->\n <names variable="interviewer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n <else-if variable="genre">\n <group delimiter=" ">\n <text variable="genre"/>\n <group delimiter=" ">\n <text form="verb" term="container-author"/>\n <names variable="interviewer">\n <name and="text" initialize="false"/>\n </names>\n </group>\n </group>\n </else-if>\n <else-if variable="interviewer">\n <names variable="interviewer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </else-if>\n <else>\n <text macro="description-format-note"/>\n </else>\n </choose>\n <text macro="source-event-place-first"/>\n </group>\n </macro>\n <macro name="description-interview-short">\n <choose>\n <if disambiguate="true">\n <names variable="interviewer">\n <label form="verb" suffix=" "/>\n <name and="text" form="short" initialize="true"/>\n <substitute>\n <text macro="description-format-short"/>\n </substitute>\n </names>\n </if>\n <else-if match="any" variable="genre medium">\n <choose>\n <if match="any" variable="author chair collection-editor compiler composer curator director editor editor-translator editorial-director executive-producer guest host illustrator organizer producer series-creator translator">\n <text macro="description-format-short"/>\n </if>\n <else>\n <!-- capitalize if no author or title -->\n <text macro="description-format-bib"/>\n </else>\n </choose>\n </else-if>\n <else>\n <!-- generic description for an unpublished interview (CMOS18 14.108) -->\n <text term="interview"/>\n </else>\n </choose>\n </macro>\n <macro name="description-letter-bib">\n <choose>\n <if variable="recipient">\n <group delimiter=", ">\n <choose>\n <if variable="genre number">\n <!-- `genre` appears with `number` -->\n <names variable="recipient">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n <else-if variable="genre">\n <group delimiter=" ">\n <text macro="description-format-bib"/>\n <names variable="recipient">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </group>\n </else-if>\n <else>\n <names variable="recipient">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </else>\n </choose>\n <text variable="event-place"/>\n <text macro="date-event-full"/>\n </group>\n </if>\n <else>\n <text macro="description-format-bib"/>\n </else>\n </choose>\n </macro>\n <macro name="description-letter-note">\n <choose>\n <if variable="recipient">\n <group delimiter=", ">\n <choose>\n <if variable="genre number">\n <!-- `genre` appears with `number` -->\n <names variable="recipient">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n <else-if variable="genre">\n <group delimiter=" ">\n <text macro="description-format-note"/>\n <names variable="recipient">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </group>\n </else-if>\n <else>\n <names variable="recipient">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </else>\n </choose>\n <text variable="event-place"/>\n <text macro="date-event-full"/>\n </group>\n </if>\n <else>\n <text macro="description-format-note"/>\n </else>\n </choose>\n </macro>\n <macro name="description-letter-short">\n <!-- shortened notes ideally give author, recipient, place, and date (CMOS18 14.13) -->\n <group delimiter=", ">\n <choose>\n <if variable="genre recipient">\n <group delimiter=" ">\n <text macro="description-format-short"/>\n <names variable="recipient">\n <label form="verb" suffix=" "/>\n <name and="text" form="short" initialize="true"/>\n </names>\n </group>\n </if>\n <else>\n <text macro="description-format-short"/>\n </else>\n </choose>\n <text variable="event-place"/>\n <choose>\n <if variable="event-date">\n <text macro="date-event-full"/>\n </if>\n <else>\n <text macro="date-issued-full"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="description-paper-conference-bib">\n <choose>\n <if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="description-format-bib"/>\n </if>\n <else>\n <!-- serial types -->\n <group delimiter=". ">\n <text macro="description-serial-bib"/>\n <text macro="source-event-bib"/>\n </group>\n </else>\n </choose>\n </macro>\n <macro name="description-paper-conference-note">\n <choose>\n <if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="description-format-bib"/>\n </if>\n <else>\n <!-- serial types -->\n <group delimiter=", ">\n <text macro="description-serial-note"/>\n <text macro="source-event-note"/>\n </group>\n </else>\n </choose>\n </macro>\n <macro name="description-review-bib">\n <!-- Reviewed item -->\n <group delimiter=". ">\n <group delimiter=", ">\n <group delimiter=" ">\n <text macro="description-review-genre-bib"/>\n <text macro="description-review-title"/>\n </group>\n <choose>\n <if variable="reviewed-genre reviewed-title title">\n <names variable="reviewed-author">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n <else-if variable="reviewed-genre"/>\n <else>\n <names variable="reviewed-author">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </else>\n </choose>\n <text macro="source-event-place-first"/>\n </group>\n <text macro="label-section-capitalized"/>\n </group>\n </macro>\n <macro name="description-review-note">\n <!-- Reviewed item -->\n <group delimiter=", ">\n <group delimiter=", ">\n <group delimiter=" ">\n <text macro="description-review-genre-note"/>\n <text macro="description-review-title"/>\n </group>\n <choose>\n <if variable="reviewed-genre reviewed-title title">\n <names variable="reviewed-author">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n <else-if variable="reviewed-genre"/>\n <else>\n <names variable="reviewed-author">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </else>\n </choose>\n <text macro="source-event-place-first"/>\n </group>\n <text macro="label-section"/>\n </group>\n </macro>\n <macro name="description-review-genre-bib">\n <choose>\n <if variable="reviewed-genre">\n <group delimiter=" ">\n <text macro="description-review-term-unsigned-bib"/>\n <text variable="reviewed-genre"/>\n <choose>\n <if match="none" variable="reviewed-title">\n <names variable="reviewed-author">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </group>\n </if>\n <else-if variable="number">\n <text macro="description-review-term-unsigned-bib"/>\n </else-if>\n <!-- If no `reviewed-genre`, assume that `genre` is entered as \'Review of the book\' or similar -->\n <else-if variable="genre">\n <text text-case="capitalize-first" variable="genre"/>\n </else-if>\n <else>\n <text macro="description-review-term-unsigned-bib"/>\n </else>\n </choose>\n </macro>\n <macro name="description-review-genre-note">\n <choose>\n <if variable="reviewed-genre">\n <group delimiter=" ">\n <text macro="description-review-term-unsigned-note"/>\n <text variable="reviewed-genre"/>\n <choose>\n <if match="none" variable="reviewed-title">\n <names variable="reviewed-author">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </group>\n </if>\n <else-if variable="number">\n <text macro="description-review-term-unsigned-note"/>\n </else-if>\n <!-- If no `reviewed-genre`, assume that `genre` is entered as \'Review of the book\' or similar -->\n <else-if variable="genre">\n <text variable="genre"/>\n </else-if>\n <else>\n <text macro="description-review-term-unsigned-note"/>\n </else>\n </choose>\n </macro>\n <macro name="description-review-short">\n <choose>\n <if match="any" position="ibid ibid-with-locator">\n <text term="review"/>\n </if>\n <else>\n <group delimiter=" ">\n <text term="review-of"/>\n <text macro="description-review-title-short"/>\n </group>\n </else>\n </choose>\n </macro>\n <macro name="description-review-term-unsigned-bib">\n <!-- Anonymous reviews appear as \'unsigned\' (CMOS18 14.102) -->\n <choose>\n <if match="any" variable="author chair collection-editor compiler composer curator director editor editor-translator editorial-director executive-producer guest host illustrator organizer producer series-creator translator">\n <text term="review-of" text-case="capitalize-first"/>\n </if>\n <else>\n <group delimiter=" ">\n <text term="anonymous" text-case="capitalize-first"/>\n <text term="review-of"/>\n </group>\n </else>\n </choose>\n </macro>\n <macro name="description-review-term-unsigned-note">\n <!-- Anonymous reviews appear as \'unsigned\' (CMOS18 14.102) -->\n <choose>\n <if match="any" variable="author chair collection-editor compiler composer curator director editor editor-translator editorial-director executive-producer guest host illustrator organizer producer series-creator translator">\n <text term="review-of"/>\n </if>\n <else>\n <group delimiter=" ">\n <text term="anonymous"/>\n <text term="review-of"/>\n </group>\n </else>\n </choose>\n </macro>\n <macro name="description-review-title">\n <choose>\n <if match="any" variable="reviewed-genre reviewed-title">\n <!-- Not possible to distinguish TV series episode from other reviewed works without a reviewed source title -->\n <!-- Adapt for `reviewed-container-title` or similar if it becomes available -->\n <text font-style="italic" text-case="title" variable="reviewed-title"/>\n </if>\n <else>\n <!-- Assume title is title of reviewed work -->\n <text font-style="italic" text-case="title" variable="title"/>\n </else>\n </choose>\n </macro>\n <macro name="description-review-title-short">\n <choose>\n <if match="any" variable="reviewed-genre reviewed-title">\n <!-- Not possible to distinguish TV series episode from other reviewed works without a reviewed source title -->\n <!-- Adapt for `reviewed-container-title` or similar if it becomes available -->\n <text font-style="italic" form="short" text-case="title" variable="reviewed-title"/>\n </if>\n <else>\n <!-- Assume title is title of reviewed work -->\n <text font-style="italic" form="short" text-case="title" variable="title"/>\n </else>\n </choose>\n </macro>\n <macro name="description-serial-bib">\n <group delimiter=". ">\n <text macro="description-format-bib"/>\n <!-- `section` provides magazine departments (CMOS18 14.88) and newspaper column names (CMOS18 14.93) -->\n <text macro="label-section-capitalized"/>\n </group>\n </macro>\n <macro name="description-serial-note">\n <group delimiter=", ">\n <text macro="description-format-note"/>\n <!-- `section` provides magazine departments (CMOS18 14.88) and newspaper column names (CMOS18 14.93) -->\n <text macro="label-section"/>\n </group>\n </macro>\n <macro name="description-serial-short">\n <choose>\n <if variable="title"/>\n <else-if variable="genre">\n <text macro="description-format-short"/>\n </else-if>\n <else>\n <text form="short" text-case="title" variable="section"/>\n </else>\n </choose>\n </macro>\n <macro name="description-song-bib">\n <!-- Performer of classical music works -->\n <!-- TODO: remove when Zotero fixes mapping of performer to `author` -->\n <group delimiter=" ">\n <!-- Based on `description-format` macro -->\n <choose>\n <if variable="genre">\n <text text-case="capitalize-first" variable="genre"/>\n <text form="verb" term="performer"/>\n </if>\n <!-- providing \'performed by\' label for recorded readings (CMOS18 14.164), but it should be omitted for classical music (CMOS18 14.163) -->\n <else>\n <text form="verb" term="performer" text-case="capitalize-first"/>\n </else>\n </choose>\n <names variable="author">\n <name and="text" initialize="false"/>\n <substitute>\n <names variable="performer"/>\n </substitute>\n </names>\n </group>\n </macro>\n <macro name="description-song-note">\n <!-- Performer of classical music works -->\n <!-- TODO: remove when Zotero fixes mapping of performer to `author` -->\n <group delimiter=" ">\n <!-- Based on `description-format` macro -->\n <choose>\n <if variable="genre">\n <text variable="genre"/>\n <text form="verb" term="performer"/>\n </if>\n <!-- providing \'performed by\' label for recorded readings (CMOS18 14.164), but it should be omitted for classical music (CMOS18 14.163) -->\n <else>\n <text form="verb" term="performer"/>\n </else>\n </choose>\n <names variable="author">\n <name and="text" initialize="false"/>\n <substitute>\n <names variable="performer"/>\n </substitute>\n </names>\n </group>\n </macro>\n <!-- 3.3. Identifier (edition, contributors, volume) -->\n <macro name="identifier-bib">\n <group delimiter=". ">\n <choose>\n <if type="patent">\n <text macro="identifier-patent"/>\n </if>\n <else-if type="report">\n <text macro="identifier-report-bib"/>\n </else-if>\n <else-if match="any" type="post webpage">\n <!-- print `container-title` on `post` or `webpage` in the same way as `publisher` (CMOS18 14.104-106) -->\n <text macro="identifier-number-bib"/>\n <text macro="label-version-capitalized"/>\n <text macro="identifier-edition-bib"/>\n <text macro="identifier-contributors-bib"/>\n </else-if>\n <else-if variable="container-title">\n <choose>\n <if match="any" type="broadcast graphic map motion_picture">\n <!-- For audiovisual media, number information comes after `title`, not `container-title`; `song` places album catalogue `number` with `publisher` (CMOS18 14.163-164) -->\n <text macro="identifier-number-bib"/>\n </if>\n </choose>\n <text macro="identifier-contributors-bib"/>\n </else-if>\n <else>\n <choose>\n <if match="none" type="song">\n <text macro="identifier-number-bib"/>\n </if>\n </choose>\n <text macro="label-version-capitalized"/>\n <text macro="identifier-edition-bib"/>\n <text macro="identifier-contributors-and-volume-bib"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="identifier-note">\n <group delimiter=", ">\n <choose>\n <if type="patent">\n <text macro="identifier-patent"/>\n </if>\n <else-if type="report">\n <text macro="identifier-report-note"/>\n </else-if>\n <else-if match="any" type="post webpage">\n <!-- print `container-title` on `post` or `webpage` in the same way as `publisher` (CMOS18 14.104-106) -->\n <text macro="identifier-number-note"/>\n <text macro="label-version"/>\n <text macro="identifier-edition-note"/>\n <text macro="identifier-contributors-note"/>\n </else-if>\n <else-if variable="container-title">\n <choose>\n <if match="any" type="broadcast graphic map motion_picture">\n <!-- For audiovisual media, number information comes after `title`, not `container-title`; `song` places album catalogue `number` with `publisher` (CMOS18 14.163-164) -->\n <text macro="identifier-number-note"/>\n </if>\n </choose>\n <text macro="identifier-contributors-note"/>\n </else-if>\n <else>\n <choose>\n <if match="none" type="song">\n <text macro="identifier-number-note"/>\n </if>\n </choose>\n <text macro="label-version"/>\n <text macro="identifier-edition-note"/>\n <text macro="identifier-contributors-and-volume-note"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- Identifier elements -->\n <macro name="identifier-contributors-bib">\n <choose>\n <if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <text macro="identifier-contributors-serial-bib"/>\n </if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <text macro="identifier-contributors-monographic-bib"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <text macro="identifier-contributors-serial-bib"/>\n </else-if>\n <else>\n <text macro="identifier-contributors-monographic-bib"/>\n </else>\n </choose>\n </macro>\n <macro name="identifier-contributors-note">\n <choose>\n <if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <text macro="identifier-contributors-serial-note"/>\n </if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <text macro="identifier-contributors-monographic-note"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <text macro="identifier-contributors-serial-note"/>\n </else-if>\n <else>\n <text macro="identifier-contributors-monographic-note"/>\n </else>\n </choose>\n </macro>\n <macro name="identifier-contributors-monographic-bib">\n <group delimiter=". ">\n <choose>\n <if match="any" type="post webpage">\n <names variable="container-author">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editor-translator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="editor translator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editorial-director">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="guest">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="host">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="illustrator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="narrator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="compiler chair organizer curator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="series-creator executive-producer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="producer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="director">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="any" type="broadcast performance">\n <names variable="script-writer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <names variable="performer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="none" type="thesis">\n <names variable="contributor">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </if>\n <else>\n <!-- print `container-title` on `post` or `webpage` in the same way as `publisher` (CMOS18 14.104-106) -->\n <choose>\n <if match="none" variable="container-title">\n <names variable="container-author">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editor-translator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="editor translator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editorial-director">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="guest">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="host">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <names variable="illustrator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="narrator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="none" variable="container-title">\n <names delimiter=". " variable="compiler chair organizer curator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="series-creator executive-producer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="producer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="director">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="any" type="broadcast performance">\n <names variable="script-writer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <names variable="performer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="none" type="song thesis">\n <names variable="contributor">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </if>\n </choose>\n <choose>\n <if type="song">\n <!-- Song contributors attached to album (CMOS18 14.163) -->\n <names variable="contributor">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="identifier-contributors-monographic-bib-multivolume">\n <!-- lowercase for attachment to volume; otherwise identical to `identifier-contributors-monographic-bib` -->\n <group delimiter=", ">\n <!-- print `container-title` on `post` or `webpage` in the same way as `publisher` (CMOS18 14.104-106) -->\n <choose>\n <if match="none" variable="container-title">\n <names variable="container-author">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editor-translator">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="editor translator">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editorial-director">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="guest">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="host">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <names variable="illustrator">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="narrator">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="none" variable="container-title">\n <names delimiter=", " variable="compiler chair organizer curator">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="series-creator executive-producer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="producer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="director">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="any" type="broadcast performance">\n <names variable="script-writer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <names variable="performer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="none" type="song thesis">\n <names variable="contributor">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </if>\n </choose>\n <choose>\n <if type="song">\n <!-- Song contributors attached to album (CMOS18 14.163) -->\n <names variable="contributor">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </group>\n </macro>\n <macro name="identifier-contributors-monographic-note">\n <group delimiter=", ">\n <choose>\n <if match="any" type="post webpage">\n <names variable="container-author">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editor-translator">\n <label form="verb-short" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="editor translator">\n <label form="verb-short" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editorial-director">\n <label form="verb-short" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="guest">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="host">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="illustrator">\n <label form="verb-short" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="narrator">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="compiler">\n <label form="verb-short" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="chair organizer curator">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="series-creator executive-producer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="producer">\n <!-- not abbreviated (CMOS18 14.168) -->\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="director">\n <!-- `director` is not abbreviated (CMOS18 14.165) -->\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="any" type="broadcast performance">\n <names variable="script-writer">\n <!-- `script-writer` is not abbreviated (CMOS18 14.165) -->\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <names variable="performer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="none" type="thesis">\n <names variable="contributor">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </if>\n <else>\n <!-- print `container-title` on `post` or `webpage` in the same way as `publisher` (CMOS18 14.104-106) -->\n <choose>\n <if match="none" variable="container-title">\n <names variable="container-author">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editor-translator">\n <label form="verb-short" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="editor translator">\n <label form="verb-short" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editorial-director">\n <label form="verb-short" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="guest">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="host">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <names delimiter=", " variable="illustrator">\n <label form="verb-short" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="narrator">\n <!-- narrator is not abbreviated (CMOS18 14.58) -->\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="none" variable="container-title">\n <names variable="compiler">\n <label form="verb-short" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="chair organizer curator">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="series-creator executive-producer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="producer">\n <!-- not abbreviated (CMOS18 14.168) -->\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="director">\n <!-- `director` is not abbreviated (CMOS18 14.165) -->\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="any" type="broadcast performance">\n <names variable="script-writer">\n <!-- `script-writer` is not abbreviated (CMOS18 14.165) -->\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <names variable="performer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="none" type="song thesis">\n <names variable="contributor">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </if>\n </choose>\n <choose>\n <if type="song">\n <!-- Song contributors attached to album (CMOS18 14.163) -->\n <names variable="contributor">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="identifier-contributors-serial-bib">\n <group delimiter=". ">\n <names delimiter=". " variable="translator narrator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="compiler chair organizer curator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="series-creator executive-producer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="producer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="director">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="script-writer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="performer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </group>\n </macro>\n <macro name="identifier-contributors-serial-note">\n <group delimiter=", ">\n <names variable="translator">\n <label form="verb-short" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="narrator">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="compiler chair organizer curator">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="series-creator executive-producer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="producer">\n <!-- not abbreviated (CMOS18 14.168) -->\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="director">\n <!-- `director` is not abbreviated (CMOS18 14.165) -->\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="script-writer">\n <!-- `script-writer` is not abbreviated (CMOS18 14.165) -->\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="performer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </group>\n </macro>\n <macro name="identifier-contributors-and-volume-bib">\n <choose>\n <if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text macro="identifier-contributors-serial-bib"/>\n </if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="identifier-contributors-and-volume-monographic-bib"/>\n <!-- for author-date or notes and bibliography leading with volume title (CMOS18 14.21): -->\n <!-- <text macro="identifier-contributors-and-volume-monographic-bib-specific-title-first"/> -->\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text macro="identifier-contributors-serial-bib"/>\n </else-if>\n <else>\n <!-- monographic types -->\n <text macro="identifier-contributors-and-volume-monographic-bib"/>\n <!-- for author-date or notes and bibliography leading with volume title (CMOS18 14.21): -->\n <!-- <text macro="identifier-contributors-and-volume-monographic-bib-specific-title-first"/> -->\n </else>\n </choose>\n </macro>\n <macro name="identifier-contributors-and-volume-note">\n <choose>\n <if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text macro="identifier-contributors-serial-note"/>\n </if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="identifier-contributors-and-volume-monographic-note"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text macro="identifier-contributors-serial-note"/>\n </else-if>\n <else>\n <!-- monographic types -->\n <text macro="identifier-contributors-and-volume-monographic-note"/>\n </else>\n </choose>\n </macro>\n <macro name="identifier-contributors-and-volume-monographic-bib">\n <group delimiter=". ">\n <choose>\n <if match="any" variable="number-of-volumes part-number part-title volume volume-title">\n <!-- cite multivolume `collection-editor`; otherwise it belongs with `collection-title` -->\n <names variable="collection-editor">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <group delimiter=", ">\n <text macro="identifier-volume-bib"/>\n <choose>\n <if match="any" variable="part-number part-title volume volume-title">\n <text macro="identifier-contributors-monographic-bib-multivolume"/>\n </if>\n </choose>\n </group>\n <choose>\n <if match="none" variable="part-number part-title volume volume-title">\n <text macro="identifier-contributors-monographic-bib"/>\n <text macro="label-number-of-volumes"/>\n </if>\n </choose>\n </group>\n </macro>\n <macro name="identifier-contributors-and-volume-monographic-note">\n <group delimiter=", ">\n <choose>\n <if match="any" variable="number-of-volumes part-number part-title volume volume-title">\n <!-- cite multivolume `collection-editor`; otherwise it belongs with `collection-title` -->\n <names variable="collection-editor">\n <label form="verb-short" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <text macro="identifier-volume-note"/>\n <text macro="identifier-contributors-note"/>\n <choose>\n <!-- notes only show the number of volumes if there is no physical locator, which should include a volume number, e.g. 4:243 -->\n <if match="any" variable="part-number part-title volume volume-title"/>\n <else-if locator="column"/>\n <else-if locator="folio"/>\n <else-if locator="page"/>\n <else>\n <text macro="label-number-of-volumes"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="identifier-edition-bib">\n <choose>\n <!-- ensure `source-publication-history-bib` does not duplicate edition -->\n <if variable="original-title">\n <text macro="label-edition-capitalized"/>\n </if>\n <else-if variable="issued original-date"/>\n <else>\n <text macro="label-edition-capitalized"/>\n </else>\n </choose>\n </macro>\n <macro name="identifier-edition-note">\n <choose>\n <!-- ensure `source-publication-history-note` does not duplicate edition -->\n <if variable="original-title">\n <text macro="label-edition"/>\n </if>\n <else-if variable="issued original-date"/>\n <else>\n <text macro="label-edition"/>\n </else>\n </choose>\n </macro>\n <macro name="identifier-number-bib">\n <group delimiter=" ">\n <choose>\n <if type="thesis"/>\n <else-if is-numeric="number" type="broadcast" variable="genre">\n <text text-case="capitalize-first" variable="genre"/>\n <text variable="number"/>\n </else-if>\n <else-if is-numeric="number" type="broadcast">\n <text text-case="capitalize-first" value="episode"/>\n <text variable="number"/>\n </else-if>\n <else-if variable="number">\n <text text-case="title" variable="genre"/>\n <text macro="label-number-capitalized"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <macro name="identifier-number-note">\n <group delimiter=" ">\n <choose>\n <if type="thesis"/>\n <else-if is-numeric="number" type="broadcast" variable="genre">\n <text variable="genre"/>\n <text variable="number"/>\n </else-if>\n <else-if is-numeric="number" type="broadcast">\n <text value="episode"/>\n <text variable="number"/>\n </else-if>\n <else-if variable="number">\n <text variable="genre"/>\n <text macro="label-number"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <macro name="identifier-patent">\n <group delimiter=", ">\n <group delimiter=" ">\n <!-- `authority`: US ; `genre`: patent ; `number`: 123,445 -->\n <text form="short" variable="authority"/>\n <!-- \'US Patent\' capitalized in both bibliography and note forms -->\n <choose>\n <if variable="genre">\n <text text-case="capitalize-first" variable="genre"/>\n </if>\n <else>\n <text term="patent" text-case="capitalize-first"/>\n </else>\n </choose>\n <text variable="number"/>\n </group>\n <group delimiter=" ">\n <text value="filed"/>\n <date form="text" variable="submitted"/>\n </group>\n <group delimiter=" ">\n <choose>\n <if variable="issued submitted">\n <text term="and"/>\n </if>\n </choose>\n <text value="issued"/>\n <!-- Always give full issue date, even in author-date (CMOS18 14.158) -->\n <text macro="date-issued-full"/>\n </group>\n </group>\n </macro>\n <macro name="identifier-report-bib">\n <group delimiter=". ">\n <choose>\n <if variable="container-title">\n <!-- If the report is a chapter in a larger report, then most identifying information is printed in the source. -->\n <text macro="identifier-contributors-bib"/>\n </if>\n <else-if variable="title">\n <text macro="identifier-number-bib"/>\n <text macro="label-version-capitalized"/>\n <text macro="identifier-edition-bib"/>\n <text macro="identifier-contributors-and-volume-bib"/>\n </else-if>\n <else>\n <!-- If there is no `title`, then `genre` and `number` are already printed as the title. -->\n <text macro="label-version-capitalized"/>\n <text macro="identifier-edition-bib"/>\n <text macro="identifier-contributors-and-volume-bib"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="identifier-report-note">\n <group delimiter=", ">\n <choose>\n <if variable="container-title">\n <!-- If the report is a chapter in a larger report, then most identifying information is printed in the source. -->\n <text macro="identifier-contributors-note"/>\n </if>\n <else-if variable="title">\n <text macro="identifier-number-note"/>\n <text macro="label-version"/>\n <text macro="identifier-edition-note"/>\n <text macro="identifier-contributors-and-volume-note"/>\n </else-if>\n <else>\n <!-- If there is no `title`, then `genre` and `number` are already printed as the title. -->\n <text macro="label-version"/>\n <text macro="identifier-edition-note"/>\n <text macro="identifier-contributors-and-volume-note"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="identifier-volume-bib">\n <!-- In notes styles, bibliography entries may be listed beginning with either the general title of the multivolume set or that of the individual volume; the former approach is listed first, but the latter is required in author-date (CMOS18 14.21) -->\n <group delimiter=", ">\n <choose>\n <if match="any" variable="volume volume-title">\n <!-- if there is a volume or volume title, the part number is not capitalized -->\n <text macro="label-volume-capitalized"/>\n <text macro="title-volume"/>\n <text macro="label-part-number"/>\n <text macro="title-part"/>\n </if>\n <else-if match="any" variable="part-number part-title">\n <text macro="label-part-number-capitalized"/>\n <text macro="title-part"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <macro name="identifier-volume-note">\n <!-- List the general title first in the notes (CMOS18 14.20) -->\n <group delimiter=", ">\n <choose>\n <if match="any" variable="part-number part-title volume-title">\n <text macro="label-volume"/>\n <text macro="title-volume"/>\n <text macro="label-part-number"/>\n <text macro="title-part"/>\n </if>\n <else-if is-numeric="volume" locator="page">\n <!-- provide lone `volume` only if it does not appear in `source-monographic-locator-note` (CMOS18 14.20) -->\n <choose>\n <!-- check for variables that might come between the volume and page number -->\n <if match="any" variable="part-number part-title volume-title">\n <text macro="label-volume"/>\n </if>\n <else-if match="any" variable="container-author editor editor-translator translator">\n <text macro="label-volume"/>\n </else-if>\n </choose>\n </else-if>\n <else-if is-numeric="volume" variable="page">\n <choose>\n <if match="any" variable="part-number part-title volume-title">\n <text macro="label-volume"/>\n </if>\n <else-if match="any" variable="container-author editor editor-translator translator">\n <text macro="label-volume"/>\n </else-if>\n <else-if variable="container-title">\n <!-- remove condition in styles that print chapter page numbers (CMOS17/classic) -->\n <text macro="label-volume"/>\n </else-if>\n </choose>\n </else-if>\n <else-if variable="volume">\n <text macro="label-volume"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <!-- 4. Source -->\n <macro name="source-bib">\n <choose>\n <if match="any" type="patent post webpage"/>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <text macro="source-serial-bib"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <text macro="source-monographic-bib"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <text macro="source-serial-bib"/>\n </else-if>\n <else>\n <text macro="source-monographic-bib"/>\n </else>\n </choose>\n </macro>\n <macro name="source-note">\n <choose>\n <if match="any" type="patent post webpage"/>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <text macro="source-serial-note"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <text macro="source-monographic-note"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <text macro="source-serial-note"/>\n </else-if>\n <else>\n <text macro="source-monographic-note"/>\n </else>\n </choose>\n </macro>\n <!-- 4.1. Serial sources -->\n <macro name="source-serial-bib">\n <group delimiter=". ">\n <text macro="source-serial-title-volume-bib"/>\n <choose>\n <if match="any" type="article-magazine article-newspaper">\n <!-- magazines and newspapers provide the full date in place of volume/issue numbers (CMOS18 14.87, 14.89) -->\n <group delimiter=", ">\n <text macro="source-serial-title-bib"/>\n <text macro="source-serial-identifier-bib"/>\n </group>\n </if>\n <else-if variable="collection-title volume">\n <group delimiter=", ">\n <text macro="source-serial-title-bib"/>\n <text macro="source-serial-identifier-bib"/>\n </group>\n </else-if>\n <else-if variable="volume">\n <group delimiter=" ">\n <text macro="source-serial-title-bib"/>\n <text macro="source-serial-identifier-bib"/>\n </group>\n </else-if>\n <else>\n <group delimiter=", ">\n <text macro="source-serial-title-bib"/>\n <text macro="source-serial-identifier-bib"/>\n </group>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="source-serial-note">\n <group delimiter=", ">\n <text macro="source-serial-title-volume-note"/>\n <choose>\n <if match="any" type="article-magazine article-newspaper">\n <!-- magazines and newspapers provide the full date in place of volume/issue numbers (CMOS18 14.87, 14.89) -->\n <group delimiter=", ">\n <text macro="source-serial-title-note"/>\n <text macro="source-serial-identifier-note"/>\n </group>\n </if>\n <else-if variable="collection-title volume">\n <group delimiter=", ">\n <text macro="source-serial-title-note"/>\n <text macro="source-serial-identifier-note"/>\n </group>\n </else-if>\n <else-if variable="volume">\n <group delimiter=" ">\n <text macro="source-serial-title-note"/>\n <text macro="source-serial-identifier-note"/>\n </group>\n </else-if>\n <else>\n <group delimiter=", ">\n <text macro="source-serial-title-note"/>\n <text macro="source-serial-identifier-note"/>\n </group>\n </else>\n </choose>\n </group>\n </macro>\n <!-- Serial source title -->\n <macro name="source-serial-name">\n <group delimiter=" ">\n <text font-style="italic" text-case="title" variable="container-title"/>\n <choose>\n <!-- TODO: remove conditional when Zotero stops double-mapping `event-place` and `publisher-place` -->\n <if match="none" variable="event-date event-title">\n <text prefix="(" suffix=")" variable="publisher-place"/>\n </if>\n </choose>\n </group>\n </macro>\n <macro name="source-serial-title-bib">\n <group delimiter=", ">\n <choose>\n <!-- Journal special issues (CMOS18 14.77) and supplements (CMOS18 14.78) -->\n <if match="none" variable="container-title"/>\n <else-if match="none" type="periodical" variable="supplement-number volume-title"/>\n <!-- TODO: use `container-genre` here once available to allow a custom description of the journal volume -->\n <else-if variable="supplement-number volume-title">\n <text term="supplement" text-case="capitalize-first"/>\n </else-if>\n <else-if type="periodical" variable="supplement-number title">\n <text term="supplement" text-case="capitalize-first"/>\n </else-if>\n <else-if variable="volume-title">\n <text term="special-issue" text-case="capitalize-first"/>\n </else-if>\n <else-if type="periodical" variable="title">\n <text term="special-issue" text-case="capitalize-first"/>\n </else-if>\n </choose>\n <text macro="source-serial-name"/>\n <choose>\n <!-- \'ahead of print\' is placed akin to a series (CMOS18 14.75) -->\n <if match="any" variable="collection-title issue number page supplement-number volume volume-title"/>\n <else-if match="any" variable="available-date status"/>\n <else-if type="article-journal" variable="DOI issued">\n <text term="advance-online-publication"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <macro name="source-serial-title-note">\n <group delimiter=", ">\n <choose>\n <!-- Journal special issues (CMOS18 14.77) and supplements (CMOS18 14.78) -->\n <if match="none" variable="container-title"/>\n <else-if match="none" type="periodical" variable="supplement-number volume-title"/>\n <!-- TODO: use `container-genre` here once available to allow a custom description of the journal volume -->\n <else-if variable="supplement-number volume-title">\n <text term="supplement"/>\n </else-if>\n <else-if type="periodical" variable="supplement-number title">\n <text term="supplement"/>\n </else-if>\n <else-if variable="volume-title">\n <text term="special-issue"/>\n </else-if>\n <else-if type="periodical" variable="title">\n <text term="special-issue"/>\n </else-if>\n </choose>\n <text macro="source-serial-name"/>\n <choose>\n <!-- \'ahead of print\' is placed akin to a series (CMOS18 14.75) -->\n <if match="any" variable="collection-title issue number page supplement-number volume volume-title"/>\n <else-if match="any" variable="available-date status"/>\n <else-if type="article-journal" variable="DOI issued">\n <text term="advance-online-publication"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <macro name="source-serial-title-volume-bib">\n <choose>\n <if variable="volume-title">\n <!-- Journal special issues (CMOS18 14.77) and supplements (CMOS18 14.78) -->\n <group delimiter=", ">\n <group delimiter=" ">\n <text macro="source-monographic-preposition-bib"/>\n <text macro="title-volume"/>\n </group>\n <text macro="source-monographic-identifier-contributors-bib"/>\n </group>\n </if>\n </choose>\n </macro>\n <macro name="source-serial-title-volume-note">\n <choose>\n <if variable="volume-title">\n <!-- Journal special issues (CMOS18 14.77) and supplements (CMOS18 14.78) -->\n <group delimiter=", ">\n <group delimiter=" ">\n <text macro="source-monographic-preposition-note"/>\n <text macro="title-volume"/>\n </group>\n <text macro="source-monographic-identifier-contributors-note"/>\n </group>\n </if>\n </choose>\n </macro>\n <!-- Serial source identifier -->\n <macro name="source-serial-identifier-bib">\n <group delimiter=", ">\n <choose>\n <if match="any" type="article-magazine article-newspaper">\n <group delimiter=". ">\n <text macro="source-serial-identifier-volume-bib"/>\n <!-- for author-date: -->\n <!-- <text macro="source-serial-identifier-volume-author-date"/> -->\n <!-- newspaper edition always capitalized (CMOS18 14.89) -->\n <text macro="label-edition-capitalized"/>\n </group>\n <text macro="source-serial-locator"/>\n </if>\n <else-if match="any" variable="issue supplement-number volume">\n <group delimiter=": ">\n <text macro="source-serial-identifier-volume-bib"/>\n <!-- for author-date: -->\n <!-- <text macro="source-serial-identifier-volume-author-date"/> -->\n <text macro="source-serial-locator"/>\n </group>\n </else-if>\n <else>\n <text macro="source-serial-identifier-volume-bib"/>\n <!-- for author-date: -->\n <!-- <text macro="source-serial-identifier-volume-author-date"/> -->\n <text macro="source-serial-locator"/>\n </else>\n <!-- TODO: If CSL adds `date-part` detection, add two further conditions to address CMOS18 14.74: delimiting with ":" if there is a `volume` and no month or `issue` or `supplement number`; delimiting with ", " or there is an `issue` or `supplement number` and no month -->\n </choose>\n </group>\n </macro>\n <macro name="source-serial-identifier-note">\n <group delimiter=", ">\n <choose>\n <if match="any" type="article-magazine article-newspaper">\n <group delimiter=", ">\n <text macro="source-serial-identifier-volume-note"/>\n <!-- newspaper edition always capitalized (CMOS18 14.89) -->\n <text macro="label-edition-capitalized"/>\n </group>\n <text macro="source-serial-locator"/>\n </if>\n <else-if match="any" variable="issue supplement-number volume">\n <group delimiter=": ">\n <text macro="source-serial-identifier-volume-note"/>\n <text macro="source-serial-locator"/>\n </group>\n </else-if>\n <else>\n <text macro="source-serial-identifier-volume-note"/>\n <text macro="source-serial-locator"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="source-serial-identifier-volume-bib">\n <group delimiter=", ">\n <choose>\n <if match="any" type="article-magazine article-newspaper">\n <!-- magazines and newspapers provide the full date in place of volume/issue numbers (CMOS18 14.87, 14.89) -->\n <text variable="collection-title"/>\n <text macro="source-serial-volume-status-bib"/>\n </if>\n <else-if match="any" variable="issue supplement-number volume">\n <choose>\n <if match="any" variable="author chair collection-editor compiler composer curator director editor editor-translator editorial-director executive-producer guest host illustrator organizer producer series-creator translator"/>\n <else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- date appears first if the review `container-title` has been substituted for a missing author (CMOS18 14.87, 14.102) -->\n <text macro="source-date-issued-or-status"/>\n </else-if>\n </choose>\n <!-- `collection-title` is for any serial with multiple series (e.g. \'second series\') -->\n <text variable="collection-title"/>\n <group delimiter=" ">\n <group delimiter=", ">\n <choose>\n <if variable="collection-title volume">\n <text macro="label-volume"/>\n </if>\n <else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- date appears first if a review `container-title` has been substituted for a missing author (CMOS18 14.87, 14.102) -->\n <choose>\n <if match="any" variable="author chair collection-editor compiler composer curator director editor editor-translator editorial-director executive-producer guest host illustrator organizer producer series-creator translator">\n <text variable="volume"/>\n </if>\n <else>\n <text macro="label-volume"/>\n </else>\n </choose>\n </else-if>\n <else>\n <text variable="volume"/>\n </else>\n </choose>\n <text macro="label-issue"/>\n <text macro="label-supplement-number"/>\n </group>\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- date for unsigned reviews only appears here if it did not earlier (CMOS18 14.102) -->\n <choose>\n <if match="any" variable="author chair collection-editor compiler composer curator director editor editor-translator editorial-director executive-producer guest host illustrator organizer producer series-creator translator">\n <text macro="source-date-issued-or-status" prefix="(" suffix=")"/>\n </if>\n </choose>\n </if>\n <else>\n <text macro="source-date-issued-or-status" prefix="(" suffix=")"/>\n </else>\n </choose>\n </group>\n </else-if>\n <else>\n <text variable="collection-title"/>\n <choose>\n <if match="any" type="interview post-weblog">\n <!-- publisher possible with broadcast `interview` (CMOS18 14.110) or `post-weblog` (CMOS18 14.105) -->\n <text variable="publisher"/>\n </if>\n </choose>\n <text macro="source-serial-volume-status-bib"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="source-serial-identifier-volume-note">\n <group delimiter=", ">\n <choose>\n <if match="any" type="article-magazine article-newspaper">\n <!-- magazines and newspapers provide the full date in place of volume/issue numbers (CMOS18 14.87, 14.89) -->\n <text variable="collection-title"/>\n <text macro="source-serial-volume-status-note"/>\n </if>\n <else-if match="any" variable="issue supplement-number volume">\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <choose>\n <!-- date appears first if a review `container-title` has been substituted for a missing author (CMOS18 14.89) -->\n <!-- the conditions below mirror substitution in `author-note` -->\n <if match="any" variable="author chair collection-editor compiler composer curator director editor editor-translator editorial-director executive-producer guest host illustrator organizer producer series-creator translator"/>\n <else-if match="any" variable="reviewed-genre reviewed-title title"/>\n <else-if match="any" variable="genre section">\n <text macro="source-date-issued-or-status"/>\n </else-if>\n </choose>\n </if>\n </choose>\n <!-- `collection-title` is for any serial with multiple series (e.g. \'second series\') -->\n <text variable="collection-title"/>\n <group delimiter=" ">\n <group delimiter=", ">\n <choose>\n <if variable="collection-title volume">\n <text macro="label-volume"/>\n </if>\n <else-if variable="volume">\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- date appears first if a review `container-title` has been substituted for a missing author (CMOS18 14.89) -->\n <choose>\n <if match="any" variable="author chair collection-editor compiler composer curator director editor editor-translator editorial-director executive-producer guest host illustrator organizer producer series-creator translator">\n <text variable="volume"/>\n </if>\n <else-if match="any" variable="reviewed-genre reviewed-title title">\n <text variable="volume"/>\n </else-if>\n <else-if match="any" variable="genre section">\n <text macro="label-volume"/>\n </else-if>\n <else>\n <text variable="volume"/>\n </else>\n </choose>\n </if>\n <else>\n <text variable="volume"/>\n </else>\n </choose>\n </else-if>\n </choose>\n <text macro="label-issue"/>\n <text macro="label-supplement-number"/>\n </group>\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- date appears first if a review `container-title` has been substituted for a missing author (CMOS18 14.89) -->\n <choose>\n <if match="any" variable="author chair collection-editor compiler composer curator director editor editor-translator editorial-director executive-producer guest host illustrator organizer producer series-creator translator">\n <text macro="source-date-issued-or-status" prefix="(" suffix=")"/>\n </if>\n <else-if match="any" variable="reviewed-genre reviewed-title title">\n <text macro="source-date-issued-or-status" prefix="(" suffix=")"/>\n </else-if>\n <else-if match="any" variable="genre section"/>\n <else>\n <text macro="source-date-issued-or-status" prefix="(" suffix=")"/>\n </else>\n </choose>\n </if>\n <else>\n <text macro="source-date-issued-or-status" prefix="(" suffix=")"/>\n </else>\n </choose>\n </group>\n </else-if>\n <else>\n <text variable="collection-title"/>\n <choose>\n <if match="any" type="interview post-weblog">\n <!-- publisher possible with broadcast `interview` (CMOS18 14.110) or `post-weblog` (CMOS18 14.105) -->\n <text variable="publisher"/>\n </if>\n </choose>\n <text macro="source-serial-volume-status-note"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="source-serial-volume-status-bib">\n <group delimiter=", ">\n <choose>\n <if match="any" variable="collection-title issue number page supplement-number volume volume-title"/>\n <else-if variable="issued"/>\n <else-if variable="available-date">\n <group delimiter=" ">\n <!-- article accepted for publication and available on publisher website (CMOS18 14.75) -->\n <!-- TODO: use CSL term for `available-date` when available -->\n <text value="accepted"/>\n <date form="text" variable="available-date"/>\n </group>\n </else-if>\n </choose>\n <group delimiter=" ">\n <text macro="source-date-status-bib"/>\n <text macro="source-date-issued-or-status"/>\n <!-- for author-date or notes and bibliography leading with volume title (CMOS18 14.21): -->\n <!-- <text macro="source-date-specific-title-first"/> -->\n </group>\n </group>\n </macro>\n <macro name="source-serial-volume-status-note">\n <group delimiter=", ">\n <choose>\n <if match="any" variable="collection-title issue number page supplement-number volume volume-title"/>\n <else-if variable="issued"/>\n <else-if variable="available-date">\n <group delimiter=" ">\n <!-- article accepted for publication and available on publisher website (CMOS18 14.75) -->\n <!-- TODO: use CSL term for `available-date` when available -->\n <text value="accepted"/>\n <date form="text" variable="available-date"/>\n </group>\n </else-if>\n </choose>\n <group delimiter=" ">\n <text macro="source-date-status-note"/>\n <text macro="source-date-issued-or-status"/>\n </group>\n </group>\n </macro>\n <!-- Serial source locator -->\n <macro name="source-serial-locator">\n <choose>\n <if match="any" variable="locator number">\n <group delimiter=", ">\n <text macro="label-locator"/>\n <!-- an article ID appears alongside locators in notes (CMOS18 14.71) -->\n <choose>\n <!-- if there is an `archive` with no other reference, `number` appears in `source-archive-database-number` -->\n <if match="any" variable="archive_collection archive_location archive-place">\n <text variable="number"/>\n </if>\n <else-if variable="archive"/>\n <else>\n <text variable="number"/>\n </else>\n </choose>\n </group>\n </if>\n <!-- do not give pages for magazines or newspapers (CMOS18 14.87, 14.89) -->\n <else-if match="any" type="article-magazine article-newspaper"/>\n <else>\n <text variable="page"/>\n </else>\n </choose>\n </macro>\n <!-- 4.2. Monographic sources -->\n <macro name="source-monographic-bib">\n <group delimiter=". ">\n <!-- Monographic sources repeat main reference elements -->\n <choose>\n <if variable="container-title">\n <group delimiter=", ">\n <group delimiter=" ">\n <text macro="source-monographic-preposition-bib"/>\n <text font-style="italic" text-case="title" variable="container-title"/>\n <!-- for author-date or notes and bibliography leading with volume title (CMOS18 14.21): -->\n <!-- <text macro="source-monographic-title-specific-title-first"/> -->\n </group>\n <text macro="source-monographic-description"/>\n <text macro="source-monographic-identifier-bib"/>\n <text macro="source-monographic-locator"/>\n </group>\n </if>\n </choose>\n <text macro="source-monographic-identifier-contributors-bib-container-author"/>\n <text macro="source-series-bib"/>\n <choose>\n <!-- show event information here only if not collapsed with `issued` (CMOS18 14.167) -->\n <if match="any" variable="event-date original-date original-publisher original-publisher-place publisher status">\n <text macro="source-event-bib"/>\n </if>\n </choose>\n </group>\n </macro>\n <macro name="source-monographic-note">\n <group delimiter=", ">\n <!-- Monographic sources repeat main reference elements -->\n <choose>\n <if variable="container-title">\n <group delimiter=", ">\n <group delimiter=" ">\n <text macro="source-monographic-preposition-note"/>\n <text font-style="italic" text-case="title" variable="container-title"/>\n </group>\n <text macro="source-monographic-description"/>\n <text macro="source-monographic-identifier-note"/>\n <!-- no `source-monographic-locator` in note -->\n </group>\n </if>\n </choose>\n <text macro="source-series-note"/>\n <text macro="source-event-note"/>\n </group>\n </macro>\n <!-- Monographic source title -->\n <macro name="source-monographic-preposition-bib">\n <choose>\n <if match="any" type="broadcast motion_picture"/>\n <else-if type="chapter" variable="container-title genre">\n <text value="to"/>\n </else-if>\n <else-if type="article-journal" variable="container-title genre volume-title">\n <text value="to"/>\n </else-if>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <choose>\n <if match="any" variable="author composer">\n <!-- Give preposition only for signed entries; otherwise, title is substituted -->\n <text term="in" text-case="capitalize-first"/>\n </if>\n </choose>\n </else-if>\n <!-- if printing chapter page numbers (CMOS17/classic):\n <else-if variable="chapter-number page title"><text term="in" text-case="capitalize-first"/></else-if>\n -->\n <else-if variable="chapter-number">\n <group delimiter=" ">\n <text macro="label-chapter-number-capitalized"/>\n <choose>\n <if type="song">\n <text term="on"/>\n </if>\n <else>\n <text term="in"/>\n </else>\n </choose>\n </group>\n </else-if>\n <else>\n <text term="in" text-case="capitalize-first"/>\n </else>\n </choose>\n </macro>\n <macro name="source-monographic-preposition-note">\n <choose>\n <if match="any" type="broadcast motion_picture"/>\n <else-if type="chapter" variable="container-title genre">\n <text value="to"/>\n </else-if>\n <else-if type="article-journal" variable="container-title genre volume-title">\n <text value="to"/>\n </else-if>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <choose>\n <if match="any" variable="author composer">\n <!-- Give preposition only for signed entries; otherwise, title is substituted -->\n <text term="in"/>\n </if>\n </choose>\n </else-if>\n <!-- if printing chapter page numbers (CMOS17/classic):\n <else-if variable="chapter-number page title"><text term="in"/></else-if>\n -->\n <else-if variable="chapter-number">\n <group delimiter=" ">\n <text macro="label-chapter-number"/>\n <choose>\n <if type="song">\n <text term="on"/>\n </if>\n <else>\n <text term="in"/>\n </else>\n </choose>\n </group>\n </else-if>\n <else>\n <text term="in"/>\n </else>\n </choose>\n </macro>\n <!-- Monographic source description -->\n <macro name="source-monographic-description">\n <choose>\n <if match="any" type="document report software standard">\n <!-- place description after `container-title` -->\n <text macro="description-format-note"/>\n </if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director issue page supplement-number volume"/>\n <else-if match="any" type="event paper-conference performance speech">\n <!-- unpublished conference presentations should describe the session -->\n <text macro="description-format-note"/>\n </else-if>\n </choose>\n </macro>\n <!-- Monographic source identifier -->\n <macro name="source-monographic-identifier-bib">\n <!-- Based on `identifier-bib` -->\n <choose>\n <if variable="container-title">\n <group delimiter=", ">\n <choose>\n <if match="none" type="broadcast graphic map motion_picture song">\n <!-- For audiovisual media, number information comes after `title`, not `container-title`; `song` places album catalogue `number` with `publisher` (CMOS18 14.163-164) -->\n <text macro="identifier-number-bib"/>\n </if>\n </choose>\n <text macro="label-version"/>\n <!-- use note form as `edition` is not capitalized here -->\n <text macro="identifier-edition-note"/>\n <text macro="source-monographic-identifier-contributors-and-volume-bib"/>\n <!-- for author-date or notes and bibliography leading with volume title (CMOS18 14.21): -->\n <!-- <text macro="source-monographic-identifier-contributors-and-volume-bib-specific-title-first"/> -->\n </group>\n </if>\n </choose>\n </macro>\n <macro name="source-monographic-identifier-note">\n <!-- Based on `identifier-note` -->\n <choose>\n <if variable="container-title">\n <group delimiter=", ">\n <choose>\n <if match="none" type="broadcast graphic map motion_picture song">\n <!-- For audiovisual media, number information comes after `title`, not `container-title`; `song` places album catalogue `number` with `publisher` (CMOS18 14.163-164) -->\n <text macro="identifier-number-note"/>\n </if>\n </choose>\n <text macro="label-version"/>\n <text macro="identifier-edition-note"/>\n <text macro="source-monographic-identifier-contributors-and-volume-note"/>\n </group>\n </if>\n </choose>\n </macro>\n <macro name="source-monographic-identifier-contributors-bib">\n <choose>\n <if variable="container-author container-title">\n <!-- set off `container-author` from other contributors in the bibliography (CMOS18 14.12; for page location, CMOS17 14.110) -->\n <names variable="container-author">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <!-- other contributors shift to `source-monographic-identifier-contributors-bib-container-author` -->\n </if>\n <else>\n <group delimiter=", ">\n <names variable="editor-translator">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="editor translator">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="guest">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="host">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="chair organizer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="illustrator narrator compiler curator">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="series-creator executive-producer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="producer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editorial-director">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="any" type="broadcast performance">\n <names variable="script-writer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <names variable="director">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="performer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="none" type="song thesis">\n <!-- Song contributors attached to album (CMOS18 14.163) -->\n <names variable="contributor">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </group>\n </else>\n </choose>\n </macro>\n <macro name="source-monographic-identifier-contributors-bib-container-author">\n <!-- set off `container-author` from other contributors in the bibliography (CMOS18 14.12; for page location, CMOS17 14.110) -->\n <choose>\n <if variable="container-author container-title">\n <group delimiter=". ">\n <names variable="editor-translator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="editor translator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="guest">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="host">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="chair organizer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="illustrator narrator compiler curator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="series-creator executive-producer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="producer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editorial-director">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="any" type="broadcast performance">\n <names variable="script-writer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <names variable="director">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="performer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="none" type="song thesis">\n <!-- Song contributors attached to album (CMOS18 14.163) -->\n <names variable="contributor">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </group>\n </if>\n </choose>\n </macro>\n <macro name="source-monographic-identifier-contributors-note">\n <group delimiter=", ">\n <names variable="container-author">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editor-translator">\n <label form="verb-short" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="editor translator">\n <label form="verb-short" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="guest">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="host">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="chair organizer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="illustrator">\n <label form="verb-short" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="narrator">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="compiler">\n <label form="verb-short" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="curator">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="series-creator executive-producer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="producer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editorial-director">\n <label form="verb-short" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="any" type="broadcast performance">\n <names variable="script-writer">\n <!-- `script-writer` is not abbreviated (CMOS18 14.165) -->\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <names variable="director">\n <!-- `director` is not abbreviated (CMOS18 14.165) -->\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="performer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="none" type="song thesis">\n <!-- Song contributors attached to album (CMOS18 14.163) -->\n <names variable="contributor">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </group>\n </macro>\n <macro name="source-monographic-identifier-contributors-and-volume-bib">\n <!-- based on `identifier-contributors-and-volume-monographic-bib` -->\n <group delimiter=", ">\n <choose>\n <if match="any" variable="number-of-volumes part-number part-number volume volume-title">\n <!-- cite multivolume `collection-editor`; otherwise it belongs with `collection-title` -->\n <names variable="collection-editor">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <!-- use the note form for an item with `container-title` -->\n <text macro="identifier-volume-note"/>\n <text macro="source-monographic-identifier-contributors-bib"/>\n <choose>\n <if match="any" variable="part-number part-title volume volume-title"/>\n <else-if variable="page"/>\n <else>\n <text macro="label-number-of-volumes"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="source-monographic-identifier-contributors-and-volume-note">\n <group delimiter=", ">\n <choose>\n <if match="any" variable="number-of-volumes part-number part-title volume volume-title">\n <!-- cite multivolume `collection-editor`; otherwise it belongs with `collection-title` -->\n <names variable="collection-editor">\n <label form="verb-short" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <text macro="identifier-volume-note"/>\n <text macro="source-monographic-identifier-contributors-note"/>\n <choose>\n <!-- notes only show the number of volumes if there is no physical locator, which should include a volume number, e.g. 4:243 -->\n <if match="any" variable="part-number part-title volume volume-title"/>\n <else-if locator="column"/>\n <else-if locator="folio"/>\n <else-if locator="page"/>\n <else-if variable="page"/>\n <else>\n <text macro="label-number-of-volumes"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- Monographic source locator -->\n <macro name="source-monographic-locator">\n <choose>\n <!-- archival locators appear after the shelfmark (CMOS18 14.127) -->\n <if locator="column" variable="archive archive_location"/>\n <else-if locator="folio" variable="archive archive_location"/>\n <else-if locator="page" variable="archive archive_location"/>\n <else-if is-numeric="volume" locator="page">\n <!-- separate a volume and page number with a colon (CMOS18 14.18) -->\n <group delimiter=":">\n <choose>\n <if match="any" variable="part-number part-title volume-title"/>\n <else-if match="any" variable="container-author editor editor-translator translator"/>\n <!-- for author-date or notes and bibliography leading with volume title (CMOS18 14.21), check for name variables falling after the general title: -->\n <!-- <else-if variable="collection-editor"/> -->\n <else>\n <text variable="volume"/>\n </else>\n </choose>\n <text variable="locator"/>\n </group>\n </else-if>\n <else-if variable="locator">\n <text macro="label-locator"/>\n </else-if>\n <!-- remove `container-title` condition in styles that print chapter page numbers (CMOS17/classic) -->\n <else-if variable="container-title"/>\n <else-if is-numeric="volume" variable="page">\n <!-- collapse the volume and page number if adjacent (CMOS18 14.18) -->\n <group delimiter=":">\n <choose>\n <!-- check for variables that might come between the volume and page number -->\n <if match="any" variable="part-number part-title volume-title"/>\n <else-if match="any" variable="container-author editor editor-translator translator"/>\n <!-- for author-date or notes and bibliography leading with volume title (CMOS18 14.21), check for name variables falling after the general title: -->\n <!-- <else-if variable="collection-editor"/> -->\n <else>\n <text variable="volume"/>\n </else>\n </choose>\n <text variable="page"/>\n </group>\n </else-if>\n <!-- archival locators appear after the shelfmark (CMOS18 14.127) -->\n <else-if variable="archive archive_location page"/>\n <else>\n <text variable="page"/>\n </else>\n </choose>\n </macro>\n <!-- 4.3. Series -->\n <macro name="source-series-bib">\n <group delimiter=", ">\n <choose>\n <if match="any" variable="number-of-volumes part-number part-title volume volume-title">\n <text macro="source-series-title"/>\n </if>\n <else-if variable="collection-editor collection-title">\n <!-- `collection-editor` belongs with `collection-title` if the item is not multivolume -->\n <text text-case="title" variable="collection-title"/>\n <names variable="collection-editor">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <text macro="label-collection-number"/>\n <text macro="label-issue"/>\n </else-if>\n <else>\n <text macro="source-series-title"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="source-series-note">\n <group delimiter=", ">\n <choose>\n <if match="any" variable="number-of-volumes part-number part-title volume volume-title">\n <text macro="source-series-title"/>\n </if>\n <else-if variable="collection-editor collection-title">\n <!-- `collection-editor` belongs with `collection-title` if the item is not multivolume -->\n <text text-case="title" variable="collection-title"/>\n <names variable="collection-editor">\n <label form="verb-short" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <text macro="label-collection-number"/>\n <text macro="label-issue"/>\n </else-if>\n <else>\n <text macro="source-series-title"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="source-series-title">\n <group delimiter=", ">\n <choose>\n <if variable="issue">\n <text text-case="title" variable="collection-title"/>\n <text macro="label-collection-number"/>\n <text macro="label-issue"/>\n </if>\n <else-if is-numeric="collection-number" variable="collection-title">\n <group delimiter=" ">\n <text text-case="title" variable="collection-title"/>\n <text variable="collection-number"/>\n </group>\n </else-if>\n <else-if variable="collection-title">\n <text text-case="title" variable="collection-title"/>\n <text variable="collection-number"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <!-- 4.4. Event -->\n <macro name="source-event-bib">\n <group delimiter=" ">\n <choose>\n <!-- omit types that provide event information in description -->\n <if match="any" type="interview" variable="interviewer"/>\n <else-if type="personal_communication" variable="recipient"/>\n <else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title"/>\n <else-if match="any" variable="event event-date event-title">\n <!-- TODO: To prevent Zotero from printing `event-place`, due to its double-mapping of `publisher-place` and `event-place`. Remove this when that is changed. -->\n <choose>\n <if type="paper-conference">\n <choose>\n <if match="none" variable="collection-editor compiler editor editorial-director issue page supplement-number volume">\n <!-- Don\'t print event info for conference papers published in proceedings -->\n <text macro="source-event-status-bib"/>\n <text macro="source-event-description-bib"/>\n </if>\n </choose>\n </if>\n <else>\n <!-- For other item types, print event info even if published (e.g. collection catalogs, performance programs). -->\n <text macro="source-event-status-bib"/>\n <text macro="source-event-description-bib"/>\n </else>\n </choose>\n </else-if>\n </choose>\n </group>\n </macro>\n <macro name="source-event-note">\n <group delimiter=" ">\n <choose>\n <!-- omit types that provide event information in description -->\n <if match="any" type="interview" variable="interviewer"/>\n <else-if type="personal_communication" variable="recipient"/>\n <else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title"/>\n <else-if match="any" variable="event event-date event-title">\n <!-- TODO: To prevent Zotero from printing `event-place`, due to its double-mapping of `publisher-place` and `event-place`. Remove this when that is changed. -->\n <choose>\n <if type="paper-conference">\n <choose>\n <if match="none" variable="collection-editor compiler editor editorial-director issue page supplement-number volume">\n <!-- Don\'t print event info for conference papers published in proceedings -->\n <text macro="source-event-status-note"/>\n <text macro="source-event-description-note"/>\n </if>\n </choose>\n </if>\n <else>\n <!-- For other item types, print event info even if published (e.g. collection catalogs, performance programs). -->\n <text macro="source-event-status-note"/>\n <text macro="source-event-description-note"/>\n </else>\n </choose>\n </else-if>\n </choose>\n </group>\n </macro>\n <macro name="source-event-place-first">\n <!-- for descriptive elements for interviews, reviews, letters -->\n <choose>\n <if match="any" variable="event event-date event-title">\n <group delimiter=", ">\n <text variable="event-title"/>\n <text variable="event-place"/>\n <text macro="date-event-full"/>\n </group>\n </if>\n </choose>\n </macro>\n <macro name="source-event-status-bib">\n <group delimiter=" ">\n <choose>\n <if type="broadcast" variable="status">\n <!-- \'aired\', \'performed\', etc. (CMOS18 14.165) -->\n <text text-case="capitalize-first" variable="status"/>\n </if>\n <else-if type="paper-conference">\n <choose>\n <if variable="genre">\n <text text-case="capitalize-first" value="presented"/>\n </if>\n <else>\n <text form="short" term="paper-conference" text-case="capitalize-first"/>\n <text value="presented"/>\n </else>\n </choose>\n <choose>\n <if variable="event-title">\n <text term="at"/>\n </if>\n </choose>\n </else-if>\n <else-if type="song">\n <text text-case="capitalize-first" value="recorded"/>\n <choose>\n <if variable="event-title">\n <text term="at"/>\n </if>\n </choose>\n </else-if>\n <else-if variable="event-date issued"/>\n <else-if variable="issued"/>\n <else>\n <text text-case="capitalize-first" variable="status"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="source-event-status-note">\n <group delimiter=" ">\n <choose>\n <if type="broadcast" variable="status">\n <!-- \'aired\', \'performed\', etc. (CMOS18 14.165) -->\n <text variable="status"/>\n </if>\n <else-if type="paper-conference">\n <choose>\n <if variable="genre">\n <text value="presented"/>\n </if>\n <else>\n <text form="short" term="paper-conference"/>\n <text value="presented"/>\n </else>\n </choose>\n <choose>\n <if match="any" variable="event event-title">\n <text term="at"/>\n </if>\n </choose>\n </else-if>\n <else-if type="song">\n <text value="recorded"/>\n <choose>\n <if variable="event-title">\n <text term="at"/>\n </if>\n </choose>\n </else-if>\n <else-if variable="event-date issued"/>\n <else-if variable="issued"/>\n <else>\n <text variable="status"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="source-event-title">\n <choose>\n <!-- TODO: We expect `event-title` to be used, but processors and applications may not be updated yet. This macro ensures that either `event` or `event-title` can be accepted. Remove if processor logic and application adoption can handle this. -->\n <if variable="event-title">\n <text variable="event-title"/>\n </if>\n <else>\n <text variable="event"/>\n </else>\n </choose>\n </macro>\n <macro name="source-event-title-capitalized">\n <choose>\n <!-- TODO: We expect `event-title` to be used, but processors and applications may not be updated yet. This macro ensures that either `event` or `event-title` can be accepted. Remove if processor logic and application adoption can handle this. -->\n <if variable="event-title">\n <text text-case="capitalize-first" variable="event-title"/>\n </if>\n <else>\n <text text-case="capitalize-first" variable="event"/>\n </else>\n </choose>\n </macro>\n <macro name="source-event-description-bib">\n <group delimiter=", ">\n <choose>\n <if type="song">\n <text macro="source-event-title"/>\n </if>\n <else-if type="paper-conference" variable="genre">\n <text macro="source-event-title-capitalized"/>\n </else-if>\n <else-if type="paper-conference">\n <text macro="source-event-title"/>\n </else-if>\n <else>\n <text macro="source-event-title-capitalized"/>\n </else>\n </choose>\n <text macro="date-event-full"/>\n <text variable="event-place"/>\n </group>\n </macro>\n <macro name="source-event-description-note">\n <group delimiter=", ">\n <choose>\n <if type="song">\n <text macro="source-event-title"/>\n </if>\n <else-if type="paper-conference" variable="genre">\n <text macro="source-event-title"/>\n </else-if>\n <else-if type="paper-conference">\n <text macro="source-event-title"/>\n </else-if>\n <else>\n <text macro="source-event-title"/>\n </else>\n </choose>\n <text macro="date-event-full"/>\n <text variable="event-place"/>\n </group>\n </macro>\n <!-- 4.5. Facts of publication -->\n <macro name="source-monographic-publication-bib">\n <group delimiter=". ">\n <choose>\n <!-- `patent` date in identification (CMOS18 14.158) -->\n <if type="patent"/>\n <!-- omit serial types -->\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book"/>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="source-publication-and-date-bib"/>\n </else-if>\n <!-- omit serial types -->\n <else-if match="any" type="interview paper-conference"/>\n <else>\n <!-- monographic types -->\n <text macro="source-publication-and-date-bib"/>\n </else>\n </choose>\n <text macro="source-publication-original-title-bib"/>\n </group>\n </macro>\n <macro name="source-monographic-publication-note">\n <group delimiter="; ">\n <choose>\n <!-- `patent` date in identification (CMOS18 14.158) -->\n <if type="patent"/>\n <!-- omit serial types -->\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book"/>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="source-publication-and-date-note"/>\n </else-if>\n <!-- omit serial types -->\n <else-if match="any" type="interview paper-conference"/>\n <else>\n <!-- monographic types -->\n <text macro="source-publication-and-date-note"/>\n </else>\n </choose>\n <text macro="source-publication-original-title-note"/>\n </group>\n </macro>\n <macro name="source-monographic-publication-note-bracketed">\n <!-- Facts of publication with brackets for print monographic formats -->\n <choose>\n <if match="any" type="book chapter classic interview musical_score pamphlet paper-conference report thesis">\n <text macro="source-monographic-publication-note" prefix="(" suffix=")"/>\n </if>\n <else-if type="article" variable="genre publisher">\n <!-- without brackets for a preprint in a repository (CMOS18 14.76), with brackets for a working paper (CMOS18 14.116) -->\n <text macro="source-monographic-publication-note" prefix="(" suffix=")"/>\n </else-if>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <choose>\n <if match="any" variable="publisher publisher-place">\n <text macro="source-monographic-publication-note" prefix="(" suffix=")"/>\n </if>\n <!-- online reference sources without a additional publisher details are unbracketed (CMOS18 14.131) -->\n <else-if match="any" variable="DOI URL"/>\n <else>\n <text macro="source-monographic-publication-note" prefix="(" suffix=")"/>\n </else>\n </choose>\n </else-if>\n <else-if type="motion_picture" variable="publisher">\n <text macro="source-monographic-publication-note" prefix="(" suffix=")"/>\n </else-if>\n <else-if type="personal_communication">\n <choose>\n <if match="any" variable="collection-editor compiler editor editorial-director issue page supplement-number volume">\n <!-- in an edited collection -->\n <text macro="source-monographic-publication-note" prefix="(" suffix=")"/>\n </if>\n </choose>\n </else-if>\n <else-if is-uncertain-date="issued">\n <!-- space before bracketed uncertain date (CMOS18 14.127) -->\n <text macro="source-monographic-publication-note"/>\n </else-if>\n </choose>\n </macro>\n <macro name="source-monographic-publication-note-unbracketed">\n <!-- Facts of publication without brackets -->\n <choose>\n <if match="any" type="book chapter classic interview musical_score pamphlet paper-conference report thesis"/>\n <else-if type="article" variable="genre publisher"/>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <choose>\n <if match="any" variable="publisher publisher-place"/>\n <!-- online reference sources without a additional publisher details are unbracketed (CMOS18 14.131) -->\n <else-if match="any" variable="DOI URL">\n <text macro="source-monographic-publication-note"/>\n </else-if>\n </choose>\n </else-if>\n <else-if type="motion_picture" variable="publisher"/>\n <else-if type="personal_communication">\n <choose>\n <if match="none" variable="collection-editor compiler editor editorial-director issue page supplement-number volume">\n <!-- not in an edited collection -->\n <text macro="source-monographic-publication-note"/>\n </if>\n </choose>\n </else-if>\n <else-if is-uncertain-date="issued"/>\n <else>\n <text macro="source-monographic-publication-note"/>\n </else>\n </choose>\n </macro>\n <macro name="source-monographic-publication-short-bracketed">\n <!-- mirrors `source-monographic-publication-note-bracketed` -->\n <group delimiter=", " prefix="(" suffix=")">\n <choose>\n <if disambiguate="true" match="none"/>\n <!-- Facts of publication with brackets for print monographic formats -->\n <else-if match="any" type="book chapter classic interview musical_score pamphlet paper-conference report thesis">\n <choose>\n <if disambiguate="true">\n <text macro="source-publication-publisher-note"/>\n </if>\n </choose>\n <text macro="source-date-issued-or-status"/>\n </else-if>\n <else-if type="article" variable="genre publisher">\n <!-- without brackets for a preprint in a repository (CMOS18 14.76), with brackets for a working paper (CMOS18 14.116) -->\n <choose>\n <if disambiguate="true">\n <text macro="source-publication-publisher-note"/>\n </if>\n </choose>\n <text macro="source-date-issued-or-status"/>\n </else-if>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <choose>\n <if match="any" variable="publisher publisher-place">\n <choose>\n <if disambiguate="true">\n <text macro="source-publication-publisher-note"/>\n </if>\n </choose>\n <text macro="source-date-issued-or-status"/>\n </if>\n <!-- online reference sources without a additional publisher details are unbracketed (CMOS18 14.131) -->\n <else-if match="any" variable="DOI URL"/>\n <else>\n <choose>\n <if disambiguate="true">\n <text macro="source-publication-publisher-note"/>\n </if>\n </choose>\n <text macro="source-date-issued-or-status"/>\n </else>\n </choose>\n </else-if>\n <else-if type="motion_picture" variable="publisher">\n <choose>\n <if disambiguate="true">\n <text macro="source-publication-publisher-note"/>\n </if>\n </choose>\n <text macro="source-date-issued-or-status"/>\n </else-if>\n <else-if type="personal_communication">\n <choose>\n <if match="any" variable="collection-editor compiler editor editorial-director issue page supplement-number volume">\n <!-- in an edited collection -->\n <text macro="source-date-issued-or-status"/>\n </if>\n </choose>\n </else-if>\n <else-if is-uncertain-date="issued">\n <!-- space before bracketed uncertain date (CMOS18 14.127) -->\n <text macro="source-date-issued-or-status"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <macro name="source-monographic-publication-short-unbracketed">\n <!-- mirrors `source-monographic-publication-note-unbracketed` -->\n <choose>\n <if disambiguate="true" match="none"/>\n <!-- Facts of publication without brackets -->\n <else-if match="any" type="book chapter classic interview musical_score pamphlet paper-conference report thesis"/>\n <else-if type="article" variable="genre publisher"/>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <choose>\n <if match="any" variable="publisher publisher-place"/>\n <!-- online reference sources without a additional publisher details are unbracketed (CMOS18 14.131) -->\n <else-if match="any" variable="DOI URL">\n <text macro="source-date-issued-or-status"/>\n </else-if>\n </choose>\n </else-if>\n <else-if type="motion_picture" variable="publisher"/>\n <else-if type="personal_communication">\n <choose>\n <if match="none" variable="collection-editor compiler editor editorial-director issue page supplement-number volume">\n <!-- not in an edited collection -->\n <text macro="source-date-issued-or-status"/>\n </if>\n </choose>\n </else-if>\n <else-if is-uncertain-date="issued"/>\n <else>\n <text macro="source-date-issued-or-status"/>\n </else>\n </choose>\n </macro>\n <macro name="source-publication-and-date-bib">\n <group delimiter=", ">\n <choose>\n <if match="any" type="post webpage">\n <!-- print `container-title` on `post` or `webpage` in the same way as `publisher` (CMOS18 14.104-106) -->\n <text text-case="title" variable="container-title"/>\n <!-- avoid possible repetition of `container-title` with author-date: -->\n <!-- <choose><if variable="publisher"><text text-case="title" variable="container-title"/></if><else-if type="webpage" variable="container-title container-title-short"/><else><text text-case="title" variable="container-title"/></else></choose>-->\n </if>\n </choose>\n <choose>\n <if type="broadcast" variable="DOI">\n <!-- a podcast publisher appears before the date, whereas the network of an aired show appears after (CMOS18 14.165); unfortunately CSL stores both in `publisher` -->\n <!-- TODO: `DOI` or `URL` detection is the only way to distinguish radio/TV from podcasts, but it is obviously imprecise; modify if CSL provides a `podcast` type -->\n <text macro="source-publication-history-bib"/>\n </if>\n <else-if type="broadcast" variable="URL">\n <text macro="source-publication-history-bib"/>\n </else-if>\n <else-if type="broadcast"/>\n <else>\n <text macro="source-publication-history-bib"/>\n </else>\n </choose>\n <group delimiter=" ">\n <text macro="source-date-status-bib"/>\n <text macro="source-date-issued-or-status"/>\n <!-- for author-date or notes and bibliography leading with volume title (CMOS18 14.21): -->\n <!-- <text macro="source-date-specific-title-first"/> -->\n </group>\n <choose>\n <if type="broadcast" variable="URL"/>\n <else-if type="broadcast">\n <group delimiter=" ">\n <text term="on"/>\n <text macro="source-publication-history-bib"/>\n </group>\n </else-if>\n </choose>\n </group>\n </macro>\n <macro name="source-publication-and-date-note">\n <group delimiter=", ">\n <choose>\n <if match="any" type="post webpage">\n <!-- print `container-title` on `post` or `webpage` in the same way as `publisher` (CMOS18 14.104-106) -->\n <text text-case="title" variable="container-title"/>\n </if>\n </choose>\n <choose>\n <if type="broadcast" variable="DOI">\n <!-- a podcast publisher appears before the date, whereas the network of an aired show appears after (CMOS18 14.165); unfortunately CSL stores both in `publisher` -->\n <!-- TODO: `DOI` or `URL` detection is the only way to distinguish radio/TV from podcasts, but it is obviously imprecise; modify if CSL provides a `podcast` type -->\n <text macro="source-publication-history-note"/>\n </if>\n <else-if type="broadcast" variable="URL">\n <text macro="source-publication-history-note"/>\n </else-if>\n <else-if type="broadcast"/>\n <else>\n <text macro="source-publication-history-note"/>\n </else>\n </choose>\n <group delimiter=" ">\n <text macro="source-date-status-note"/>\n <text macro="source-date-issued-or-status"/>\n </group>\n <choose>\n <if type="broadcast" variable="DOI"/>\n <else-if type="broadcast" variable="URL"/>\n <else-if type="broadcast">\n <group delimiter=" ">\n <text term="on"/>\n <text macro="source-publication-history-note"/>\n </group>\n </else-if>\n </choose>\n </group>\n </macro>\n <!-- Facts of publication elements -->\n <macro name="source-publication-description-bib">\n <choose>\n <if type="article" variable="genre"/>\n <else-if type="article">\n <!-- `preprint` term attached to repository name, but specific working paper descriptors appear in description (CMOS18 14.76, 14.116) -->\n <text term="preprint" text-case="capitalize-first"/>\n </else-if>\n <else-if type="thesis">\n <!-- thesis type appears with university name (CMOS18 14.113) -->\n <text text-case="capitalize-first" variable="genre"/>\n </else-if>\n <else-if match="any" variable="original-publisher original-publisher-place">\n <choose>\n <!-- `edition` provides an alternative label to `reprint` (CMOS18 14.16) -->\n <if match="any" variable="edition original-title"/>\n <else-if match="none" type="book chapter classic entry entry-dictionary entry-encyclopedia interview musical_score pamphlet paper-conference report thesis"/>\n <else-if variable="issued original-date">\n <text text-case="capitalize-first" value="reprint"/>\n </else-if>\n </choose>\n </else-if>\n </choose>\n </macro>\n <macro name="source-publication-description-note">\n <choose>\n <if type="article" variable="genre"/>\n <else-if type="article">\n <!-- `preprint` term attached to repository name, but specific working paper descriptors appear in description (CMOS18 14.76, 14.116) -->\n <text term="preprint"/>\n </else-if>\n <else-if type="thesis">\n <!-- thesis type appears with university name (CMOS18 14.113) -->\n <text variable="genre"/>\n </else-if>\n <else-if match="any" variable="original-publisher original-publisher-place">\n <choose>\n <!-- `edition` provides an alternative label to `reprint` (CMOS18 14.16) -->\n <if match="any" variable="edition original-title"/>\n <else-if match="none" type="book chapter classic entry entry-dictionary entry-encyclopedia interview musical_score pamphlet paper-conference report thesis"/>\n <else-if variable="issued original-date">\n <text value="repr."/>\n </else-if>\n </choose>\n </else-if>\n </choose>\n </macro>\n <macro name="source-publication-history-bib">\n <choose>\n <if variable="original-title">\n <!-- `original-title` is covered in `source-publication-original-title-bib` -->\n <group delimiter=", ">\n <text macro="source-publication-description-bib"/>\n <text macro="source-publication-publisher-bib"/>\n </group>\n </if>\n <else-if match="any" variable="edition original-publisher original-publisher-place">\n <group delimiter=". ">\n <!-- full stop to separate original date if `original-publisher` (CMOS18 14.16) -->\n <group delimiter=", ">\n <text macro="source-publication-publisher-original-bib"/>\n <text macro="source-date-original"/>\n </group>\n <group delimiter=". ">\n <choose>\n <if variable="issued original-date">\n <text macro="label-edition-capitalized"/>\n </if>\n </choose>\n <group delimiter=", ">\n <text macro="source-publication-description-bib"/>\n <text macro="source-publication-publisher-bib"/>\n </group>\n </group>\n </group>\n </else-if>\n <else>\n <group delimiter="; ">\n <!-- semicolon to separate original date if no publisher (CMOS18 14.165) -->\n <text macro="source-date-original"/>\n <group delimiter=", ">\n <text macro="source-publication-description-bib"/>\n <text macro="source-publication-publisher-bib"/>\n </group>\n </group>\n </else>\n </choose>\n </macro>\n <macro name="source-publication-history-note">\n <choose>\n <if variable="original-title">\n <!-- `original-title` is covered in `source-publication-original-title-bib` -->\n <group delimiter=", ">\n <text macro="source-publication-description-note"/>\n <text macro="source-publication-publisher-note"/>\n </group>\n </if>\n <else-if match="any" variable="edition original-publisher original-publisher-place">\n <group delimiter="; ">\n <!-- semicolon to separate original date if `original-publisher` (CMOS18 14.16) -->\n <group delimiter=", ">\n <text macro="source-publication-publisher-original-note"/>\n <text macro="source-date-original"/>\n </group>\n <group delimiter=", ">\n <choose>\n <if variable="issued original-date">\n <text macro="label-edition"/>\n </if>\n </choose>\n <group delimiter=", ">\n <text macro="source-publication-description-note"/>\n <text macro="source-publication-publisher-note"/>\n </group>\n </group>\n </group>\n </else-if>\n <else>\n <group delimiter="; ">\n <!-- semicolon to separate original date if no publisher (CMOS18 14.165) -->\n <text macro="source-date-original"/>\n <group delimiter=", ">\n <text macro="source-publication-description-note"/>\n <text macro="source-publication-publisher-note"/>\n </group>\n </group>\n </else>\n </choose>\n </macro>\n <macro name="source-publication-original-title-bib">\n <!-- Work originally published under a different title (CMOS18 13.101) -->\n <choose>\n <if variable="original-title">\n <group delimiter=" ">\n <text term="original-work-published" text-case="capitalize-first"/>\n <group delimiter=", ">\n <names variable="original-author">\n <name and="text" initialize="false"/>\n </names>\n <text font-style="italic" text-case="title" variable="original-title"/>\n </group>\n <group delimiter=", " prefix="(" suffix=")">\n <text macro="source-publication-publisher-original-bib"/>\n <text macro="source-date-original"/>\n </group>\n </group>\n </if>\n </choose>\n </macro>\n <macro name="source-publication-original-title-note">\n <!-- Work originally published under a different title (CMOS18 13.101) -->\n <choose>\n <if variable="original-title">\n <group delimiter=" ">\n <text term="original-work-published"/>\n <group delimiter=", ">\n <names variable="original-author">\n <name and="text" initialize="false"/>\n </names>\n <text font-style="italic" text-case="title" variable="original-title"/>\n </group>\n <group delimiter=", " prefix="(" suffix=")">\n <text macro="source-publication-publisher-original-note"/>\n <text macro="source-date-original"/>\n </group>\n </group>\n </if>\n </choose>\n </macro>\n <macro name="source-publication-publisher-bib">\n <group delimiter=" ">\n <choose>\n <if type="thesis" variable="publisher">\n <text text-case="capitalize-first" variable="publisher"/>\n </if>\n <else-if variable="publisher">\n <group delimiter=": ">\n <!-- <text text-case="capitalize-first" variable="publisher-place"/> -->\n <text text-case="capitalize-first" variable="publisher"/>\n </group>\n </else-if>\n <!-- TODO: remove conditional when Zotero fixes double-mapping of `event-place` -->\n <else-if match="any" variable="event-date event-title"/>\n <else>\n <text text-case="capitalize-first" variable="publisher-place"/>\n </else>\n </choose>\n <choose>\n <if type="song">\n <!-- Album catalogue number follows label name (CMOS18 14.163-164) -->\n <text variable="number"/>\n </if>\n </choose>\n </group>\n </macro>\n <macro name="source-publication-publisher-note">\n <group delimiter=" ">\n <choose>\n <if type="thesis" variable="publisher">\n <text variable="publisher"/>\n </if>\n <else-if variable="publisher">\n <group delimiter=": ">\n <!-- <text variable="publisher-place"/> -->\n <text variable="publisher"/>\n </group>\n </else-if>\n <!-- TODO: remove conditional when Zotero fixes double-mapping of `event-place` -->\n <else-if match="any" variable="event-date event-title"/>\n <else>\n <text variable="publisher-place"/>\n </else>\n </choose>\n <choose>\n <if type="song">\n <!-- Album catalogue number follows label name (CMOS18 14.163-164) -->\n <text variable="number"/>\n </if>\n </choose>\n </group>\n </macro>\n <macro name="source-publication-publisher-original-bib">\n <choose>\n <if variable="original-publisher">\n <group delimiter=": ">\n <!-- <text text-case="capitalize-first" variable="original-publisher-place"/> -->\n <text text-case="capitalize-first" variable="original-publisher"/>\n </group>\n </if>\n <else>\n <text text-case="capitalize-first" variable="original-publisher-place"/>\n </else>\n </choose>\n </macro>\n <macro name="source-publication-publisher-original-note">\n <choose>\n <if variable="original-publisher">\n <group delimiter=": ">\n <!-- <text variable="original-publisher-place"/> -->\n <text variable="original-publisher"/>\n </group>\n </if>\n <else>\n <text variable="original-publisher-place"/>\n </else>\n </choose>\n </macro>\n <!-- 4.6. Date -->\n <!-- Date elements -->\n <macro name="source-date-issued-full">\n <!-- Give full date for more ephemeral types -->\n <!-- NB: any changes must also be applied to `source-date-original-full` -->\n <choose>\n <if type="personal_communication" variable="event-date issued">\n <!-- Provide issue date for letters listed under event-date -->\n <text macro="date-issued-year"/>\n </if>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <choose>\n <if match="any" variable="DOI URL">\n <!-- Online reference works use full dates (CMOS18 14.131) -->\n <text macro="date-issued-full"/>\n </if>\n <else>\n <text macro="date-issued-year"/>\n </else>\n </choose>\n </else-if>\n <else-if match="any" type="article broadcast collection dataset document event graphic manuscript map patent performance personal_communication post software song speech standard webpage">\n <text macro="date-issued-full"/>\n </else-if>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text macro="source-date-issued-full-serial"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="date-issued-year"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text macro="source-date-issued-full-serial"/>\n </else-if>\n <!-- monographic types -->\n <else-if variable="issued">\n <text macro="date-issued-year"/>\n </else-if>\n <else-if variable="event-date">\n <text macro="date-event-year"/>\n </else-if>\n <else-if variable="available-date">\n <date date-parts="year" form="numeric" variable="available-date"/>\n </else-if>\n </choose>\n </macro>\n <macro name="source-date-issued-full-serial">\n <choose>\n <if match="any" type="article-magazine article-newspaper">\n <!-- magazines and newspapers provide the full date in place of volume/issue numbers (CMOS18 14.87, 14.89) -->\n <text macro="date-issued-full"/>\n </if>\n <else-if variable="issue volume">\n <text macro="date-issued-year"/>\n <!-- for CMOS17: -->\n <!-- <text macro="date-issued-year-month"/> -->\n </else-if>\n <else-if variable="supplement-number">\n <text macro="date-issued-year"/>\n <!-- for CMOS17: -->\n <!-- <text macro="date-issued-year-month"/> -->\n </else-if>\n <else-if match="any" variable="issue volume">\n <text macro="date-issued-year-month"/>\n </else-if>\n <else>\n <text macro="date-issued-full"/>\n </else>\n </choose>\n </macro>\n <macro name="source-date-issued-or-status">\n <choose>\n <if match="any" variable="event-date issued">\n <text macro="source-date-issued-full"/>\n </if>\n <else-if variable="status">\n <text text-case="lowercase" variable="status"/>\n </else-if>\n <else-if match="any" type="interview personal_communication">\n <choose>\n <if match="any" variable="archive archive-place container-title DOI number publisher references URL">\n <!-- only give n.d. for accessible personal communication (CMOS18 14.111)-->\n <text form="short" term="no date"/>\n </if>\n </choose>\n </else-if>\n <!-- types with unusual reference (CMOS18 14.44, 14.127) -->\n <else-if match="any" type="classic collection entry entry-dictionary entry-encyclopedia webpage"/>\n <else-if type="manuscript">\n <!-- do not give n.d. with a bare shelfmark -->\n <choose>\n <if match="any" variable="container-title event-date event-place event-title genre title publisher publisher-place">\n <text form="short" term="no date"/>\n </if>\n </choose>\n </else-if>\n <else-if type="article-journal">\n <choose>\n <if variable="available-date">\n <!-- label journal articles available but not yet formally published as \'forthcoming\' (CMOS18 14.75) -->\n <text term="forthcoming"/>\n </if>\n <else>\n <text form="short" term="no date"/>\n </else>\n </choose>\n </else-if>\n <else>\n <text form="short" term="no date"/>\n </else>\n </choose>\n </macro>\n <macro name="source-date-original">\n <text macro="source-date-original-full"/>\n <!-- for author-date 18th edition: -->\n <!-- <text macro="source-date-original-month-day"/> -->\n </macro>\n <macro name="source-date-original-full">\n <!-- Give full date for more ephemeral types -->\n <!-- Macro derived from `source-date-issued-full` -->\n <choose>\n <if type="personal_communication" variable="event-date original-date">\n <!-- Provide original date for letters listed under event-date -->\n <text macro="date-original-year"/>\n </if>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <choose>\n <if match="any" variable="DOI URL">\n <!-- Online reference works use full dates (CMOS18 14.131) -->\n <text macro="date-original-full"/>\n </if>\n <else>\n <text macro="date-original-year"/>\n </else>\n </choose>\n </else-if>\n <else-if match="any" type="article broadcast collection dataset document event graphic manuscript map patent performance personal_communication post software song speech standard webpage">\n <text macro="date-original-full"/>\n </else-if>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text macro="source-date-original-full-serial"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="date-original-year"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text macro="source-date-original-full-serial"/>\n </else-if>\n <else>\n <!-- monographic types -->\n <text macro="date-original-year"/>\n </else>\n </choose>\n </macro>\n <macro name="source-date-original-full-serial">\n <choose>\n <if variable="issue volume">\n <text macro="date-original-year"/>\n <!-- for CMOS17: -->\n <!-- <text macro="date-original-year-month"/> -->\n </if>\n <else-if variable="supplement-number">\n <text macro="date-original-year"/>\n <!-- for CMOS17: -->\n <!-- <text macro="date-original-year-month"/> -->\n </else-if>\n <else-if match="any" variable="issue volume">\n <text macro="date-original-year-month"/>\n </else-if>\n <else>\n <text macro="date-original-full"/>\n </else>\n </choose>\n </macro>\n <macro name="source-date-status-bib">\n <choose>\n <if type="broadcast" variable="event-title issued status"/>\n <!-- on a `broadcast`, if there is an `event-title`, `status` appears with `event-date` as part of `source-event` (CMOS18 14.165) -->\n <else-if variable="issued status">\n <!-- `status` specifies date type, e.g. \'effective\', \'last modified\', \'approved\' (CMOS18 14.104 for `webpage`; CMOS18 14.159 for `standard`) -->\n <choose>\n <if type="webpage" variable="container-title">\n <text variable="status"/>\n </if>\n <else-if type="webpage" variable="author publisher">\n <text variable="status"/>\n </else-if>\n <else-if type="webpage" variable="translator publisher">\n <text variable="status"/>\n </else-if>\n <else-if type="webpage">\n <!-- capitalize `status` if there is nothing else after the `title` (either no website title or substituted publisher) -->\n <text text-case="capitalize-first" variable="status"/>\n </else-if>\n <else-if match="any" variable="original-date original-publisher original-publisher-place original-title publisher">\n <text variable="status"/>\n </else-if>\n <else>\n <text text-case="capitalize-first" variable="status"/>\n </else>\n </choose>\n </else-if>\n <else-if type="broadcast" variable="issued URL"/>\n <else-if type="broadcast" variable="issued">\n <!-- `status` of a radio or TV broadcast is \'aired\' if unspecified (CMOS18 14.165) -->\n <text text-case="capitalize-first" value="aired"/>\n </else-if>\n <else-if type="software" variable="issued publisher">\n <!-- `status` of software is \'released\' if unspecified (CMOS18 14.169) -->\n <choose>\n <if match="any" variable="author chair collection-editor compiler composer contributor curator director editor editor-translator editorial-director executive-producer guest host illustrator organizer producer series-creator translator">\n <!-- lowercase if `publisher` is adjacent -->\n <text value="released"/>\n </if>\n <else>\n <text text-case="capitalize-first" value="released"/>\n </else>\n </choose>\n </else-if>\n <else-if type="software" variable="original-date">\n <!-- lowercase if `original-date` is adjacent -->\n <text value="released"/>\n </else-if>\n <else-if type="software" variable="issued">\n <!-- capitalize if `publisher` is not present -->\n <text text-case="capitalize-first" value="released"/>\n </else-if>\n </choose>\n </macro>\n <macro name="source-date-status-note">\n <choose>\n <if type="broadcast" variable="event-title issued status"/>\n <!-- on a `broadcast`, if there is an `event-title`, `status` appears with `event-date` as part of `source-event` (CMOS18 14.165) -->\n <else-if variable="issued status">\n <!-- `status` specifies date type, e.g. \'effective\', \'last modified\', \'approved\' (CMOS18 14.104 for `webpage`; CMOS18 14.159 for `standard`) -->\n <text variable="status"/>\n </else-if>\n <else-if type="broadcast" variable="issued DOI"/>\n <else-if type="broadcast" variable="issued URL"/>\n <else-if type="broadcast" variable="issued">\n <!-- `status` of a radio or TV broadcast is \'aired\' if unspecified (CMOS18 14.165) -->\n <text value="aired"/>\n </else-if>\n <else-if type="software" variable="issued">\n <!-- `status` of software is \'released\' if unspecified (CMOS18 14.169) -->\n <text value="released"/>\n </else-if>\n </choose>\n </macro>\n <!-- 4.7. Locator (including page references) -->\n <macro name="source-locator-subsequent">\n <choose>\n <if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <text macro="source-locator-subsequent-serial"/>\n </if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="source-locator-subsequent-monographic"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text macro="source-locator-subsequent-serial"/>\n </else-if>\n <else>\n <text macro="source-locator-subsequent-monographic"/>\n </else>\n </choose>\n </macro>\n <macro name="source-locator-subsequent-monographic">\n <group delimiter=", ">\n <choose>\n <if variable="container-title">\n <!-- Do not provide `volume` or `part-number` for defined section -->\n <text macro="label-locator"/>\n </if>\n <else-if variable="part-number">\n <!-- label page numbers to balance a part number (CMOS18 14.50) -->\n <text macro="label-volume"/>\n <text macro="label-part-number"/>\n <text macro="label-locator-all"/>\n </else-if>\n <else-if is-numeric="volume" locator="page">\n <!-- separate a volume and page number with a colon (CMOS18 14.18) -->\n <group delimiter=":">\n <text variable="volume"/>\n <text variable="locator"/>\n </group>\n </else-if>\n <else>\n <text macro="label-volume"/>\n <text macro="label-locator"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="source-locator-subsequent-serial">\n <group delimiter=", ">\n <choose>\n <if variable="part-number">\n <!-- label page numbers when using multiple locators (CMOS18 14.50) -->\n <text macro="label-part-number"/>\n <text macro="label-locator-all"/>\n </if>\n <else>\n <text macro="label-locator"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- 4.8. Medium -->\n <macro name="source-medium-bib">\n <group delimiter=", ">\n <text text-case="capitalize-first" variable="medium"/>\n <text variable="scale"/>\n <text variable="dimensions"/>\n </group>\n </macro>\n <macro name="source-medium-note">\n <group delimiter=", ">\n <text variable="medium"/>\n <text variable="scale"/>\n <text variable="dimensions"/>\n </group>\n </macro>\n <!-- 4.9. Archival location -->\n <macro name="source-archive-bib">\n <group delimiter=" ">\n <choose>\n <if type="graphic">\n <text macro="source-archive-reference-institution-first"/>\n </if>\n <else>\n <text macro="source-archive-reference-location-first-bib"/>\n </else>\n </choose>\n <text macro="source-archive-database-number" prefix="(" suffix=")"/>\n </group>\n </macro>\n <macro name="source-archive-note">\n <group delimiter=" ">\n <choose>\n <if type="graphic">\n <text macro="source-archive-reference-institution-first"/>\n </if>\n <else>\n <text macro="source-archive-reference-location-first-note"/>\n </else>\n </choose>\n <text macro="source-archive-database-number" prefix="(" suffix=")"/>\n </group>\n </macro>\n <!-- Archival elements -->\n <macro name="source-archive-database-number">\n <!-- database identifier, if not included elsewhere (CMOS18 14.113) -->\n <choose>\n <if match="any" variable="archive_collection archive_location archive-place"/>\n <!-- `number` never shown elsewhere with a thesis -->\n <else-if type="thesis">\n <text variable="number"/>\n </else-if>\n <!-- `number` shown with `genre` -->\n <else-if match="any" type="dataset entry song" variable="genre"/>\n <else-if variable="archive">\n <text variable="number"/>\n </else-if>\n </choose>\n </macro>\n <macro name="source-archive-locator">\n <choose>\n <!-- physical locators with archival references appear after the shelfmark (CMOS18 14.127) -->\n <if locator="column" variable="archive archive_location">\n <!-- archival locators must always be labelled to avoid confusion with `archive_location` (CMOS18 14.123) -->\n <text macro="label-locator-all"/>\n </if>\n <else-if locator="folio" variable="archive archive_location">\n <text macro="label-locator-all"/>\n </else-if>\n <else-if locator="page" variable="archive archive_location">\n <text macro="label-locator-all"/>\n </else-if>\n <else-if variable="archive archive_location page">\n <choose>\n <if is-numeric="page">\n <!-- TODO: remove this conditional when `page` parsing is fixed for different locator types -->\n <text macro="label-page"/>\n </if>\n <else>\n <text variable="page"/>\n </else>\n </choose>\n </else-if>\n </choose>\n </macro>\n <macro name="source-archive-reference-institution-first">\n <!-- Archive (gallery) name first for art (CMOS18 14.133) -->\n <group delimiter=", ">\n <text variable="archive"/>\n <text variable="archive-place"/>\n <text variable="archive_collection"/>\n <text variable="archive_location"/>\n <text macro="source-archive-locator"/>\n </group>\n </macro>\n <macro name="source-archive-reference-location-first-bib">\n <!-- Order of elements begins with the most specific (CMOS18 14.128) -->\n <group delimiter=". ">\n <group delimiter=", ">\n <text text-case="capitalize-first" variable="archive_location"/>\n <text macro="source-archive-locator"/>\n </group>\n <text variable="archive_collection"/>\n <group delimiter=", ">\n <text variable="archive"/>\n <text variable="archive-place"/>\n </group>\n </group>\n </macro>\n <macro name="source-archive-reference-location-first-note">\n <!-- Order of elements begins with the most specific (CMOS18 14.127) -->\n <group delimiter=", ">\n <text variable="archive_location"/>\n <text macro="source-archive-locator"/>\n <text variable="archive_collection"/>\n <text variable="archive"/>\n <text variable="archive-place"/>\n </group>\n </macro>\n <!-- 4.10. URL or persistent identifier -->\n <macro name="source-date-accessed-DOI-URL-bib">\n <group delimiter=". ">\n <choose>\n <if variable="DOI"/>\n <else-if match="any" variable="available-date event-date issued status"/>\n <else-if variable="accessed URL">\n <group delimiter=" ">\n <text term="accessed" text-case="capitalize-first"/>\n <date form="text" variable="accessed"/>\n </group>\n </else-if>\n </choose>\n <text macro="source-DOI-URL"/>\n </group>\n </macro>\n <macro name="source-date-accessed-DOI-URL-note">\n <group delimiter=", ">\n <choose>\n <if variable="DOI"/>\n <else-if match="any" variable="available-date event-date issued status"/>\n <else-if variable="accessed URL">\n <group delimiter=" ">\n <text term="accessed"/>\n <date form="text" variable="accessed"/>\n </group>\n </else-if>\n </choose>\n <text macro="source-DOI-URL"/>\n </group>\n </macro>\n <macro name="source-DOI-URL">\n <choose>\n <if variable="DOI">\n <text prefix="https://doi.org/" variable="DOI"/>\n </if>\n <else-if variable="URL">\n <text variable="URL"/>\n </else-if>\n </choose>\n </macro>\n <!-- 5. Notes -->\n <!-- TODO: add variables for distributor and exhibitions if available in CSL -->\n <!-- 6. Legal references: Bluebook style (shared with APA) -->\n <!-- Where APA or Chicago diverge from Bluebook, the official manual is followed -->\n <macro name="legal-reference">\n <!-- Type usage:\n\n `bill`\n : bills, resolutions, federal reports\n\n `legal_case`\n : all legal and court cases\n\n `hearing`\n : hearings and testimony\n\n `legislation`\n : statutes, constitutional items, and charters\n\n `regulation`\n : codified regulations, uncodified regulations, executive orders\n\n `treaty`\n : treaties\n -->\n <group delimiter=", ">\n <choose>\n <if type="treaty">\n <text macro="legal-title"/>\n <names variable="author">\n <!-- Treaty parties should be included at least for bilateral treaties (Bluebook 21.4.2) -->\n <name delimiter="-" et-al-min="100" et-al-use-first="99" form="short" initialize="false"/>\n </names>\n <text macro="legal-date"/>\n <!-- treaty source/report in addition to URL (Bluebook 21.4.5) -->\n <text macro="legal-source"/>\n </if>\n <else>\n <group delimiter=" ">\n <group delimiter=", ">\n <text macro="legal-title"/>\n <text macro="legal-source"/>\n </group>\n <text macro="legal-date"/>\n <text macro="legal-identifier"/>\n </group>\n </else>\n </choose>\n <group delimiter=" ">\n <!-- locator for use in notes -->\n <choose>\n <if locator="page" variable="page">\n <text term="at"/>\n </if>\n </choose>\n <text macro="label-locator"/>\n </group>\n </group>\n </macro>\n <!-- 6.1. Legal date -->\n <macro name="legal-date">\n <choose>\n <if type="treaty">\n <text macro="date-issued-full"/>\n </if>\n <else-if type="legal_case">\n <text macro="legal-date-case"/>\n </else-if>\n <else-if match="any" type="bill hearing legislation regulation">\n <group delimiter=" " prefix="(" suffix=")">\n <group delimiter=" ">\n <text macro="date-original-year"/>\n <text form="symbol" term="and"/>\n </group>\n <choose>\n <if variable="issued">\n <text macro="date-issued-year"/>\n </if>\n <else>\n <!-- Show proposal date for uncodified regulations. Assume date is entered literally ala "proposed May 23, 2016". -->\n <!-- TODO: Add `proposed` date here if that becomes available -->\n <date form="text" variable="submitted"/>\n </else>\n </choose>\n </group>\n </else-if>\n </choose>\n </macro>\n <macro name="legal-date-case">\n <group delimiter=" " prefix="(" suffix=")">\n <text variable="authority"/>\n <choose>\n <if variable="container-title">\n <!-- Print only year for cases published in reporters-->\n <text macro="date-issued-year"/>\n </if>\n <else>\n <text macro="date-issued-full"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- 6.2.1. Legal title -->\n <macro name="legal-title">\n <choose>\n <if match="any" type="bill legal_case legislation regulation treaty">\n <text text-case="title" variable="title"/>\n </if>\n <else-if type="hearing">\n <!-- use standard format (Bluebook 13.3) -->\n <group delimiter=": " font-style="italic">\n <text text-case="capitalize-first" variable="title"/>\n <group delimiter=" ">\n <text term="hearing" text-case="capitalize-first"/>\n <group delimiter=" ">\n <text term="on"/>\n <text variable="number"/>\n </group>\n <group delimiter=" ">\n <text value="before the"/>\n <text variable="section"/>\n </group>\n </group>\n </group>\n </else-if>\n </choose>\n </macro>\n <!-- 6.2.2. Legal identifier -->\n <macro name="legal-identifier">\n <group delimiter=" " prefix="(" suffix=")">\n <choose>\n <if type="hearing">\n <!-- Use the \'verb\' form of the hearing term to hold \'testimony of\' -->\n <text form="verb" term="hearing"/>\n <names variable="author">\n <name and="symbol" initialize="false"/>\n </names>\n </if>\n <else-if match="any" type="bill legislation regulation">\n <!-- For uncodified regulations, assume future code section is in `status`. -->\n <text variable="status"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <macro name="legal-identifier-bill-report">\n <group delimiter=" ">\n <text variable="genre"/>\n <choose>\n <if match="any" variable="authority chapter-number container-title">\n <text variable="number"/>\n </if>\n <else>\n <!-- If there is no legislative body, session number, or code/record title, assume the item is a congressional report and include \'No.\' label. -->\n <text macro="label-number-capitalized"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- 6.3. Legal source -->\n <macro name="legal-source">\n <!-- Expect legal item `container-title` to be stored in short form -->\n <choose>\n <if type="bill">\n <text macro="legal-source-bill"/>\n </if>\n <else-if type="hearing">\n <text macro="legal-source-hearing"/>\n </else-if>\n <else-if type="legal_case">\n <text macro="legal-source-case"/>\n </else-if>\n <else-if type="legislation">\n <text macro="legal-source-legislation"/>\n </else-if>\n <else-if type="regulation">\n <text macro="legal-source-regulation"/>\n </else-if>\n <else-if type="treaty">\n <text macro="legal-source-treaty"/>\n </else-if>\n </choose>\n </macro>\n <!-- Legal source types -->\n <macro name="legal-source-bill">\n <group delimiter=", ">\n <text macro="legal-identifier-bill-report"/>\n <group delimiter=" ">\n <text variable="authority"/>\n <!-- `chapter-number` is a session number -->\n <text variable="chapter-number"/>\n </group>\n <group delimiter=" ">\n <text variable="volume"/>\n <text variable="container-title"/>\n <text variable="page-first"/>\n </group>\n </group>\n </macro>\n <macro name="legal-source-case">\n <group delimiter=" ">\n <choose>\n <if variable="container-title">\n <text variable="volume"/>\n <text variable="container-title"/>\n <text macro="label-section-symbol"/>\n <choose>\n <if match="any" variable="page page-first">\n <text variable="page-first"/>\n </if>\n <else>\n <text value="___"/>\n </else>\n </choose>\n </if>\n <else>\n <text macro="label-number-capitalized"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="legal-source-hearing">\n <group delimiter=" ">\n <text variable="authority"/>\n <!-- `chapter-number` is a session number -->\n <text variable="chapter-number"/>\n </group>\n </macro>\n <macro name="legal-source-legislation">\n <choose>\n <if variable="number">\n <!-- `number` is a public law number -->\n <group delimiter=", ">\n <group delimiter=" ">\n <choose>\n <if variable="genre">\n <text text-case="capitalize-first" variable="genre"/>\n </if>\n <else>\n <text form="short" term="legislation" text-case="capitalize-first"/>\n </else>\n </choose>\n <text macro="label-number-capitalized"/>\n </group>\n <group delimiter=" ">\n <text variable="volume"/>\n <text variable="container-title"/>\n <text variable="page-first"/>\n </group>\n </group>\n </if>\n <else>\n <group delimiter=" ">\n <text variable="volume"/>\n <text variable="container-title"/>\n <choose>\n <if variable="section">\n <text macro="label-section-symbol"/>\n </if>\n <else>\n <text variable="page-first"/>\n </else>\n </choose>\n </group>\n </else>\n </choose>\n </macro>\n <macro name="legal-source-regulation">\n <group delimiter=", ">\n <group delimiter=" ">\n <text variable="genre"/>\n <text macro="label-number-capitalized"/>\n </group>\n <group delimiter=" ">\n <text variable="volume"/>\n <text variable="container-title"/>\n <choose>\n <if variable="section">\n <text macro="label-section-symbol"/>\n </if>\n <else>\n <text variable="page-first"/>\n </else>\n </choose>\n </group>\n </group>\n </macro>\n <macro name="legal-source-treaty">\n <group delimiter=" ">\n <number variable="volume"/>\n <text variable="container-title"/>\n <choose>\n <if match="any" variable="page page-first">\n <text variable="page-first"/>\n </if>\n <else>\n <text macro="label-number-capitalized"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- Citation -->\n <macro name="citation-notes-full">\n <group delimiter=", ">\n <choose>\n <if match="any" type="bill hearing legal_case legislation regulation treaty">\n <!-- Legal items have different orders and delimiters -->\n <text macro="legal-reference"/>\n <text macro="source-date-accessed-DOI-URL-note"/>\n </if>\n <else-if type="personal_communication" variable="genre">\n <text macro="author-note"/>\n <text macro="title-and-source-note"/>\n </else-if>\n <else-if type="personal_communication" variable="author recipient">\n <group delimiter=" ">\n <text macro="author-note"/>\n <text macro="title-and-source-note"/>\n </group>\n </else-if>\n <else>\n <text macro="author-note"/>\n <text macro="title-and-source-note"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="citation-notes-shortened-author-title">\n <!-- Shortened note styles mirror the filtering approach of author-date -->\n <group delimiter=", ">\n <choose>\n <if match="any" variable="part-number volume">\n <!-- comma always needed with volume/part -->\n <text macro="citation-notes-shortened-author-title-item"/>\n <text macro="source-locator-subsequent"/>\n </if>\n <else-if match="none" type="classic">\n <text macro="citation-notes-shortened-author-title-item"/>\n <text macro="source-locator-subsequent"/>\n </else-if>\n <!-- with `classic`, a non-numeric canonical reference or identifying number is separated by a space rather than a comma (CMOS18 14.145) -->\n <else-if is-numeric="locator">\n <text macro="citation-notes-shortened-author-title-item"/>\n <text macro="source-locator-subsequent"/>\n </else-if>\n <else-if locator="chapter line verse" match="any">\n <group delimiter=" ">\n <text macro="citation-notes-shortened-author-title-item"/>\n <text macro="source-locator-subsequent"/>\n </group>\n </else-if>\n <else>\n <text macro="citation-notes-shortened-author-title-item"/>\n <text macro="source-locator-subsequent"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="citation-notes-shortened-author-title-item">\n <group delimiter=" ">\n <group delimiter=", ">\n <text macro="author-short"/>\n <choose>\n <if match="any" type="bill hearing legal_case legislation regulation treaty"/>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <group delimiter=" ">\n <choose>\n <if locator="sub-verbo"/>\n <!-- Only print reference entries use `sub-verbo` (CMOS18 14.131) -->\n <else-if match="any" variable="DOI URL"/>\n <else-if variable="container-title title">\n <text form="short" term="sub-verbo"/>\n </else-if>\n </choose>\n <text macro="title-and-descriptions-short"/>\n </group>\n </else-if>\n <else>\n <text macro="title-and-descriptions-short"/>\n </else>\n </choose>\n <text macro="citation-notes-shortened-author-title-disambiguate"/>\n <choose>\n <!-- inaccessible `interview` or `personal_communication` uses in-text format (CMOS18 14.111): give the date at the first citation in shortened notes -->\n <if match="any" variable="archive archive-place container-title DOI number publisher references URL"/>\n <else-if position="first" type="interview">\n <text macro="date-short"/>\n <text macro="source-medium-note"/>\n </else-if>\n <else-if position="first" type="personal_communication">\n <text macro="source-medium-note"/>\n </else-if>\n </choose>\n <text macro="source-monographic-publication-short-unbracketed"/>\n </group>\n <text macro="source-monographic-publication-short-bracketed"/>\n </group>\n </macro>\n <macro name="citation-notes-shortened-author-title-disambiguate">\n <!-- CMOS18 gives examples of added dates (CMOS18 14.13) and editors/translators, publisher, date (CMOS18 14.146) -->\n <group delimiter=", ">\n <choose>\n <if disambiguate="true">\n <choose>\n <if disambiguate="true">\n <text macro="label-version"/>\n <text macro="label-edition"/>\n </if>\n </choose>\n <names variable="editor-translator">\n <label form="verb-short" suffix=" "/>\n <name and="text" form="short" initialize="true"/>\n <substitute>\n <names variable="editor"/>\n <names variable="translator"/>\n </substitute>\n </names>\n </if>\n </choose>\n </group>\n </macro>\n <citation disambiguate-add-givenname="true" disambiguate-add-names="true" et-al-min="3" et-al-use-first="1">\n <layout delimiter="; " suffix=".">\n <choose>\n <if position="subsequent">\n <text macro="citation-notes-shortened-author-title"/>\n </if>\n <else>\n <text macro="citation-notes-full"/>\n </else>\n </choose>\n </layout>\n </citation>\n <!-- Bibliography -->\n <macro name="bibliography-notes">\n <group delimiter=". ">\n <choose>\n <if match="any" type="bill hearing legal_case legislation regulation treaty">\n <!-- Legal items have different orders and delimiters -->\n <text macro="legal-reference"/>\n <text macro="source-date-accessed-DOI-URL-bib"/>\n <text variable="references"/>\n </if>\n <else>\n <text macro="author-bib"/>\n <text macro="title-and-source-bib"/>\n <text variable="references"/>\n </else>\n </choose>\n </group>\n </macro>\n <bibliography et-al-min="7" et-al-use-first="3" hanging-indent="true">\n <sort>\n <key macro="author-sort"/>\n <key macro="title-and-descriptions-bib"/>\n <key macro="source-bib"/>\n <key variable="volume"/>\n <key variable="part-number"/>\n <key variable="event-date"/>\n <key macro="source-date-issued-or-status"/>\n <key macro="source-archive-bib"/>\n </sort>\n <layout suffix=".">\n <choose>\n <if type="classic">\n <choose>\n <if match="any" variable="archive editor translator publisher">\n <text macro="bibliography-notes"/>\n </if>\n </choose>\n </if>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <choose>\n <if variable="author">\n <!-- Signed reference entries appear in the bibliography (CMOS18 14.132) -->\n <text macro="bibliography-notes"/>\n </if>\n </choose>\n </else-if>\n <!-- social media content omitted from the bibliography (new in CMOS18 14.106; included in CMOS17 14.209) -->\n <else-if type="post"/>\n <else-if match="any" variable="archive archive-place container-title DOI number publisher references URL">\n <text macro="bibliography-notes"/>\n </else-if>\n <!-- Personal communications only appear in the bibliography if the reader can retrieve them (CMOS18 14.13, 14.111) -->\n <else-if match="any" type="interview personal_communication"/>\n <!-- In note styles, the bibliography also omits inaccessible manuscripts (CMOS18 14.114), conference papers (new in CMOS18 14.115; included in CMOS17 14.217), and private documents (CMOS18 14.118) -->\n <else-if match="any" type="document manuscript paper-conference speech"/>\n <else>\n <text macro="bibliography-notes"/>\n </else>\n </choose>\n </layout>\n </bibliography>\n</style>\n';
6
+ var chicagoNotesBibliography_default = xml;
7
+
8
+ // src/csl/chicagoAuthorDate.ts
9
+ var xml2 = '<?xml version="1.0" encoding="utf-8"?>\n<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" initialize-with=". " page-range-format="chicago-16" version="1.0">\n <!-- This file was generated by the Style Variant Builder <https://github.com/citation-style-language/style-variant-builder>. To contribute changes, modify the template and regenerate variants. -->\n <info>\n <title>Chicago Manual of Style 18th edition (author-date)</title>\n <title-short>CMOS/CMS with Bluebook (author-date/AD [13.102])</title-short>\n <id>http://www.zotero.org/styles/chicago-author-date</id>\n <link href="http://www.zotero.org/styles/chicago-author-date" rel="self"/>\n <link href="http://www.zotero.org/styles/chicago-notes-bibliography" rel="template"/>\n <link href="https://www.chicagomanualofstyle.org/" rel="documentation"/>\n <link href="https://zotero.org/groups/2205533/collections/5V67EPX3" rel="documentation"/>\n <author>\n <name>Andrew Dunning</name>\n <uri>https://orcid.org/0000-0003-0464-5036</uri>\n </author>\n <category citation-format="author-date"/>\n <category field="anthropology"/>\n <category field="communications"/>\n <category field="generic-base"/>\n <category field="geography"/>\n <category field="history"/>\n <category field="humanities"/>\n <category field="law"/>\n <category field="linguistics"/>\n <category field="literature"/>\n <category field="philosophy"/>\n <category field="political_science"/>\n <category field="science"/>\n <category field="social_science"/>\n <category field="sociology"/>\n <category field="theology"/>\n <summary>Chicago-style source citations (with Bluebook for legal citations), author-date system</summary>\n <updated>2025-02-09T00:00:00+00:00</updated>\n <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>\n </info>\n <locale xml:lang="en">\n <terms>\n <!-- Chicago omits \'by\' from `verb-short` forms; it abbreviates only the most common roles -->\n <term name="advance-online-publication">ahead of print</term>\n <term name="anonymous">unsigned</term>\n <term form="verb-short" name="collection-editor">ed.</term>\n <term form="short" name="collection-number">\n <single>vol.</single>\n <multiple>vols.</multiple>\n </term>\n <term form="verb-short" name="compiler">comp.</term>\n <term form="verb-short" name="editor">ed.</term>\n <term form="short" name="editor-translator">\n <single>ed. and trans.</single>\n <multiple>eds. and trans.</multiple>\n </term>\n <term form="short" name="editortranslator">\n <single>ed. and trans.</single>\n <multiple>eds. and trans.</multiple>\n </term>\n <term form="verb" name="editor-translator">edited and translated by</term>\n <term form="verb" name="editortranslator">edited and translated by</term>\n <term form="verb-short" name="editor-translator">ed. and trans.</term>\n <term form="verb-short" name="editortranslator">ed. and trans.</term>\n <term form="verb-short" name="illustrator">ill.</term>\n <term form="short" name="legislation">Pub. L.</term>\n <term name="manuscript">unpublished manuscript</term>\n <term name="original-work-published">originally published as</term>\n <term form="short" name="paper-conference">paper</term>\n <!-- \'under\' replaces \'s.v.\' from CMOS17 and earlier (CMOS18 14.130) -->\n <term name="sub-verbo">under</term>\n <term form="short" name="sub-verbo">under</term>\n <term name="timestamp">at</term>\n <term form="verb-short" name="translator">trans.</term>\n </terms>\n </locale>\n <locale xml:lang="en-GB">\n <terms>\n <!-- the Bibliography of Additional Resources recommends the New Oxford Style Manual as a British English guide, which the `en-GB` locale follows -->\n <term form="short" name="collection-number">\n <single>vol.</single>\n <multiple>vols</multiple>\n </term>\n <term form="short" name="editor-translator">\n <single>ed. and trans.</single>\n <multiple>eds and trans.</multiple>\n </term>\n <term form="short" name="editortranslator">\n <single>ed. and trans.</single>\n <multiple>eds and trans.</multiple>\n </term>\n <term form="verb-short" name="illustrator">illus.</term>\n </terms>\n </locale>\n <!-- Contents:\n\n This file interprets Chicago using APA\'s four basic reference elements\n (cf. CMOS18 14.2, 14.64, 14.161):\n\n 1. Author (CMOS18 13.74-86)\n 2. Date (author-date system only, CMOS18 13.102)\n 3. Title and descriptions (CMOS18 13.87-101)\n 3.1. Title\n 3.2. Description\n 3.3. Identifiers (edition, contributors, volume)\n 4. Source\n 4.1. Serial sources\n 4.2. Monographic sources\n 4.3. Series\n 4.4. Event\n 4.5. Publisher\n 4.6. Date\n 4.7. Locator (including page references)\n 4.8. Medium\n 4.9. Archival location\n 4.10. URL or persistent identifier\n\n Freeform annotations to bibliography entries:\n\n 5. Notes\n\n Chicago also provides parallel rules for legal references following\n The Bluebook: A Uniform System of Citation (code shared with APA):\n\n 6. Legal references\n -->\n <!-- In this file, macros suffixed `-bib` and `-note` are parallel versions\n of the same features for the bibliography and notes, and all changes\n must be applied to both. They should only contain differences of\n punctuation (periods in bibliography, commas in notes) and capitalization,\n except where the comments indicate structural changes. -->\n <!-- Categories of CSL item types:\n\n Serial\n : article-journal article-magazine article-newspaper periodical post-weblog review review-book\n\n Serial or Monographic\n : interview paper-conference\n\n Monographic with any of `collection-editor compiler editor editorial-director`.\n A serial `paper-conference` is unpublished if it lacks any of `issue page supplement-number volume`.\n\n Monographic\n : article book broadcast chapter classic collection dataset document\n entry entry-dictionary entry-encyclopedia event figure\n graphic manuscript map motion_picture musical_score\n pamphlet patent performance personal_communication post report\n software song speech standard thesis webpage\n\n Legal\n : bill hearing legal_case legislation regulation treaty\n -->\n <!-- Variable labels -->\n <macro name="label-chapter-number">\n <group delimiter=" ">\n <choose>\n <if is-numeric="chapter-number" type="song">\n <text value="track"/>\n </if>\n <else-if is-numeric="chapter-number">\n <label form="short" variable="chapter-number"/>\n </else-if>\n </choose>\n <text variable="chapter-number"/>\n </group>\n </macro>\n <macro name="label-chapter-number-capitalized">\n <group delimiter=" ">\n <choose>\n <if is-numeric="chapter-number" type="song">\n <text text-case="capitalize-first" value="track"/>\n </if>\n <else-if is-numeric="chapter-number">\n <label form="short" text-case="capitalize-first" variable="chapter-number"/>\n </else-if>\n </choose>\n <text text-case="capitalize-first" variable="chapter-number"/>\n </group>\n </macro>\n <macro name="label-collection-number">\n <group delimiter=" ">\n <choose>\n <if is-numeric="collection-number">\n <label form="short" variable="collection-number"/>\n </if>\n </choose>\n <text variable="collection-number"/>\n </group>\n </macro>\n <macro name="label-edition">\n <group delimiter=" ">\n <choose>\n <if is-numeric="edition">\n <number form="ordinal" variable="edition"/>\n <label form="short" variable="edition"/>\n </if>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types: full label (CMOS18 14.89) -->\n <text variable="edition"/>\n <label variable="edition"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text variable="edition"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text variable="edition"/>\n <label variable="edition"/>\n </else-if>\n <else>\n <!-- monographic types -->\n <text variable="edition"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="label-edition-capitalized">\n <group delimiter=" ">\n <choose>\n <if is-numeric="edition">\n <number form="ordinal" variable="edition"/>\n <label form="short" variable="edition"/>\n </if>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types: full label (CMOS18 14.89) -->\n <text text-case="title" variable="edition"/>\n <label text-case="capitalize-first" variable="edition"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text text-case="capitalize-first" variable="edition"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text text-case="title" variable="edition"/>\n <label text-case="capitalize-first" variable="edition"/>\n </else-if>\n <else>\n <!-- monographic types -->\n <text text-case="capitalize-first" variable="edition"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="label-issue">\n <group delimiter=" ">\n <label form="short" variable="issue"/>\n <text variable="issue"/>\n </group>\n </macro>\n <macro name="label-locator">\n <group delimiter=" ">\n <choose>\n <if locator="page"/>\n <else-if match="any" type="bill hearing legal_case legislation regulation treaty">\n <!-- Bluebook-style labels for legal types (CMOS18 14.174) -->\n <choose>\n <if locator="chapter paragraph section" match="any">\n <label form="symbol" variable="locator"/>\n </if>\n <else>\n <label form="short" variable="locator"/>\n </else>\n </choose>\n </else-if>\n <else-if is-numeric="locator" locator="line">\n <label variable="locator"/>\n </else-if>\n <else-if is-numeric="locator">\n <label form="short" variable="locator"/>\n </else-if>\n <else-if locator="chapter line verse" match="any"/>\n <!-- a non-numeric canonical reference is identified by its formatting and does not need a label (CMOS18 14.143-54) -->\n <else>\n <label form="short" variable="locator"/>\n </else>\n </choose>\n <text variable="locator"/>\n </group>\n </macro>\n <macro name="label-locator-all">\n <group delimiter=" ">\n <label form="short" variable="locator"/>\n <text variable="locator"/>\n </group>\n </macro>\n <macro name="label-number-capitalized">\n <group delimiter=" ">\n <choose>\n <if type="standard"/>\n <else-if is-numeric="number" match="any" type="legislation regulation">\n <label form="short" text-case="capitalize-first" variable="number"/>\n </else-if>\n </choose>\n <text text-case="capitalize-first" variable="number"/>\n </group>\n </macro>\n <macro name="label-number-of-volumes">\n <group delimiter=" ">\n <text variable="number-of-volumes"/>\n <choose>\n <if is-numeric="number-of-volumes">\n <label form="short" variable="number-of-volumes"/>\n </if>\n </choose>\n </group>\n </macro>\n <macro name="label-page">\n <group delimiter=" ">\n <label form="short" variable="page"/>\n <text variable="page"/>\n </group>\n </macro>\n <macro name="label-part-number">\n <group delimiter=" ">\n <choose>\n <if is-numeric="part-number">\n <!-- TODO: Replace with `part-number` label when CSL provides one -->\n <text form="short" term="part"/>\n </if>\n </choose>\n <text variable="part-number"/>\n </group>\n </macro>\n <macro name="label-part-number-capitalized">\n <group delimiter=" ">\n <choose>\n <if is-numeric="part-number">\n <!-- TODO: Replace with `part-number` label when CSL provides one -->\n <text form="short" term="part" text-case="capitalize-first"/>\n </if>\n </choose>\n <text text-case="capitalize-first" variable="part-number"/>\n </group>\n </macro>\n <macro name="label-section-capitalized">\n <group delimiter=" ">\n <choose>\n <if is-numeric="section">\n <label form="short" text-case="capitalize-first" variable="section"/>\n </if>\n </choose>\n <text text-case="title" variable="section"/>\n </group>\n </macro>\n <macro name="label-section-symbol">\n <group delimiter=" ">\n <label form="symbol" variable="section"/>\n <text variable="section"/>\n </group>\n </macro>\n <macro name="label-supplement-number">\n <group delimiter=" ">\n <choose>\n <!-- TODO: Replace with `supplement-number` label when CSL provides one -->\n <if variable="issue supplement-number">\n <!-- if there is both an issue and supplement number, do not label both as \'no.\' -->\n <text form="short" term="supplement"/>\n </if>\n <else-if is-numeric="supplement-number" variable="volume-title">\n <!-- if there is a volume title, it is already described as a supplement -->\n <text form="short" term="issue"/>\n </else-if>\n <else-if is-numeric="supplement-number" type="periodical" variable="title">\n <text form="short" term="issue"/>\n </else-if>\n <else-if is-numeric="supplement-number">\n <text form="short" term="supplement"/>\n </else-if>\n </choose>\n <text variable="supplement-number"/>\n </group>\n </macro>\n <macro name="label-version">\n <group delimiter=" ">\n <choose>\n <if type="software">\n <!-- short version label for software (CMOS18 14.169) -->\n <label form="short" variable="version"/>\n </if>\n <else>\n <label variable="version"/>\n </else>\n </choose>\n <text variable="version"/>\n </group>\n </macro>\n <macro name="label-version-capitalized">\n <group delimiter=" ">\n <choose>\n <if type="software">\n <!-- short version label for software (CMOS18 14.169) -->\n <label form="short" text-case="capitalize-first" variable="version"/>\n </if>\n <else>\n <label text-case="capitalize-first" variable="version"/>\n </else>\n </choose>\n <text variable="version"/>\n </group>\n </macro>\n <macro name="label-volume">\n <group delimiter=" ">\n <choose>\n <if is-numeric="volume">\n <label form="short" variable="volume"/>\n </if>\n </choose>\n <text variable="volume"/>\n </group>\n </macro>\n <macro name="label-volume-capitalized">\n <group delimiter=" ">\n <choose>\n <if is-numeric="volume">\n <label form="short" text-case="capitalize-first" variable="volume"/>\n </if>\n </choose>\n <text text-case="capitalize-first" variable="volume"/>\n </group>\n </macro>\n <!-- 1. Author (CMOS18 13.74-86) -->\n <macro name="author-bib">\n <names variable="composer">\n <name and="text" delimiter-precedes-last="always" initialize="false" name-as-sort-order="first"/>\n <label form="short" prefix=", "/>\n <substitute>\n <names variable="author"/>\n <!-- cf. `interview` model (CMOS18 14.110); if it is desired to prioritize `host` over `guest`, the latter could be encoded as a `contributor` -->\n <names variable="guest"/>\n <names variable="host"/>\n <choose>\n <if type="song">\n <names variable="performer"/>\n </if>\n </choose>\n <choose>\n <if type="classic">\n <!-- contributors fall after the title of `classic` (CMOS18 14.147) -->\n <text macro="author-title-substitute-bib"/>\n </if>\n <else-if type="entry-dictionary" variable="container-title">\n <!-- contributors fall after the title of unsigned reference entries (CMOS18 14.130) -->\n <text macro="author-title-substitute-container"/>\n </else-if>\n <else-if type="entry-encyclopedia" variable="container-title">\n <text macro="author-title-substitute-container"/>\n </else-if>\n </choose>\n <names variable="illustrator"/>\n <choose>\n <if match="none" type="standard">\n <names variable="editor-translator"/>\n <names variable="editor"/>\n <names variable="translator"/>\n <names variable="collection-editor"/>\n </if>\n </choose>\n <names variable="director"/>\n <choose>\n <!-- serial `broadcast` prioritizes title (CMOS18 14.165, 14.168) -->\n <if type="broadcast" variable="container-title number title"/>\n <else>\n <names variable="producer"/>\n <names variable="executive-producer"/>\n <names variable="series-creator"/>\n <choose>\n <if type="broadcast">\n <names variable="contributor"/>\n </if>\n </choose>\n </else>\n </choose>\n <names variable="editorial-director"/>\n <names variable="compiler"/>\n <choose>\n <if match="any" type="event performance speech">\n <names variable="chair"/>\n <names variable="organizer"/>\n </if>\n </choose>\n <names variable="curator"/>\n <choose>\n <if match="any" type="software webpage">\n <!-- `software` listed under the name of the publisher or developer (CMOS18 14.169); `webpage` listed under a site owner or sponsor (CMOS18 14.104) -->\n <text variable="publisher"/>\n </if>\n <else-if type="standard">\n <!-- `standard` listed in bibliography under organization, but note omits this (CMOS18 14.159) -->\n <text variable="authority"/>\n </else-if>\n </choose>\n <text macro="author-title-substitute-container"/>\n <text macro="author-title-substitute-bib"/>\n <choose>\n <if match="any" variable="container-title event-date event-place event-title genre title publisher publisher-place"/>\n <else-if type="manuscript">\n <text macro="source-archive-bib"/>\n </else-if>\n </choose>\n </substitute>\n </names>\n </macro>\n <macro name="author-inline">\n <choose>\n <if match="any" type="bill hearing legal_case legislation regulation treaty">\n <text macro="title-and-descriptions-short"/>\n </if>\n <else-if match="any" type="interview personal_communication">\n <text macro="author-inline-and-recipient"/>\n </else-if>\n <else>\n <names variable="composer">\n <name and="text" form="short" initialize="true"/>\n <substitute>\n <names variable="author"/>\n <names variable="guest"/>\n <names variable="host"/>\n <choose>\n <if type="song">\n <names variable="performer"/>\n </if>\n </choose>\n <choose>\n <if match="any" type="classic performance">\n <!-- contributors fall after the title of `classic` (CMOS18 14.147), `performance` (CMOS18 14.166) -->\n <text macro="author-title-substitute-short"/>\n </if>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <!-- contributors fall after the title of unsigned reference entries (CMOS18 14.130) -->\n <text macro="author-title-substitute-container-short"/>\n </else-if>\n </choose>\n <names variable="illustrator"/>\n <choose>\n <if match="none" type="standard">\n <names variable="editor-translator"/>\n <names variable="editor"/>\n <names variable="translator"/>\n <names variable="collection-editor"/>\n </if>\n </choose>\n <choose>\n <if type="broadcast" variable="container-title number title"/>\n <else>\n <names variable="director"/>\n <names variable="producer"/>\n <names variable="executive-producer"/>\n <names variable="series-creator"/>\n <choose>\n <if type="broadcast">\n <names variable="contributor"/>\n </if>\n </choose>\n </else>\n </choose>\n <names variable="editorial-director"/>\n <names variable="compiler"/>\n <choose>\n <if match="any" type="event performance speech">\n <names variable="chair"/>\n <names variable="organizer"/>\n </if>\n </choose>\n <names variable="curator"/>\n <choose>\n <if match="any" type="software webpage">\n <!-- `software` listed under the name of the publisher or developer (CMOS18 14.169); `webpage` listed under a site owner or sponsor (CMOS18 14.104) -->\n <text form="short" variable="publisher"/>\n </if>\n <else-if type="standard">\n <!-- `standard` listed in bibliography under organization, but note omits this (CMOS18 14.159) -->\n <text form="short" variable="authority"/>\n </else-if>\n </choose>\n <text macro="author-title-substitute-container-short"/>\n <text macro="author-title-substitute-short"/>\n <choose>\n <if match="any" variable="container-title event-date event-place event-title genre title publisher publisher-place"/>\n <else-if type="manuscript">\n <text macro="source-archive-note"/>\n </else-if>\n </choose>\n </substitute>\n </names>\n </else>\n </choose>\n </macro>\n <macro name="author-sort">\n <choose>\n <if match="any" type="bill hearing legal_case legislation regulation treaty">\n <text macro="legal-title"/>\n </if>\n <else>\n <text macro="author-bib"/>\n </else>\n </choose>\n </macro>\n <!-- Author elements -->\n <macro name="author-inline-and-recipient">\n <!-- identical to `author-short-and-recipient` but with initialization -->\n <group delimiter=" ">\n <choose>\n <!-- inaccessible `interview` or `personal_commmunication`: in-text citation (CMOS18 14.111) -->\n <if match="none" variable="archive archive-place container-title DOI number publisher references URL">\n <choose>\n <if position="first">\n <!-- do not shorten at first reference as there is no bibliography entry -->\n <names variable="author">\n <name and="text" initialize="false"/>\n <!-- never initialize -->\n <substitute>\n <text macro="title-and-descriptions-short"/>\n </substitute>\n </names>\n </if>\n <else>\n <names variable="author">\n <name and="text" form="short" initialize="true"/>\n <substitute>\n <text macro="title-and-descriptions-short"/>\n </substitute>\n </names>\n </else>\n </choose>\n <choose>\n <if variable="genre"/>\n <!-- recipient appears in the description if there is a `genre`; otherwise after `author` -->\n <else-if position="first">\n <names variable="recipient">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </else-if>\n <else>\n <names variable="recipient">\n <label form="verb" suffix=" "/>\n <name and="text" form="short" initialize="true"/>\n </names>\n </else>\n </choose>\n </if>\n <!-- accessible `interview` or `personal_communication`: standard citation -->\n <else-if variable="author recipient">\n <names variable="author">\n <name and="text" form="short" initialize="true"/>\n </names>\n <choose>\n <if match="none" variable="genre">\n <names variable="recipient">\n <label form="verb" suffix=" "/>\n <name and="text" form="short" initialize="true"/>\n </names>\n </if>\n </choose>\n </else-if>\n <else>\n <names variable="author">\n <name and="text" form="short" initialize="true"/>\n <substitute>\n <text macro="title-and-descriptions-short"/>\n </substitute>\n </names>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="author-title-substitute-bib">\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- If a review has no `reviewed-genre` or `reviewed-title`, assume that `title` contains the title of the reviewed work; the description provides it. -->\n <choose>\n <if variable="reviewed-genre title">\n <text macro="title-bib"/>\n </if>\n <else-if variable="reviewed-genre reviewed-title title">\n <text macro="title-bib"/>\n </else-if>\n <else>\n <text macro="title-and-descriptions-bib"/>\n </else>\n </choose>\n </if>\n <else-if variable="title">\n <text macro="title-bib"/>\n </else-if>\n <else>\n <!-- If an item has no `title`, substitute with descriptions. -->\n <text macro="title-and-descriptions-bib"/>\n </else>\n </choose>\n </macro>\n <macro name="author-title-substitute-short">\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- If a review has no `reviewed-genre` or `reviewed-title`, assume that `title` contains the title of the reviewed work; the description provides it. -->\n <choose>\n <if variable="reviewed-genre title">\n <text macro="title-short"/>\n </if>\n <else-if variable="reviewed-genre reviewed-title title">\n <text macro="title-short"/>\n </else-if>\n <else>\n <text macro="title-and-descriptions-short"/>\n </else>\n </choose>\n </if>\n <else-if variable="title">\n <text macro="title-short"/>\n </else-if>\n <else>\n <!-- If an item has no `title`, substitute with descriptions and capitalize -->\n <text macro="title-and-descriptions-bib"/>\n </else>\n </choose>\n </macro>\n <macro name="author-title-substitute-container">\n <choose>\n <!-- no Chicago model for citing an anonymous article with an issue title in `volume-title` -->\n <if variable="volume-title"/>\n <else-if match="any" type="article-magazine article-newspaper">\n <!-- Anonymous magazine and newspaper articles substitute name of publication (CMOS18 14.87, 14.97) -->\n <text macro="source-serial-name"/>\n </else-if>\n <else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- Publication name also substituted for unsigned reviews (CMOS18 14.102) -->\n <text macro="source-serial-name"/>\n </else-if>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <!-- Anonymous entries in reference works (CMOS18 14.130) -->\n <text font-style="italic" text-case="title" variable="container-title"/>\n </else-if>\n <else-if type="broadcast">\n <!-- TV broadcasts and podcasts (CMOS18 14.165, 14.168) -->\n <text font-style="italic" text-case="title" variable="container-title"/>\n </else-if>\n <else-if type="webpage">\n <!-- list a webpage under the website title if there is no owner or sponsor (CMOS18 14.104) -->\n <choose>\n <if variable="container-title-short">\n <text text-case="title" variable="container-title-short"/>\n </if>\n <else>\n <text text-case="title" variable="container-title"/>\n </else>\n </choose>\n </else-if>\n </choose>\n </macro>\n <macro name="author-title-substitute-container-short">\n <choose>\n <if match="any" type="article-magazine article-newspaper">\n <!-- Anonymous magazine/newspaper articles substitute name of publication (CMOS18 14.87, 14.97) -->\n <text font-style="italic" text-case="title" variable="container-title"/>\n </if>\n <else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- Publication name also substituted for unsigned reviews (CMOS18 14.102) -->\n <text font-style="italic" text-case="title" variable="container-title"/>\n </else-if>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <!-- Anonymous entries in reference works (CMOS18 14.130) -->\n <text font-style="italic" form="short" text-case="title" variable="container-title"/>\n </else-if>\n <else-if type="broadcast">\n <!-- TV broadcasts and podcasts (CMOS18 14.165, 14.168) -->\n <text font-style="italic" form="short" text-case="title" variable="container-title"/>\n </else-if>\n <else-if type="webpage">\n <!-- list a webpage under the website title if there is no owner or sponsor (CMOS18 14.104) -->\n <text form="short" text-case="title" variable="container-title"/>\n </else-if>\n </choose>\n </macro>\n <!-- 2. Date (CMOS18 13.102) -->\n <macro name="date">\n <group delimiter="-">\n <choose>\n <if variable="issued">\n <group delimiter=" ">\n <!-- reprints and earlier editions may give original year in brackets (CMOS18 14.16) -->\n <text macro="date-original-year" prefix="(" suffix=")"/>\n <group>\n <text macro="date-issued-year"/>\n <text variable="year-suffix"/>\n </group>\n </group>\n </if>\n <else-if variable="event-date">\n <text macro="date-event-year"/>\n </else-if>\n <else-if variable="available-date">\n <date date-parts="year" form="numeric" variable="available-date"/>\n </else-if>\n <else-if variable="status">\n <!-- Print the status variable rather than use generic CSL terms (`in press`, etc.) -->\n <text text-case="capitalize-first" variable="status"/>\n <text variable="year-suffix"/>\n </else-if>\n <else-if type="collection">\n <!-- do not give n.d. for archival collections (CMOS18 14.128) -->\n <text variable="year-suffix"/>\n </else-if>\n <else-if type="manuscript">\n <!-- do not give n.d. with a bare shelfmark -->\n <choose>\n <if match="any" variable="container-title event-date event-place event-title genre title publisher publisher-place">\n <text form="short" term="no date"/>\n <text variable="year-suffix"/>\n </if>\n </choose>\n </else-if>\n <else>\n <text form="short" term="no date"/>\n <text variable="year-suffix"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="date-short">\n <group delimiter="-">\n <choose>\n <if variable="issued">\n <group delimiter=" ">\n <choose>\n <if is-uncertain-date="original-date">\n <!-- Uncertain date already has square brackets -->\n <text macro="date-original-year"/>\n </if>\n <else>\n <text macro="date-original-year" prefix="[" suffix="]"/>\n </else>\n </choose>\n <group>\n <choose>\n <if match="none" type="interview personal_communication">\n <text macro="date-issued-year"/>\n </if>\n <!-- accessible `interview` or `personal_communication` items appear in the bibliography; inaccessible items are in-text only -->\n <else-if match="any" variable="archive archive-place container-title DOI number publisher references URL">\n <text macro="date-issued-year"/>\n </else-if>\n <else>\n <text macro="date-issued-full"/>\n </else>\n </choose>\n <text variable="year-suffix"/>\n </group>\n </group>\n </if>\n <else-if variable="event-date">\n <text macro="date-event-year"/>\n </else-if>\n <else-if variable="available-date">\n <date date-parts="year" form="numeric" variable="available-date"/>\n </else-if>\n <else-if variable="status">\n <!-- Print the status variable rather than use generic CSL terms (`in press`, etc.) -->\n <text text-case="lowercase" variable="status"/>\n <text variable="year-suffix"/>\n </else-if>\n <else-if match="any" type="interview personal_communication">\n <choose>\n <if match="any" variable="archive archive-place container-title DOI number publisher references URL">\n <!-- only give n.d. for accessible personal communication (CMOS18 14.111)-->\n <text form="short" term="no date"/>\n <text variable="year-suffix"/>\n </if>\n </choose>\n </else-if>\n <else-if match="any" type="classic collection entry entry-dictionary entry-encyclopedia">\n <!-- do not give n.d. for archival collections (CMOS18 14.128), `classic` (CMOS18 14.143), or reference entries (CMOS18 14.131) -->\n <text variable="year-suffix"/>\n </else-if>\n <else-if type="manuscript">\n <!-- do not give n.d. with a bare shelfmark -->\n <choose>\n <if match="any" variable="container-title event-date event-place event-title genre title publisher publisher-place">\n <text form="short" term="no date"/>\n <text variable="year-suffix"/>\n </if>\n </choose>\n </else-if>\n <else>\n <text form="short" term="no date"/>\n <text variable="year-suffix"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="date-sort-group">\n <!-- Sort items with and without dates (CMOS18 14.44):\n\n 1. items with dates (= 0)\n 2. `no date` items (= 1)\n 3. items with `status` (forthcoming, in press, etc.) (= 2) -->\n <choose>\n <if variable="issued">\n <text value="0"/>\n </if>\n <else-if variable="status">\n <text value="2"/>\n </else-if>\n <else>\n <!-- n.d. -->\n <text value="1"/>\n </else>\n </choose>\n </macro>\n <macro name="date-sort-year">\n <!-- while reference lists are to be sorted chronologically (CMOS18 13.112), it appears that only the year is to be taken into account (CMOS18 13.114) -->\n <choose>\n <if type="personal_communication" variable="event-date issued">\n <date date-parts="year" form="numeric" variable="event-date"/>\n </if>\n <else>\n <text macro="date-issued-year"/>\n </else>\n </choose>\n </macro>\n <!-- Date elements -->\n <macro name="date-event-full">\n <choose>\n <if is-uncertain-date="issued">\n <!-- guessed-at date (CMOS18 14.44) -->\n <date form="text" prefix="[" suffix="?]" variable="event-date"/>\n </if>\n <else>\n <date form="text" variable="event-date"/>\n </else>\n </choose>\n </macro>\n <macro name="date-event-year">\n <choose>\n <if is-uncertain-date="issued">\n <!-- guessed-at date (CMOS18 14.44) -->\n <date date-parts="year" form="numeric" prefix="[" suffix="?]" variable="event-date"/>\n </if>\n <else>\n <date date-parts="year" form="numeric" variable="event-date"/>\n </else>\n </choose>\n </macro>\n <macro name="date-issued-full">\n <choose>\n <if is-uncertain-date="issued">\n <!-- guessed-at date (CMOS18 14.44) -->\n <date form="text" prefix="[" suffix="?]" variable="issued"/>\n </if>\n <else>\n <date form="text" variable="issued"/>\n </else>\n </choose>\n </macro>\n <macro name="date-issued-month">\n <date variable="issued">\n <date-part name="month"/>\n </date>\n </macro>\n <macro name="date-issued-month-day">\n <date variable="issued">\n <date-part name="month"/>\n <date-part name="day" prefix=" "/>\n </date>\n </macro>\n <macro name="date-issued-year">\n <choose>\n <if is-uncertain-date="issued">\n <!-- guessed-at date (CMOS18 14.44) -->\n <date date-parts="year" form="numeric" prefix="[" suffix="?]" variable="issued"/>\n </if>\n <else>\n <date date-parts="year" form="numeric" variable="issued"/>\n </else>\n </choose>\n </macro>\n <macro name="date-original-month">\n <date variable="original-date">\n <date-part name="month"/>\n </date>\n </macro>\n <macro name="date-original-month-day">\n <date variable="original-date">\n <date-part name="month"/>\n <date-part name="day" prefix=" "/>\n </date>\n </macro>\n <macro name="date-original-year">\n <choose>\n <if is-uncertain-date="original-date">\n <date date-parts="year" form="numeric" prefix="[" suffix="?]" variable="original-date"/>\n </if>\n <else>\n <date date-parts="year" form="numeric" variable="original-date"/>\n </else>\n </choose>\n </macro>\n <!-- 3. Title and descriptions (CMOS18 13.87-101) -->\n <macro name="title-and-descriptions-bib">\n <group delimiter=". ">\n <choose>\n <if variable="title">\n <text macro="title-bib"/>\n <text macro="description-bib"/>\n <text macro="identifier-bib"/>\n </if>\n <else-if match="any" type="bill report">\n <!-- Bills, resolutions, and congressional reports substitute bill number if no title -->\n <!-- Congressional reports are indistinguishable from other reports -->\n <text macro="identifier-number-bib"/>\n <text macro="identifier-bib"/>\n <text macro="description-bib"/>\n </else-if>\n <else>\n <text macro="description-bib"/>\n <text macro="identifier-bib"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="title-and-descriptions-short">\n <choose>\n <if variable="title">\n <text macro="title-short"/>\n </if>\n <else-if match="any" type="bill report">\n <!-- Bills, resolutions, and congressional reports substitute bill number if no title -->\n <text macro="legal-identifier-bill-report"/>\n </else-if>\n <else>\n <text macro="description-short"/>\n </else>\n </choose>\n </macro>\n <macro name="title-and-source-bib">\n <group delimiter=". ">\n <choose>\n <if type="broadcast" variable="container-title number title">\n <!-- Bespoke `broadcast` format (CMOS18 14.165, 14.168) -->\n <text macro="source-monographic-title-specific-title-first"/>\n <group delimiter=", ">\n <text macro="identifier-number-bib"/>\n <text macro="title-bib"/>\n <text macro="description-bib"/>\n <text macro="source-monographic-identifier-contributors-bib"/>\n </group>\n <text macro="source-monographic-identifier-contributors-bib-container-author"/>\n <text macro="source-series-bib"/>\n <choose>\n <!-- show event information here only if not collapsed with `issued` (CMOS18 14.167) -->\n <if match="any" variable="event-date original-date original-publisher original-publisher-place publisher status">\n <text macro="source-event-bib"/>\n </if>\n </choose>\n </if>\n <else-if type="chapter" variable="container-title genre">\n <!-- \'introduction to\', \'online appendix to\' (CMOS18 14.12, 14.14) -->\n <group delimiter=" ">\n <text macro="title-and-descriptions-bib"/>\n <text macro="source-bib"/>\n </group>\n </else-if>\n <else-if type="article-journal" variable="container-title genre volume-title">\n <!-- introduction to a special issue or supplement -->\n <group delimiter=" ">\n <text macro="title-and-descriptions-bib"/>\n <text macro="source-bib"/>\n </group>\n </else-if>\n <else>\n <text macro="title-and-descriptions-bib"/>\n <text macro="source-bib"/>\n </else>\n </choose>\n <group delimiter=", ">\n <choose>\n <!-- show event information here only if collapsed with `issued` (CMOS18 14.167) -->\n <if match="any" variable="event-date original-date original-publisher original-publisher-place publisher status"/>\n <!-- omit serial types -->\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book"/>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="source-event-bib"/>\n </else-if>\n <!-- omit serial types -->\n <else-if match="any" type="interview paper-conference"/>\n <else>\n <!-- monographic types -->\n <text macro="source-event-bib"/>\n </else>\n </choose>\n <text macro="source-monographic-publication-bib"/>\n </group>\n <text macro="source-medium-bib"/>\n <text macro="source-archive-bib"/>\n <text macro="source-date-accessed-DOI-URL-bib"/>\n </group>\n </macro>\n <!-- 3.1. Title -->\n <macro name="title-bib">\n <choose>\n <if match="any" type="post webpage">\n <!-- part number/title always at the analytic level -->\n <text macro="title-and-part-filter-review-bib"/>\n </if>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text macro="title-and-part-filter-review-bib"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="title-monographic-bib-specific-title-first"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text macro="title-and-part-filter-review-bib"/>\n </else-if>\n <else>\n <text macro="title-monographic-bib-specific-title-first"/>\n </else>\n </choose>\n </macro>\n <macro name="title-short">\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- If a review has no `reviewed-title`, assume that `title` contains the title of the reviewed work; the description provides it. -->\n <choose>\n <if variable="reviewed-genre title">\n <!-- Quotes, title case -->\n <text form="short" quotes="true" text-case="title" variable="title"/>\n </if>\n <else-if variable="reviewed-genre reviewed-title title">\n <!-- Quotes, title case -->\n <text form="short" quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else>\n <text macro="description-short"/>\n </else>\n </choose>\n </if>\n <else>\n <text macro="title-primary-short"/>\n </else>\n </choose>\n </macro>\n <!-- Title elements -->\n <macro name="title-and-part-filter-review-bib">\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- `title` is only the review title if there is a separate `reviewed-genre` or `reviewed-title`; otherwise, it is the title of the reviewed work, printed in the description -->\n <choose>\n <if match="any" variable="reviewed-genre reviewed-title">\n <text macro="title-and-part-title-bib"/>\n </if>\n </choose>\n </if>\n <else>\n <text macro="title-and-part-title-bib"/>\n </else>\n </choose>\n </macro>\n <macro name="title-and-part-title-bib">\n <group delimiter=". ">\n <text macro="title-primary"/>\n <group delimiter=", ">\n <text macro="label-part-number-capitalized"/>\n <text macro="title-part"/>\n </group>\n </group>\n </macro>\n <macro name="title-monographic-bib-specific-title-first">\n <!-- Use with author-date or notes and bibliography leading with volume title (CMOS18 14.21). -->\n <!-- For monographic items, assume `part-number` and `part-title` refer to the book/volume. -->\n <choose>\n <if variable="container-title">\n <text macro="title-primary"/>\n </if>\n <!-- For monographic items without `container-title`, bibliography entries list `part-title` or `volume-title` first if available -->\n <else-if variable="part-title">\n <text macro="title-part"/>\n </else-if>\n <else-if variable="volume-title">\n <text macro="title-volume"/>\n </else-if>\n <else>\n <text macro="title-primary"/>\n </else>\n </choose>\n </macro>\n <macro name="title-part">\n <choose>\n <if type="patent">\n <!-- No italics or quotes, sentence case -->\n <text form="short" text-case="capitalize-first" variable="part-title"/>\n </if>\n <else-if match="any" type="bill collection legislation regulation treaty">\n <!-- No italics or quotes, title case -->\n <text text-case="title" variable="part-title"/>\n </else-if>\n <else-if type="legal_case">\n <!-- Italicized, sentence case -->\n <text font-style="italic" variable="part-title"/>\n </else-if>\n <else-if match="any" type="book classic graphic hearing map">\n <!-- Italicized, title case (regardless of `container-title`) -->\n <text font-style="italic" text-case="title" variable="part-title"/>\n </else-if>\n <else-if type="entry-encyclopedia" variable="author container-title">\n <!-- Signed encyclopedia entry in quotes, title case (CMOS18 14.132) -->\n <text quotes="true" text-case="title" variable="part-title"/>\n </else-if>\n <else-if type="entry-dictionary" variable="container-title">\n <!-- Quotes, sentence case -->\n <text quotes="true" variable="part-title"/>\n </else-if>\n <else-if type="entry-encyclopedia" variable="container-title">\n <!-- Quotes, sentence case -->\n <text quotes="true" variable="part-title"/>\n </else-if>\n <else-if type="post">\n <!-- Quotes, sentence case -->\n <text quotes="true" variable="part-title"/>\n </else-if>\n <else-if type="webpage">\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="part-title"/>\n </else-if>\n <!-- Other types are formatted based on presence of `container-title` -->\n <else-if variable="container-title">\n <choose>\n <if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="part-title"/>\n </if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <!-- Italics, title case -->\n <text font-style="italic" text-case="title" variable="part-title"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="part-title"/>\n </else-if>\n <else>\n <!-- monographic types -->\n <!-- Italics, title case -->\n <text font-style="italic" text-case="title" variable="part-title"/>\n </else>\n </choose>\n </else-if>\n <else-if match="any" type="article dataset document interview manuscript paper-conference personal_communication speech thesis webpage">\n <!-- Container-like but not necessarily with `container-title` -->\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="part-title"/>\n </else-if>\n <else>\n <!-- Italicized, title case (default) -->\n <text font-style="italic" text-case="title" variable="part-title"/>\n </else>\n </choose>\n </macro>\n <macro name="title-primary">\n <choose>\n <if type="patent">\n <!-- No italics or quotes, sentence case -->\n <text form="short" text-case="capitalize-first" variable="title"/>\n </if>\n <else-if match="any" type="bill collection legislation regulation treaty">\n <!-- No italics or quotes, title case -->\n <text text-case="title" variable="title"/>\n </else-if>\n <else-if type="legal_case">\n <!-- Italicized, sentence case -->\n <text font-style="italic" variable="title"/>\n </else-if>\n <else-if match="any" type="book classic graphic hearing map">\n <!-- Italicized, title case (regardless of `container-title`) -->\n <text font-style="italic" text-case="title" variable="title"/>\n </else-if>\n <else-if type="entry-encyclopedia" variable="author container-title">\n <!-- Signed encyclopedia entry in quotes, title case (CMOS18 14.132) -->\n <text quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else-if type="entry-dictionary" variable="container-title">\n <!-- Quotes, sentence case -->\n <text quotes="true" variable="title"/>\n </else-if>\n <else-if type="entry-encyclopedia" variable="container-title">\n <!-- Quotes, sentence case -->\n <text quotes="true" variable="title"/>\n </else-if>\n <else-if type="post">\n <!-- Quotes, sentence case -->\n <text quotes="true" variable="title"/>\n </else-if>\n <!-- Other types are formatted based on presence of `container-title` -->\n <else-if variable="container-title">\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else-if match="any" type="article dataset document interview manuscript paper-conference personal_communication speech thesis webpage">\n <!-- Container-like but not necessarily with `container-title` -->\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else>\n <!-- Italicized, title case (default) -->\n <text font-style="italic" text-case="title" variable="title"/>\n </else>\n </choose>\n </macro>\n <macro name="title-primary-short">\n <choose>\n <if type="patent">\n <!-- No italics or quotes, sentence case -->\n <text form="short" text-case="capitalize-first" variable="title"/>\n </if>\n <else-if match="any" type="bill collection legislation regulation treaty">\n <!-- No italics or quotes, title case -->\n <text form="short" text-case="title" variable="title"/>\n </else-if>\n <else-if type="legal_case">\n <!-- Italicized, sentence case -->\n <text font-style="italic" form="short" variable="title"/>\n </else-if>\n <else-if match="any" type="book classic graphic hearing map">\n <!-- Italicized, title case (regardless of `container-title`) -->\n <text font-style="italic" form="short" text-case="title" variable="title"/>\n </else-if>\n <else-if type="entry-encyclopedia" variable="author container-title">\n <!-- Signed encyclopedia entry in quotes, title case (CMOS18 14.132) -->\n <text form="short" quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else-if type="entry-dictionary" variable="container-title">\n <!-- Quotes, sentence case -->\n <text form="short" quotes="true" variable="title"/>\n </else-if>\n <else-if type="entry-encyclopedia" variable="container-title">\n <!-- Quotes, sentence case -->\n <text form="short" quotes="true" variable="title"/>\n </else-if>\n <else-if type="post">\n <!-- Quotes, sentence case -->\n <text form="short" quotes="true" variable="title"/>\n </else-if>\n <!-- Other types are formatted based on presence of `container-title` -->\n <else-if variable="container-title">\n <!-- Quotes, title case -->\n <text form="short" quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else-if match="any" type="article dataset document interview manuscript paper-conference personal_communication speech thesis webpage">\n <!-- Container-like but not necessarily with `container-title` -->\n <!-- Quotes, title case -->\n <text form="short" quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else>\n <!-- Italicized, title case (default) -->\n <text font-style="italic" form="short" text-case="title" variable="title"/>\n </else>\n </choose>\n </macro>\n <macro name="title-volume">\n <choose>\n <if type="manuscript">\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="volume-title"/>\n </if>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="volume-title"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <!-- Italics, title case -->\n <text font-style="italic" text-case="title" variable="volume-title"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="volume-title"/>\n </else-if>\n <else>\n <!-- monographic types -->\n <!-- Italics, title case -->\n <text font-style="italic" text-case="title" variable="volume-title"/>\n </else>\n </choose>\n </macro>\n <!-- 3.2. Description -->\n <macro name="description-bib">\n <choose>\n <if match="any" type="interview" variable="interviewer">\n <text macro="description-interview-bib"/>\n </if>\n <else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <text macro="description-review-bib"/>\n </else-if>\n <else-if type="personal_communication">\n <text macro="description-letter-bib"/>\n </else-if>\n <else-if type="song" variable="composer">\n <text macro="description-song-bib"/>\n </else-if>\n <!-- thesis type appears with university name (CMOS18 14.113) -->\n <else-if type="thesis"/>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text macro="description-serial-bib"/>\n </else-if>\n <else-if type="paper-conference">\n <text macro="description-paper-conference-bib"/>\n </else-if>\n <else-if match="none" variable="container-title">\n <text macro="description-format-bib"/>\n </else-if>\n <!-- For conference presentations/performances/events, chapters in reports/standards/generic documents, software, place description within the source element -->\n <else-if match="any" type="document report software standard"/>\n <else-if match="any" type="event paper-conference performance speech">\n <choose>\n <if match="any" variable="collection-editor compiler editor editorial-director issue page supplement-number volume">\n <text macro="description-format-bib"/>\n </if>\n </choose>\n </else-if>\n <else>\n <text macro="description-format-bib"/>\n </else>\n </choose>\n </macro>\n <macro name="description-short">\n <choose>\n <if match="any" type="interview" variable="interviewer">\n <choose>\n <if match="any" variable="archive archive-place container-title DOI number publisher references URL">\n <text macro="description-interview-short"/>\n </if>\n <else>\n <!-- for an inaccessible `interview`, give a full in-text description at the first citation -->\n <choose>\n <if position="first">\n <text macro="description-interview-note"/>\n </if>\n <else>\n <text macro="description-interview-short"/>\n </else>\n </choose>\n </else>\n </choose>\n </if>\n <else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <text macro="description-review-short"/>\n </else-if>\n <else-if type="personal_communication">\n <text macro="description-letter-short"/>\n </else-if>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text macro="description-serial-short"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="description-format-short"/>\n </else-if>\n <else-if type="paper-conference">\n <!-- serial `paper-conference` -->\n <text macro="description-serial-short"/>\n </else-if>\n <else>\n <!-- monographic types -->\n <text macro="description-format-short"/>\n </else>\n </choose>\n </macro>\n <!-- Description elements -->\n <macro name="description-format-bib">\n <choose>\n <if variable="genre number"/>\n <else-if variable="genre">\n <text text-case="capitalize-first" variable="genre"/>\n </else-if>\n <!-- generic labels if unpublished -->\n <else-if match="any" variable="archive archive-place container-title DOI number publisher references URL"/>\n <else-if type="manuscript">\n <!-- \'unpublished manuscript\' if no `genre` (CMOS18 14.114) -->\n <text term="manuscript" text-case="capitalize-first"/>\n </else-if>\n <else-if type="personal_communication">\n <!-- \'personal communication\' if no `genre` (CMOS18 14.111) -->\n <text term="personal-communication" text-case="capitalize-first"/>\n </else-if>\n </choose>\n </macro>\n <macro name="description-format-note">\n <choose>\n <if variable="genre number"/>\n <else-if variable="genre">\n <text variable="genre"/>\n </else-if>\n <!-- generic labels if unpublished -->\n <else-if match="any" variable="archive archive-place container-title DOI number publisher references URL"/>\n <else-if type="manuscript">\n <!-- \'unpublished manuscript\' if no `genre` (CMOS18 14.114) -->\n <text term="manuscript"/>\n </else-if>\n <else-if type="personal_communication">\n <!-- \'personal communication\' if no `genre` (CMOS18 14.111) -->\n <text term="personal-communication"/>\n </else-if>\n </choose>\n </macro>\n <macro name="description-format-short">\n <group delimiter=" ">\n <choose>\n <if type="chapter" variable="container-title genre">\n <!-- untitled introductions: cf. review model, which includes a title (CMOS18 14.101) -->\n <text form="short" variable="genre"/>\n <choose>\n <if match="none" position="ibid ibid-with-locator">\n <!-- CMOS team suggests leaving out title in repeated references -->\n <text macro="source-monographic-preposition-note"/>\n <text font-style="italic" form="short" text-case="title" variable="container-title"/>\n </if>\n </choose>\n </if>\n <else-if type="article-journal" variable="container-title genre volume-title">\n <!-- untitled introduction to a special issue or supplement -->\n <text form="short" variable="genre"/>\n <choose>\n <if match="none" position="ibid ibid-with-locator">\n <text macro="source-monographic-preposition-note"/>\n <text form="short" quotes="true" text-case="title" variable="volume-title"/>\n </if>\n </choose>\n </else-if>\n <else-if variable="genre">\n <text form="short" variable="genre"/>\n </else-if>\n <else-if variable="medium">\n <text form="short" variable="medium"/>\n </else-if>\n <else-if variable="chapter-number container-title">\n <text macro="source-monographic-preposition-note"/>\n <text font-style="italic" form="short" text-case="title" variable="container-title"/>\n </else-if>\n <else-if variable="chapter-number">\n <text macro="label-chapter-number"/>\n </else-if>\n <!-- generic labels if unpublished -->\n <else-if match="any" variable="archive archive-place container-title DOI number publisher references URL"/>\n <else-if type="manuscript">\n <!-- \'unpublished manuscript\' if no `genre` (CMOS18 14.114) -->\n <text term="manuscript"/>\n </else-if>\n <else-if type="personal_communication">\n <!-- \'pers. comm.\' if no `genre` (CMOS18 14.111) -->\n <text form="short" term="personal-communication"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <macro name="description-interview-bib">\n <group delimiter=", ">\n <choose>\n <if variable="genre number">\n <!-- `genre` printed with `number` -->\n <names variable="interviewer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n <else-if variable="genre">\n <group delimiter=" ">\n <text text-case="capitalize-first" variable="genre"/>\n <group delimiter=" ">\n <text form="verb" term="container-author"/>\n <names variable="interviewer">\n <name and="text" initialize="false"/>\n </names>\n </group>\n </group>\n </else-if>\n <else-if variable="interviewer">\n <names variable="interviewer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </else-if>\n <else>\n <text macro="description-format-bib"/>\n </else>\n </choose>\n <text macro="source-event-place-first"/>\n </group>\n </macro>\n <macro name="description-interview-note">\n <group delimiter=", ">\n <choose>\n <if variable="genre number">\n <!-- `genre` printed with `number` -->\n <names variable="interviewer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n <else-if variable="genre">\n <group delimiter=" ">\n <text variable="genre"/>\n <group delimiter=" ">\n <text form="verb" term="container-author"/>\n <names variable="interviewer">\n <name and="text" initialize="false"/>\n </names>\n </group>\n </group>\n </else-if>\n <else-if variable="interviewer">\n <names variable="interviewer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </else-if>\n <else>\n <text macro="description-format-note"/>\n </else>\n </choose>\n <text macro="source-event-place-first"/>\n </group>\n </macro>\n <macro name="description-interview-short">\n <choose>\n <if disambiguate="true">\n <names variable="interviewer">\n <label form="verb" suffix=" "/>\n <name and="text" form="short" initialize="true"/>\n <substitute>\n <text macro="description-format-short"/>\n </substitute>\n </names>\n </if>\n <else-if match="any" variable="genre medium">\n <choose>\n <if match="any" variable="author chair collection-editor compiler composer curator director editor editor-translator editorial-director executive-producer guest host illustrator organizer producer series-creator translator">\n <text macro="description-format-short"/>\n </if>\n <else>\n <!-- capitalize if no author or title -->\n <text macro="description-format-bib"/>\n </else>\n </choose>\n </else-if>\n <else>\n <!-- generic description for an unpublished interview (CMOS18 14.108) -->\n <text term="interview"/>\n </else>\n </choose>\n </macro>\n <macro name="description-letter-bib">\n <choose>\n <if variable="recipient">\n <group delimiter=", ">\n <choose>\n <if variable="genre number">\n <!-- `genre` appears with `number` -->\n <names variable="recipient">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n <else-if variable="genre">\n <group delimiter=" ">\n <text macro="description-format-bib"/>\n <names variable="recipient">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </group>\n </else-if>\n <else>\n <names variable="recipient">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </else>\n </choose>\n <text variable="event-place"/>\n <text macro="date-event-full"/>\n </group>\n </if>\n <else>\n <text macro="description-format-bib"/>\n </else>\n </choose>\n </macro>\n <macro name="description-letter-short">\n <!-- shortened notes ideally give author, recipient, place, and date (CMOS18 14.13) -->\n <group delimiter=", ">\n <choose>\n <if variable="genre recipient">\n <group delimiter=" ">\n <text macro="description-format-short"/>\n <names variable="recipient">\n <label form="verb" suffix=" "/>\n <name and="text" form="short" initialize="true"/>\n </names>\n </group>\n </if>\n <else>\n <text macro="description-format-short"/>\n </else>\n </choose>\n <text variable="event-place"/>\n <choose>\n <if variable="event-date">\n <text macro="date-event-full"/>\n </if>\n <else>\n <text macro="date-issued-full"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="description-paper-conference-bib">\n <choose>\n <if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="description-format-bib"/>\n </if>\n <else>\n <!-- serial types -->\n <group delimiter=". ">\n <text macro="description-serial-bib"/>\n <text macro="source-event-bib"/>\n </group>\n </else>\n </choose>\n </macro>\n <macro name="description-review-bib">\n <!-- Reviewed item -->\n <group delimiter=". ">\n <group delimiter=", ">\n <group delimiter=" ">\n <text macro="description-review-genre-bib"/>\n <text macro="description-review-title"/>\n </group>\n <choose>\n <if variable="reviewed-genre reviewed-title title">\n <names variable="reviewed-author">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n <else-if variable="reviewed-genre"/>\n <else>\n <names variable="reviewed-author">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </else>\n </choose>\n <text macro="source-event-place-first"/>\n </group>\n <text macro="label-section-capitalized"/>\n </group>\n </macro>\n <macro name="description-review-genre-bib">\n <choose>\n <if variable="reviewed-genre">\n <group delimiter=" ">\n <text macro="description-review-term-unsigned-bib"/>\n <text variable="reviewed-genre"/>\n <choose>\n <if match="none" variable="reviewed-title">\n <names variable="reviewed-author">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </group>\n </if>\n <else-if variable="number">\n <text macro="description-review-term-unsigned-bib"/>\n </else-if>\n <!-- If no `reviewed-genre`, assume that `genre` is entered as \'Review of the book\' or similar -->\n <else-if variable="genre">\n <text text-case="capitalize-first" variable="genre"/>\n </else-if>\n <else>\n <text macro="description-review-term-unsigned-bib"/>\n </else>\n </choose>\n </macro>\n <macro name="description-review-short">\n <choose>\n <if match="any" position="ibid ibid-with-locator">\n <text term="review"/>\n </if>\n <else>\n <group delimiter=" ">\n <text term="review-of"/>\n <text macro="description-review-title-short"/>\n </group>\n </else>\n </choose>\n </macro>\n <macro name="description-review-term-unsigned-bib">\n <!-- Anonymous reviews appear as \'unsigned\' (CMOS18 14.102) -->\n <choose>\n <if match="any" variable="author chair collection-editor compiler composer curator director editor editor-translator editorial-director executive-producer guest host illustrator organizer producer series-creator translator">\n <text term="review-of" text-case="capitalize-first"/>\n </if>\n <else>\n <group delimiter=" ">\n <text term="anonymous" text-case="capitalize-first"/>\n <text term="review-of"/>\n </group>\n </else>\n </choose>\n </macro>\n <macro name="description-review-title">\n <choose>\n <if match="any" variable="reviewed-genre reviewed-title">\n <!-- Not possible to distinguish TV series episode from other reviewed works without a reviewed source title -->\n <!-- Adapt for `reviewed-container-title` or similar if it becomes available -->\n <text font-style="italic" text-case="title" variable="reviewed-title"/>\n </if>\n <else>\n <!-- Assume title is title of reviewed work -->\n <text font-style="italic" text-case="title" variable="title"/>\n </else>\n </choose>\n </macro>\n <macro name="description-review-title-short">\n <choose>\n <if match="any" variable="reviewed-genre reviewed-title">\n <!-- Not possible to distinguish TV series episode from other reviewed works without a reviewed source title -->\n <!-- Adapt for `reviewed-container-title` or similar if it becomes available -->\n <text font-style="italic" form="short" text-case="title" variable="reviewed-title"/>\n </if>\n <else>\n <!-- Assume title is title of reviewed work -->\n <text font-style="italic" form="short" text-case="title" variable="title"/>\n </else>\n </choose>\n </macro>\n <macro name="description-serial-bib">\n <group delimiter=". ">\n <text macro="description-format-bib"/>\n <!-- `section` provides magazine departments (CMOS18 14.88) and newspaper column names (CMOS18 14.93) -->\n <text macro="label-section-capitalized"/>\n </group>\n </macro>\n <macro name="description-serial-short">\n <choose>\n <if variable="title"/>\n <else-if variable="genre">\n <text macro="description-format-short"/>\n </else-if>\n <else>\n <text form="short" text-case="title" variable="section"/>\n </else>\n </choose>\n </macro>\n <macro name="description-song-bib">\n <!-- Performer of classical music works -->\n <!-- TODO: remove when Zotero fixes mapping of performer to `author` -->\n <group delimiter=" ">\n <!-- Based on `description-format` macro -->\n <choose>\n <if variable="genre">\n <text text-case="capitalize-first" variable="genre"/>\n <text form="verb" term="performer"/>\n </if>\n <!-- providing \'performed by\' label for recorded readings (CMOS18 14.164), but it should be omitted for classical music (CMOS18 14.163) -->\n <else>\n <text form="verb" term="performer" text-case="capitalize-first"/>\n </else>\n </choose>\n <names variable="author">\n <name and="text" initialize="false"/>\n <substitute>\n <names variable="performer"/>\n </substitute>\n </names>\n </group>\n </macro>\n <!-- 3.3. Identifier (edition, contributors, volume) -->\n <macro name="identifier-bib">\n <group delimiter=". ">\n <choose>\n <if type="patent">\n <text macro="identifier-patent"/>\n </if>\n <else-if type="report">\n <text macro="identifier-report-bib"/>\n </else-if>\n <else-if match="any" type="post webpage">\n <!-- print `container-title` on `post` or `webpage` in the same way as `publisher` (CMOS18 14.104-106) -->\n <text macro="identifier-number-bib"/>\n <text macro="label-version-capitalized"/>\n <text macro="identifier-edition-bib"/>\n <text macro="identifier-contributors-bib"/>\n </else-if>\n <else-if variable="container-title">\n <choose>\n <if match="any" type="broadcast graphic map motion_picture">\n <!-- For audiovisual media, number information comes after `title`, not `container-title`; `song` places album catalogue `number` with `publisher` (CMOS18 14.163-164) -->\n <text macro="identifier-number-bib"/>\n </if>\n </choose>\n <text macro="identifier-contributors-bib"/>\n </else-if>\n <else>\n <choose>\n <if match="none" type="song">\n <text macro="identifier-number-bib"/>\n </if>\n </choose>\n <text macro="label-version-capitalized"/>\n <text macro="identifier-edition-bib"/>\n <text macro="identifier-contributors-and-volume-bib"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- Identifier elements -->\n <macro name="identifier-contributors-bib">\n <choose>\n <if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <text macro="identifier-contributors-serial-bib"/>\n </if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <text macro="identifier-contributors-monographic-bib"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <text macro="identifier-contributors-serial-bib"/>\n </else-if>\n <else>\n <text macro="identifier-contributors-monographic-bib"/>\n </else>\n </choose>\n </macro>\n <macro name="identifier-contributors-monographic-bib">\n <group delimiter=". ">\n <choose>\n <if match="any" type="post webpage">\n <names variable="container-author">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editor-translator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="editor translator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editorial-director">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="guest">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="host">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="illustrator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="narrator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="compiler chair organizer curator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="series-creator executive-producer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="producer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="director">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="any" type="broadcast performance">\n <names variable="script-writer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <names variable="performer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="none" type="thesis">\n <names variable="contributor">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </if>\n <else>\n <!-- print `container-title` on `post` or `webpage` in the same way as `publisher` (CMOS18 14.104-106) -->\n <choose>\n <if match="none" variable="container-title">\n <names variable="container-author">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editor-translator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="editor translator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editorial-director">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="guest">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="host">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <names variable="illustrator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="narrator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="none" variable="container-title">\n <names delimiter=". " variable="compiler chair organizer curator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="series-creator executive-producer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="producer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="director">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="any" type="broadcast performance">\n <names variable="script-writer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <names variable="performer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="none" type="song thesis">\n <names variable="contributor">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </if>\n </choose>\n <choose>\n <if type="song">\n <!-- Song contributors attached to album (CMOS18 14.163) -->\n <names variable="contributor">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="identifier-contributors-serial-bib">\n <group delimiter=". ">\n <names delimiter=". " variable="translator narrator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="compiler chair organizer curator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="series-creator executive-producer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="producer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="director">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="script-writer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="performer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </group>\n </macro>\n <macro name="identifier-contributors-and-volume-bib">\n <choose>\n <if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text macro="identifier-contributors-serial-bib"/>\n </if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="identifier-contributors-and-volume-monographic-bib-specific-title-first"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text macro="identifier-contributors-serial-bib"/>\n </else-if>\n <else>\n <!-- monographic types -->\n <text macro="identifier-contributors-and-volume-monographic-bib-specific-title-first"/>\n </else>\n </choose>\n </macro>\n <macro name="identifier-contributors-and-volume-monographic-bib-specific-title-first">\n <group delimiter=". ">\n <text macro="identifier-contributors-monographic-bib"/>\n <group delimiter=", ">\n <text macro="identifier-volume-bib-specific-title-first"/>\n <choose>\n <if match="any" variable="number-of-volumes part-number part-title volume volume-title">\n <!-- cite multivolume `collection-editor`; otherwise it belongs with `collection-title` -->\n <names variable="collection-editor">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </group>\n <choose>\n <if match="none" variable="part-number part-title volume volume-title">\n <text macro="label-number-of-volumes"/>\n </if>\n </choose>\n </group>\n </macro>\n <macro name="identifier-edition-bib">\n <choose>\n <!-- ensure `source-publication-history-bib` does not duplicate edition -->\n <if variable="original-title">\n <text macro="label-edition-capitalized"/>\n </if>\n <else-if variable="issued original-date"/>\n <else>\n <text macro="label-edition-capitalized"/>\n </else>\n </choose>\n </macro>\n <macro name="identifier-edition-note">\n <choose>\n <!-- ensure `source-publication-history-note` does not duplicate edition -->\n <if variable="original-title">\n <text macro="label-edition"/>\n </if>\n <else-if variable="issued original-date"/>\n <else>\n <text macro="label-edition"/>\n </else>\n </choose>\n </macro>\n <macro name="identifier-number-bib">\n <group delimiter=" ">\n <choose>\n <if type="thesis"/>\n <else-if is-numeric="number" type="broadcast" variable="genre">\n <text text-case="capitalize-first" variable="genre"/>\n <text variable="number"/>\n </else-if>\n <else-if is-numeric="number" type="broadcast">\n <text text-case="capitalize-first" value="episode"/>\n <text variable="number"/>\n </else-if>\n <else-if variable="number">\n <text text-case="title" variable="genre"/>\n <text macro="label-number-capitalized"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <macro name="identifier-patent">\n <group delimiter=", ">\n <group delimiter=" ">\n <!-- `authority`: US ; `genre`: patent ; `number`: 123,445 -->\n <text form="short" variable="authority"/>\n <!-- \'US Patent\' capitalized in both bibliography and note forms -->\n <choose>\n <if variable="genre">\n <text text-case="capitalize-first" variable="genre"/>\n </if>\n <else>\n <text term="patent" text-case="capitalize-first"/>\n </else>\n </choose>\n <text variable="number"/>\n </group>\n <group delimiter=" ">\n <text value="filed"/>\n <date form="text" variable="submitted"/>\n </group>\n <group delimiter=" ">\n <choose>\n <if variable="issued submitted">\n <text term="and"/>\n </if>\n </choose>\n <text value="issued"/>\n <!-- Always give full issue date, even in author-date (CMOS18 14.158) -->\n <text macro="date-issued-full"/>\n </group>\n </group>\n </macro>\n <macro name="identifier-report-bib">\n <group delimiter=". ">\n <choose>\n <if variable="container-title">\n <!-- If the report is a chapter in a larger report, then most identifying information is printed in the source. -->\n <text macro="identifier-contributors-bib"/>\n </if>\n <else-if variable="title">\n <text macro="identifier-number-bib"/>\n <text macro="label-version-capitalized"/>\n <text macro="identifier-edition-bib"/>\n <text macro="identifier-contributors-and-volume-bib"/>\n </else-if>\n <else>\n <!-- If there is no `title`, then `genre` and `number` are already printed as the title. -->\n <text macro="label-version-capitalized"/>\n <text macro="identifier-edition-bib"/>\n <text macro="identifier-contributors-and-volume-bib"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="identifier-volume-bib-specific-title-first">\n <!-- In author-date, bibliography must be listed under the individual volume title rather than the general title of the multivolume set; this is also allowable in notes styles (CMOS18 14.21) -->\n <group delimiter=", ">\n <choose>\n <if variable="part-number part-title volume volume-title">\n <!-- part and title with individual titles -->\n <group delimiter=" ">\n <text macro="label-part-number-capitalized"/>\n <text value="of"/>\n <text macro="title-volume"/>\n </group>\n <group delimiter=" ">\n <text macro="label-volume"/>\n <text value="of"/>\n <text macro="title-primary"/>\n </group>\n </if>\n <else-if match="any" variable="part-title volume-title">\n <group delimiter=" ">\n <choose>\n <if variable="part-number volume">\n <group delimiter=", ">\n <text macro="label-volume-capitalized"/>\n <text macro="label-part-number"/>\n <text value="of"/>\n </group>\n </if>\n <else-if variable="part-number">\n <text macro="label-part-number-capitalized"/>\n <text value="of"/>\n </else-if>\n <else-if variable="volume">\n <text macro="label-volume-capitalized"/>\n <text value="of"/>\n </else-if>\n </choose>\n <text macro="title-primary"/>\n </group>\n </else-if>\n <else-if variable="part-number volume">\n <text macro="label-volume-capitalized"/>\n <text macro="label-part-number"/>\n </else-if>\n <else-if variable="part-number">\n <text macro="label-part-number-capitalized"/>\n </else-if>\n <else-if variable="volume">\n <text macro="label-volume-capitalized"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <!-- 4. Source -->\n <macro name="source-bib">\n <choose>\n <if match="any" type="patent post webpage"/>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <text macro="source-serial-bib"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <text macro="source-monographic-bib"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <text macro="source-serial-bib"/>\n </else-if>\n <else>\n <text macro="source-monographic-bib"/>\n </else>\n </choose>\n </macro>\n <!-- 4.1. Serial sources -->\n <macro name="source-serial-bib">\n <group delimiter=". ">\n <text macro="source-serial-title-volume-bib"/>\n <choose>\n <if match="any" type="article-magazine article-newspaper">\n <!-- magazines and newspapers provide the full date in place of volume/issue numbers (CMOS18 14.87, 14.89) -->\n <group delimiter=", ">\n <text macro="source-serial-title-bib"/>\n <text macro="source-serial-identifier-bib"/>\n </group>\n </if>\n <else-if variable="collection-title volume">\n <group delimiter=", ">\n <text macro="source-serial-title-bib"/>\n <text macro="source-serial-identifier-bib"/>\n </group>\n </else-if>\n <else-if variable="volume">\n <group delimiter=" ">\n <text macro="source-serial-title-bib"/>\n <text macro="source-serial-identifier-bib"/>\n </group>\n </else-if>\n <else>\n <group delimiter=", ">\n <text macro="source-serial-title-bib"/>\n <text macro="source-serial-identifier-bib"/>\n </group>\n </else>\n </choose>\n </group>\n </macro>\n <!-- Serial source title -->\n <macro name="source-serial-name">\n <group delimiter=" ">\n <text font-style="italic" text-case="title" variable="container-title"/>\n <choose>\n <!-- TODO: remove conditional when Zotero stops double-mapping `event-place` and `publisher-place` -->\n <if match="none" variable="event-date event-title">\n <text prefix="(" suffix=")" variable="publisher-place"/>\n </if>\n </choose>\n </group>\n </macro>\n <macro name="source-serial-title-bib">\n <group delimiter=", ">\n <choose>\n <!-- Journal special issues (CMOS18 14.77) and supplements (CMOS18 14.78) -->\n <if match="none" variable="container-title"/>\n <else-if match="none" type="periodical" variable="supplement-number volume-title"/>\n <!-- TODO: use `container-genre` here once available to allow a custom description of the journal volume -->\n <else-if variable="supplement-number volume-title">\n <text term="supplement" text-case="capitalize-first"/>\n </else-if>\n <else-if type="periodical" variable="supplement-number title">\n <text term="supplement" text-case="capitalize-first"/>\n </else-if>\n <else-if variable="volume-title">\n <text term="special-issue" text-case="capitalize-first"/>\n </else-if>\n <else-if type="periodical" variable="title">\n <text term="special-issue" text-case="capitalize-first"/>\n </else-if>\n </choose>\n <text macro="source-serial-name"/>\n <choose>\n <!-- \'ahead of print\' is placed akin to a series (CMOS18 14.75) -->\n <if match="any" variable="collection-title issue number page supplement-number volume volume-title"/>\n <else-if match="any" variable="available-date status"/>\n <else-if type="article-journal" variable="DOI issued">\n <text term="advance-online-publication"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <macro name="source-serial-title-volume-bib">\n <choose>\n <if variable="volume-title">\n <!-- Journal special issues (CMOS18 14.77) and supplements (CMOS18 14.78) -->\n <group delimiter=", ">\n <group delimiter=" ">\n <text macro="source-monographic-preposition-bib"/>\n <text macro="title-volume"/>\n </group>\n <text macro="source-monographic-identifier-contributors-bib"/>\n </group>\n </if>\n </choose>\n </macro>\n <!-- Serial source identifier -->\n <macro name="source-serial-identifier-bib">\n <group delimiter=", ">\n <choose>\n <if match="any" type="article-magazine article-newspaper">\n <group delimiter=". ">\n <text macro="source-serial-identifier-volume-author-date"/>\n <!-- newspaper edition always capitalized (CMOS18 14.89) -->\n <text macro="label-edition-capitalized"/>\n </group>\n <text macro="source-serial-locator"/>\n </if>\n <else-if match="any" variable="issue supplement-number volume">\n <group delimiter=": ">\n <text macro="source-serial-identifier-volume-author-date"/>\n <text macro="source-serial-locator"/>\n </group>\n </else-if>\n <else>\n <text macro="source-serial-identifier-volume-author-date"/>\n <text macro="source-serial-locator"/>\n </else>\n <!-- TODO: If CSL adds `date-part` detection, add two further conditions to address CMOS18 14.74: delimiting with ":" if there is a `volume` and no month or `issue` or `supplement number`; delimiting with ", " or there is an `issue` or `supplement number` and no month -->\n </choose>\n </group>\n </macro>\n <macro name="source-serial-identifier-volume-author-date">\n <group delimiter=", ">\n <choose>\n <if match="any" type="article-magazine article-newspaper">\n <!-- magazines and newspapers provide the full date in place of volume/issue numbers (CMOS18 14.87, 14.89) -->\n <text variable="collection-title"/>\n <text macro="source-serial-volume-status-bib"/>\n </if>\n <else-if match="any" variable="issue supplement-number volume">\n <choose>\n <if match="any" variable="author chair collection-editor compiler composer curator director editor editor-translator editorial-director executive-producer guest host illustrator organizer producer series-creator translator"/>\n <else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- date appears first if the review `container-title` has been substituted for a missing author (CMOS18 14.87, 14.102) -->\n <choose>\n <!-- extra date details only appear with a lone volume or issue -->\n <if variable="issue volume"/>\n <else-if variable="supplement-number"/>\n <else-if match="any" variable="issue volume">\n <text macro="source-date-specific-title-first"/>\n </else-if>\n </choose>\n </else-if>\n </choose>\n <!-- `collection-title` is for any serial with multiple series (e.g. \'4th ser.\') -->\n <text variable="collection-title"/>\n <group delimiter=" ">\n <choose>\n <if variable="volume">\n <choose>\n <if variable="collection-title">\n <text macro="label-volume"/>\n </if>\n <else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- provide label if a review `container-title` has been substituted for a missing author (CMOS18 14.87, 14.102) -->\n <choose>\n <if match="any" variable="author chair collection-editor compiler composer curator director editor editor-translator editorial-director executive-producer guest host illustrator organizer producer series-creator translator">\n <text variable="volume"/>\n </if>\n <!-- TODO: when CSL provides date part detection, volume should be lowercase if there is a month, but otherwise capitalized -->\n <else>\n <text macro="label-volume-capitalized"/>\n </else>\n </choose>\n </else-if>\n <else>\n <text variable="volume"/>\n </else>\n </choose>\n <group delimiter=", " prefix="(" suffix=")">\n <choose>\n <if match="any" variable="issue supplement-number">\n <text variable="issue"/>\n <text macro="label-supplement-number"/>\n </if>\n <else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- date for unsigned reviews only appears here if it did not earlier (CMOS18 14.102) -->\n <choose>\n <if match="any" variable="author chair collection-editor compiler composer curator director editor editor-translator editorial-director executive-producer guest host illustrator organizer producer series-creator translator">\n <text macro="source-date-specific-title-first"/>\n </if>\n </choose>\n </else-if>\n <else>\n <text macro="source-date-specific-title-first"/>\n </else>\n </choose>\n </group>\n </if>\n <else-if match="any" variable="issue supplement-number">\n <group delimiter=" ">\n <group delimiter=", ">\n <text macro="label-issue"/>\n <text macro="label-supplement-number"/>\n </group>\n <choose>\n <if match="any" variable="author chair collection-editor compiler composer curator director editor editor-translator editorial-director executive-producer guest host illustrator organizer producer series-creator translator">\n <text macro="source-date-specific-title-first" prefix="(" suffix=")"/>\n </if>\n </choose>\n </group>\n </else-if>\n </choose>\n </group>\n </else-if>\n <else>\n <text variable="collection-title"/>\n <choose>\n <if match="any" type="interview post-weblog">\n <!-- publisher possible with broadcast `interview` (CMOS18 14.110) or `post-weblog` (CMOS18 14.105) -->\n <text variable="publisher"/>\n </if>\n </choose>\n <text macro="source-serial-volume-status-bib"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="source-serial-volume-status-bib">\n <group delimiter=", ">\n <choose>\n <if match="any" variable="collection-title issue number page supplement-number volume volume-title"/>\n <else-if variable="issued"/>\n <else-if variable="available-date">\n <group delimiter=" ">\n <!-- article accepted for publication and available on publisher website (CMOS18 14.75) -->\n <!-- TODO: use CSL term for `available-date` when available -->\n <text value="accepted"/>\n <date form="text" variable="available-date"/>\n </group>\n </else-if>\n </choose>\n <group delimiter=" ">\n <text macro="source-date-status-bib"/>\n <text macro="source-date-specific-title-first"/>\n </group>\n </group>\n </macro>\n <!-- Serial source locator -->\n <macro name="source-serial-locator">\n <choose>\n <if match="any" variable="locator number">\n <group delimiter=", ">\n <text macro="label-locator"/>\n <!-- an article ID appears alongside locators in notes (CMOS18 14.71) -->\n <choose>\n <!-- if there is an `archive` with no other reference, `number` appears in `source-archive-database-number` -->\n <if match="any" variable="archive_collection archive_location archive-place">\n <text variable="number"/>\n </if>\n <else-if variable="archive"/>\n <else>\n <text variable="number"/>\n </else>\n </choose>\n </group>\n </if>\n <!-- do not give pages for magazines or newspapers (CMOS18 14.87, 14.89) -->\n <else-if match="any" type="article-magazine article-newspaper"/>\n <else>\n <text variable="page"/>\n </else>\n </choose>\n </macro>\n <!-- 4.2. Monographic sources -->\n <macro name="source-monographic-bib">\n <group delimiter=". ">\n <!-- Monographic sources repeat main reference elements -->\n <choose>\n <if variable="container-title">\n <group delimiter=", ">\n <group delimiter=" ">\n <text macro="source-monographic-preposition-bib"/>\n <text macro="source-monographic-title-specific-title-first"/>\n </group>\n <text macro="source-monographic-description"/>\n <text macro="source-monographic-identifier-bib"/>\n <text macro="source-monographic-locator"/>\n </group>\n </if>\n </choose>\n <text macro="source-monographic-identifier-contributors-bib-container-author"/>\n <text macro="source-series-bib"/>\n <choose>\n <!-- show event information here only if not collapsed with `issued` (CMOS18 14.167) -->\n <if match="any" variable="event-date original-date original-publisher original-publisher-place publisher status">\n <text macro="source-event-bib"/>\n </if>\n </choose>\n </group>\n </macro>\n <!-- Monographic source title -->\n <macro name="source-monographic-preposition-bib">\n <choose>\n <if match="any" type="broadcast motion_picture"/>\n <else-if type="chapter" variable="container-title genre">\n <text value="to"/>\n </else-if>\n <else-if type="article-journal" variable="container-title genre volume-title">\n <text value="to"/>\n </else-if>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <choose>\n <if match="any" variable="author composer">\n <!-- Give preposition only for signed entries; otherwise, title is substituted -->\n <text term="in" text-case="capitalize-first"/>\n </if>\n </choose>\n </else-if>\n <!-- if printing chapter page numbers (CMOS17/classic):\n <else-if variable="chapter-number page title"><text term="in" text-case="capitalize-first"/></else-if>\n -->\n <else-if variable="chapter-number">\n <group delimiter=" ">\n <text macro="label-chapter-number-capitalized"/>\n <choose>\n <if type="song">\n <text term="on"/>\n </if>\n <else>\n <text term="in"/>\n </else>\n </choose>\n </group>\n </else-if>\n <else>\n <text term="in" text-case="capitalize-first"/>\n </else>\n </choose>\n </macro>\n <macro name="source-monographic-preposition-note">\n <choose>\n <if match="any" type="broadcast motion_picture"/>\n <else-if type="chapter" variable="container-title genre">\n <text value="to"/>\n </else-if>\n <else-if type="article-journal" variable="container-title genre volume-title">\n <text value="to"/>\n </else-if>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <choose>\n <if match="any" variable="author composer">\n <!-- Give preposition only for signed entries; otherwise, title is substituted -->\n <text term="in"/>\n </if>\n </choose>\n </else-if>\n <!-- if printing chapter page numbers (CMOS17/classic):\n <else-if variable="chapter-number page title"><text term="in"/></else-if>\n -->\n <else-if variable="chapter-number">\n <group delimiter=" ">\n <text macro="label-chapter-number"/>\n <choose>\n <if type="song">\n <text term="on"/>\n </if>\n <else>\n <text term="in"/>\n </else>\n </choose>\n </group>\n </else-if>\n <else>\n <text term="in"/>\n </else>\n </choose>\n </macro>\n <macro name="source-monographic-title-specific-title-first">\n <choose>\n <if variable="part-title">\n <text macro="title-part"/>\n </if>\n <else-if variable="volume-title">\n <text macro="title-volume"/>\n </else-if>\n <else>\n <text font-style="italic" text-case="title" variable="container-title"/>\n </else>\n </choose>\n </macro>\n <!-- Monographic source description -->\n <macro name="source-monographic-description">\n <choose>\n <if match="any" type="document report software standard">\n <!-- place description after `container-title` -->\n <text macro="description-format-note"/>\n </if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director issue page supplement-number volume"/>\n <else-if match="any" type="event paper-conference performance speech">\n <!-- unpublished conference presentations should describe the session -->\n <text macro="description-format-note"/>\n </else-if>\n </choose>\n </macro>\n <!-- Monographic source identifier -->\n <macro name="source-monographic-identifier-bib">\n <!-- Based on `identifier-bib` -->\n <choose>\n <if variable="container-title">\n <group delimiter=", ">\n <choose>\n <if match="none" type="broadcast graphic map motion_picture song">\n <!-- For audiovisual media, number information comes after `title`, not `container-title`; `song` places album catalogue `number` with `publisher` (CMOS18 14.163-164) -->\n <text macro="identifier-number-bib"/>\n </if>\n </choose>\n <text macro="label-version"/>\n <!-- use note form as `edition` is not capitalized here -->\n <text macro="identifier-edition-note"/>\n <text macro="source-monographic-identifier-contributors-and-volume-bib-specific-title-first"/>\n </group>\n </if>\n </choose>\n </macro>\n <macro name="source-monographic-identifier-contributors-bib">\n <choose>\n <if variable="container-author container-title">\n <!-- set off `container-author` from other contributors in the bibliography (CMOS18 14.12; for page location, CMOS17 14.110) -->\n <names variable="container-author">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <!-- other contributors shift to `source-monographic-identifier-contributors-bib-container-author` -->\n </if>\n <else>\n <group delimiter=", ">\n <names variable="editor-translator">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="editor translator">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="guest">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="host">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="chair organizer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="illustrator narrator compiler curator">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=", " variable="series-creator executive-producer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="producer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editorial-director">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="any" type="broadcast performance">\n <names variable="script-writer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <names variable="director">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="performer">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="none" type="song thesis">\n <!-- Song contributors attached to album (CMOS18 14.163) -->\n <names variable="contributor">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </group>\n </else>\n </choose>\n </macro>\n <macro name="source-monographic-identifier-contributors-bib-container-author">\n <!-- set off `container-author` from other contributors in the bibliography (CMOS18 14.12; for page location, CMOS17 14.110) -->\n <choose>\n <if variable="container-author container-title">\n <group delimiter=". ">\n <names variable="editor-translator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="editor translator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="guest">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="host">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="chair organizer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="illustrator narrator compiler curator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names delimiter=". " variable="series-creator executive-producer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="producer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="editorial-director">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="any" type="broadcast performance">\n <names variable="script-writer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <names variable="director">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <names variable="performer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n <choose>\n <if match="none" type="song thesis">\n <!-- Song contributors attached to album (CMOS18 14.163) -->\n <names variable="contributor">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n </group>\n </if>\n </choose>\n </macro>\n <macro name="source-monographic-identifier-contributors-and-volume-bib-specific-title-first">\n <group delimiter=", ">\n <text macro="source-monographic-identifier-contributors-bib"/>\n <text macro="source-monographic-identifier-volume-bib-specific-title-first"/>\n <choose>\n <if match="any" variable="number-of-volumes part-number part-title volume volume-title">\n <!-- cite multivolume `collection-editor`; otherwise it belongs with `collection-title` -->\n <names variable="collection-editor">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n </if>\n </choose>\n <choose>\n <if match="any" variable="part-number part-title volume volume-title"/>\n <else-if variable="page"/>\n <else>\n <text macro="label-number-of-volumes"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="source-monographic-identifier-volume-bib-specific-title-first">\n <!-- based on `identifier-volume-bib-specific-title-first` without capitalization; giving `container-title` rather than `title-primary`; and ensuring volume number -->\n <group delimiter=", ">\n <choose>\n <if variable="part-number part-title volume volume-title">\n <!-- part and title with individual titles -->\n <group delimiter=" ">\n <text macro="label-part-number"/>\n <text value="of"/>\n <text macro="title-volume"/>\n </group>\n <group delimiter=" ">\n <text macro="label-volume"/>\n <text value="of"/>\n <text font-style="italic" text-case="title" variable="container-title"/>\n </group>\n </if>\n <else-if match="any" variable="part-title volume-title">\n <group delimiter=" ">\n <choose>\n <if variable="part-number volume">\n <group delimiter=", ">\n <text macro="label-volume"/>\n <text macro="label-part-number"/>\n <text value="of"/>\n </group>\n </if>\n <else-if variable="part-number">\n <text macro="label-part-number"/>\n <text value="of"/>\n </else-if>\n <else-if variable="volume">\n <text macro="label-volume"/>\n <text value="of"/>\n </else-if>\n </choose>\n <text font-style="italic" text-case="title" variable="container-title"/>\n </group>\n </else-if>\n <else-if variable="part-number">\n <text macro="label-volume"/>\n <text macro="label-part-number"/>\n </else-if>\n <else-if is-numeric="volume" match="none">\n <text macro="label-volume"/>\n </else-if>\n <else-if variable="container-title">\n <!-- remove condition in styles that print chapter page numbers (CMOS17/classic) -->\n <text macro="label-volume"/>\n </else-if>\n <else-if is-numeric="volume" variable="page">\n <choose>\n <!-- check for variables that might come between the volume and page number -->\n <if variable="collection-editor">\n <text macro="label-volume"/>\n </if>\n </choose>\n </else-if>\n <else>\n <text macro="label-volume"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- Monographic source locator -->\n <macro name="source-monographic-locator">\n <choose>\n <!-- archival locators appear after the shelfmark (CMOS18 14.127) -->\n <if locator="column" variable="archive archive_location"/>\n <else-if locator="folio" variable="archive archive_location"/>\n <else-if locator="page" variable="archive archive_location"/>\n <else-if is-numeric="volume" locator="page">\n <!-- separate a volume and page number with a colon (CMOS18 14.18) -->\n <group delimiter=":">\n <choose>\n <if match="any" variable="part-number part-title volume-title"/>\n <else-if variable="collection-editor"/>\n <else>\n <text variable="volume"/>\n </else>\n </choose>\n <text variable="locator"/>\n </group>\n </else-if>\n <else-if variable="locator">\n <text macro="label-locator"/>\n </else-if>\n <!-- remove `container-title` condition in styles that print chapter page numbers (CMOS17/classic) -->\n <else-if variable="container-title"/>\n <else-if is-numeric="volume" variable="page">\n <!-- collapse the volume and page number if adjacent (CMOS18 14.18) -->\n <group delimiter=":">\n <choose>\n <!-- check for variables that might come between the volume and page number -->\n <if match="any" variable="part-number part-title volume-title"/>\n <else-if variable="collection-editor"/>\n <else>\n <text variable="volume"/>\n </else>\n </choose>\n <text variable="page"/>\n </group>\n </else-if>\n <!-- archival locators appear after the shelfmark (CMOS18 14.127) -->\n <else-if variable="archive archive_location page"/>\n <else>\n <text variable="page"/>\n </else>\n </choose>\n </macro>\n <!-- 4.3. Series -->\n <macro name="source-series-bib">\n <group delimiter=", ">\n <choose>\n <if match="any" variable="number-of-volumes part-number part-title volume volume-title">\n <text macro="source-series-title"/>\n </if>\n <else-if variable="collection-editor collection-title">\n <!-- `collection-editor` belongs with `collection-title` if the item is not multivolume -->\n <text text-case="title" variable="collection-title"/>\n <names variable="collection-editor">\n <label form="verb" suffix=" "/>\n <name and="text" initialize="false"/>\n </names>\n <text macro="label-collection-number"/>\n <text macro="label-issue"/>\n </else-if>\n <else>\n <text macro="source-series-title"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="source-series-title">\n <group delimiter=", ">\n <choose>\n <if variable="issue">\n <text text-case="title" variable="collection-title"/>\n <text macro="label-collection-number"/>\n <text macro="label-issue"/>\n </if>\n <else-if is-numeric="collection-number" variable="collection-title">\n <group delimiter=" ">\n <text text-case="title" variable="collection-title"/>\n <text variable="collection-number"/>\n </group>\n </else-if>\n <else-if variable="collection-title">\n <text text-case="title" variable="collection-title"/>\n <text variable="collection-number"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <!-- 4.4. Event -->\n <macro name="source-event-bib">\n <group delimiter=" ">\n <choose>\n <!-- omit types that provide event information in description -->\n <if match="any" type="interview" variable="interviewer"/>\n <else-if type="personal_communication" variable="recipient"/>\n <else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title"/>\n <else-if match="any" variable="event event-date event-title">\n <!-- TODO: To prevent Zotero from printing `event-place`, due to its double-mapping of `publisher-place` and `event-place`. Remove this when that is changed. -->\n <choose>\n <if type="paper-conference">\n <choose>\n <if match="none" variable="collection-editor compiler editor editorial-director issue page supplement-number volume">\n <!-- Don\'t print event info for conference papers published in proceedings -->\n <text macro="source-event-status-bib"/>\n <text macro="source-event-description-bib"/>\n </if>\n </choose>\n </if>\n <else>\n <!-- For other item types, print event info even if published (e.g. collection catalogs, performance programs). -->\n <text macro="source-event-status-bib"/>\n <text macro="source-event-description-bib"/>\n </else>\n </choose>\n </else-if>\n </choose>\n </group>\n </macro>\n <macro name="source-event-place-first">\n <!-- for descriptive elements for interviews, reviews, letters -->\n <choose>\n <if match="any" variable="event event-date event-title">\n <group delimiter=", ">\n <text variable="event-title"/>\n <text variable="event-place"/>\n <text macro="date-event-full"/>\n </group>\n </if>\n </choose>\n </macro>\n <macro name="source-event-status-bib">\n <group delimiter=" ">\n <choose>\n <if type="broadcast" variable="status">\n <!-- \'aired\', \'performed\', etc. (CMOS18 14.165) -->\n <text text-case="capitalize-first" variable="status"/>\n </if>\n <else-if type="paper-conference">\n <choose>\n <if variable="genre">\n <text text-case="capitalize-first" value="presented"/>\n </if>\n <else>\n <text form="short" term="paper-conference" text-case="capitalize-first"/>\n <text value="presented"/>\n </else>\n </choose>\n <choose>\n <if variable="event-title">\n <text term="at"/>\n </if>\n </choose>\n </else-if>\n <else-if type="song">\n <text text-case="capitalize-first" value="recorded"/>\n <choose>\n <if variable="event-title">\n <text term="at"/>\n </if>\n </choose>\n </else-if>\n <else-if variable="event-date issued"/>\n <else-if variable="issued"/>\n <else>\n <text text-case="capitalize-first" variable="status"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="source-event-title">\n <choose>\n <!-- TODO: We expect `event-title` to be used, but processors and applications may not be updated yet. This macro ensures that either `event` or `event-title` can be accepted. Remove if processor logic and application adoption can handle this. -->\n <if variable="event-title">\n <text variable="event-title"/>\n </if>\n <else>\n <text variable="event"/>\n </else>\n </choose>\n </macro>\n <macro name="source-event-title-capitalized">\n <choose>\n <!-- TODO: We expect `event-title` to be used, but processors and applications may not be updated yet. This macro ensures that either `event` or `event-title` can be accepted. Remove if processor logic and application adoption can handle this. -->\n <if variable="event-title">\n <text text-case="capitalize-first" variable="event-title"/>\n </if>\n <else>\n <text text-case="capitalize-first" variable="event"/>\n </else>\n </choose>\n </macro>\n <macro name="source-event-description-bib">\n <group delimiter=", ">\n <choose>\n <if type="song">\n <text macro="source-event-title"/>\n </if>\n <else-if type="paper-conference" variable="genre">\n <text macro="source-event-title-capitalized"/>\n </else-if>\n <else-if type="paper-conference">\n <text macro="source-event-title"/>\n </else-if>\n <else>\n <text macro="source-event-title-capitalized"/>\n </else>\n </choose>\n <text macro="date-event-full"/>\n <text variable="event-place"/>\n </group>\n </macro>\n <!-- 4.5. Facts of publication -->\n <macro name="source-monographic-publication-bib">\n <group delimiter=". ">\n <choose>\n <!-- `patent` date in identification (CMOS18 14.158) -->\n <if type="patent"/>\n <!-- omit serial types -->\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book"/>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="source-publication-and-date-bib"/>\n </else-if>\n <!-- omit serial types -->\n <else-if match="any" type="interview paper-conference"/>\n <else>\n <!-- monographic types -->\n <text macro="source-publication-and-date-bib"/>\n </else>\n </choose>\n <text macro="source-publication-original-title-bib"/>\n </group>\n </macro>\n <macro name="source-publication-and-date-bib">\n <group delimiter=", ">\n <choose>\n <if match="any" type="post webpage">\n <!-- print `container-title` on `post` or `webpage` in the same way as `publisher` (CMOS18 14.104-106) -->\n <!-- avoid possible repetition of `container-title` with author-date: -->\n <choose>\n <if variable="publisher">\n <text text-case="title" variable="container-title"/>\n </if>\n <else-if type="webpage" variable="container-title container-title-short"/>\n <else>\n <text text-case="title" variable="container-title"/>\n </else>\n </choose>\n </if>\n </choose>\n <choose>\n <if type="broadcast" variable="DOI">\n <!-- a podcast publisher appears before the date, whereas the network of an aired show appears after (CMOS18 14.165); unfortunately CSL stores both in `publisher` -->\n <!-- TODO: `DOI` or `URL` detection is the only way to distinguish radio/TV from podcasts, but it is obviously imprecise; modify if CSL provides a `podcast` type -->\n <text macro="source-publication-history-bib"/>\n </if>\n <else-if type="broadcast" variable="URL">\n <text macro="source-publication-history-bib"/>\n </else-if>\n <else-if type="broadcast"/>\n <else>\n <text macro="source-publication-history-bib"/>\n </else>\n </choose>\n <group delimiter=" ">\n <text macro="source-date-status-bib"/>\n <text macro="source-date-specific-title-first"/>\n </group>\n <choose>\n <if type="broadcast" variable="URL"/>\n <else-if type="broadcast">\n <group delimiter=" ">\n <text term="on"/>\n <text macro="source-publication-history-bib"/>\n </group>\n </else-if>\n </choose>\n </group>\n </macro>\n <!-- Facts of publication elements -->\n <macro name="source-publication-description-bib">\n <choose>\n <if type="article" variable="genre"/>\n <else-if type="article">\n <!-- `preprint` term attached to repository name, but specific working paper descriptors appear in description (CMOS18 14.76, 14.116) -->\n <text term="preprint" text-case="capitalize-first"/>\n </else-if>\n <else-if type="thesis">\n <!-- thesis type appears with university name (CMOS18 14.113) -->\n <text text-case="capitalize-first" variable="genre"/>\n </else-if>\n <else-if match="any" variable="original-publisher original-publisher-place">\n <choose>\n <!-- `edition` provides an alternative label to `reprint` (CMOS18 14.16) -->\n <if match="any" variable="edition original-title"/>\n <else-if match="none" type="book chapter classic entry entry-dictionary entry-encyclopedia interview musical_score pamphlet paper-conference report thesis"/>\n <else-if variable="issued original-date">\n <text text-case="capitalize-first" value="reprint"/>\n </else-if>\n </choose>\n </else-if>\n </choose>\n </macro>\n <macro name="source-publication-history-bib">\n <choose>\n <if variable="original-title">\n <!-- `original-title` is covered in `source-publication-original-title-bib` -->\n <group delimiter=", ">\n <text macro="source-publication-description-bib"/>\n <text macro="source-publication-publisher-bib"/>\n </group>\n </if>\n <else-if match="any" variable="edition original-publisher original-publisher-place">\n <group delimiter=". ">\n <!-- full stop to separate original date if `original-publisher` (CMOS18 14.16) -->\n <group delimiter=", ">\n <text macro="source-publication-publisher-original-bib"/>\n <text macro="source-date-original"/>\n </group>\n <group delimiter=". ">\n <choose>\n <if variable="issued original-date">\n <text macro="label-edition-capitalized"/>\n </if>\n </choose>\n <group delimiter=", ">\n <text macro="source-publication-description-bib"/>\n <text macro="source-publication-publisher-bib"/>\n </group>\n </group>\n </group>\n </else-if>\n <else>\n <group delimiter="; ">\n <!-- semicolon to separate original date if no publisher (CMOS18 14.165) -->\n <text macro="source-date-original"/>\n <group delimiter=", ">\n <text macro="source-publication-description-bib"/>\n <text macro="source-publication-publisher-bib"/>\n </group>\n </group>\n </else>\n </choose>\n </macro>\n <macro name="source-publication-original-title-bib">\n <!-- Work originally published under a different title (CMOS18 13.101) -->\n <choose>\n <if variable="original-title">\n <group delimiter=" ">\n <text term="original-work-published" text-case="capitalize-first"/>\n <group delimiter=", ">\n <names variable="original-author">\n <name and="text" initialize="false"/>\n </names>\n <text font-style="italic" text-case="title" variable="original-title"/>\n </group>\n <group delimiter=", " prefix="(" suffix=")">\n <text macro="source-publication-publisher-original-bib"/>\n <text macro="source-date-original"/>\n </group>\n </group>\n </if>\n </choose>\n </macro>\n <macro name="source-publication-publisher-bib">\n <group delimiter=" ">\n <choose>\n <if type="thesis" variable="publisher">\n <text text-case="capitalize-first" variable="publisher"/>\n </if>\n <else-if variable="publisher">\n <group delimiter=": ">\n <!-- <text text-case="capitalize-first" variable="publisher-place"/> -->\n <text text-case="capitalize-first" variable="publisher"/>\n </group>\n </else-if>\n <!-- TODO: remove conditional when Zotero fixes double-mapping of `event-place` -->\n <else-if match="any" variable="event-date event-title"/>\n <else>\n <text text-case="capitalize-first" variable="publisher-place"/>\n </else>\n </choose>\n <choose>\n <if type="song">\n <!-- Album catalogue number follows label name (CMOS18 14.163-164) -->\n <text variable="number"/>\n </if>\n </choose>\n </group>\n </macro>\n <macro name="source-publication-publisher-original-bib">\n <choose>\n <if variable="original-publisher">\n <group delimiter=": ">\n <!-- <text text-case="capitalize-first" variable="original-publisher-place"/> -->\n <text text-case="capitalize-first" variable="original-publisher"/>\n </group>\n </if>\n <else>\n <text text-case="capitalize-first" variable="original-publisher-place"/>\n </else>\n </choose>\n </macro>\n <!-- 4.6. Date -->\n <macro name="source-date-specific-title-first">\n <!-- date for the last-mentioned title, for author-date or notes and bibliography leading with volume title (CMOS18 14.21) -->\n <choose>\n <if variable="available-date volume-title">\n <!-- TODO: Is there a better CSL variable for a date of a multivolume work (CMOS18 14.21)? -->\n <date date-parts="year" form="numeric" variable="available-date"/>\n </if>\n <else-if variable="available-date part-title">\n <date date-parts="year" form="numeric" variable="available-date"/>\n </else-if>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text macro="source-date-issued-month-day"/>\n <!-- for CMOS17 author-date: -->\n <!-- <text macro="source-date-issued-full-serial"/> -->\n <!-- for notes and bibliography leading with volume title (CMOS18 14.21): -->\n <!-- <text macro="source-date-issued-or-status"/> -->\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="source-date-issued-month-day"/>\n <!-- for notes and bibliography leading with volume title (CMOS18 14.21): -->\n <!-- <text macro="source-date-issued-or-status"/> -->\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text macro="source-date-issued-month-day"/>\n <!-- for CMOS17 author-date: -->\n <!-- <text macro="source-date-issued-full-serial"/> -->\n <!-- for notes and bibliography leading with volume title (CMOS18 14.21): -->\n <!-- <text macro="source-date-issued-or-status"/> -->\n </else-if>\n <else>\n <!-- monographic types -->\n <text macro="source-date-issued-month-day"/>\n <!-- for notes and bibliography leading with volume title (CMOS18 14.21): -->\n <!-- <text macro="source-date-issued-or-status"/> -->\n </else>\n </choose>\n </macro>\n <!-- Date elements -->\n <macro name="source-date-issued-month-day">\n <!-- Use with author-date -->\n <!-- Give full date for more ephemeral types -->\n <!-- NB: any changes must also be applied to `source-date-original-month-day` -->\n <choose>\n <if type="personal_communication" variable="event-date issued">\n <!-- Provide issue date for letters listed under event-date -->\n <text macro="date-issued-year"/>\n </if>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <choose>\n <if match="any" variable="DOI URL">\n <!-- Online reference works use full dates (CMOS18 14.131) -->\n <text macro="date-issued-month-day"/>\n </if>\n </choose>\n </else-if>\n <else-if match="any" type="article broadcast collection dataset document event graphic manuscript map patent performance personal_communication post software song speech standard webpage">\n <text macro="date-issued-month-day"/>\n </else-if>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <text macro="source-date-issued-month-day-serial"/>\n </else-if>\n <!-- omit monographic types -->\n <else-if match="any" variable="collection-editor compiler editor editorial-director"/>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text macro="source-date-issued-month-day-serial"/>\n </else-if>\n </choose>\n </macro>\n <macro name="source-date-issued-month-day-serial">\n <choose>\n <if match="any" type="article-magazine article-newspaper">\n <!-- magazines and newspapers provide the full date in place of volume/issue numbers (CMOS18 14.87, 14.89) -->\n <text macro="date-issued-month-day"/>\n </if>\n <else-if match="any" variable="issue supplement-number volume">\n <text macro="date-issued-month"/>\n </else-if>\n <else>\n <text macro="date-issued-month-day"/>\n </else>\n </choose>\n </macro>\n <macro name="source-date-original">\n <text macro="source-date-original-month-day"/>\n </macro>\n <macro name="source-date-original-month-day">\n <!-- Give full date for more ephemeral types -->\n <!-- Macro derived from `source-date-issued-month-day` -->\n <choose>\n <if type="personal_communication" variable="event-date original-date">\n <!-- Provide original date for letters listed under event-date -->\n <text macro="date-original-year"/>\n </if>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <choose>\n <if match="any" variable="DOI URL">\n <!-- Online reference works use full dates (CMOS18 14.131) -->\n <text macro="date-original-month-day"/>\n </if>\n </choose>\n </else-if>\n <else-if match="any" type="article broadcast collection dataset document event graphic manuscript map patent performance personal_communication post software song speech standard webpage">\n <text macro="date-original-month-day"/>\n </else-if>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <choose>\n <if match="any" variable="issue supplement-number volume">\n <text macro="date-original-month"/>\n </if>\n <else>\n <text macro="date-original-month-day"/>\n </else>\n </choose>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <choose>\n <if match="any" variable="collection-editor compiler editor editorial-director"/>\n <else-if match="any" variable="issue supplement-number volume">\n <text macro="date-original-month"/>\n </else-if>\n <else>\n <text macro="date-original-month-day"/>\n </else>\n </choose>\n </else-if>\n </choose>\n </macro>\n <macro name="source-date-status-bib">\n <choose>\n <if type="broadcast" variable="event-title issued status"/>\n <!-- on a `broadcast`, if there is an `event-title`, `status` appears with `event-date` as part of `source-event` (CMOS18 14.165) -->\n <else-if variable="issued status">\n <!-- `status` specifies date type, e.g. \'effective\', \'last modified\', \'approved\' (CMOS18 14.104 for `webpage`; CMOS18 14.159 for `standard`) -->\n <choose>\n <if type="webpage" variable="container-title">\n <text variable="status"/>\n </if>\n <else-if type="webpage" variable="author publisher">\n <text variable="status"/>\n </else-if>\n <else-if type="webpage" variable="translator publisher">\n <text variable="status"/>\n </else-if>\n <else-if type="webpage">\n <!-- capitalize `status` if there is nothing else after the `title` (either no website title or substituted publisher) -->\n <text text-case="capitalize-first" variable="status"/>\n </else-if>\n <else-if match="any" variable="original-date original-publisher original-publisher-place original-title publisher">\n <text variable="status"/>\n </else-if>\n <else>\n <text text-case="capitalize-first" variable="status"/>\n </else>\n </choose>\n </else-if>\n <else-if type="broadcast" variable="issued URL"/>\n <else-if type="broadcast" variable="issued">\n <!-- `status` of a radio or TV broadcast is \'aired\' if unspecified (CMOS18 14.165) -->\n <text text-case="capitalize-first" value="aired"/>\n </else-if>\n <else-if type="software" variable="issued publisher">\n <!-- `status` of software is \'released\' if unspecified (CMOS18 14.169) -->\n <choose>\n <if match="any" variable="author chair collection-editor compiler composer contributor curator director editor editor-translator editorial-director executive-producer guest host illustrator organizer producer series-creator translator">\n <!-- lowercase if `publisher` is adjacent -->\n <text value="released"/>\n </if>\n <else>\n <text text-case="capitalize-first" value="released"/>\n </else>\n </choose>\n </else-if>\n <else-if type="software" variable="original-date">\n <!-- lowercase if `original-date` is adjacent -->\n <text value="released"/>\n </else-if>\n <else-if type="software" variable="issued">\n <!-- capitalize if `publisher` is not present -->\n <text text-case="capitalize-first" value="released"/>\n </else-if>\n </choose>\n </macro>\n <!-- 4.7. Locator (including page references) -->\n <macro name="source-locator-author-date">\n <choose>\n <if match="any" type="entry entry-dictionary entry-encyclopedia">\n <choose>\n <if match="any" variable="author locator">\n <text macro="label-locator"/>\n </if>\n <else-if variable="container-title title">\n <!-- unsigned reference entry title appears in the locator (CMOS18 13.130) -->\n <group delimiter=" ">\n <choose>\n <if match="none" variable="DOI URL">\n <!-- Only print reference entries use `sub-verbo` (CMOS18 14.131) -->\n <text form="short" term="sub-verbo"/>\n </if>\n </choose>\n <text form="short" quotes="true" variable="title"/>\n </group>\n </else-if>\n </choose>\n </if>\n <else>\n <text macro="label-locator"/>\n </else>\n </choose>\n </macro>\n <!-- 4.8. Medium -->\n <macro name="source-medium-bib">\n <group delimiter=", ">\n <text text-case="capitalize-first" variable="medium"/>\n <text variable="scale"/>\n <text variable="dimensions"/>\n </group>\n </macro>\n <macro name="source-medium-note">\n <group delimiter=", ">\n <text variable="medium"/>\n <text variable="scale"/>\n <text variable="dimensions"/>\n </group>\n </macro>\n <!-- 4.9. Archival location -->\n <macro name="source-archive-bib">\n <group delimiter=" ">\n <choose>\n <if type="graphic">\n <text macro="source-archive-reference-institution-first"/>\n </if>\n <else>\n <text macro="source-archive-reference-location-first-bib"/>\n </else>\n </choose>\n <text macro="source-archive-database-number" prefix="(" suffix=")"/>\n </group>\n </macro>\n <macro name="source-archive-note">\n <group delimiter=" ">\n <choose>\n <if type="graphic">\n <text macro="source-archive-reference-institution-first"/>\n </if>\n <else>\n <text macro="source-archive-reference-location-first-note"/>\n </else>\n </choose>\n <text macro="source-archive-database-number" prefix="(" suffix=")"/>\n </group>\n </macro>\n <!-- Archival elements -->\n <macro name="source-archive-database-number">\n <!-- database identifier, if not included elsewhere (CMOS18 14.113) -->\n <choose>\n <if match="any" variable="archive_collection archive_location archive-place"/>\n <!-- `number` never shown elsewhere with a thesis -->\n <else-if type="thesis">\n <text variable="number"/>\n </else-if>\n <!-- `number` shown with `genre` -->\n <else-if match="any" type="dataset entry song" variable="genre"/>\n <else-if variable="archive">\n <text variable="number"/>\n </else-if>\n </choose>\n </macro>\n <macro name="source-archive-locator">\n <choose>\n <!-- physical locators with archival references appear after the shelfmark (CMOS18 14.127) -->\n <if locator="column" variable="archive archive_location">\n <!-- archival locators must always be labelled to avoid confusion with `archive_location` (CMOS18 14.123) -->\n <text macro="label-locator-all"/>\n </if>\n <else-if locator="folio" variable="archive archive_location">\n <text macro="label-locator-all"/>\n </else-if>\n <else-if locator="page" variable="archive archive_location">\n <text macro="label-locator-all"/>\n </else-if>\n <else-if variable="archive archive_location page">\n <choose>\n <if is-numeric="page">\n <!-- TODO: remove this conditional when `page` parsing is fixed for different locator types -->\n <text macro="label-page"/>\n </if>\n <else>\n <text variable="page"/>\n </else>\n </choose>\n </else-if>\n </choose>\n </macro>\n <macro name="source-archive-reference-institution-first">\n <!-- Archive (gallery) name first for art (CMOS18 14.133) -->\n <group delimiter=", ">\n <text variable="archive"/>\n <text variable="archive-place"/>\n <text variable="archive_collection"/>\n <text variable="archive_location"/>\n <text macro="source-archive-locator"/>\n </group>\n </macro>\n <macro name="source-archive-reference-location-first-bib">\n <!-- Order of elements begins with the most specific (CMOS18 14.128) -->\n <group delimiter=". ">\n <group delimiter=", ">\n <text text-case="capitalize-first" variable="archive_location"/>\n <text macro="source-archive-locator"/>\n </group>\n <text variable="archive_collection"/>\n <group delimiter=", ">\n <text variable="archive"/>\n <text variable="archive-place"/>\n </group>\n </group>\n </macro>\n <macro name="source-archive-reference-location-first-note">\n <!-- Order of elements begins with the most specific (CMOS18 14.127) -->\n <group delimiter=", ">\n <text variable="archive_location"/>\n <text macro="source-archive-locator"/>\n <text variable="archive_collection"/>\n <text variable="archive"/>\n <text variable="archive-place"/>\n </group>\n </macro>\n <!-- 4.10. URL or persistent identifier -->\n <macro name="source-date-accessed-DOI-URL-bib">\n <group delimiter=". ">\n <choose>\n <if variable="DOI"/>\n <else-if match="any" variable="available-date event-date issued status"/>\n <else-if variable="accessed URL">\n <group delimiter=" ">\n <text term="accessed" text-case="capitalize-first"/>\n <date form="text" variable="accessed"/>\n </group>\n </else-if>\n </choose>\n <text macro="source-DOI-URL"/>\n </group>\n </macro>\n <macro name="source-DOI-URL">\n <choose>\n <if variable="DOI">\n <text prefix="https://doi.org/" variable="DOI"/>\n </if>\n <else-if variable="URL">\n <text variable="URL"/>\n </else-if>\n </choose>\n </macro>\n <!-- 5. Notes -->\n <!-- TODO: add variables for distributor and exhibitions if available in CSL -->\n <!-- 6. Legal references: Bluebook style (shared with APA) -->\n <!-- Where APA or Chicago diverge from Bluebook, the official manual is followed -->\n <macro name="legal-reference">\n <!-- Type usage:\n\n `bill`\n : bills, resolutions, federal reports\n\n `legal_case`\n : all legal and court cases\n\n `hearing`\n : hearings and testimony\n\n `legislation`\n : statutes, constitutional items, and charters\n\n `regulation`\n : codified regulations, uncodified regulations, executive orders\n\n `treaty`\n : treaties\n -->\n <group delimiter=", ">\n <choose>\n <if type="treaty">\n <text macro="legal-title"/>\n <names variable="author">\n <!-- Treaty parties should be included at least for bilateral treaties (Bluebook 21.4.2) -->\n <name delimiter="-" et-al-min="100" et-al-use-first="99" form="short" initialize="false"/>\n </names>\n <text macro="legal-date"/>\n <!-- treaty source/report in addition to URL (Bluebook 21.4.5) -->\n <text macro="legal-source"/>\n </if>\n <else>\n <group delimiter=" ">\n <group delimiter=", ">\n <text macro="legal-title"/>\n <text macro="legal-source"/>\n </group>\n <text macro="legal-date"/>\n <text macro="legal-identifier"/>\n </group>\n </else>\n </choose>\n <group delimiter=" ">\n <!-- locator for use in notes -->\n <choose>\n <if locator="page" variable="page">\n <text term="at"/>\n </if>\n </choose>\n <text macro="label-locator"/>\n </group>\n </group>\n </macro>\n <!-- 6.1. Legal date -->\n <macro name="legal-date">\n <choose>\n <if type="treaty">\n <text macro="date-issued-full"/>\n </if>\n <else-if type="legal_case">\n <text macro="legal-date-case"/>\n </else-if>\n <else-if match="any" type="bill hearing legislation regulation">\n <group delimiter=" " prefix="(" suffix=")">\n <group delimiter=" ">\n <text macro="date-original-year"/>\n <text form="symbol" term="and"/>\n </group>\n <choose>\n <if variable="issued">\n <text macro="date-issued-year"/>\n </if>\n <else>\n <!-- Show proposal date for uncodified regulations. Assume date is entered literally ala "proposed May 23, 2016". -->\n <!-- TODO: Add `proposed` date here if that becomes available -->\n <date form="text" variable="submitted"/>\n </else>\n </choose>\n </group>\n </else-if>\n </choose>\n </macro>\n <macro name="legal-date-case">\n <group delimiter=" " prefix="(" suffix=")">\n <text variable="authority"/>\n <choose>\n <if variable="container-title">\n <!-- Print only year for cases published in reporters-->\n <text macro="date-issued-year"/>\n </if>\n <else>\n <text macro="date-issued-full"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- 6.2.1. Legal title -->\n <macro name="legal-title">\n <choose>\n <if match="any" type="bill legal_case legislation regulation treaty">\n <text text-case="title" variable="title"/>\n </if>\n <else-if type="hearing">\n <!-- use standard format (Bluebook 13.3) -->\n <group delimiter=": " font-style="italic">\n <text text-case="capitalize-first" variable="title"/>\n <group delimiter=" ">\n <text term="hearing" text-case="capitalize-first"/>\n <group delimiter=" ">\n <text term="on"/>\n <text variable="number"/>\n </group>\n <group delimiter=" ">\n <text value="before the"/>\n <text variable="section"/>\n </group>\n </group>\n </group>\n </else-if>\n </choose>\n </macro>\n <!-- 6.2.2. Legal identifier -->\n <macro name="legal-identifier">\n <group delimiter=" " prefix="(" suffix=")">\n <choose>\n <if type="hearing">\n <!-- Use the \'verb\' form of the hearing term to hold \'testimony of\' -->\n <text form="verb" term="hearing"/>\n <names variable="author">\n <name and="symbol" initialize="false"/>\n </names>\n </if>\n <else-if match="any" type="bill legislation regulation">\n <!-- For uncodified regulations, assume future code section is in `status`. -->\n <text variable="status"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <macro name="legal-identifier-bill-report">\n <group delimiter=" ">\n <text variable="genre"/>\n <choose>\n <if match="any" variable="authority chapter-number container-title">\n <text variable="number"/>\n </if>\n <else>\n <!-- If there is no legislative body, session number, or code/record title, assume the item is a congressional report and include \'No.\' label. -->\n <text macro="label-number-capitalized"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- 6.3. Legal source -->\n <macro name="legal-source">\n <!-- Expect legal item `container-title` to be stored in short form -->\n <choose>\n <if type="bill">\n <text macro="legal-source-bill"/>\n </if>\n <else-if type="hearing">\n <text macro="legal-source-hearing"/>\n </else-if>\n <else-if type="legal_case">\n <text macro="legal-source-case"/>\n </else-if>\n <else-if type="legislation">\n <text macro="legal-source-legislation"/>\n </else-if>\n <else-if type="regulation">\n <text macro="legal-source-regulation"/>\n </else-if>\n <else-if type="treaty">\n <text macro="legal-source-treaty"/>\n </else-if>\n </choose>\n </macro>\n <!-- Legal source types -->\n <macro name="legal-source-bill">\n <group delimiter=", ">\n <text macro="legal-identifier-bill-report"/>\n <group delimiter=" ">\n <text variable="authority"/>\n <!-- `chapter-number` is a session number -->\n <text variable="chapter-number"/>\n </group>\n <group delimiter=" ">\n <text variable="volume"/>\n <text variable="container-title"/>\n <text variable="page-first"/>\n </group>\n </group>\n </macro>\n <macro name="legal-source-case">\n <group delimiter=" ">\n <choose>\n <if variable="container-title">\n <text variable="volume"/>\n <text variable="container-title"/>\n <text macro="label-section-symbol"/>\n <choose>\n <if match="any" variable="page page-first">\n <text variable="page-first"/>\n </if>\n <else>\n <text value="___"/>\n </else>\n </choose>\n </if>\n <else>\n <text macro="label-number-capitalized"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="legal-source-hearing">\n <group delimiter=" ">\n <text variable="authority"/>\n <!-- `chapter-number` is a session number -->\n <text variable="chapter-number"/>\n </group>\n </macro>\n <macro name="legal-source-legislation">\n <choose>\n <if variable="number">\n <!-- `number` is a public law number -->\n <group delimiter=", ">\n <group delimiter=" ">\n <choose>\n <if variable="genre">\n <text text-case="capitalize-first" variable="genre"/>\n </if>\n <else>\n <text form="short" term="legislation" text-case="capitalize-first"/>\n </else>\n </choose>\n <text macro="label-number-capitalized"/>\n </group>\n <group delimiter=" ">\n <text variable="volume"/>\n <text variable="container-title"/>\n <text variable="page-first"/>\n </group>\n </group>\n </if>\n <else>\n <group delimiter=" ">\n <text variable="volume"/>\n <text variable="container-title"/>\n <choose>\n <if variable="section">\n <text macro="label-section-symbol"/>\n </if>\n <else>\n <text variable="page-first"/>\n </else>\n </choose>\n </group>\n </else>\n </choose>\n </macro>\n <macro name="legal-source-regulation">\n <group delimiter=", ">\n <group delimiter=" ">\n <text variable="genre"/>\n <text macro="label-number-capitalized"/>\n </group>\n <group delimiter=" ">\n <text variable="volume"/>\n <text variable="container-title"/>\n <choose>\n <if variable="section">\n <text macro="label-section-symbol"/>\n </if>\n <else>\n <text variable="page-first"/>\n </else>\n </choose>\n </group>\n </group>\n </macro>\n <macro name="legal-source-treaty">\n <group delimiter=" ">\n <number variable="volume"/>\n <text variable="container-title"/>\n <choose>\n <if match="any" variable="page page-first">\n <text variable="page-first"/>\n </if>\n <else>\n <text macro="label-number-capitalized"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- Citation -->\n <macro name="citation-author-date-item">\n <group delimiter=", ">\n <choose>\n <if type="classic">\n <text macro="author-inline"/>\n <choose>\n <if variable="author">\n <text macro="title-and-descriptions-short"/>\n </if>\n </choose>\n </if>\n <else-if match="any" type="interview personal_communication">\n <choose>\n <if match="any" variable="archive archive-place container-title DOI number publisher references URL">\n <!-- accessible `interview` or `personal_communication` uses standard format -->\n <choose>\n <if match="any" variable="event-date issued">\n <group delimiter=" ">\n <text macro="author-inline"/>\n <text macro="date-short"/>\n </group>\n </if>\n <else>\n <text macro="author-inline"/>\n <text macro="date-short"/>\n </else>\n </choose>\n </if>\n <else>\n <!-- inaccessible `interview` or `personal_communication` uses in-text format (CMOS18 14.111) -->\n <text macro="author-inline"/>\n <text macro="title-and-descriptions-short"/>\n <choose>\n <if position="first">\n <choose>\n <if type="interview">\n <text macro="date-short"/>\n </if>\n </choose>\n <text macro="source-medium-note"/>\n </if>\n </choose>\n </else>\n </choose>\n </else-if>\n <else-if match="any" variable="event-date issued">\n <group delimiter=" ">\n <text macro="author-inline"/>\n <text macro="date-short"/>\n </group>\n </else-if>\n <else>\n <!--- comma with forthcoming or n.d. -->\n <text macro="author-inline"/>\n <text macro="date-short"/>\n </else>\n </choose>\n </group>\n </macro>\n <citation collapse="year" disambiguate-add-givenname="true" disambiguate-add-names="true" disambiguate-add-year-suffix="true" et-al-min="3" et-al-use-first="1" givenname-disambiguation-rule="primary-name">\n <layout delimiter="; " prefix="(" suffix=")">\n <group delimiter=", ">\n <choose>\n <if match="none" type="classic">\n <text macro="citation-author-date-item"/>\n <text macro="source-locator-author-date"/>\n </if>\n <!-- with `classic`, a non-numeric canonical reference or identifying number is separated by a space rather than a comma (CMOS18 14.145) -->\n <else-if is-numeric="locator">\n <text macro="citation-author-date-item"/>\n <text macro="source-locator-author-date"/>\n </else-if>\n <else-if locator="chapter line verse" match="any">\n <group delimiter=" ">\n <text macro="citation-author-date-item"/>\n <text macro="source-locator-author-date"/>\n </group>\n </else-if>\n <else>\n <text macro="citation-author-date-item"/>\n <text macro="source-locator-author-date"/>\n </else>\n </choose>\n </group>\n </layout>\n </citation>\n <!-- Bibliography -->\n <macro name="bibliography-author-date">\n <group delimiter=". ">\n <choose>\n <if match="any" type="bill hearing legal_case legislation regulation treaty">\n <!-- Legal items have different orders and delimiters -->\n <text macro="legal-reference"/>\n <text macro="source-date-accessed-DOI-URL-bib"/>\n <text variable="references"/>\n </if>\n <else>\n <group delimiter=" ">\n <text macro="author-bib"/>\n <choose>\n <!-- give key to abbreviations (CMOS18 13.127, 14.104) -->\n <!-- TODO: add `authority` and `publisher` if it becomes possible to test for short forms -->\n <if type="webpage" variable="publisher"/>\n <else-if type="webpage" variable="container-title container-title-short">\n <text prefix="(" suffix=")" text-case="title" variable="container-title"/>\n </else-if>\n </choose>\n </group>\n <text macro="date"/>\n <text macro="title-and-source-bib"/>\n <text variable="references"/>\n </else>\n </choose>\n </group>\n </macro>\n <bibliography et-al-min="7" et-al-use-first="3" hanging-indent="true">\n <sort>\n <key macro="author-sort"/>\n <key macro="date-sort-group"/>\n <key macro="date-sort-year"/>\n <key macro="date"/>\n <key macro="title-and-descriptions-bib"/>\n <key macro="source-bib"/>\n <key variable="volume"/>\n <key variable="part-number"/>\n <key variable="event-date"/>\n <key variable="issued"/>\n <key macro="source-archive-bib"/>\n </sort>\n <layout suffix=".">\n <choose>\n <if type="classic">\n <choose>\n <if match="any" variable="archive editor translator publisher">\n <text macro="bibliography-author-date"/>\n </if>\n </choose>\n </if>\n <else-if match="any" type="entry entry-dictionary entry-encyclopedia">\n <choose>\n <if variable="author">\n <!-- Signed reference entries appear in the bibliography (CMOS18 14.132) -->\n <text macro="bibliography-author-date"/>\n </if>\n <else-if match="any" variable="DOI URL">\n <!-- Provide a bibliography if necessary identifying information is not in text -->\n <text macro="bibliography-author-date"/>\n </else-if>\n </choose>\n </else-if>\n <!-- Personal communications only appear in the bibliography if the reader can retrieve them (CMOS18 14.13, 14.111) -->\n <else-if match="any" variable="archive archive-place container-title DOI number publisher references URL">\n <text macro="bibliography-author-date"/>\n </else-if>\n <else-if match="any" type="interview personal_communication"/>\n <else>\n <text macro="bibliography-author-date"/>\n </else>\n </choose>\n </layout>\n </bibliography>\n</style>\n';
10
+ var chicagoAuthorDate_default = xml2;
11
+
12
+ // src/csl/apa.ts
13
+ var xml3 = '<?xml version="1.0" encoding="utf-8"?>\n<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" demote-non-dropping-particle="never" initialize-with=". " names-delimiter=", " page-range-format="expanded" version="1.0">\n <!-- This file was generated by the Style Variant Builder <https://github.com/citation-style-language/style-variant-builder>. To contribute changes, modify the template and regenerate variants. -->\n <info>\n <title>APA Style 7th edition</title>\n <title-short>Publication Manual of the American Psychological Association, with Bluebook</title-short>\n <id>http://www.zotero.org/styles/apa</id>\n <link href="http://www.zotero.org/styles/apa" rel="self"/>\n <link href="http://www.zotero.org/styles/apa-6th-edition" rel="template"/>\n <link href="https://apastyle.apa.org/style-grammar-guidelines/references" rel="documentation"/>\n <link href="https://zotero.org/groups/2205533/collections/MR2N872S" rel="documentation"/>\n <author>\n <name>Brenton M. Wiernik</name>\n <email>zotero@wiernik.org</email>\n <uri>https://orcid.org/0000-0001-9560-6336</uri>\n </author>\n <author>\n <name>Andrew Dunning</name>\n <uri>https://orcid.org/0000-0003-0464-5036</uri>\n </author>\n <category citation-format="author-date"/>\n <category field="anthropology"/>\n <category field="communications"/>\n <category field="generic-base"/>\n <category field="law"/>\n <category field="medicine"/>\n <category field="psychology"/>\n <category field="social_science"/>\n <category field="sociology"/>\n <summary>Author-date system of the Publication Manual of the American Psychological Association (2020)</summary>\n <updated>2026-02-07T00:00:00+00:00</updated>\n <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>\n </info>\n <locale xml:lang="en">\n <terms>\n <term name="ad"> C.E.</term>\n <term name="bc"> B.C.E.</term>\n <term form="short" name="circa">ca.</term>\n <term name="guest">\n <single>guest expert</single>\n <multiple>guest experts</multiple>\n </term>\n <term form="short" name="illustrator">illus.</term>\n <term form="short" name="interviewer">\n <single>interviewer</single>\n <multiple>interviewers</multiple>\n </term>\n <term form="short" name="legislation">Pub. L.</term>\n <term name="manuscript">unpublished manuscript</term>\n <term form="verb" name="performer">recorded by</term>\n <term name="post">online post</term>\n <term name="review-of">review of the</term>\n <term form="short" name="review-of">review of</term>\n <term name="software">computer software</term>\n <term form="short" name="supplement">\n <single>suppl.</single>\n <multiple>suppls.</multiple>\n </term>\n </terms>\n </locale>\n <locale xml:lang="da">\n <terms>\n <term name="et-al">et al.</term>\n </terms>\n </locale>\n <locale xml:lang="de">\n <terms>\n <term name="et-al">et al.</term>\n </terms>\n </locale>\n <locale xml:lang="es">\n <terms>\n <term name="from">de</term>\n </terms>\n </locale>\n <locale xml:lang="fr">\n <terms>\n <term form="short" name="editor">\n <single>\xE9d.</single>\n <multiple>\xE9ds.</multiple>\n </term>\n </terms>\n </locale>\n <locale xml:lang="nb">\n <terms>\n <term name="et-al">et al.</term>\n </terms>\n </locale>\n <locale xml:lang="nl">\n <terms>\n <term name="et-al">et al.</term>\n </terms>\n </locale>\n <locale xml:lang="nn">\n <terms>\n <term name="et-al">et al.</term>\n </terms>\n </locale>\n <locale xml:lang="pl">\n <terms>\n <term name="et-al">i in.</term>\n </terms>\n </locale>\n <locale xml:lang="ro">\n <terms>\n <term name="et-al">et al.</term>\n </terms>\n </locale>\n <!-- Contents:\n\n APA uses four main reference elements:\n\n 1. Author (APA 9.7-12)\n 2. Date (APA 9.13-17)\n 3. Title and descriptions (APA 9.18-22)\n 3.1. Title (APA 9.18)\n 3.2. Identifier (in parentheses) (APA 9.19)\n 3.3. Description [in square brackets] (APA 9.21-22)\n 4. Source (APA 9.23-37)\n 4.1. Serial sources (APA 9.25-27)\n 4.2. Monographic sources (APA 9.28)\n 4.3. Publisher sources (APA 9.29)\n 4.4. Database and archive sources (APA 9.30)\n 4.5. Works with specific locations (APA 9.31)\n 4.6. Social media and website sources (APA 9.32-33)\n 4.7. DOI or URL (APA 9.34-36)\n\n A note on the source may follow the main reference elements:\n\n 5. Publication history (APA 9.39-41)\n\n APA also provides parallel rules for legal references following The Bluebook: A Uniform System of Citation (chap. 11):\n\n 6. Legal references\n -->\n <!-- APA categorizes all sources as serial (APA 9.25-27) or monographic (APA 9.28).\n\n Serial\n : article-journal article-magazine article-newspaper periodical post-weblog review review-book\n\n Serial or Monographic\n : interview paper-conference\n\n Monographic with any of `collection-editor compiler editor editorial-director`.\n A serial `paper-conference` is unpublished if it lacks any of `issue page supplement-number volume`.\n\n Monographic\n : article book broadcast chapter classic collection dataset document entry entry-dictionary entry-encyclopedia event figure graphic manuscript map motion_picture musical_score pamphlet patent performance personal_communication post report software song speech standard thesis webpage\n\n Legal\n : bill hearing legal_case legislation regulation treaty\n -->\n <!-- Equivalencies:\n\n `classic` == `book`\n `document` == `report` (but give full date)\n `standard` == `report`\n `performance` == `speech`\n `event` == `speech`\n -->\n <!-- Role equivalencies:\n\n `compiler` == `editor`\n `organizer`, `curator` == `chair`\n `script-writer` == `director`\n `producer` == `director` (but don\'t print both)\n `guest`, `host` == `director`\n `series-creator`, `executive-producer` == `editor`\n -->\n <!-- Reviews are detected if an item has type `review` or `review-book` or if it has any of the variables `reviewed-title`, `reviewed-author`, or `reviewed-genre`. For the latter case, reviews are commonly stored as types `article-journal`, `article-magazine`, `article-newspaper`, `post-weblog`, or `webpage`. -->\n <!-- Indigeneous knowledge: Assume the item is stored as `document` or `speech` and that Nation/Community, treaty territory, where the Elder lives, and topic are all stored in `title`. Cf. <https://libguides.norquest.ca/c.php?g=314831&p=5188823>. If the item is stored as `interview`, assume that Nation/Community, treaty territory, and topic are stored in `title`. \'Oral teaching\' or similar is stored in `archive`, and where the Elder lives is stored in `archive-place`. -->\n <!-- Variable labels -->\n <macro name="label-chapter-number">\n <group delimiter=" ">\n <choose>\n <if is-numeric="chapter-number" type="song">\n <text text-case="capitalize-first" value="track"/>\n </if>\n <else-if is-numeric="chapter-number">\n <label text-case="capitalize-first" variable="chapter-number"/>\n </else-if>\n </choose>\n <text variable="chapter-number"/>\n </group>\n </macro>\n <macro name="label-edition">\n <group delimiter=" ">\n <choose>\n <if is-numeric="edition">\n <number form="ordinal" variable="edition"/>\n <label form="short" variable="edition"/>\n </if>\n <else>\n <text variable="edition"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="label-issue">\n <group delimiter=" ">\n <label text-case="capitalize-first" variable="issue"/>\n <text variable="issue"/>\n </group>\n </macro>\n <macro name="label-locator">\n <!-- Abbreviate page and paragraph; leave other locator labels in long form (APA 8.13) -->\n <group delimiter=" ">\n <choose>\n <if locator="page">\n <label form="short" variable="locator"/>\n </if>\n <else-if match="any" type="bill hearing legal_case legislation regulation treaty">\n <!-- Bluebook-style labels for legal types -->\n <choose>\n <if locator="chapter paragraph section" match="any">\n <label form="symbol" variable="locator"/>\n </if>\n <else>\n <label text-case="capitalize-first" variable="locator"/>\n </else>\n </choose>\n </else-if>\n <else-if locator="paragraph">\n <label form="short" variable="locator"/>\n </else-if>\n <else-if is-numeric="locator">\n <label text-case="capitalize-first" variable="locator"/>\n </else-if>\n <!-- a non-numeric canonical reference is identified by its formatting and does not need a label, similar to a timestamp -->\n <else-if locator="chapter line verse" match="any"/>\n <else>\n <label text-case="capitalize-first" variable="locator"/>\n </else>\n </choose>\n <text variable="locator"/>\n </group>\n </macro>\n <macro name="label-number">\n <group delimiter=" ">\n <choose>\n <if type="standard"/>\n <else-if is-numeric="number" match="any" type="legislation patent regulation">\n <label form="short" text-case="capitalize-first" variable="number"/>\n </else-if>\n </choose>\n <text text-case="capitalize-first" variable="number"/>\n </group>\n </macro>\n <macro name="label-number-capitalized">\n <!-- alias for cross-compatibility of Bluebook macros -->\n <text macro="label-number"/>\n </macro>\n <macro name="label-number-article">\n <!-- APA example 6: Journal article with article number or eLocator -->\n <group delimiter=" ">\n <text term="article-locator" text-case="capitalize-first"/>\n <text variable="number"/>\n </group>\n </macro>\n <macro name="label-number-of-volumes">\n <group delimiter=" ">\n <choose>\n <if is-numeric="number-of-volumes">\n <label form="short" text-case="capitalize-first" variable="number-of-volumes"/>\n <group>\n <text prefix="1" term="page-range-delimiter"/>\n <number variable="number-of-volumes"/>\n </group>\n </if>\n <else>\n <text variable="number-of-volumes"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="label-page">\n <group delimiter=" ">\n <label form="short" variable="page"/>\n <text variable="page"/>\n </group>\n </macro>\n <macro name="label-part-number">\n <group delimiter=" ">\n <choose>\n <if is-numeric="part-number">\n <!-- TODO: Replace with `part-number` label when CSL provides one -->\n <text form="short" term="part" text-case="capitalize-first"/>\n </if>\n </choose>\n <text text-case="capitalize-first" variable="part-number"/>\n </group>\n </macro>\n <macro name="label-section-symbol">\n <group delimiter=" ">\n <label form="symbol" variable="section"/>\n <text variable="section"/>\n </group>\n </macro>\n <macro name="label-supplement-number">\n <group delimiter=" ">\n <choose>\n <if is-numeric="supplement-number">\n <!-- TODO: Replace with `supplement-number` label when CSL provides one -->\n <text form="short" term="supplement" text-case="capitalize-first"/>\n </if>\n </choose>\n <text text-case="capitalize-first" variable="supplement-number"/>\n </group>\n </macro>\n <macro name="label-version">\n <group delimiter=" ">\n <label text-case="capitalize-first" variable="version"/>\n <text variable="version"/>\n </group>\n </macro>\n <macro name="label-volume">\n <group delimiter=" ">\n <choose>\n <if is-numeric="volume">\n <label form="short" text-case="capitalize-first" variable="volume"/>\n </if>\n </choose>\n <text text-case="capitalize-first" variable="volume"/>\n </group>\n </macro>\n <!-- 1. Author (APA 9.7-12) -->\n <macro name="author">\n <!-- Substitutes for missing authors: order prioritizes primary creators (e.g., composer, author) over secondary roles (e.g., editor, curator), with title as the final fallback. -->\n <names variable="composer">\n <name and="symbol" delimiter-precedes-last="always" name-as-sort-order="all"/>\n <label form="short" prefix=" (" suffix=")" text-case="title"/>\n <substitute>\n <names variable="author"/>\n <!-- `narrator` only cited in `identifier-contributors` -->\n <names variable="illustrator"/>\n <choose>\n <if type="broadcast">\n <names variable="script-writer director">\n <!-- Actors/performers and producers [not executive] not cited in APA style. -->\n <name and="symbol" delimiter-precedes-last="always" name-as-sort-order="all"/>\n <label prefix=" (" suffix=")" text-case="title"/>\n </names>\n </if>\n </choose>\n <names variable="director">\n <!-- For non-broadcast items, APA only cites directors and not writers. -->\n <name and="symbol" delimiter-precedes-last="always" name-as-sort-order="all"/>\n <label prefix=" (" suffix=")" text-case="title"/>\n </names>\n <names variable="guest host">\n <!-- TODO: Collapse variables when that becomes available. -->\n <name and="symbol" delimiter-precedes-last="always" name-as-sort-order="all"/>\n <label prefix=" (" suffix=")" text-case="title"/>\n </names>\n <names variable="producer">\n <!-- Producers not cited if there is a writer/director, but use if they are the principal creator. -->\n <name and="symbol" delimiter-precedes-last="always" name-as-sort-order="all"/>\n <label prefix=" (" suffix=")" text-case="title"/>\n </names>\n <choose>\n <if match="any" type="entry-dictionary entry-encyclopedia">\n <text variable="publisher"/>\n </if>\n </choose>\n <choose>\n <if match="none" variable="container-title"/>\n <else-if match="any" type="book classic entry entry-dictionary entry-encyclopedia">\n <!-- Items with a monographic `container-title` substitute their title and identifier, but leave description after `container-title`. This mimics the `source-monographic` macro. -->\n <text macro="author-title-substitute"/>\n </else-if>\n </choose>\n <names variable="executive-producer">\n <name and="symbol" delimiter-precedes-last="always" name-as-sort-order="all"/>\n <label prefix=" (" suffix=")" text-case="title"/>\n </names>\n <names variable="series-creator">\n <name and="symbol" delimiter-precedes-last="always" name-as-sort-order="all"/>\n <label prefix=" (" suffix=")" text-case="title"/>\n </names>\n <names variable="editor-translator"/>\n <!-- `translator` is not cited as a primary creator (only as Ed. & Trans.). -->\n <names variable="editor"/>\n <names variable="editorial-director"/>\n <names variable="compiler">\n <name and="symbol" delimiter-precedes-last="always" name-as-sort-order="all"/>\n <label prefix=" (" suffix=")" text-case="title"/>\n </names>\n <choose>\n <if match="any" type="event performance speech">\n <names variable="chair">\n <name and="symbol" delimiter-precedes-last="always" name-as-sort-order="all"/>\n <label prefix=" (" suffix=")" text-case="title"/>\n </names>\n <names variable="organizer">\n <name and="symbol" delimiter-precedes-last="always" name-as-sort-order="all"/>\n <label prefix=" (" suffix=")" text-case="title"/>\n </names>\n </if>\n </choose>\n <names variable="curator">\n <name and="symbol" delimiter-precedes-last="always" name-as-sort-order="all"/>\n <label prefix=" (" suffix=")" text-case="title"/>\n </names>\n <names variable="collection-editor"/>\n <choose>\n <if match="any" type="software webpage">\n <!-- `software` (APA 10.10) and `webpage` (APA 10.16) can be cited under "name of group": likely in `publisher` if no `author` -->\n <text variable="publisher"/>\n </if>\n <else-if type="standard">\n <text variable="authority"/>\n </else-if>\n </choose>\n <text macro="author-title-substitute"/>\n </substitute>\n </names>\n </macro>\n <macro name="author-and-contributors">\n <group delimiter=" ">\n <text macro="author"/>\n <choose>\n <!-- add nonprimary authors equivalent to those appearing "on a book cover"; do not modify the in-text citation (APA 9.8) -->\n <if match="none" variable="author compiler composer editor editor-translator illustrator"/>\n <else-if match="any" type="book musical_score pamphlet report standard">\n <names prefix="(" suffix=")" variable="contributor">\n <label form="verb" suffix=" "/>\n <name and="symbol" delimiter-precedes-last="always" name-as-sort-order="all"/>\n </names>\n </else-if>\n </choose>\n </group>\n </macro>\n <macro name="author-short">\n <choose>\n <if match="any" type="bill hearing legal_case legislation regulation treaty">\n <text macro="title-and-descriptions-short"/>\n </if>\n <else-if match="any" type="interview personal_communication">\n <choose>\n <!-- These variables indicate that the letter is retrievable by the reader. If not, use the APA in-text-only personal communication format. -->\n <if match="any" variable="archive archive-place container-title DOI number publisher references URL">\n <names variable="author">\n <name and="symbol" form="short"/>\n <substitute>\n <text macro="title-and-descriptions-short"/>\n </substitute>\n </names>\n </if>\n <else>\n <group delimiter=", ">\n <names variable="author">\n <name and="symbol"/>\n <substitute>\n <text macro="title-and-descriptions-short"/>\n </substitute>\n </names>\n <text term="personal-communication"/>\n </group>\n </else>\n </choose>\n </else-if>\n <else>\n <names variable="composer">\n <name and="symbol" form="short"/>\n <substitute>\n <names variable="author"/>\n <names variable="illustrator"/>\n <choose>\n <if type="broadcast">\n <!-- TODO: Collapse variables when that becomes available. -->\n <!-- Ideally combine as `script-writer director` -->\n <names variable="script-writer"/>\n </if>\n </choose>\n <names variable="director"/>\n <!-- TODO: Collapse variables when that becomes available. -->\n <names variable="guest host"/>\n <names variable="producer"/>\n <choose>\n <if match="any" type="entry-dictionary entry-encyclopedia">\n <text variable="publisher"/>\n </if>\n </choose>\n <choose>\n <if match="none" variable="container-title"/>\n <else-if match="any" type="book classic entry entry-dictionary entry-encyclopedia">\n <text macro="title-and-descriptions-short"/>\n </else-if>\n </choose>\n <names variable="executive-producer"/>\n <names variable="series-creator"/>\n <names variable="editor"/>\n <names variable="editorial-director"/>\n <names variable="compiler"/>\n <choose>\n <if match="any" type="event performance speech">\n <names variable="chair"/>\n <names variable="organizer"/>\n </if>\n </choose>\n <names variable="curator"/>\n <names variable="collection-editor"/>\n <choose>\n <if match="any" type="software webpage">\n <!-- `software` (APA 10.10) and `webpage` (APA 10.16) can be cited under "name of group": likely in `publisher` if no `author` -->\n <text form="short" variable="publisher"/>\n </if>\n <else-if type="standard">\n <text form="short" variable="authority"/>\n </else-if>\n </choose>\n <text macro="title-and-descriptions-short"/>\n </substitute>\n </names>\n </else>\n </choose>\n </macro>\n <macro name="author-sort">\n <choose>\n <if match="any" type="bill hearing legal_case legislation regulation treaty">\n <text macro="legal-title"/>\n </if>\n <else>\n <text macro="author"/>\n </else>\n </choose>\n </macro>\n <!-- Author elements -->\n <macro name="author-title-substitute">\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- `title` is only the review title if there is a separate `reviewed-genre` or `reviewed-title`; otherwise, it is the title of the reviewed work, printed in the description -->\n <choose>\n <if variable="reviewed-genre title">\n <text macro="title"/>\n </if>\n <else-if variable="reviewed-title title">\n <text macro="title"/>\n </else-if>\n <else>\n <text macro="title-and-descriptions"/>\n </else>\n </choose>\n </if>\n <else-if variable="title">\n <!-- If an item has a `title`, substitute missing author with title and identifier, but leave description after the date (in the title position). -->\n <group delimiter=" ">\n <text macro="title"/>\n <text macro="identifier"/>\n </group>\n </else-if>\n <else>\n <!-- If an item has no `title`, substitute with descriptions. -->\n <text macro="title-and-descriptions"/>\n </else>\n </choose>\n </macro>\n <!-- 2. Date (APA 9.13-17) -->\n <macro name="date">\n <!-- Full dates included for ephemeral sources (e.g. broadcasts, interviews) to provide maximum specificity, while books use year only. -->\n <group delimiter="-" prefix="(" suffix=")">\n <choose>\n <if variable="issued">\n <group delimiter=", ">\n <group>\n <text macro="date-issued-year"/>\n <text variable="year-suffix"/>\n </group>\n <choose>\n <if match="any" type="article-magazine article-newspaper broadcast collection document event motion_picture pamphlet performance personal_communication post post-weblog song speech webpage">\n <!-- Many video and audio examples in manual give full dates. Err on the side of too much information. -->\n <text macro="date-issued-month-day"/>\n </if>\n <!-- Only show the month and day for an unpublished `interview` or `paper-conference` -->\n <else-if match="any" variable="collection-editor compiler editor editorial-director issue page supplement-number volume"/>\n <else-if match="any" type="interview paper-conference">\n <text macro="date-issued-month-day"/>\n </else-if>\n <!-- Only year: article article-journal book chapter classic entry entry-dictionary entry-encyclopedia dataset figure graphic manuscript map musical_score paper-conference[published] patent periodical report review review-book software standard thesis -->\n </choose>\n </group>\n </if>\n <else-if variable="status">\n <!-- Print the status variable rather than use generic CSL terms (`in press`, etc.) -->\n <text text-case="lowercase" variable="status"/>\n <text variable="year-suffix"/>\n </else-if>\n <else>\n <text form="short" term="no date"/>\n <text variable="year-suffix"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="date-short">\n <group delimiter="-">\n <choose>\n <if variable="issued">\n <group delimiter="/">\n <text macro="date-original-year"/>\n <group>\n <choose>\n <if match="any" variable="archive archive-place container-title DOI number publisher references URL">\n <text macro="date-issued-year"/>\n </if>\n <else-if match="any" type="interview personal_communication">\n <!-- use the in-text-only format for inaccessible personal communications -->\n <text macro="date-issued-full"/>\n </else-if>\n <else>\n <text macro="date-issued-year"/>\n </else>\n </choose>\n <text variable="year-suffix"/>\n </group>\n </group>\n </if>\n <else-if variable="status">\n <!-- Print the status variable rather than use generic CSL terms (`in press`, etc.) -->\n <text text-case="lowercase" variable="status"/>\n <text variable="year-suffix"/>\n </else-if>\n <else>\n <text form="short" term="no date"/>\n <text variable="year-suffix"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="date-sort">\n <!-- Sort items by issue date as printed -->\n <choose>\n <if match="any" type="article article-journal book chapter entry entry-dictionary entry-encyclopedia dataset figure graphic manuscript map musical_score patent report review review-book thesis">\n <date date-parts="year" form="numeric" variable="issued"/>\n </if>\n <else-if type="paper-conference">\n <!-- Determine whether published and serial or monographic -->\n <choose>\n <if match="any" variable="collection-editor compiler editor editorial-director issue page supplement-number volume">\n <date date-parts="year" form="numeric" variable="issued"/>\n </if>\n <else>\n <text macro="date-issued-leading-zeros"/>\n </else>\n </choose>\n </else-if>\n <else>\n <text macro="date-issued-leading-zeros"/>\n </else>\n </choose>\n </macro>\n <macro name="date-sort-group">\n <!-- Sorts items with and without dates:\n\n 1. `no date` items (= 0)\n 2. items with dates (= 1)\n 3. items with `status` (forthcoming, in press, etc.) (= 2) -->\n <choose>\n <if variable="issued">\n <text value="1"/>\n </if>\n <else-if variable="status">\n <text value="2"/>\n </else-if>\n <else>\n <text value="0"/>\n </else>\n </choose>\n </macro>\n <!-- Date elements -->\n <macro name="date-event-full">\n <group delimiter=" ">\n <choose>\n <if is-uncertain-date="event-date">\n <text form="short" term="circa"/>\n </if>\n </choose>\n <date form="text" variable="event-date"/>\n </group>\n </macro>\n <macro name="date-issued-full">\n <group delimiter=" ">\n <choose>\n <if is-uncertain-date="issued">\n <text form="short" term="circa"/>\n </if>\n </choose>\n <date form="text" variable="issued"/>\n </group>\n </macro>\n <macro name="date-issued-leading-zeros">\n <date delimiter="-" variable="issued">\n <date-part name="year"/>\n <date-part form="numeric-leading-zeros" name="month"/>\n <date-part form="numeric-leading-zeros" name="day"/>\n </date>\n </macro>\n <macro name="date-issued-month-day">\n <date variable="issued">\n <date-part name="month"/>\n <date-part name="day" prefix=" "/>\n </date>\n </macro>\n <macro name="date-issued-year">\n <group delimiter=" ">\n <choose>\n <if is-uncertain-date="issued">\n <text form="short" term="circa"/>\n </if>\n </choose>\n <date date-parts="year" form="numeric" variable="issued"/>\n </group>\n </macro>\n <macro name="date-original-year">\n <group delimiter=" ">\n <choose>\n <if is-uncertain-date="original-date">\n <text form="short" term="circa"/>\n </if>\n </choose>\n <date date-parts="year" form="numeric" variable="original-date"/>\n </group>\n </macro>\n <!-- 3. Title and descriptions (APA 9.18-22) -->\n <macro name="title-and-descriptions">\n <group delimiter=" ">\n <choose>\n <if variable="title">\n <text macro="title"/>\n <text macro="identifier"/>\n <text macro="description"/>\n </if>\n <else-if match="any" type="bill report">\n <!-- Bills, resolutions, and congressional reports substitute bill number if no title. -->\n <!-- Congressional reports are indistinguishable from other reports -->\n <text macro="identifier-number"/>\n <text macro="description"/>\n <text macro="identifier"/>\n </else-if>\n <else>\n <text macro="description"/>\n <text macro="identifier"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="title-and-descriptions-short">\n <choose>\n <if variable="title">\n <text macro="title-short"/>\n </if>\n <else-if match="any" type="bill report">\n <!-- Bills, resolutions, and congressional reports substitute bill number if no title. -->\n <text macro="legal-identifier-bill-report"/>\n </else-if>\n <else>\n <text macro="description-short"/>\n </else>\n </choose>\n </macro>\n <!-- 3.1. Title (APA 9.18) -->\n <macro name="title">\n <choose>\n <if match="any" type="post webpage">\n <!-- part number/title always at the analytic level -->\n <text font-style="italic" macro="title-and-part-filter-review"/>\n </if>\n <!-- Other types are italicized based on presence of `container-title`. Assume that `review` and `review-book` are published either in a serial or on a webpage (APA example 69) -->\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <text macro="title-serial"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <text macro="title-monographic"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <text macro="title-serial"/>\n </else-if>\n <else>\n <text macro="title-monographic"/>\n </else>\n </choose>\n </macro>\n <macro name="title-short">\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- `title` is only the review title if there is a separate `reviewed-genre` or `reviewed-title`; otherwise, it is the title of the reviewed work, printed in the description -->\n <choose>\n <if variable="reviewed-genre title">\n <!-- Quotes, title case -->\n <text form="short" quotes="true" text-case="title" variable="title"/>\n </if>\n <else-if variable="reviewed-title title">\n <!-- Quotes, title case -->\n <text form="short" quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else>\n <text macro="description-short"/>\n </else>\n </choose>\n </if>\n <else-if match="any" type="bill legislation regulation report treaty">\n <!-- No italics or quotes, title case -->\n <text form="short" text-case="title" variable="title"/>\n </else-if>\n <else-if match="any" type="legal_case post">\n <!-- Italicized, sentence case -->\n <text font-style="italic" form="short" variable="title"/>\n </else-if>\n <else-if match="any" type="hearing webpage">\n <!-- Italicized, title case (regardless of `container-title`) -->\n <text font-style="italic" form="short" text-case="title" variable="title"/>\n </else-if>\n <!-- Other types are formatted based on presence of `container-title`, as in title macro -->\n <else-if variable="container-title">\n <!-- Quotes, title case -->\n <text form="short" quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else>\n <!-- Italicized, title case (default) -->\n <text font-style="italic" form="short" text-case="title" variable="title"/>\n </else>\n </choose>\n </macro>\n <!-- Title elements -->\n <macro name="title-and-part-filter-review">\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- If a review has no `reviewed-genre` or `reviewed-title`, assume that `title` contains the title of the reviewed work; the description provides it. -->\n <choose>\n <if variable="reviewed-genre title">\n <text macro="title-and-part-title"/>\n </if>\n <else-if variable="reviewed-title title">\n <text macro="title-and-part-title"/>\n </else-if>\n </choose>\n </if>\n <else>\n <text macro="title-and-part-title"/>\n </else>\n </choose>\n </macro>\n <macro name="title-and-part-title">\n <group delimiter=": ">\n <text variable="title"/>\n <text macro="title-part"/>\n </group>\n </macro>\n <macro name="title-and-volume-title">\n <group delimiter=": ">\n <text variable="title"/>\n <text macro="title-volume"/>\n </group>\n </macro>\n <macro name="title-monographic">\n <!-- For monographic items, assume `part-number` and `part-title` refer to the book/volume. -->\n <choose>\n <if variable="container-title">\n <text variable="title"/>\n </if>\n <else>\n <!-- For monographic items without `container-title` and with `volume-title`, append `volume-title` to `title` (APA example 30) -->\n <text font-style="italic" macro="title-and-volume-title"/>\n </else>\n </choose>\n </macro>\n <macro name="title-part">\n <choose>\n <if variable="part-title">\n <group delimiter=". ">\n <text macro="label-part-number"/>\n <text text-case="capitalize-first" variable="part-title"/>\n </group>\n </if>\n <else-if is-numeric="part-number"/>\n <else>\n <text macro="label-part-number"/>\n </else>\n </choose>\n </macro>\n <macro name="title-serial">\n <!-- For serials, assume that `part-number` and `part-title` refer to the article and append to `title` -->\n <choose>\n <if variable="container-title">\n <text macro="title-and-part-filter-review"/>\n </if>\n <else>\n <!-- for serial items without `container-title`, don\'t append `volume-title` to `title` -->\n <text font-style="italic" macro="title-and-part-filter-review"/>\n </else>\n </choose>\n </macro>\n <macro name="title-volume">\n <group delimiter=", ">\n <choose>\n <!-- Assume that `part-number` and `part-title` of monographic items refer to the source book/volume -->\n <if variable="volume-title">\n <group delimiter=": ">\n <group delimiter=". ">\n <text macro="label-volume"/>\n <text variable="volume-title"/>\n </group>\n <text macro="title-part"/>\n </group>\n </if>\n <else-if variable="part-title">\n <text macro="label-volume"/>\n <text macro="title-part"/>\n </else-if>\n <!-- if there is no `part-title` or `volume title`, `part-number` and `volume` appear in `identifier` if numeric -->\n <else-if is-numeric="part-number volume"/>\n <else-if is-numeric="part-number" variable="volume">\n <text macro="label-volume"/>\n </else-if>\n <else-if is-numeric="volume" variable="part-number">\n <text macro="label-part-number"/>\n </else-if>\n <else-if is-numeric="part-number"/>\n <else-if is-numeric="volume"/>\n <else>\n <text macro="label-volume"/>\n <text macro="label-part-number"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- 3.2. Identifier (in parentheses) (APA 9.19) -->\n <macro name="identifier">\n <!-- (Secondary contributors; Database location; Genre no. 123; Report Series 123, Version, Edition, Volume, Page) -->\n <group delimiter="; " prefix="(" suffix=")">\n <choose>\n <if type="patent">\n <text macro="identifier-patent"/>\n </if>\n <else-if match="any" type="post webpage">\n <!-- print `container-title` on `post` or `webpage` in the same way as `publisher` -->\n <text macro="identifier-contributors"/>\n <text macro="identifier-number"/>\n <text macro="identifier-monographic"/>\n </else-if>\n <else-if type="report" variable="container-title">\n <!-- If the report is a chapter in a larger report, then most identifying information is printed in the source. -->\n <text macro="identifier-contributors"/>\n </else-if>\n <else-if type="report" variable="title">\n <text macro="identifier-contributors"/>\n <text macro="identifier-number"/>\n <text macro="identifier-monographic"/>\n </else-if>\n <else-if type="report">\n <!-- If there is no `title`, then `genre` and `number` are already printed as the title. -->\n <text macro="identifier-contributors"/>\n <text macro="identifier-monographic"/>\n </else-if>\n <else-if variable="container-title">\n <choose>\n <if match="none" variable="genre title">\n <text macro="label-chapter-number"/>\n </if>\n </choose>\n <text macro="identifier-contributors"/>\n <choose>\n <if match="any" type="broadcast graphic map motion_picture">\n <!-- For some audiovisual media, `number` information comes after title, not `container-title` (APA example 94); but an album track number is `chapter-number` -->\n <text macro="identifier-number"/>\n </if>\n </choose>\n <text macro="identifier-serial"/>\n </else-if>\n <else>\n <text macro="identifier-contributors"/>\n <text macro="identifier-number"/>\n <text macro="identifier-monographic"/>\n <text macro="identifier-serial"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- Identifier elements -->\n <macro name="identifier-contributors">\n <choose>\n <if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <text macro="identifier-contributors-serial"/>\n </if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <text macro="identifier-contributors-monographic"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <text macro="identifier-contributors-serial"/>\n </else-if>\n <else>\n <text macro="identifier-contributors-monographic"/>\n </else>\n </choose>\n </macro>\n <macro name="identifier-contributors-monographic">\n <group delimiter="; ">\n <choose>\n <if variable="title">\n <names variable="interviewer">\n <name and="symbol"/>\n <label form="short" prefix=", " text-case="title"/>\n </names>\n </if>\n </choose>\n <choose>\n <if match="any" type="post webpage">\n <!-- print `container-title` on `post` or `webpage` in the same way as `publisher` -->\n <names variable="container-author">\n <label form="verb-short" suffix=" " text-case="title"/>\n <name and="symbol"/>\n </names>\n <names delimiter="; " variable="editor translator">\n <name and="symbol"/>\n <label form="short" prefix=", " text-case="title"/>\n </names>\n <names delimiter="; " variable="illustrator narrator">\n <name and="symbol"/>\n <label form="short" prefix=", " text-case="title"/>\n </names>\n <names delimiter="; " variable="compiler chair organizer curator series-creator executive-producer">\n <name and="symbol"/>\n <label prefix=", " text-case="title"/>\n </names>\n </if>\n <else>\n <names delimiter="; " variable="illustrator narrator">\n <name and="symbol"/>\n <label form="short" prefix=", " text-case="title"/>\n </names>\n <choose>\n <if variable="container-title editor-translator"/>\n <else-if variable="container-title">\n <!-- TODO: Check logic once processors start to automatically populate `editor-translator` -->\n <names delimiter="; " variable="translator">\n <name and="symbol"/>\n <label form="short" prefix=", " text-case="title"/>\n </names>\n </else-if>\n <else>\n <names variable="container-author">\n <label form="verb-short" suffix=" " text-case="title"/>\n <name and="symbol"/>\n </names>\n <names delimiter="; " variable="editor translator">\n <name and="symbol"/>\n <label form="short" prefix=", " text-case="title"/>\n </names>\n <names delimiter="; " variable="compiler chair organizer curator series-creator executive-producer">\n <name and="symbol"/>\n <label prefix=", " text-case="title"/>\n </names>\n </else>\n </choose>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="identifier-contributors-serial">\n <group delimiter="; ">\n <choose>\n <if variable="title">\n <names delimiter="; " variable="interviewer">\n <name and="symbol"/>\n <label form="short" prefix=", " text-case="title"/>\n </names>\n </if>\n </choose>\n <names delimiter="; " variable="translator narrator">\n <name and="symbol"/>\n <label form="short" prefix=", " text-case="title"/>\n </names>\n </group>\n </macro>\n <macro name="identifier-locators">\n <choose>\n <if variable="page">\n <text macro="label-page"/>\n </if>\n <else-if variable="chapter-number genre">\n <text macro="label-chapter-number"/>\n </else-if>\n <else-if variable="chapter-number title">\n <text macro="label-chapter-number"/>\n </else-if>\n <!-- `chapter-number` appears earlier in `identifier` if there is no `title` or `genre` -->\n </choose>\n </macro>\n <macro name="identifier-monographic">\n <choose>\n <!-- omit serial types -->\n <if match="any" type="article-journal article-magazine article-newspaper broadcast event patent performance periodical post post-weblog review review-book speech webpage"/>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="identifier-monographic-item"/>\n </else-if>\n <!-- omit serial types -->\n <else-if match="any" type="interview paper-conference"/>\n <else>\n <!-- monographic types -->\n <text macro="identifier-monographic-item"/>\n </else>\n </choose>\n </macro>\n <macro name="identifier-monographic-item">\n <group delimiter=", ">\n <text macro="label-version"/>\n <text macro="label-edition"/>\n <text macro="identifier-series"/>\n <text macro="label-supplement-number"/>\n <text macro="identifier-number-volume"/>\n <text macro="identifier-number-part"/>\n <text macro="label-issue"/>\n <text macro="identifier-locators"/>\n </group>\n </macro>\n <macro name="identifier-number">\n <group delimiter=" ">\n <choose>\n <if type="thesis" variable="genre">\n <!-- `genre` provided with thesis description (APA example 65) -->\n <text text-case="capitalize-first" value="publication"/>\n </if>\n <else-if variable="number">\n <text text-case="title" variable="genre"/>\n </else-if>\n </choose>\n <text macro="label-number"/>\n </group>\n </macro>\n <macro name="identifier-number-part">\n <choose>\n <!-- Part number printed with part title -->\n <if variable="part-title"/>\n <!-- Non-numeric part numbers printed as part of the title -->\n <else-if is-numeric="part-number">\n <text macro="label-part-number"/>\n </else-if>\n </choose>\n </macro>\n <macro name="identifier-number-volume">\n <choose>\n <!-- Volume number printed with volume/part title -->\n <if variable="volume volume-title"/>\n <else-if variable="part-title volume"/>\n <!-- Non-numeric volumes printed as part of the book title -->\n <else-if is-numeric="volume">\n <text macro="label-volume"/>\n </else-if>\n <else>\n <text macro="label-number-of-volumes"/>\n </else>\n </choose>\n </macro>\n <macro name="identifier-patent">\n <!-- `authority`: U.S. ; `genre`: patent ; `number`: 123,445 -->\n <group delimiter=" ">\n <text form="short" variable="authority"/>\n <choose>\n <if variable="genre">\n <text text-case="capitalize-first" variable="genre"/>\n </if>\n <else>\n <text term="patent" text-case="capitalize-first"/>\n </else>\n </choose>\n <text macro="label-number"/>\n </group>\n </macro>\n <macro name="identifier-serial">\n <choose>\n <if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text macro="identifier-number-part"/>\n </if>\n <!-- omit monographic types -->\n <else-if match="any" variable="collection-editor compiler editor editorial-director"/>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text macro="identifier-number-part"/>\n </else-if>\n </choose>\n </macro>\n <macro name="identifier-series">\n <!-- Series given only for report-like types (APA example 52) -->\n <choose>\n <if match="any" type="document report standard">\n <group delimiter=" ">\n <text text-case="title" variable="collection-title"/>\n <text variable="collection-number"/>\n </group>\n </if>\n </choose>\n </macro>\n <!-- 3.3. Description [in square brackets] (APA 9.21) -->\n <macro name="description">\n <group prefix="[" suffix="]">\n <choose>\n <if match="any" type="interview" variable="interviewer">\n <text macro="description-interview"/>\n </if>\n <else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <text macro="description-review"/>\n </else-if>\n <else-if type="personal_communication">\n <text macro="description-letter"/>\n </else-if>\n <else-if type="song" variable="composer">\n <text macro="description-song"/>\n </else-if>\n <else-if type="thesis">\n <text macro="description-thesis"/>\n </else-if>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <text macro="description-serial"/>\n </else-if>\n <else-if match="none" variable="container-title">\n <!-- Other description -->\n <text macro="description-format"/>\n </else-if>\n <!-- For unpublished conference presentations/performances/events, chapters in reports/standards/generic documents, software, place description within the source element -->\n <else-if match="any" type="document report software standard"/>\n <else-if match="any" type="event paper-conference performance speech">\n <choose>\n <if match="any" variable="collection-editor compiler editor editorial-director issue page supplement-number volume">\n <text macro="description-format"/>\n </if>\n </choose>\n </else-if>\n <else>\n <text macro="description-format"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="description-short">\n <group prefix="[" suffix="]">\n <choose>\n <if match="any" type="interview" variable="interviewer">\n <text macro="description-interview-short"/>\n </if>\n <else-if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <text macro="description-review-short"/>\n </else-if>\n <else-if type="personal_communication">\n <text macro="description-letter-short"/>\n </else-if>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text macro="description-serial-short"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="description-format-short"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text macro="description-serial-short"/>\n </else-if>\n <else>\n <!-- monographic types -->\n <text macro="description-format-short"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- Description elements -->\n <macro name="description-format">\n <choose>\n <if match="any" variable="genre medium">\n <group delimiter="; ">\n <choose>\n <if match="none" variable="number">\n <text text-case="capitalize-first" variable="genre"/>\n </if>\n </choose>\n <text text-case="capitalize-first" variable="medium"/>\n </group>\n </if>\n <else>\n <text macro="description-format-term-generic"/>\n </else>\n </choose>\n </macro>\n <macro name="description-format-short">\n <choose>\n <if variable="genre">\n <text form="short" text-case="capitalize-first" variable="genre"/>\n </if>\n <else-if variable="medium">\n <text form="short" text-case="capitalize-first" variable="medium"/>\n </else-if>\n <else>\n <text macro="description-format-term-generic"/>\n </else>\n </choose>\n </macro>\n <macro name="description-format-term-generic">\n <!-- Generic labels for specific types -->\n <choose>\n <if type="broadcast">\n <text term="broadcast" text-case="capitalize-first"/>\n </if>\n <else-if type="collection">\n <text term="collection" text-case="capitalize-first"/>\n </else-if>\n <else-if type="dataset">\n <text term="dataset" text-case="capitalize-first"/>\n </else-if>\n <else-if type="figure">\n <text term="figure" text-case="capitalize-first"/>\n </else-if>\n <else-if type="graphic">\n <text term="graphic" text-case="capitalize-first"/>\n </else-if>\n <else-if match="any" type="interview personal_communication">\n <choose>\n <if match="none" variable="archive archive-place container-title DOI number publisher references URL">\n <text term="personal-communication" text-case="capitalize-first"/>\n </if>\n <else-if type="interview">\n <text term="interview" text-case="capitalize-first"/>\n </else-if>\n <else-if type="personal_communication">\n <text term="letter" text-case="capitalize-first"/>\n </else-if>\n </choose>\n </else-if>\n <else-if type="manuscript">\n <choose>\n <if match="none" variable="archive archive-place container-title DOI number publisher references URL">\n <text term="manuscript" text-case="capitalize-first"/>\n </if>\n </choose>\n </else-if>\n <else-if type="map">\n <text term="map" text-case="capitalize-first"/>\n </else-if>\n <else-if type="motion_picture">\n <text term="motion_picture" text-case="capitalize-first"/>\n </else-if>\n <else-if type="periodical" variable="container-title supplement-number">\n <text term="supplement" text-case="capitalize-first"/>\n </else-if>\n <else-if type="periodical" variable="container-title title">\n <text term="special-issue" text-case="capitalize-first"/>\n </else-if>\n <else-if type="song">\n <text term="song" text-case="capitalize-first"/>\n </else-if>\n <else-if type="software">\n <text term="software" text-case="capitalize-first"/>\n </else-if>\n <else-if type="post">\n <text term="post" text-case="capitalize-first"/>\n </else-if>\n <else-if type="review">\n <text term="review" text-case="capitalize-first"/>\n </else-if>\n <else-if type="review-book">\n <text term="review-book" text-case="capitalize-first"/>\n </else-if>\n </choose>\n </macro>\n <macro name="description-interview">\n <group delimiter="; ">\n <choose>\n <if variable="interviewer title">\n <!-- Avoid repeating \'interview\' -->\n <choose>\n <if match="none" variable="number">\n <text text-case="capitalize-first" variable="genre"/>\n </if>\n </choose>\n <text text-case="capitalize-first" variable="medium"/>\n </if>\n <else-if variable="title">\n <text macro="description-format"/>\n </else-if>\n <else-if variable="genre">\n <group delimiter=" ">\n <text text-case="capitalize-first" variable="genre"/>\n <choose>\n <if variable="interviewer">\n <text form="verb" term="container-author"/>\n <names variable="interviewer">\n <name and="symbol"/>\n </names>\n </if>\n </choose>\n </group>\n </else-if>\n <else-if variable="interviewer">\n <names variable="interviewer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="symbol"/>\n </names>\n <text text-case="capitalize-first" variable="medium"/>\n </else-if>\n <else>\n <text macro="description-format"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="description-interview-short">\n <names variable="interviewer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name and="symbol" form="short"/>\n <substitute>\n <text macro="description-format-short"/>\n </substitute>\n </names>\n </macro>\n <macro name="description-letter">\n <choose>\n <if variable="recipient">\n <group delimiter="; ">\n <group delimiter=" ">\n <text macro="description-format"/>\n <names variable="recipient">\n <label form="verb" suffix=" "/>\n <name and="symbol" initialize="false"/>\n </names>\n </group>\n <text macro="description-medium"/>\n </group>\n </if>\n <else>\n <text macro="description-format"/>\n </else>\n </choose>\n </macro>\n <macro name="description-letter-short">\n <choose>\n <if variable="recipient">\n <group delimiter=" ">\n <text macro="description-format-short"/>\n <names variable="recipient">\n <label form="verb" suffix=" "/>\n <name and="symbol" form="short"/>\n </names>\n </group>\n </if>\n <else>\n <text macro="description-format-short"/>\n </else>\n </choose>\n </macro>\n <macro name="description-medium">\n <choose>\n <if variable="number"/>\n <else-if variable="genre">\n <text text-case="capitalize-first" variable="medium"/>\n </else-if>\n </choose>\n </macro>\n <macro name="description-review">\n <group delimiter="; ">\n <group delimiter=", ">\n <group delimiter=" ">\n <choose>\n <if variable="reviewed-genre">\n <text term="review-of" text-case="capitalize-first"/>\n <text variable="reviewed-genre"/>\n </if>\n <else-if variable="number">\n <!-- Genre printed with `number` -->\n <text form="short" term="review-of" text-case="capitalize-first"/>\n </else-if>\n <!-- If no `reviewed-genre`, assume that `genre` or `medium` is entered as \'Review of the book\' or similar -->\n <else-if variable="genre">\n <text text-case="capitalize-first" variable="genre"/>\n </else-if>\n <else-if variable="medium">\n <text text-case="capitalize-first" variable="medium"/>\n </else-if>\n <else-if type="review-book">\n <text term="review-of" text-case="capitalize-first"/>\n <text term="book" text-case="lowercase"/>\n </else-if>\n <else>\n <text form="short" term="review-of" text-case="capitalize-first"/>\n </else>\n </choose>\n <text macro="description-review-title"/>\n </group>\n <names variable="reviewed-author">\n <label form="verb-short" suffix=" "/>\n <name and="symbol"/>\n </names>\n </group>\n <text macro="description-medium"/>\n </group>\n </macro>\n <macro name="description-review-short">\n <group delimiter=" ">\n <text form="short" term="review-of" text-case="capitalize-first"/>\n <text macro="description-review-title-short"/>\n </group>\n </macro>\n <macro name="description-review-title">\n <choose>\n <if match="any" variable="reviewed-genre reviewed-title">\n <!-- Not possible to distinguish TV series episode from other reviewed works without a reviewed source title (APA example 69) -->\n <!-- TODO: Adapt for `reviewed-container-title` or similar if it becomes available -->\n <text font-style="italic" variable="reviewed-title"/>\n </if>\n <else>\n <!-- Assume `title` is the title of the reviewed work -->\n <text font-style="italic" variable="title"/>\n </else>\n </choose>\n </macro>\n <macro name="description-review-title-short">\n <choose>\n <if match="any" variable="reviewed-genre reviewed-title">\n <!-- Not possible to distinguish TV series episode from other reviewed works without a reviewed source title (APA example 69) -->\n <!-- TODO: Adapt for `reviewed-container-title` or similar if it becomes available -->\n <text font-style="italic" form="short" text-case="title" variable="reviewed-title"/>\n </if>\n <else>\n <!-- Assume `title` is the title of the reviewed work -->\n <text font-style="italic" form="short" text-case="title" variable="title"/>\n </else>\n </choose>\n </macro>\n <macro name="description-serial">\n <group delimiter="; ">\n <text macro="description-format"/>\n <choose>\n <if match="none" variable="title">\n <text variable="section"/>\n </if>\n </choose>\n </group>\n </macro>\n <macro name="description-serial-short">\n <choose>\n <if variable="title"/>\n <else-if variable="section">\n <text form="short" text-case="capitalize-first" variable="section"/>\n </else-if>\n <else>\n <text macro="description-format-short"/>\n </else>\n </choose>\n </macro>\n <macro name="description-song">\n <!-- Performer of classical music works -->\n <group delimiter="; ">\n <group delimiter=" ">\n <!-- Based on `description-format` macro -->\n <choose>\n <if match="any" variable="genre medium">\n <choose>\n <if match="none" variable="number">\n <text text-case="capitalize-first" variable="genre"/>\n </if>\n </choose>\n <text text-case="capitalize-first" variable="medium"/>\n <text form="verb" term="performer"/>\n </if>\n <else>\n <text form="verb" term="performer" text-case="capitalize-first"/>\n </else>\n </choose>\n <names variable="author">\n <name and="symbol"/>\n <substitute>\n <names variable="performer"/>\n </substitute>\n </names>\n </group>\n <text macro="description-medium"/>\n </group>\n </macro>\n <macro name="description-thesis">\n <group delimiter="; ">\n <group delimiter=", ">\n <text text-case="capitalize-first" variable="genre"/>\n <choose>\n <if match="any" variable="archive DOI URL">\n <!-- Include the university in description if thesis is published -->\n <text variable="publisher"/>\n </if>\n </choose>\n </group>\n <text text-case="capitalize-first" variable="medium"/>\n </group>\n </macro>\n <!-- 4. Source (APA 9.23-37) -->\n <macro name="source">\n <group delimiter=". ">\n <choose>\n <if match="any" type="post webpage"/>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <text macro="source-serial"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <text macro="source-monographic"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <text macro="source-serial"/>\n </else-if>\n <else>\n <text macro="source-monographic"/>\n </else>\n </choose>\n <text macro="source-publisher"/>\n <text macro="source-archive"/>\n <text macro="source-location"/>\n <text macro="source-website"/>\n </group>\n </macro>\n <!-- 4.1. Serial sources (APA 9.25-27) -->\n <macro name="source-serial">\n <group delimiter=". ">\n <group delimiter=", ">\n <group delimiter=", " font-style="italic">\n <text text-case="title" variable="container-title"/>\n <!-- `collection-title` is for any serial with multiple series (e.g. \'second series\') -->\n <text text-case="title" variable="collection-title"/>\n </group>\n <group>\n <text font-style="italic" variable="volume"/>\n <group delimiter=", " prefix="(" suffix=")">\n <text variable="issue"/>\n <text macro="label-supplement-number"/>\n </group>\n </group>\n <choose>\n <if variable="number">\n <text macro="label-number-article"/>\n </if>\n <else>\n <text variable="page"/>\n </else>\n </choose>\n </group>\n <choose>\n <if match="any" variable="collection-title issue number page supplement-number volume"/>\n <else-if variable="issued status">\n <!-- Print the status variable rather than use generic CSL terms (`in press`, etc.) -->\n <text text-case="capitalize-first" variable="status"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <!-- 4.2. Monographic sources (APA 9.28) -->\n <macro name="source-monographic">\n <!-- Monographic sources repeat main reference elements -->\n <choose>\n <if variable="container-title">\n <group delimiter=" ">\n <choose>\n <if type="song">\n <text term="on" text-case="capitalize-first"/>\n </if>\n <else>\n <text term="in" text-case="capitalize-first"/>\n </else>\n </choose>\n <group delimiter=", ">\n <text macro="source-monographic-author"/>\n <text macro="source-monographic-title"/>\n </group>\n <text macro="source-monographic-identifier"/>\n <text macro="source-monographic-description"/>\n </group>\n </if>\n </choose>\n </macro>\n <!-- Monographic source author -->\n <macro name="source-monographic-author">\n <names variable="container-author">\n <name and="symbol"/>\n <label prefix=" (" suffix=")" text-case="title"/>\n <substitute>\n <names variable="executive-producer"/>\n <names variable="series-creator"/>\n <names variable="editor-translator">\n <name and="symbol"/>\n <label form="short" prefix=" (" suffix=")" text-case="title"/>\n </names>\n <!-- TODO: Translator omitted on the assumption that editor-translators are uncommon for chapter citations. If needed, direct entry or automatic population of `editor-translator` can produce combined labels. -->\n <names delimiter="; " variable="editor">\n <name and="symbol"/>\n <label form="short" prefix=" (" suffix=")" text-case="title"/>\n </names>\n <names variable="editorial-director">\n <name and="symbol"/>\n <label form="short" prefix=" (" suffix=")" text-case="title"/>\n </names>\n <names variable="compiler"/>\n <choose>\n <if match="any" type="event performance speech">\n <names variable="chair"/>\n <names variable="organizer"/>\n </if>\n </choose>\n <names variable="curator"/>\n <names variable="collection-editor">\n <name and="symbol"/>\n <label form="short" prefix=" (" suffix=")" text-case="title"/>\n </names>\n </substitute>\n </names>\n </macro>\n <!-- Monographic source title -->\n <macro name="source-monographic-title">\n <group delimiter=": " font-style="italic">\n <text variable="container-title"/>\n <text macro="title-volume"/>\n </group>\n </macro>\n <!-- Monographic source identifier -->\n <macro name="source-monographic-identifier">\n <choose>\n <if variable="container-title">\n <group delimiter="; " prefix="(" suffix=")">\n <choose>\n <if match="none" type="broadcast graphic map motion_picture">\n <!-- For some audiovisual media, number information comes after `title`, not `container-title` (APA example 94); but an album track number is `chapter-number` -->\n <text macro="identifier-number"/>\n </if>\n </choose>\n <text macro="identifier-monographic"/>\n </group>\n </if>\n </choose>\n </macro>\n <!-- Monographic source description -->\n <macro name="source-monographic-description">\n <group prefix="[" suffix="]">\n <choose>\n <if match="any" type="document report software standard">\n <!-- place description after `container-title` -->\n <text macro="description-format"/>\n </if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director issue page supplement-number volume"/>\n <else-if match="any" type="event paper-conference performance speech">\n <!-- unpublished conference presentations should describe the session -->\n <text macro="description-format"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <!-- 4.3. Publisher sources (APA 9.29) -->\n <macro name="source-publisher">\n <choose>\n <if type="thesis">\n <choose>\n <if match="none" variable="archive DOI URL">\n <!-- Provide university in `publisher` if unpublished -->\n <text variable="publisher"/>\n </if>\n </choose>\n </if>\n <!-- omit serial types -->\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book"/>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text variable="publisher"/>\n </else-if>\n <else-if type="interview">\n <!-- give publisher for a broadcast `interview` handled as a serial type -->\n <text variable="publisher"/>\n </else-if>\n <!-- omit serial `paper-conference` -->\n <else-if type="paper-conference"/>\n <else>\n <text variable="publisher"/>\n </else>\n </choose>\n </macro>\n <!-- 4.4. Database and archive sources (APA 9.30) -->\n <macro name="source-archive">\n <group delimiter=", ">\n <choose>\n <if variable="archive_collection">\n <!-- With collection: `archive_collection` (`archive_location`), `archive`, `archive-place` -->\n <group delimiter=" ">\n <text variable="archive_collection"/>\n <text prefix="(" suffix=")" variable="archive_location"/>\n </group>\n <text variable="archive"/>\n <text variable="archive-place"/>\n </if>\n <else>\n <!-- No collection: `archive` (`archive_location`), `archive-place` -->\n <group delimiter=" ">\n <text variable="archive"/>\n <text prefix="(" suffix=")" variable="archive_location"/>\n </group>\n <text variable="archive-place"/>\n </else>\n </choose>\n <!-- a database identifier/number is stored in `number` and appears in `identifier-number` -->\n </group>\n </macro>\n <!-- 4.5. Works with specific locations (APA 9.31) -->\n <macro name="source-location">\n <choose>\n <if match="any" variable="event event-title">\n <!-- TODO: To prevent Zotero from printing `event-place`, due to its double-mapping of `publisher-place` and `event-place`. Remove this when that is changed. -->\n <choose>\n <if type="paper-conference">\n <choose>\n <if match="none" variable="collection-editor compiler editor editorial-director issue page supplement-number volume">\n <!-- Don\'t print event info for conference papers published in a proceedings -->\n <text macro="source-location-title-place-date"/>\n </if>\n </choose>\n </if>\n <else>\n <!-- For other item types, print event info even if published (e.g. collection catalogs, performance programs). These items aren\'t given explicit examples in the APA manual, so err on the side of providing too much information. -->\n <text macro="source-location-title-place-date"/>\n </else>\n </choose>\n </if>\n </choose>\n </macro>\n <macro name="source-location-title-place-date">\n <group delimiter=", ">\n <choose>\n <!-- TODO: We expect `event-title` to be used, but processors and applications may not be updated yet. This macro ensures that either `event` or `event-title` can be accepted. Remove if processor logic and application adoption can handle this. -->\n <if variable="event-title">\n <text text-case="capitalize-first" variable="event-title"/>\n </if>\n <else>\n <text text-case="capitalize-first" variable="event"/>\n </else>\n </choose>\n <text variable="event-place"/>\n <text macro="date-event-full"/>\n </group>\n </macro>\n <!-- 4.6. Social media and website sources (APA 9.32-33) -->\n <macro name="source-website">\n <choose>\n <if match="any" type="post webpage">\n <text text-case="title" variable="container-title"/>\n </if>\n </choose>\n </macro>\n <!-- 4.7. DOI or URL (APA 9.34-36) -->\n <macro name="source-DOI-URL">\n <choose>\n <if variable="DOI">\n <text prefix="https://doi.org/" variable="DOI"/>\n </if>\n <else-if variable="URL">\n <group delimiter=" ">\n <choose>\n <if match="none" variable="issued status">\n <text term="retrieved" text-case="capitalize-first"/>\n <group delimiter=", ">\n <date form="text" variable="accessed"/>\n <text term="from"/>\n </group>\n </if>\n </choose>\n <text variable="URL"/>\n </group>\n </else-if>\n </choose>\n </macro>\n <!-- 5. Publication history (APA 9.39-41) -->\n <macro name="publication-history">\n <!-- Notes on source element: original publication, reprint info, retraction info -->\n <group delimiter="; " prefix="(" suffix=")">\n <choose>\n <if type="patent">\n <text variable="references"/>\n </if>\n <else>\n <!-- Print `status` here for "retracted" etc. if it\'s not printed elsewhere. -->\n <choose>\n <if match="none" variable="issued"/>\n <else-if match="any" variable="collection-title issue number page supplement-number volume">\n <text text-case="capitalize-first" variable="status"/>\n </else-if>\n </choose>\n <choose>\n <if variable="references">\n <!-- Provide the option for more elaborate description of publication history, such as full "reprinted" references (APA examples 11, 43, 44) -->\n <text variable="references"/>\n </if>\n <else>\n <!-- Format publication history using CSL variables -->\n <group delimiter=" ">\n <text term="original-work-published" text-case="capitalize-first"/>\n <group delimiter=", ">\n <group delimiter=" ">\n <text value="as"/>\n <text font-style="italic" variable="original-title"/>\n </group>\n <text macro="date-original-year"/>\n <text variable="original-publisher"/>\n </group>\n </group>\n </else>\n </choose>\n </else>\n </choose>\n </group>\n </macro>\n <!-- 6. Legal references: Bluebook style (shared with Chicago) -->\n <!-- Where APA or Chicago diverge from Bluebook, the official manual is followed -->\n <macro name="legal-reference">\n <!-- Type usage:\n\n `bill`\n : bills, resolutions, federal reports\n\n `legal_case`\n : all legal and court cases\n\n `hearing`\n : hearings and testimony\n\n `legislation`\n : statutes, constitutional items, and charters\n\n `regulation`\n : codified regulations, uncodified regulations, executive orders\n\n `treaty`\n : treaties\n -->\n <group delimiter=", ">\n <choose>\n <if type="treaty">\n <text macro="legal-title"/>\n <names variable="author">\n <!-- Treaty parties should be included at least for bilateral treaties (Bluebook 21.4.2) -->\n <name delimiter="-" et-al-min="100" et-al-use-first="99" form="short" initialize="false"/>\n </names>\n <text macro="legal-date"/>\n <!-- treaty source/report in addition to URL (Bluebook 21.4.5) -->\n <text macro="legal-source"/>\n </if>\n <else>\n <group delimiter=" ">\n <group delimiter=", ">\n <text macro="legal-title"/>\n <text macro="legal-source"/>\n </group>\n <text macro="legal-date"/>\n <text macro="legal-identifier"/>\n </group>\n </else>\n </choose>\n <group delimiter=" ">\n <!-- locator for use in notes -->\n <choose>\n <if locator="page" variable="page">\n <text term="at"/>\n </if>\n </choose>\n <text macro="label-locator"/>\n </group>\n </group>\n </macro>\n <!-- 6.1. Legal date -->\n <macro name="legal-date">\n <choose>\n <if type="treaty">\n <text macro="date-issued-full"/>\n </if>\n <else-if type="legal_case">\n <text macro="legal-date-case"/>\n </else-if>\n <else-if match="any" type="bill hearing legislation regulation">\n <group delimiter=" " prefix="(" suffix=")">\n <group delimiter=" ">\n <text macro="date-original-year"/>\n <text form="symbol" term="and"/>\n </group>\n <choose>\n <if variable="issued">\n <text macro="date-issued-year"/>\n </if>\n <else>\n <!-- Show proposal date for uncodified regulations. Assume date is entered literally ala "proposed May 23, 2016". -->\n <!-- TODO: Add `proposed` date here if that becomes available -->\n <date form="text" variable="submitted"/>\n </else>\n </choose>\n </group>\n </else-if>\n </choose>\n </macro>\n <macro name="legal-date-case">\n <group delimiter=" " prefix="(" suffix=")">\n <text variable="authority"/>\n <choose>\n <if variable="container-title">\n <!-- Print only year for cases published in reporters-->\n <text macro="date-issued-year"/>\n </if>\n <else>\n <text macro="date-issued-full"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- 6.2.1. Legal title -->\n <macro name="legal-title">\n <choose>\n <if match="any" type="bill legal_case legislation regulation treaty">\n <text text-case="title" variable="title"/>\n </if>\n <else-if type="hearing">\n <!-- use standard format (Bluebook 13.3) -->\n <group delimiter=": " font-style="italic">\n <text text-case="capitalize-first" variable="title"/>\n <group delimiter=" ">\n <text term="hearing" text-case="capitalize-first"/>\n <group delimiter=" ">\n <text term="on"/>\n <text variable="number"/>\n </group>\n <group delimiter=" ">\n <text value="before the"/>\n <text variable="section"/>\n </group>\n </group>\n </group>\n </else-if>\n </choose>\n </macro>\n <!-- 6.2.2. Legal identifier -->\n <macro name="legal-identifier">\n <group delimiter=" " prefix="(" suffix=")">\n <choose>\n <if type="hearing">\n <!-- Use the \'verb\' form of the hearing term to hold \'testimony of\' -->\n <text form="verb" term="hearing"/>\n <names variable="author">\n <name and="symbol" initialize="false"/>\n </names>\n </if>\n <else-if match="any" type="bill legislation regulation">\n <!-- For uncodified regulations, assume future code section is in `status`. -->\n <text variable="status"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <macro name="legal-identifier-bill-report">\n <group delimiter=" ">\n <text variable="genre"/>\n <choose>\n <if match="any" variable="authority chapter-number container-title">\n <text variable="number"/>\n </if>\n <else>\n <!-- If there is no legislative body, session number, or code/record title, assume the item is a congressional report and include \'No.\' label. -->\n <text macro="label-number-capitalized"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- 6.3. Legal source -->\n <macro name="legal-source">\n <!-- Expect legal item `container-title` to be stored in short form -->\n <choose>\n <if type="bill">\n <text macro="legal-source-bill"/>\n </if>\n <else-if type="hearing">\n <text macro="legal-source-hearing"/>\n </else-if>\n <else-if type="legal_case">\n <text macro="legal-source-case"/>\n </else-if>\n <else-if type="legislation">\n <text macro="legal-source-legislation"/>\n </else-if>\n <else-if type="regulation">\n <text macro="legal-source-regulation"/>\n </else-if>\n <else-if type="treaty">\n <text macro="legal-source-treaty"/>\n </else-if>\n </choose>\n </macro>\n <!-- Legal source types -->\n <macro name="legal-source-bill">\n <group delimiter=", ">\n <text macro="legal-identifier-bill-report"/>\n <group delimiter=" ">\n <text variable="authority"/>\n <!-- `chapter-number` is a session number -->\n <text variable="chapter-number"/>\n </group>\n <group delimiter=" ">\n <text variable="volume"/>\n <text variable="container-title"/>\n <text variable="page-first"/>\n </group>\n </group>\n </macro>\n <macro name="legal-source-case">\n <group delimiter=" ">\n <choose>\n <if variable="container-title">\n <text variable="volume"/>\n <text variable="container-title"/>\n <text macro="label-section-symbol"/>\n <choose>\n <if match="any" variable="page page-first">\n <text variable="page-first"/>\n </if>\n <else>\n <text value="___"/>\n </else>\n </choose>\n </if>\n <else>\n <text macro="label-number-capitalized"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="legal-source-hearing">\n <group delimiter=" ">\n <text variable="authority"/>\n <!-- `chapter-number` is a session number -->\n <text variable="chapter-number"/>\n </group>\n </macro>\n <macro name="legal-source-legislation">\n <choose>\n <if variable="number">\n <!-- `number` is a public law number -->\n <group delimiter=", ">\n <group delimiter=" ">\n <choose>\n <if variable="genre">\n <text text-case="capitalize-first" variable="genre"/>\n </if>\n <else>\n <text form="short" term="legislation" text-case="capitalize-first"/>\n </else>\n </choose>\n <text macro="label-number-capitalized"/>\n </group>\n <group delimiter=" ">\n <text variable="volume"/>\n <text variable="container-title"/>\n <text variable="page-first"/>\n </group>\n </group>\n </if>\n <else>\n <group delimiter=" ">\n <text variable="volume"/>\n <text variable="container-title"/>\n <choose>\n <if variable="section">\n <text macro="label-section-symbol"/>\n </if>\n <else>\n <text variable="page-first"/>\n </else>\n </choose>\n </group>\n </else>\n </choose>\n </macro>\n <macro name="legal-source-regulation">\n <group delimiter=", ">\n <group delimiter=" ">\n <text variable="genre"/>\n <text macro="label-number-capitalized"/>\n </group>\n <group delimiter=" ">\n <text variable="volume"/>\n <text variable="container-title"/>\n <choose>\n <if variable="section">\n <text macro="label-section-symbol"/>\n </if>\n <else>\n <text variable="page-first"/>\n </else>\n </choose>\n </group>\n </group>\n </macro>\n <macro name="legal-source-treaty">\n <group delimiter=" ">\n <number variable="volume"/>\n <text variable="container-title"/>\n <choose>\n <if match="any" variable="page page-first">\n <text variable="page-first"/>\n </if>\n <else>\n <text macro="label-number-capitalized"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- Citation -->\n <citation collapse="year" disambiguate-add-givenname="true" disambiguate-add-names="true" disambiguate-add-year-suffix="true" et-al-min="3" et-al-use-first="1" givenname-disambiguation-rule="primary-name-with-initials">\n <sort>\n <key macro="author-sort" names-min="3" names-use-first="1"/>\n <key macro="date-sort-group"/>\n <key macro="date-sort"/>\n <key variable="status"/>\n </sort>\n <layout delimiter="; " prefix="(" suffix=")">\n <group delimiter=", ">\n <text macro="author-short"/>\n <text macro="date-short"/>\n <text macro="label-locator"/>\n </group>\n </layout>\n </citation>\n <!-- Bibliography -->\n <macro name="bibliography">\n <group delimiter=" ">\n <choose>\n <if match="any" type="bill hearing legal_case legislation regulation treaty">\n <!-- Legal items have different orders and delimiters -->\n <text macro="legal-reference" suffix="."/>\n <text macro="source-DOI-URL"/>\n <text variable="references"/>\n </if>\n <else>\n <group delimiter=". " suffix=".">\n <text macro="author-and-contributors"/>\n <text macro="date"/>\n <text macro="title-and-descriptions"/>\n <text macro="source"/>\n </group>\n <text macro="source-DOI-URL"/>\n <text macro="publication-history"/>\n </else>\n </choose>\n </group>\n </macro>\n <bibliography entry-spacing="0" et-al-min="21" et-al-use-first="19" et-al-use-last="true" hanging-indent="true" line-spacing="2">\n <sort>\n <key macro="author-sort"/>\n <key macro="date-sort-group"/>\n <key macro="date-sort"/>\n <key variable="status"/>\n <key macro="title"/>\n <key variable="volume"/>\n <key variable="part-number"/>\n <key variable="event-date"/>\n <key variable="original-date"/>\n <key macro="source-archive"/>\n </sort>\n <layout>\n <choose>\n <if match="any" variable="archive archive-place container-title DOI number publisher references URL">\n <text macro="bibliography"/>\n </if>\n <!-- an inaccessible `interview` or `personal_communication` is cited in-text only (APA 8.9) -->\n <else-if match="any" type="interview personal_communication"/>\n <else>\n <text macro="bibliography"/>\n </else>\n </choose>\n </layout>\n </bibliography>\n</style>\n';
14
+ var apa_default = xml3;
15
+
16
+ // src/csl/modernLanguageAssociation.ts
17
+ var xml4 = '<?xml version="1.0" encoding="utf-8"?>\n<style xmlns="http://purl.org/net/xbiblio/csl" and="text" class="in-text" demote-non-dropping-particle="never" initialize-with=". " page-range-format="minimal-two" version="1.0">\n <!-- This file was generated by the Style Variant Builder <https://github.com/citation-style-language/style-variant-builder>. To contribute changes, modify the template and regenerate variants. -->\n <info>\n <title>MLA Handbook 9th edition (in-text citations)</title>\n <title-short>Modern Language Association (in-text citations)</title-short>\n <id>http://www.zotero.org/styles/modern-language-association</id>\n <link href="http://www.zotero.org/styles/modern-language-association" rel="self"/>\n <link href="https://style.mla.org/" rel="documentation"/>\n <link href="https://zotero.org/groups/2205533/collections/L96HMJXY" rel="documentation"/>\n <author>\n <name>Sebastian Karcher</name>\n <uri>https://orcid.org/0000-0001-8249-7388</uri>\n </author>\n <author>\n <name>Andrew Dunning</name>\n <uri>https://orcid.org/0000-0003-0464-5036</uri>\n </author>\n <contributor>\n <name>Patrick O\'Brien</name>\n </contributor>\n <category citation-format="author"/>\n <category field="generic-base"/>\n <category field="humanities"/>\n <category field="literature"/>\n <summary>MLA source citations, in-text citations system (chapter 6)</summary>\n <updated>2026-02-03T00:00:00+00:00</updated>\n <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>\n </info>\n <locale xml:lang="en">\n <date form="text">\n <date-part name="day" suffix=" "/>\n <date-part form="short" name="month" suffix=" "/>\n <date-part name="year"/>\n </date>\n <terms>\n <!-- MLA Appendix 1 -->\n <term form="short" name="chapter">\n <single>ch.</single>\n <multiple>chs.</multiple>\n </term>\n <term name="collection-editor">\n <single>general editor</single>\n <multiple>general editors</multiple>\n </term>\n <term name="editor-translator">\n <single>editor and translator</single>\n <multiple>editors and translators</multiple>\n </term>\n <term name="editortranslator">\n <single>editor and translator</single>\n <multiple>editors and translators</multiple>\n </term>\n <term form="verb" name="editor-translator">edited and translated by</term>\n <term form="verb" name="editortranslator">edited and translated by</term>\n <term name="original-work-published">originally published</term>\n <term form="short" name="paragraph">\n <single>par.</single>\n <multiple>pars.</multiple>\n </term>\n <term form="short" name="version">vers.</term>\n </terms>\n </locale>\n <!-- Contents:\n\n MLA provides the following series of elements for citations:\n\n 1. Author (MLA 5.3-22)\n 2. Title of Source (MLA 5.23-30)\n 3. Supplemental Element after Title of Source (MLA 5.106-109)\n 3.1. Contributor (MLA 5.107)\n 3.2. Original publication date (MLA 5.108)\n 3.3. Section of a work labeled generically (MLA 5.109)\n 4. Container 1\n 4.1. Title of Container (MLA 5.31-37)\n 4.2. Contributor (MLA 5.38-47)\n 4.3. Version (MLA 5.48-50)\n 4.4. Number (MLA 5.51-53)\n 4.5. Publisher (MLA 5.54-67)\n 4.6. Publication Date (MLA 5.68-83)\n 4.7. Location (MLA 5.84-99)\n 5. Supplemental Element Between Containers (MLA 5.119)\n 6. Container 2 (MLA 5.102)\n 7. Supplemental Element at End of Entry (MLA 5.110-118)\n 7.1. Date of access (MLA 5.111)\n 7.2. Medium of publication (MLA 5.112)\n 7.3. Dissertations and theses (MLA 5.113)\n 7.4. Publication history (MLA 5.114)\n 7.5. Book series (MLA 5.115)\n 7.6. Columns, sections, and other recurring titled features (MLA 5.116)\n 7.7. Multivolume works (MLA 5.117)\n -->\n <!-- Categories of CSL item types:\n\n Serial\n : article-journal article-magazine article-newspaper periodical post-weblog review review-book\n\n Serial or Monographic\n : interview paper-conference\n\n Monographic with any of `collection-editor compiler editor editorial-director`.\n A serial `paper-conference` is unpublished if it lacks any of `issue page supplement-number volume`.\n\n Monographic\n : article book broadcast chapter classic collection dataset document\n entry entry-dictionary entry-encyclopedia event figure\n graphic manuscript map motion_picture musical_score\n pamphlet patent performance personal_communication post report\n software song speech standard thesis webpage\n\n Legal\n : bill hearing legal_case legislation regulation treaty\n -->\n <!-- Variable labels -->\n <macro name="label-edition-capitalized">\n <group delimiter=" ">\n <choose>\n <if is-numeric="edition">\n <number form="ordinal" variable="edition"/>\n <label form="short" variable="edition"/>\n </if>\n <else>\n <text text-case="capitalize-first" variable="edition"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="label-issue">\n <group delimiter=" ">\n <label form="short" variable="issue"/>\n <text variable="issue"/>\n </group>\n </macro>\n <macro name="label-locator">\n <group delimiter=" ">\n <label form="short" variable="locator"/>\n <text variable="locator"/>\n </group>\n </macro>\n <macro name="label-number">\n <group delimiter=" ">\n <choose>\n <if type="standard"/>\n <else-if is-numeric="number">\n <label form="short" variable="number"/>\n </else-if>\n </choose>\n <text variable="number"/>\n </group>\n </macro>\n <macro name="label-number-of-volumes">\n <group delimiter=" ">\n <text variable="number-of-volumes"/>\n <choose>\n <if is-numeric="number-of-volumes">\n <label form="short" variable="number-of-volumes"/>\n </if>\n </choose>\n </group>\n </macro>\n <macro name="label-page">\n <group delimiter=" ">\n <label form="short" variable="page"/>\n <text variable="page"/>\n </group>\n </macro>\n <macro name="label-part-number">\n <group delimiter=" ">\n <choose>\n <if is-numeric="part-number">\n <!-- TODO: Replace with `part-number` label when CSL provides one -->\n <text form="short" term="part"/>\n </if>\n </choose>\n <text variable="part-number"/>\n </group>\n </macro>\n <macro name="label-part-number-capitalized">\n <group delimiter=" ">\n <choose>\n <if is-numeric="part-number">\n <!-- TODO: Replace with `part-number` label when CSL provides one -->\n <text form="short" term="part" text-case="capitalize-first"/>\n </if>\n </choose>\n <text text-case="capitalize-first" variable="part-number"/>\n </group>\n </macro>\n <macro name="label-supplement-number">\n <group delimiter=" ">\n <choose>\n <!-- TODO: Replace with `supplement-number` label when CSL provides one -->\n <if is-numeric="supplement-number">\n <text form="short" term="supplement"/>\n </if>\n </choose>\n <text variable="supplement-number"/>\n </group>\n </macro>\n <macro name="label-version">\n <group delimiter=" ">\n <label variable="version"/>\n <text variable="version"/>\n </group>\n </macro>\n <macro name="label-version-capitalized">\n <group delimiter=" ">\n <label text-case="capitalize-first" variable="version"/>\n <text variable="version"/>\n </group>\n </macro>\n <macro name="label-volume">\n <group delimiter=" ">\n <choose>\n <if is-numeric="volume">\n <label form="short" variable="volume"/>\n </if>\n </choose>\n <text variable="volume"/>\n </group>\n </macro>\n <macro name="label-volume-capitalized">\n <group delimiter=" ">\n <choose>\n <if is-numeric="volume">\n <label form="short" text-case="capitalize-first" variable="volume"/>\n </if>\n </choose>\n <text text-case="capitalize-first" variable="volume"/>\n </group>\n </macro>\n <!-- 1. Author (MLA 5.3-22) -->\n <macro name="author">\n <names variable="composer">\n <name delimiter-precedes-et-al="always" delimiter-precedes-last="always" initialize="false" name-as-sort-order="first"/>\n <label prefix=", "/>\n <substitute>\n <names variable="author"/>\n <names variable="guest">\n <name delimiter-precedes-et-al="always" delimiter-precedes-last="always" initialize="false" name-as-sort-order="first"/>\n <!-- `guest` has no label (see MLA \'Interview by podcast host\') -->\n </names>\n <names variable="editor-translator"/>\n <names variable="editor"/>\n <names variable="translator"/>\n <choose>\n <if type="standard">\n <text variable="authority"/>\n </if>\n </choose>\n <text macro="title"/>\n </substitute>\n </names>\n </macro>\n <macro name="author-short">\n <group delimiter=", ">\n <names variable="composer">\n <name form="short" initialize="true"/>\n <substitute>\n <names variable="author"/>\n <names variable="guest"/>\n <names variable="editor-translator"/>\n <names variable="editor"/>\n <names variable="translator"/>\n <choose>\n <if type="standard">\n <text variable="authority"/>\n </if>\n </choose>\n <text macro="title-short"/>\n </substitute>\n </names>\n <choose>\n <if disambiguate="true">\n <text macro="title-short"/>\n </if>\n </choose>\n </group>\n </macro>\n <!-- 2. Title of Source (MLA 5.23-30) -->\n <macro name="title">\n <choose>\n <if match="any" type="post webpage">\n <!-- print `container-title` on `post` or `webpage` in the same way as `publisher` -->\n <text macro="title-and-part-filter-review"/>\n </if>\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text macro="title-and-part-filter-review"/>\n </else-if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <text macro="title-monographic"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text macro="title-and-part-filter-review"/>\n </else-if>\n <else>\n <text macro="title-monographic"/>\n </else>\n </choose>\n </macro>\n <macro name="title-short">\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- If a review has no `reviewed-title`, assume that `title` contains the title of the reviewed work; the description provides it. -->\n <choose>\n <if variable="reviewed-genre title">\n <!-- Quotes, title case -->\n <text form="short" quotes="true" text-case="title" variable="title"/>\n </if>\n <else-if variable="reviewed-genre reviewed-title title">\n <!-- Quotes, title case -->\n <text form="short" quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else>\n <text macro="supplemental-generic-label-short"/>\n </else>\n </choose>\n </if>\n <else-if variable="title">\n <text macro="title-primary-short"/>\n </else-if>\n <else>\n <text macro="supplemental-generic-label-short"/>\n </else>\n </choose>\n </macro>\n <!-- Title elements -->\n <macro name="title-and-part-filter-review">\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <!-- `title` is only the review title if there is a separate `reviewed-genre` or `reviewed-title`; otherwise, it is the title of the reviewed work, printed in the description -->\n <choose>\n <if match="any" variable="reviewed-genre reviewed-title">\n <text macro="title-and-part-title"/>\n </if>\n </choose>\n </if>\n <else>\n <text macro="title-and-part-title"/>\n </else>\n </choose>\n </macro>\n <macro name="title-and-part-title">\n <group delimiter=", ">\n <text macro="title-primary"/>\n <text macro="label-part-number"/>\n <text macro="title-part"/>\n </group>\n </macro>\n <macro name="title-monographic">\n <!-- For monographic items, assume `part-number` and `part-title` refer to the book/volume. -->\n <choose>\n <if variable="container-title">\n <text macro="title-primary"/>\n </if>\n <!-- For monographic items without `container-title`, bibliography entries list `part-title` or `volume-title` first if available -->\n <else-if variable="part-title">\n <text font-style="italic" text-case="title" variable="part-title"/>\n </else-if>\n <else-if variable="volume-title">\n <text font-style="italic" text-case="title" variable="volume-title"/>\n </else-if>\n <else>\n <text macro="title-primary"/>\n </else>\n </choose>\n </macro>\n <macro name="title-part">\n <choose>\n <if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <text quotes="true" text-case="title" variable="part-title"/>\n </if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text font-style="italic" text-case="title" variable="part-title"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text quotes="true" text-case="title" variable="part-title"/>\n </else-if>\n <else>\n <!-- monographic types -->\n <text font-style="italic" text-case="title" variable="part-title"/>\n </else>\n </choose>\n </macro>\n <macro name="title-primary">\n <choose>\n <if match="any" type="bill collection legislation regulation treaty">\n <!-- No italics or quotes, title case -->\n <text text-case="title" variable="title"/>\n </if>\n <else-if type="legal_case">\n <!-- Italicized, sentence case -->\n <text font-style="italic" variable="title"/>\n </else-if>\n <else-if match="any" type="book classic graphic hearing map periodical">\n <!-- Italicized, title case (regardless of `container-title`) -->\n <text font-style="italic" text-case="title" variable="title"/>\n </else-if>\n <else-if type="post">\n <!-- Quotes, sentence case -->\n <text quotes="true" variable="title"/>\n </else-if>\n <!-- Other types are formatted based on presence of `container-title` -->\n <else-if variable="container-title">\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else-if match="any" type="article dataset document interview manuscript paper-conference personal_communication speech">\n <!-- Container-like but not necessarily with `container-title` -->\n <!-- Quotes, title case -->\n <text quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else>\n <!-- Italicized, title case (default) -->\n <text font-style="italic" text-case="title" variable="title"/>\n </else>\n </choose>\n </macro>\n <macro name="title-primary-short">\n <choose>\n <if match="any" type="bill collection legislation regulation treaty">\n <!-- No italics or quotes, title case -->\n <text form="short" text-case="title" variable="title"/>\n </if>\n <else-if type="legal_case">\n <!-- Italicized, sentence case -->\n <text font-style="italic" form="short" variable="title"/>\n </else-if>\n <else-if match="any" type="book classic graphic hearing map periodical">\n <!-- Italicized, title case (regardless of `container-title`) -->\n <text font-style="italic" form="short" text-case="title" variable="title"/>\n </else-if>\n <else-if type="post">\n <!-- Quotes, sentence case -->\n <text form="short" quotes="true" variable="title"/>\n </else-if>\n <!-- Other types are formatted based on presence of `container-title` -->\n <else-if variable="container-title">\n <!-- Quotes, title case -->\n <text form="short" quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else-if match="any" type="article dataset document interview manuscript paper-conference personal_communication speech">\n <!-- Container-like but not necessarily with `container-title` -->\n <!-- Quotes, title case -->\n <text form="short" quotes="true" text-case="title" variable="title"/>\n </else-if>\n <else>\n <!-- Italicized, title case (default) -->\n <text font-style="italic" form="short" text-case="title" variable="title"/>\n </else>\n </choose>\n </macro>\n <!-- 3. Supplemental Element after Title of Source (MLA 5.106-109) -->\n <macro name="supplemental-element-after-title">\n <group delimiter=", ">\n <text macro="supplemental-contributor"/>\n <text macro="supplemental-original-date"/>\n <text macro="supplemental-generic-label"/>\n </group>\n </macro>\n <!-- 3.1. Contributor (MLA 5.107) -->\n <macro name="supplemental-contributor">\n <names delimiter=", " variable="interviewer">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name initialize="false"/>\n </names>\n </macro>\n <!-- 3.2. Original publication date (MLA 5.108) -->\n <macro name="supplemental-original-date">\n <choose>\n <if type="personal_communication">\n <!-- date and place of composition for letters -->\n <text macro="container1-location-event"/>\n </if>\n <else-if match="any" variable="original-publisher original-publisher-place"/>\n <else-if is-uncertain-date="original-date">\n <date form="text" prefix="[" suffix="?]" variable="original-date"/>\n </else-if>\n <else>\n <date form="text" variable="original-date"/>\n </else>\n </choose>\n </macro>\n <!-- 3.3. Section of a work labeled generically (MLA 5.109) -->\n <macro name="supplemental-generic-label">\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <text macro="supplemental-generic-label-review"/>\n </if>\n <else-if type="thesis"/>\n <else-if variable="number"/>\n <else>\n <text text-case="capitalize-first" variable="genre"/>\n </else>\n </choose>\n </macro>\n <macro name="supplemental-generic-label-short">\n <choose>\n <if match="any" type="review review-book" variable="reviewed-author reviewed-genre reviewed-title">\n <text macro="supplemental-generic-label-review-short"/>\n </if>\n <else>\n <text form="short" text-case="capitalize-first" variable="genre"/>\n </else>\n </choose>\n </macro>\n <!-- Generic label elements -->\n <macro name="supplemental-generic-label-review">\n <group delimiter=" ">\n <choose>\n <if variable="reviewed-genre">\n <text term="review-of" text-case="capitalize-first"/>\n <text variable="reviewed-genre"/>\n <choose>\n <if match="none" variable="reviewed-title">\n <names variable="reviewed-author">\n <label form="verb" suffix=" "/>\n <name initialize="false"/>\n </names>\n </if>\n </choose>\n </if>\n <else-if variable="number">\n <text term="review-of" text-case="capitalize-first"/>\n </else-if>\n <!-- If no `reviewed-genre`, assume that `genre` is entered as \'Review of the book\' or similar -->\n <else-if variable="genre">\n <text text-case="capitalize-first" variable="genre"/>\n </else-if>\n <else>\n <text term="review-of" text-case="capitalize-first"/>\n </else>\n </choose>\n <choose>\n <if match="any" variable="reviewed-genre reviewed-title">\n <!-- Not possible to distinguish TV series episode from other reviewed works without a reviewed source title -->\n <!-- Adapt for `reviewed-container-title` or similar if it becomes available -->\n <text font-style="italic" text-case="title" variable="reviewed-title"/>\n </if>\n <else>\n <!-- Assume title is title of reviewed work -->\n <text font-style="italic" text-case="title" variable="title"/>\n </else>\n </choose>\n </group>\n <choose>\n <if variable="reviewed-genre reviewed-title title">\n <names variable="reviewed-author">\n <label form="verb" suffix=" "/>\n <name initialize="false"/>\n </names>\n </if>\n <else-if variable="reviewed-genre"/>\n <else>\n <names variable="reviewed-author">\n <label form="verb" suffix=" "/>\n <name initialize="false"/>\n </names>\n </else>\n </choose>\n </macro>\n <macro name="supplemental-generic-label-review-short">\n <group delimiter=" ">\n <text term="review-of"/>\n <choose>\n <if match="any" variable="reviewed-genre reviewed-title">\n <!-- Not possible to distinguish TV series episode from other reviewed works without a reviewed source title -->\n <!-- Adapt for `reviewed-container-title` or similar if it becomes available -->\n <text font-style="italic" form="short" text-case="title" variable="reviewed-title"/>\n </if>\n <else>\n <!-- Assume title is title of reviewed work -->\n <text font-style="italic" form="short" text-case="title" variable="title"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- 4. Container 1 -->\n <macro name="container1">\n <group delimiter=", ">\n <text macro="container1-title"/>\n <text macro="container1-contributor"/>\n <text macro="container1-version"/>\n <text macro="container1-number"/>\n <text macro="container1-publisher"/>\n <text macro="container1-publication-date"/>\n <text macro="container1-location"/>\n </group>\n </macro>\n <!-- 4.1. Title of Container (MLA 5.31-37) -->\n <macro name="container1-title">\n <choose>\n <if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text macro="container1-title-serial"/>\n </if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="container1-title-monographic"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text macro="container1-title-serial"/>\n </else-if>\n <else>\n <!-- monographic types -->\n <text macro="container1-title-monographic"/>\n </else>\n </choose>\n </macro>\n <macro name="container1-title-serial">\n <group delimiter=", ">\n <text font-style="italic" text-case="title" variable="volume-title"/>\n <group delimiter=" ">\n <choose>\n <!-- Journal special issues and supplements (MLA 7.4) -->\n <if match="none" variable="container-title"/>\n <else-if variable="supplement-number volume-title">\n <text term="supplement"/>\n <text value="to"/>\n </else-if>\n <else-if type="periodical" variable="supplement-number title">\n <text term="supplement" text-case="capitalize-first"/>\n <text value="to"/>\n </else-if>\n <else-if type="periodical" variable="volume-title">\n <text term="special-issue" text-case="capitalize-first"/>\n <text value="of"/>\n </else-if>\n <else-if type="periodical" variable="title">\n <text term="special-issue" text-case="capitalize-first"/>\n <text value="of"/>\n </else-if>\n <else-if variable="volume-title">\n <text term="special-issue"/>\n <text value="of"/>\n </else-if>\n </choose>\n <text font-style="italic" text-case="title" variable="container-title"/>\n <text prefix="[" suffix="]" variable="publisher-place"/>\n </group>\n </group>\n </macro>\n <macro name="container1-title-monographic">\n <choose>\n <if variable="container-title part-title">\n <text font-style="italic" text-case="title" variable="part-title"/>\n </if>\n <else-if variable="container-title volume-title">\n <text font-style="italic" text-case="title" variable="volume-title"/>\n </else-if>\n <else>\n <text font-style="italic" text-case="title" variable="container-title"/>\n </else>\n </choose>\n </macro>\n <!-- 4.2. Contributor (MLA 5.38-47) -->\n <macro name="container1-contributor">\n <group delimiter=", ">\n <names delimiter=", " variable="container-author">\n <label form="verb" suffix=" "/>\n <name initialize="false"/>\n </names>\n <choose>\n <if variable="container-title">\n <names delimiter=", " variable="editor-translator">\n <label form="verb" suffix=" "/>\n <name initialize="false"/>\n </names>\n <names delimiter=", " variable="editor translator">\n <label form="verb" suffix=" "/>\n <name initialize="false"/>\n </names>\n <names delimiter=", " variable="director series-creator illustrator host narrator contributor">\n <label form="verb" suffix=" "/>\n <name initialize="false"/>\n </names>\n </if>\n <else>\n <names delimiter=", " variable="editor-translator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name initialize="false"/>\n </names>\n <names delimiter=", " variable="editor translator">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name initialize="false"/>\n </names>\n <names delimiter=", " variable="director series-creator illustrator host narrator contributor">\n <label form="verb" suffix=" " text-case="capitalize-first"/>\n <name initialize="false"/>\n </names>\n </else>\n </choose>\n </group>\n </macro>\n <!-- 4.3. Version (MLA 5.48-50) -->\n <macro name="container1-version">\n <group delimiter=", ">\n <text macro="label-edition-capitalized"/>\n <choose>\n <if variable="edition">\n <text macro="label-version"/>\n </if>\n <else>\n <text macro="label-version-capitalized"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- 4.4. Number (MLA 5.51-53) -->\n <macro name="container1-number">\n <group delimiter=", ">\n <choose>\n <!-- `collection-title` is for any serial with multiple series (e.g. \'second series\') -->\n <if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text variable="collection-title"/>\n <text macro="label-volume"/>\n </if>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="label-volume"/>\n </else-if>\n <else-if match="any" type="interview paper-conference">\n <!-- serial types -->\n <text variable="collection-title"/>\n <text macro="label-volume"/>\n </else-if>\n <!-- in monographic types, lowercase with a preceding element -->\n <else-if match="any" variable="part-title volume-title">\n <!-- monographic types -->\n <text macro="label-volume"/>\n </else-if>\n <else-if match="any" variable="edition container-title">\n <text macro="label-volume"/>\n </else-if>\n <!--other contributors preceding the volume-->\n <else-if variable="author">\n <choose>\n <if match="any" variable="container-author contributor director editor editor-translator illustrator interviewer translator">\n <text macro="label-volume"/>\n </if>\n </choose>\n </else-if>\n <else>\n <text macro="label-volume-capitalized"/>\n </else>\n </choose>\n <text macro="label-issue"/>\n <text macro="label-supplement-number"/>\n <group delimiter=" ">\n <choose>\n <if is-numeric="number" type="broadcast" variable="genre">\n <text variable="genre"/>\n <text variable="number"/>\n </if>\n <else-if is-numeric="number" type="broadcast">\n <text value="episode"/>\n <text variable="number"/>\n </else-if>\n <else-if variable="number">\n <text variable="genre"/>\n <text macro="label-number"/>\n </else-if>\n </choose>\n </group>\n </group>\n </macro>\n <!-- 4.5. Publisher (MLA 5.54-67) -->\n <macro name="container1-publisher">\n <choose>\n <if type="thesis"/>\n <!-- omit serial types -->\n <else-if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book"/>\n <else-if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="container1-publisher-or-place"/>\n </else-if>\n <!-- omit serial types -->\n <else-if match="any" type="interview paper-conference"/>\n <else>\n <!-- monographic types -->\n <text macro="container1-publisher-or-place"/>\n </else>\n </choose>\n </macro>\n <macro name="container1-publisher-or-place">\n <choose>\n <if variable="publisher">\n <text variable="publisher"/>\n </if>\n <else>\n <!-- use place of publication as fallback (cf. MLA 5.67) -->\n <text variable="publisher-place"/>\n </else>\n </choose>\n </macro>\n <!-- 4.6. Publication Date (MLA 5.68-83) -->\n <macro name="container1-publication-date">\n <choose>\n <if match="any" type="book chapter motion_picture paper-conference thesis">\n <choose>\n <if is-uncertain-date="issued">\n <date date-parts="year" form="numeric" prefix="[" suffix="?]" variable="issued"/>\n </if>\n <else>\n <date date-parts="year" form="numeric" variable="issued"/>\n </else>\n </choose>\n </if>\n <else-if type="article-journal">\n <choose>\n <if is-uncertain-date="issued">\n <date date-parts="year-month" form="text" prefix="[" suffix="?]" variable="issued"/>\n </if>\n <else>\n <date date-parts="year-month" form="text" variable="issued"/>\n </else>\n </choose>\n </else-if>\n <else-if type="speech"/>\n <else>\n <choose>\n <if is-uncertain-date="issued">\n <group delimiter=" ">\n <text term="circa" text-case="capitalize-first"/>\n <date form="text" variable="issued"/>\n </group>\n </if>\n <else>\n <date form="text" variable="issued"/>\n </else>\n </choose>\n </else>\n </choose>\n </macro>\n <!-- 4.7. Location (MLA 5.84-99) -->\n <macro name="container1-location">\n <!-- location of a physical object or event (MLA 5.99) -->\n <group delimiter=", ">\n <choose>\n <!-- serials cannot be part of an event -->\n <if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book"/>\n <!-- `event-date` supplies date of composition for letters, handled in `supplemental-original-date` -->\n <else-if type="personal_communication"/>\n <else-if type="paper-conference">\n <choose>\n <if match="none" variable="collection-editor compiler editor editorial-director issue page supplement-number volume">\n <!-- Don\'t print event info for conference papers published in a proceedings volume -->\n <text macro="container1-location-event"/>\n </if>\n </choose>\n </else-if>\n <else>\n <!-- For other item types, print event info even if published (e.g. collection catalogs, performance programs). -->\n <text macro="container1-location-event"/>\n </else>\n </choose>\n <text variable="archive"/>\n <text variable="archive-place"/>\n <text variable="archive_collection"/>\n <text variable="archive_location"/>\n <text macro="label-page"/>\n <choose>\n <if match="none" variable="source">\n <text macro="container1-location-URI"/>\n </if>\n </choose>\n </group>\n </macro>\n <macro name="container1-location-event">\n <group delimiter=", ">\n <choose>\n <if match="any" variable="event event-date event-title">\n <!-- TODO: We expect `event-title` to be used, but processors and applications may not be updated yet. This macro ensures that either `event` or `event-title` can be accepted. Remove if processor logic and application adoption can handle this. -->\n <choose>\n <if variable="event-title">\n <text text-case="capitalize-first" variable="event-title"/>\n </if>\n <else>\n <text text-case="capitalize-first" variable="event"/>\n </else>\n </choose>\n <choose>\n <if is-uncertain-date="event-date">\n <date form="text" prefix="[" suffix="?]" variable="event-date"/>\n </if>\n <else>\n <date form="text" variable="event-date"/>\n </else>\n </choose>\n <text variable="event-place"/>\n </if>\n </choose>\n </group>\n </macro>\n <macro name="container1-location-URI">\n <choose>\n <if variable="DOI">\n <text prefix="https://doi.org/" variable="DOI"/>\n </if>\n <else>\n <text variable="URL"/>\n </else>\n </choose>\n </macro>\n <!-- 5. Supplemental Element Between Containers (MLA 5.119) -->\n <macro name="supplemental-element-between">\n <choose>\n <if variable="source">\n <text macro="supplemental-element-movable"/>\n </if>\n </choose>\n </macro>\n <!-- 6. Container 2 (MLA 5.102) -->\n <macro name="container2">\n <group delimiter=", ">\n <choose>\n <if match="none" variable="source"/>\n <else-if match="any" variable="DOI URL">\n <!-- Title of Container -->\n <text font-style="italic" variable="source"/>\n <!-- Location -->\n <text macro="container1-location-URI"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <!-- 7. Supplemental Element at End of Entry (MLA 5.110-118) -->\n <macro name="supplemental-element-end">\n <group delimiter=", ">\n <text macro="supplemental-date-access"/>\n <text macro="supplemental-medium"/>\n <choose>\n <if variable="source"/>\n <else>\n <text macro="supplemental-element-movable"/>\n </else>\n </choose>\n </group>\n </macro>\n <macro name="supplemental-element-movable">\n <!-- information relevant only to one container appears either in `supplemental-element-between` or `supplemental-element-end` depending on the presence of `source` -->\n <group delimiter=", ">\n <choose>\n <if match="any" type="article-journal article-magazine article-newspaper periodical post-weblog review review-book">\n <!-- serial types -->\n <text macro="supplemental-columns-sections"/>\n </if>\n <else-if match="any" type="interview paper-conference">\n <choose>\n <if match="any" variable="collection-editor compiler editor editorial-director">\n <!-- monographic types -->\n <text macro="supplemental-dissertations-theses"/>\n <text macro="supplemental-publication-history"/>\n <text macro="supplemental-book-series"/>\n <text macro="supplemental-multivolume-works"/>\n </if>\n <else>\n <!-- serial types -->\n <text macro="supplemental-columns-sections"/>\n </else>\n </choose>\n </else-if>\n <else>\n <!-- monographic types -->\n <text macro="supplemental-dissertations-theses"/>\n <text macro="supplemental-publication-history"/>\n <text macro="supplemental-book-series"/>\n <text macro="supplemental-multivolume-works"/>\n </else>\n </choose>\n </group>\n </macro>\n <!-- 7.1. Date of access (MLA 5.111) -->\n <macro name="supplemental-date-access">\n <choose>\n <if match="none" variable="issued">\n <group delimiter=" ">\n <text term="accessed" text-case="capitalize-first"/>\n <date form="text" variable="accessed"/>\n </group>\n </if>\n </choose>\n </macro>\n <!-- 7.2. Medium of publication (MLA 5.112) -->\n <macro name="supplemental-medium">\n <text text-case="capitalize-first" variable="medium"/>\n </macro>\n <!-- 7.3. Dissertations and theses (MLA 5.113) -->\n <macro name="supplemental-dissertations-theses">\n <choose>\n <if type="thesis">\n <group delimiter=", ">\n <text variable="publisher"/>\n <text variable="genre"/>\n </group>\n </if>\n </choose>\n </macro>\n <!-- 7.4. Publication history (MLA 5.114) -->\n <macro name="supplemental-publication-history">\n <group delimiter=" ">\n <choose>\n <if match="any" variable="original-publisher original-publisher-place original-title">\n <text term="original-work-published" text-case="capitalize-first"/>\n </if>\n </choose>\n <group delimiter=", ">\n <group delimiter=" ">\n <text value="as"/>\n <text font-style="italic" text-case="title" variable="original-title"/>\n </group>\n <choose>\n <if match="any" variable="original-publisher original-publisher-place">\n <choose>\n <if variable="original-publisher">\n <group delimiter=" ">\n <choose>\n <if match="none" variable="original-title">\n <text term="by"/>\n </if>\n </choose>\n <text variable="original-publisher"/>\n </group>\n </if>\n <else>\n <text variable="original-publisher-place"/>\n </else>\n </choose>\n <choose>\n <if is-uncertain-date="original-date">\n <date date-parts="year" form="numeric" prefix="[" suffix="?]" variable="original-date"/>\n </if>\n <else>\n <date date-parts="year" form="numeric" variable="original-date"/>\n </else>\n </choose>\n </if>\n </choose>\n </group>\n </group>\n </macro>\n <!-- 7.5. Book series (MLA 5.115) -->\n <macro name="supplemental-book-series">\n <group delimiter=", ">\n <choose>\n <if is-numeric="collection-number" variable="collection-title">\n <group delimiter=" ">\n <text text-case="title" variable="collection-title"/>\n <text variable="collection-number"/>\n </group>\n </if>\n <else-if variable="collection-title">\n <text text-case="title" variable="collection-title"/>\n <text variable="collection-number"/>\n </else-if>\n </choose>\n </group>\n </macro>\n <!-- 7.6. Columns, sections, and other recurring titled features (MLA 5.116) -->\n <macro name="supplemental-columns-sections">\n <text text-case="title" variable="section"/>\n </macro>\n <!-- 7.7. Multivolume works (MLA 5.117) -->\n <macro name="supplemental-multivolume-works">\n <group delimiter=", ">\n <choose>\n <if variable="part-number part-title volume volume-title">\n <!-- part and title with individual titles -->\n <group delimiter=" ">\n <text macro="label-part-number-capitalized"/>\n <text value="of"/>\n <text font-style="italic" text-case="title" variable="volume-title"/>\n </group>\n <group delimiter=" ">\n <text macro="label-volume"/>\n <text value="of"/>\n <group delimiter=", ">\n <choose>\n <if variable="container-title">\n <text font-style="italic" text-case="title" variable="container-title"/>\n </if>\n <else>\n <text macro="title-primary"/>\n </else>\n </choose>\n <names variable="collection-editor">\n <name initialize="false"/>\n <label prefix=", "/>\n </names>\n </group>\n </group>\n </if>\n <else-if match="any" variable="part-title volume-title">\n <group delimiter=" ">\n <choose>\n <if variable="part-number volume">\n <group delimiter=", ">\n <text macro="label-volume-capitalized"/>\n <text macro="label-part-number"/>\n <text value="of"/>\n </group>\n </if>\n <else-if variable="part-number">\n <text macro="label-part-number-capitalized"/>\n <text value="of"/>\n </else-if>\n <else-if variable="volume">\n <text macro="label-volume-capitalized"/>\n <text value="of"/>\n </else-if>\n </choose>\n <group delimiter=", ">\n <choose>\n <if variable="container-title">\n <text font-style="italic" text-case="title" variable="container-title"/>\n </if>\n <else>\n <text macro="title-primary"/>\n </else>\n </choose>\n <names variable="collection-editor">\n <name initialize="false"/>\n <label prefix=", "/>\n </names>\n </group>\n </group>\n </else-if>\n <!-- numbers without a volume title appear in `container1-number` -->\n </choose>\n <choose>\n <if match="none" variable="volume">\n <text macro="label-number-of-volumes"/>\n </if>\n </choose>\n <!-- TODO: provide container date here when available -->\n </group>\n </macro>\n <citation disambiguate-add-givenname="true" disambiguate-add-names="true" et-al-min="3" et-al-use-first="1">\n <layout delimiter="; " prefix="(" suffix=")">\n <choose>\n <if locator="line page timestamp" match="any">\n <group delimiter=" ">\n <text macro="author-short"/>\n <text variable="locator"/>\n </group>\n </if>\n <else>\n <group delimiter=", ">\n <text macro="author-short"/>\n <text macro="label-locator"/>\n </group>\n </else>\n </choose>\n </layout>\n </citation>\n <bibliography entry-spacing="0" et-al-min="3" et-al-use-first="1" hanging-indent="true" line-spacing="2" subsequent-author-substitute="&#8212;&#8212;&#8212;">\n <sort>\n <key macro="author"/>\n <key macro="title"/>\n <key macro="supplemental-element-after-title"/>\n <key macro="container1"/>\n <key macro="supplemental-element-between"/>\n <key macro="container2"/>\n <key macro="supplemental-element-end"/>\n </sort>\n <layout suffix=".">\n <group delimiter=". ">\n <text macro="author"/>\n <text macro="title"/>\n <text macro="supplemental-element-after-title"/>\n <text macro="container1"/>\n <text macro="supplemental-element-between"/>\n <text macro="container2"/>\n <text macro="supplemental-element-end"/>\n </group>\n </layout>\n </bibliography>\n</style>\n';
18
+ var modernLanguageAssociation_default = xml4;
19
+
20
+ // src/csl/localesEnUS.ts
21
+ var xml5 = `<?xml version="1.0" encoding="utf-8"?>
22
+ <locale xmlns="http://purl.org/net/xbiblio/csl" version="1.0" xml:lang="en-US">
23
+ <!-- The abbreviations in this file follow the recommendations of The Chicago Manual of Style, 18th ed. (2024), sec. 10.48 (cited hereafter as CMOS), unless stated otherwise. -->
24
+ <!-- Additional abbreviations are from:
25
+ 1. Oxford Dictionary for Writers and Editors (2000), https://archive.org/details/oxfordstylemanua0000unse (cited hereafter as ODWE): reference has also been made to the New Oxford Dictionary for Writers and Editors (NODWE), but periods must be added to contractions in these later editions to reflect US English usage
26
+ 2. Oxford Dictionary of Abbreviations (2011), https://doi.org/10.1093/acref/9780199698295.001.0001 (cited hereafter as ODA)
27
+ -->
28
+ <info>
29
+ <translator>
30
+ <name>Andrew Dunning</name>
31
+ <uri>https://orcid.org/0000-0003-0464-5036</uri>
32
+ </translator>
33
+ <translator>
34
+ <name>Sebastian Karcher</name>
35
+ <uri>https://orcid.org/0000-0001-8249-7388</uri>
36
+ </translator>
37
+ <translator>
38
+ <name>Rintze M. Zelle</name>
39
+ <uri>https://orcid.org/0000-0003-1779-8883</uri>
40
+ </translator>
41
+ <translator>
42
+ <name>Denis Meier</name>
43
+ </translator>
44
+ <translator>
45
+ <name>Brenton M. Wiernik</name>
46
+ <uri>https://orcid.org/0000-0001-9560-6336</uri>
47
+ </translator>
48
+ <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
49
+ <updated>2026-01-10T00:00:00+00:00</updated>
50
+ </info>
51
+ <style-options punctuation-in-quote="true"/>
52
+ <date form="text">
53
+ <date-part name="month" suffix=" "/>
54
+ <date-part name="day" suffix=", "/>
55
+ <date-part name="year"/>
56
+ </date>
57
+ <date form="numeric">
58
+ <date-part name="month" form="numeric-leading-zeros" suffix="/"/>
59
+ <date-part name="day" form="numeric-leading-zeros" suffix="/"/>
60
+ <date-part name="year"/>
61
+ </date>
62
+ <terms>
63
+ <!-- LONG GENERAL TERMS -->
64
+ <term name="accessed">accessed</term>
65
+ <term name="advance-online-publication">advance online publication</term>
66
+ <term name="album">album</term>
67
+ <term name="and">and</term>
68
+ <term name="and others">and others</term>
69
+ <term name="anonymous">anonymous</term>
70
+ <term name="at">at</term>
71
+ <term name="audio-recording">audio recording</term>
72
+ <term name="available at">available at</term>
73
+ <term name="by">by</term>
74
+ <term name="circa">circa</term>
75
+ <term name="cited">cited</term>
76
+ <term name="et-al">et al.</term>
77
+ <term name="film">film</term>
78
+ <term name="forthcoming">forthcoming</term>
79
+ <term name="from">from</term>
80
+ <term name="henceforth">henceforth</term>
81
+ <term name="ibid">ibid.</term>
82
+ <term name="in">in</term>
83
+ <term name="in press">in press</term>
84
+ <term name="internet">internet</term>
85
+ <term name="letter">letter</term>
86
+ <term name="loc-cit">loc. cit.</term> <!-- like ibid., the abbreviated form is the regular form -->
87
+ <term name="no date">no date</term>
88
+ <term name="no-place">no place</term>
89
+ <term name="no-publisher">no publisher</term>
90
+ <term name="on">on</term>
91
+ <term name="online">online</term>
92
+ <term name="op-cit">op. cit.</term> <!-- like ibid., the abbreviated form is the regular form -->
93
+ <term name="original-work-published">original work published</term>
94
+ <term name="personal-communication">personal communication</term>
95
+ <term name="podcast">podcast</term>
96
+ <term name="podcast-episode">podcast episode</term>
97
+ <term name="preprint">preprint</term>
98
+ <term name="presented at">presented at the</term>
99
+ <term name="radio-broadcast">radio broadcast</term>
100
+ <term name="radio-series">radio series</term>
101
+ <term name="radio-series-episode">radio series episode</term>
102
+ <term name="reference">
103
+ <single>reference</single>
104
+ <multiple>references</multiple>
105
+ </term>
106
+ <term name="retrieved">retrieved</term>
107
+ <term name="review-of">review of</term>
108
+ <term name="scale">scale</term>
109
+ <term name="special-issue">special issue</term>
110
+ <term name="special-section">special section</term>
111
+ <term name="television-broadcast">television broadcast</term>
112
+ <term name="television-series">television series</term>
113
+ <term name="television-series-episode">television series episode</term>
114
+ <term name="video">video</term>
115
+ <term name="working-paper">working paper</term>
116
+
117
+ <!-- SHORT GENERAL TERMS -->
118
+ <!-- Omitted short forms: accessed, album, and (symbol), and others, at (symbol), forthcoming, henceforth, ibid, in, in press, internet, loc-cit, on, online, op-cit, podcast, preprint, presented at -->
119
+ <term name="advance-online-publication" form="short">adv. online pub.</term> <!-- ODA -->
120
+ <term name="anonymous" form="short">anon.</term>
121
+ <term name="audio-recording" form="short">au. rec.</term> <!-- ODA -->
122
+ <term name="available at" form="short">avail. at</term> <!-- ODA -->
123
+ <term name="circa" form="short">c.</term>
124
+ <!-- CMOS 10.48 recommends "ca." for "circa" but also allows "c.", which CSL has used historically -->
125
+ <term name="cited" form="short">cit.</term> <!-- ODA -->
126
+ <term name="film" form="short">flm.</term> <!-- ODA -->
127
+ <term name="from" form="short">fr.</term>
128
+ <term name="letter" form="short">let.</term> <!-- ODA -->
129
+ <term name="no date" form="short">n.d.</term>
130
+ <term name="no-place" form="short">n.p.</term>
131
+ <term name="no-publisher" form="short">n.p.</term>
132
+ <term name="original-work-published" form="short">orig. pub.</term> <!-- Oxford Guide to Style -->
133
+ <term name="personal-communication" form="short">pers. comm.</term>
134
+ <term name="podcast-episode" form="short">podcast ep.</term>
135
+ <term name="radio-broadcast" form="short">radio bdcst.</term> <!-- ODA -->
136
+ <term name="radio-series" form="short">radio ser.</term> <!-- ODA -->
137
+ <term name="radio-series-episode" form="short">radio ser. ep.</term> <!-- ODA -->
138
+ <term name="reference" form="short">
139
+ <single>ref.</single>
140
+ <multiple>refs.</multiple>
141
+ </term>
142
+ <term name="retrieved" form="short">rtvd.</term> <!-- ODA -->
143
+ <term name="review-of" form="short">rev. of</term>
144
+ <term name="scale" form="short">sc.</term> <!-- ODA -->
145
+ <term name="special-issue" form="short">spec. iss.</term> <!-- ODA -->
146
+ <term name="special-section" form="short">spec. sec.</term> <!-- ODA/CMOS -->
147
+ <term name="television-broadcast" form="short">TV bdcst.</term> <!-- ODA -->
148
+ <term name="television-series" form="short">TV ser.</term> <!-- ODA -->
149
+ <term name="television-series-episode" form="short">TV ser. ep.</term> <!-- ODA -->
150
+ <term name="video" form="short">vid.</term> <!-- ODA -->
151
+ <term name="working-paper" form="short">wkg. paper</term> <!-- ODA -->
152
+
153
+ <!-- SYMBOLIC GENERAL FORMS -->
154
+ <term name="and" form="symbol">&amp;</term>
155
+ <term name="at" form="symbol">@</term>
156
+
157
+ <!-- LONG ITEM TYPE FORMS -->
158
+ <term name="article">preprint</term>
159
+ <term name="article-journal">journal article</term>
160
+ <term name="article-magazine">magazine article</term>
161
+ <term name="article-newspaper">newspaper article</term>
162
+ <term name="bill">bill</term>
163
+ <!-- book is in the list of locator terms -->
164
+ <term name="broadcast">broadcast</term>
165
+ <!-- chapter is in the list of locator terms -->
166
+ <term name="classic">classical work</term>
167
+ <term name="collection">archival collection</term>
168
+ <term name="dataset">dataset</term>
169
+ <term name="document">document</term>
170
+ <term name="entry">entry</term>
171
+ <term name="entry-dictionary">dictionary entry</term>
172
+ <term name="entry-encyclopedia">encyclopedia entry</term>
173
+ <term name="event">event</term>
174
+ <!-- figure is in the list of locator terms -->
175
+ <term name="graphic">graphic</term>
176
+ <term name="hearing">hearing</term>
177
+ <term name="interview">interview</term>
178
+ <term name="legal_case">legal case</term>
179
+ <term name="legislation">legislation</term>
180
+ <term name="manuscript">manuscript</term>
181
+ <term name="map">map</term>
182
+ <term name="motion_picture">video recording</term>
183
+ <term name="musical_score">musical score</term>
184
+ <term name="pamphlet">pamphlet</term>
185
+ <term name="paper-conference">conference paper</term>
186
+ <term name="patent">patent</term>
187
+ <term name="performance">performance</term>
188
+ <term name="periodical">periodical</term>
189
+ <term name="personal_communication">personal communication</term>
190
+ <term name="post">post</term>
191
+ <term name="post-weblog">blog post</term>
192
+ <term name="regulation">regulation</term>
193
+ <term name="report">report</term>
194
+ <term name="review">review</term>
195
+ <term name="review-book">book review</term>
196
+ <term name="software">software</term>
197
+ <term name="song">audio recording</term>
198
+ <term name="speech">presentation</term>
199
+ <term name="standard">standard</term>
200
+ <term name="thesis">thesis</term>
201
+ <term name="treaty">treaty</term>
202
+ <term name="webpage">webpage</term>
203
+
204
+ <!-- SHORT ITEM TYPE FORMS -->
205
+ <!-- Omitted short forms: article, bill, entry, event, hearing, map, periodical, speech, treaty -->
206
+ <term name="article-journal" form="short">jour. art.</term> <!-- ODWE -->
207
+ <term name="article-magazine" form="short">mag. art.</term> <!-- ODWE -->
208
+ <term name="article-newspaper" form="short">newspaper art.</term>
209
+ <term name="broadcast" form="short">bdcst.</term> <!-- ODA -->
210
+ <!-- book is in the list of locator terms -->
211
+ <!-- chapter is in the list of locator terms -->
212
+ <term name="classic" form="short">class. wk.</term> <!-- ODWE -->
213
+ <term name="collection" form="short">arch. coll.</term> <!-- ODA -->
214
+ <term name="document" form="short">doc.</term>
215
+ <term name="entry-dictionary" form="short">dict. entry</term>
216
+ <term name="entry-encyclopedia" form="short">ency. entry</term>
217
+ <!-- figure is in the list of locator terms -->
218
+ <term name="graphic" form="short">gr.</term> <!-- ODA -->
219
+ <term name="interview" form="short">int.</term> <!-- ODA -->
220
+ <term name="legal_case" form="short">leg. case</term> <!-- ODA -->
221
+ <term name="legislation" form="short">legis.</term> <!-- ODA -->
222
+ <term name="manuscript" form="short">
223
+ <single>MS</single>
224
+ <multiple>MSS</multiple>
225
+ </term>
226
+ <term name="motion_picture" form="short">vid. rec.</term> <!-- ODA -->
227
+ <term name="musical_score" form="short">mus. score</term> <!-- ODWE -->
228
+ <term name="pamphlet" form="short">pam.</term> <!-- ODWE -->
229
+ <term name="paper-conference" form="short">conf. paper</term> <!-- ODA -->
230
+ <term name="patent" form="short">pat.</term> <!-- ODWE -->
231
+ <term name="performance" form="short">prfm.</term> <!-- ODA -->
232
+ <term name="personal_communication" form="short">pers. comm.</term>
233
+ <term name="regulation" form="short">reg.</term> <!-- ODA -->
234
+ <term name="report" form="short">rep.</term> <!-- ODWE -->
235
+ <term name="review" form="short">rev.</term>
236
+ <term name="review-book" form="short">bk. rev.</term>
237
+ <term name="software" form="short">sftw.</term> <!-- ODA -->
238
+ <term name="song" form="short">au. rec.</term> <!-- ODA -->
239
+ <term name="standard" form="short">std.</term> <!-- ODA -->
240
+ <term name="thesis" form="short">thes.</term> <!-- ODA -->
241
+ <term name="webpage" form="short">webpg.</term> <!-- ODA -->
242
+
243
+ <!-- LONG VERB ITEM TYPE FORMS -->
244
+ <!-- Only where applicable -->
245
+ <term name="hearing" form="verb">testimony of</term>
246
+ <term name="review" form="verb">review of</term>
247
+ <term name="review-book" form="verb">review of the book</term>
248
+
249
+ <!-- SHORT VERB ITEM TYPE FORMS -->
250
+ <!-- Only where applicable -->
251
+ <term name="hearing" form="verb-short">test. of</term> <!-- ODA -->
252
+ <term name="review" form="verb-short">rev. of</term>
253
+ <term name="review-book" form="verb-short">rev. of the bk.</term>
254
+
255
+ <!-- HISTORICAL ERA TERMS -->
256
+ <term name="ad"> AD</term>
257
+ <term name="bc"> BC</term>
258
+ <term name="bce"> BCE</term>
259
+ <term name="ce"> CE</term>
260
+
261
+ <!-- PUNCTUATION -->
262
+ <term name="open-quote">\u201C</term>
263
+ <term name="close-quote">\u201D</term>
264
+ <term name="open-inner-quote">\u2018</term>
265
+ <term name="close-inner-quote">\u2019</term>
266
+ <term name="page-range-delimiter">\u2013</term>
267
+ <term name="colon">:</term>
268
+ <term name="comma">,</term>
269
+ <term name="semicolon">;</term>
270
+
271
+ <!-- ORDINALS -->
272
+ <term name="ordinal">th</term>
273
+ <term name="ordinal-01">st</term>
274
+ <term name="ordinal-02">nd</term>
275
+ <term name="ordinal-03">rd</term>
276
+ <term name="ordinal-11">th</term>
277
+ <term name="ordinal-12">th</term>
278
+ <term name="ordinal-13">th</term>
279
+
280
+ <!-- LONG ORDINALS -->
281
+ <term name="long-ordinal-01">first</term>
282
+ <term name="long-ordinal-02">second</term>
283
+ <term name="long-ordinal-03">third</term>
284
+ <term name="long-ordinal-04">fourth</term>
285
+ <term name="long-ordinal-05">fifth</term>
286
+ <term name="long-ordinal-06">sixth</term>
287
+ <term name="long-ordinal-07">seventh</term>
288
+ <term name="long-ordinal-08">eighth</term>
289
+ <term name="long-ordinal-09">ninth</term>
290
+ <term name="long-ordinal-10">tenth</term>
291
+
292
+ <!-- LONG LOCATOR FORMS -->
293
+ <term name="act">
294
+ <single>act</single>
295
+ <multiple>acts</multiple>
296
+ </term>
297
+ <term name="appendix">
298
+ <single>appendix</single>
299
+ <multiple>appendices</multiple>
300
+ </term>
301
+ <term name="article-locator">
302
+ <single>article</single>
303
+ <multiple>articles</multiple>
304
+ </term>
305
+ <term name="book">
306
+ <single>book</single>
307
+ <multiple>books</multiple>
308
+ </term>
309
+ <term name="canon">
310
+ <single>canon</single>
311
+ <multiple>canons</multiple>
312
+ </term>
313
+ <term name="chapter">
314
+ <single>chapter</single>
315
+ <multiple>chapters</multiple>
316
+ </term>
317
+ <term name="column">
318
+ <single>column</single>
319
+ <multiple>columns</multiple>
320
+ </term>
321
+ <term name="elocation">
322
+ <single>location</single>
323
+ <multiple>locations</multiple>
324
+ </term>
325
+ <term name="equation">
326
+ <single>equation</single>
327
+ <multiple>equations</multiple>
328
+ </term>
329
+ <term name="figure">
330
+ <single>figure</single>
331
+ <multiple>figures</multiple>
332
+ </term>
333
+ <term name="folio">
334
+ <single>folio</single>
335
+ <multiple>folios</multiple>
336
+ </term>
337
+ <term name="issue">
338
+ <single>issue</single>
339
+ <multiple>issues</multiple>
340
+ </term>
341
+ <term name="line">
342
+ <single>line</single>
343
+ <multiple>lines</multiple>
344
+ </term>
345
+ <term name="note">
346
+ <single>note</single>
347
+ <multiple>notes</multiple>
348
+ </term>
349
+ <term name="opus">
350
+ <single>opus</single>
351
+ <multiple>opera</multiple>
352
+ </term>
353
+ <term name="page">
354
+ <single>page</single>
355
+ <multiple>pages</multiple>
356
+ </term>
357
+ <term name="paragraph">
358
+ <single>paragraph</single>
359
+ <multiple>paragraphs</multiple>
360
+ </term>
361
+ <term name="part">
362
+ <single>part</single>
363
+ <multiple>parts</multiple>
364
+ </term>
365
+ <term name="rule">
366
+ <single>rule</single>
367
+ <multiple>rules</multiple>
368
+ </term>
369
+ <term name="scene">
370
+ <single>scene</single>
371
+ <multiple>scenes</multiple>
372
+ </term>
373
+ <term name="section">
374
+ <single>section</single>
375
+ <multiple>sections</multiple>
376
+ </term>
377
+ <term name="sub-verbo">
378
+ <single>sub verbo</single>
379
+ <multiple>sub verbis</multiple>
380
+ </term>
381
+ <term name="supplement">
382
+ <single>supplement</single>
383
+ <multiple>supplements</multiple>
384
+ </term>
385
+ <term name="table">
386
+ <single>table</single>
387
+ <multiple>tables</multiple>
388
+ </term>
389
+ <!-- A timestamp is a composite of hours, minutes, etc. and therefore has no default label. -->
390
+ <term name="timestamp"/>
391
+ <term name="title-locator">
392
+ <single>title</single>
393
+ <multiple>titles</multiple>
394
+ </term>
395
+ <term name="verse">
396
+ <single>verse</single>
397
+ <multiple>verses</multiple>
398
+ </term>
399
+ <term name="volume">
400
+ <single>volume</single>
401
+ <multiple>volumes</multiple>
402
+ </term>
403
+
404
+ <!-- SHORT LOCATOR FORMS -->
405
+ <!-- Omitted short forms: act, timestamp -->
406
+ <term name="appendix" form="short">
407
+ <single>app.</single>
408
+ <multiple>apps.</multiple>
409
+ </term>
410
+ <term name="article-locator" form="short">
411
+ <single>art.</single>
412
+ <multiple>arts.</multiple>
413
+ </term>
414
+ <term name="book" form="short">
415
+ <single>bk.</single>
416
+ <multiple>bks.</multiple>
417
+ </term>
418
+ <term name="canon" form="short">
419
+ <!-- Oxford Dictionary for Writers and Editors -->
420
+ <single>can.</single>
421
+ <multiple>cann.</multiple>
422
+ </term>
423
+ <term name="chapter" form="short">
424
+ <single>chap.</single>
425
+ <multiple>chaps.</multiple>
426
+ </term>
427
+ <term name="column" form="short">
428
+ <single>col.</single>
429
+ <multiple>cols.</multiple>
430
+ </term>
431
+ <term name="elocation" form="short">
432
+ <single>loc.</single>
433
+ <multiple>locs.</multiple>
434
+ </term>
435
+ <term name="equation" form="short">
436
+ <single>eq.</single>
437
+ <multiple>eqq.</multiple>
438
+ </term>
439
+ <term name="figure" form="short">
440
+ <single>fig.</single>
441
+ <multiple>figs.</multiple>
442
+ </term>
443
+ <term name="folio" form="short">
444
+ <single>fol.</single>
445
+ <multiple>fols.</multiple>
446
+ </term>
447
+ <term name="issue" form="short">
448
+ <single>no.</single>
449
+ <multiple>nos.</multiple>
450
+ </term>
451
+ <term name="line" form="short">
452
+ <single>l.</single>
453
+ <multiple>ll.</multiple>
454
+ </term>
455
+ <term name="note" form="short">
456
+ <single>n.</single>
457
+ <multiple>nn.</multiple>
458
+ </term>
459
+ <term name="opus" form="short">
460
+ <single>op.</single>
461
+ <multiple>opp.</multiple>
462
+ </term>
463
+ <term name="page" form="short">
464
+ <single>p.</single>
465
+ <multiple>pp.</multiple>
466
+ </term>
467
+ <term name="paragraph" form="short">
468
+ <single>para.</single>
469
+ <multiple>paras.</multiple>
470
+ </term>
471
+ <term name="part" form="short">
472
+ <single>pt.</single>
473
+ <multiple>pts.</multiple>
474
+ </term>
475
+ <term name="rule" form="short">
476
+ <!-- legal abbreviations in the Oxford Guide to Style, sec. 13.2.1 -->
477
+ <single>r.</single>
478
+ <multiple>rr.</multiple>
479
+ </term>
480
+ <term name="scene" form="short">
481
+ <single>sc.</single>
482
+ <multiple>scs.</multiple>
483
+ </term>
484
+ <term name="section" form="short">
485
+ <single>sec.</single>
486
+ <multiple>secs.</multiple>
487
+ </term>
488
+ <term name="sub-verbo" form="short">
489
+ <single>s.v.</single>
490
+ <multiple>s.vv.</multiple>
491
+ </term>
492
+ <term name="supplement" form="short">
493
+ <single>supp.</single>
494
+ <multiple>supps.</multiple>
495
+ </term>
496
+ <term name="table" form="short">
497
+ <!-- Oxford Dictionary of Abbreviations -->
498
+ <single>tbl.</single>
499
+ <multiple>tbls.</multiple>
500
+ </term>
501
+ <term name="title-locator" form="short">
502
+ <!-- Oxford Dictionary for Writers and Editors -->
503
+ <single>tit.</single>
504
+ <multiple>titt.</multiple>
505
+ </term>
506
+ <term name="verse" form="short">
507
+ <single>v.</single>
508
+ <multiple>vv.</multiple>
509
+ </term>
510
+ <term name="volume" form="short">
511
+ <single>vol.</single>
512
+ <multiple>vols.</multiple>
513
+ </term>
514
+
515
+ <!-- SYMBOLIC LOCATOR FORMS -->
516
+ <term name="chapter" form="symbol">
517
+ <!-- caput/capita, esp. in legal works; cf. CMOS 14.196 -->
518
+ <single>c.</single>
519
+ <multiple>cc.</multiple>
520
+ </term>
521
+ <term name="paragraph" form="symbol">
522
+ <single>\xB6</single>
523
+ <multiple>\xB6\xB6</multiple>
524
+ </term>
525
+ <term name="section" form="symbol">
526
+ <single>\xA7</single>
527
+ <multiple>\xA7\xA7</multiple>
528
+ </term>
529
+
530
+ <!-- LONG NUMBER VARIABLE FORMS -->
531
+ <term name="chapter-number">
532
+ <single>chapter</single>
533
+ <multiple>chapters</multiple>
534
+ </term>
535
+ <term name="citation-number">
536
+ <single>citation</single>
537
+ <multiple>citations</multiple>
538
+ </term>
539
+ <term name="collection-number">
540
+ <single>number</single>
541
+ <multiple>numbers</multiple>
542
+ </term>
543
+ <term name="edition">
544
+ <single>edition</single>
545
+ <multiple>editions</multiple>
546
+ </term>
547
+ <term name="first-reference-note-number">
548
+ <single>note</single>
549
+ <multiple>notes</multiple>
550
+ </term>
551
+ <term name="number">
552
+ <single>number</single>
553
+ <multiple>numbers</multiple>
554
+ </term>
555
+ <term name="number-of-pages">
556
+ <single>page</single>
557
+ <multiple>pages</multiple>
558
+ </term>
559
+ <term name="number-of-volumes">
560
+ <single>volume</single>
561
+ <multiple>volumes</multiple>
562
+ </term>
563
+ <term name="page-first">
564
+ <single>page</single>
565
+ <multiple>pages</multiple>
566
+ </term>
567
+ <term name="printing">
568
+ <single>printing</single>
569
+ <multiple>printings</multiple>
570
+ </term>
571
+ <term name="version">
572
+ <single>version</single>
573
+ <multiple>versions</multiple>
574
+ </term>
575
+
576
+ <!-- SHORT NUMBER VARIABLE FORMS -->
577
+ <term name="chapter-number" form="short">
578
+ <single>chap.</single>
579
+ <multiple>chaps.</multiple>
580
+ </term>
581
+ <term name="citation-number" form="short">
582
+ <single>cit.</single>
583
+ <multiple>cits.</multiple>
584
+ </term>
585
+ <term name="collection-number" form="short">
586
+ <single>no.</single>
587
+ <multiple>nos.</multiple>
588
+ </term>
589
+ <term name="edition" form="short">
590
+ <single>ed.</single>
591
+ <multiple>eds.</multiple>
592
+ </term>
593
+ <term name="first-reference-note-number" form="short">
594
+ <single>n.</single>
595
+ <multiple>nn.</multiple>
596
+ </term>
597
+ <term name="number" form="short">
598
+ <single>no.</single>
599
+ <multiple>nos.</multiple>
600
+ </term>
601
+ <term name="number-of-pages" form="short">
602
+ <single>p.</single>
603
+ <multiple>pp.</multiple>
604
+ </term>
605
+ <term name="number-of-volumes" form="short">
606
+ <single>vol.</single>
607
+ <multiple>vols.</multiple>
608
+ </term>
609
+ <term name="page-first" form="short">
610
+ <single>p.</single>
611
+ <multiple>pp.</multiple>
612
+ </term>
613
+ <term name="printing" form="short">
614
+ <!-- Oxford Dictionary for Writers and Editors -->
615
+ <single>ptg.</single>
616
+ <multiple>ptgs.</multiple>
617
+ </term>
618
+ <term name="version" form="short">v.</term> <!-- no plural -->
619
+
620
+ <!-- LONG ROLE FORMS -->
621
+ <term name="author"/> <!-- generally blank -->
622
+ <term name="chair">
623
+ <single>chair</single>
624
+ <multiple>chairs</multiple>
625
+ </term>
626
+ <term name="collection-editor">
627
+ <single>editor</single>
628
+ <multiple>editors</multiple>
629
+ </term>
630
+ <term name="compiler">
631
+ <single>compiler</single>
632
+ <multiple>compilers</multiple>
633
+ </term>
634
+ <term name="composer"/> <!-- generally blank -->
635
+ <term name="container-author"/> <!-- generally blank -->
636
+ <term name="contributor">
637
+ <single>contributor</single>
638
+ <multiple>contributors</multiple>
639
+ </term>
640
+ <term name="curator">
641
+ <single>curator</single>
642
+ <multiple>curators</multiple>
643
+ </term>
644
+ <term name="director">
645
+ <single>director</single>
646
+ <multiple>directors</multiple>
647
+ </term>
648
+ <term name="editor">
649
+ <single>editor</single>
650
+ <multiple>editors</multiple>
651
+ </term>
652
+ <term name="editor-translator">
653
+ <single>editor &amp; translator</single>
654
+ <multiple>editors &amp; translators</multiple>
655
+ </term>
656
+ <term name="editortranslator">
657
+ <single>editor &amp; translator</single>
658
+ <multiple>editors &amp; translators</multiple>
659
+ </term>
660
+ <term name="editorial-director">
661
+ <single>editor</single>
662
+ <multiple>editors</multiple>
663
+ </term>
664
+ <term name="executive-producer">
665
+ <single>executive producer</single>
666
+ <multiple>executive producers</multiple>
667
+ </term>
668
+ <term name="guest">
669
+ <single>guest</single>
670
+ <multiple>guests</multiple>
671
+ </term>
672
+ <term name="host">
673
+ <single>host</single>
674
+ <multiple>hosts</multiple>
675
+ </term>
676
+ <term name="illustrator">
677
+ <single>illustrator</single>
678
+ <multiple>illustrators</multiple>
679
+ </term>
680
+ <term name="interviewer"/> <!-- generally blank -->
681
+ <term name="narrator">
682
+ <single>narrator</single>
683
+ <multiple>narrators</multiple>
684
+ </term>
685
+ <term name="organizer">
686
+ <single>organizer</single>
687
+ <multiple>organizers</multiple>
688
+ </term>
689
+ <term name="original-author"/> <!-- generally blank -->
690
+ <term name="performer">
691
+ <single>performer</single>
692
+ <multiple>performers</multiple>
693
+ </term>
694
+ <term name="producer">
695
+ <single>producer</single>
696
+ <multiple>producers</multiple>
697
+ </term>
698
+ <term name="recipient"/> <!-- generally blank -->
699
+ <term name="reviewed-author"/> <!-- generally blank -->
700
+ <term name="script-writer">
701
+ <single>writer</single>
702
+ <multiple>writers</multiple>
703
+ </term>
704
+ <term name="series-creator">
705
+ <single>series creator</single>
706
+ <multiple>series creators</multiple>
707
+ </term>
708
+ <term name="translator">
709
+ <single>translator</single>
710
+ <multiple>translators</multiple>
711
+ </term>
712
+
713
+ <!-- SHORT ROLE FORMS -->
714
+ <!-- Omitted roles:
715
+ author, chair, composer, container-author, guest, host, interviewer, original-author, recipient, reviewed-author
716
+ -->
717
+ <term name="collection-editor" form="short">
718
+ <single>ed.</single>
719
+ <multiple>eds.</multiple>
720
+ </term>
721
+ <term name="compiler" form="short">
722
+ <single>comp.</single>
723
+ <multiple>comps.</multiple>
724
+ </term>
725
+ <term name="contributor" form="short">
726
+ <!-- Oxford Dictionary of Abbreviations -->
727
+ <single>contrib.</single>
728
+ <multiple>contribs.</multiple>
729
+ </term>
730
+ <term name="curator" form="short">
731
+ <!-- Oxford Art Online <https://www.oxfordartonline.com/page/1661> -->
732
+ <single>cur.</single>
733
+ <multiple>curs.</multiple>
734
+ </term>
735
+ <term name="director" form="short">
736
+ <single>dir.</single>
737
+ <multiple>dirs.</multiple>
738
+ </term>
739
+ <term name="editor" form="short">
740
+ <single>ed.</single>
741
+ <multiple>eds.</multiple>
742
+ </term>
743
+ <term name="editor-translator" form="short">
744
+ <single>ed. &amp; trans.</single>
745
+ <multiple>eds. &amp; trans.</multiple>
746
+ </term>
747
+ <term name="editortranslator" form="short">
748
+ <single>ed. &amp; trans.</single>
749
+ <multiple>eds. &amp; trans.</multiple>
750
+ </term>
751
+ <term name="editorial-director" form="short">
752
+ <single>ed.</single>
753
+ <multiple>eds.</multiple>
754
+ </term>
755
+ <term name="executive-producer" form="short">
756
+ <!-- Oxford Dictionary of Abbreviations -->
757
+ <single>exec. prod.</single>
758
+ <multiple>exec. prods.</multiple>
759
+ </term>
760
+ <term name="illustrator" form="short">
761
+ <single>ill.</single>
762
+ <multiple>ills.</multiple>
763
+ </term>
764
+ <term name="narrator" form="short">
765
+ <!-- Oxford Dictionary of Abbreviations -->
766
+ <single>narr.</single>
767
+ <multiple>narrs.</multiple>
768
+ </term>
769
+ <term name="organizer" form="short">
770
+ <!-- possibly misleading: Oxford Dictionary of Abbreviations only defines this as organization or organized -->
771
+ <single>org.</single>
772
+ <multiple>orgs.</multiple>
773
+ </term>
774
+ <term name="performer" form="short">
775
+ <!-- Oxford Dictionary of Abbreviations -->
776
+ <single>perf.</single>
777
+ <multiple>perfs.</multiple>
778
+ </term>
779
+ <term name="producer" form="short">
780
+ <!-- Oxford Dictionary of Abbreviations -->
781
+ <single>prod.</single>
782
+ <multiple>prods.</multiple>
783
+ </term>
784
+ <term name="script-writer" form="short">
785
+ <!-- Oxford Dictionary of Abbreviations -->
786
+ <single>wrtr.</single>
787
+ <multiple>wrtrs.</multiple>
788
+ </term>
789
+ <term name="series-creator" form="short">
790
+ <single>ser. creator</single>
791
+ <multiple>ser. creators</multiple>
792
+ </term>
793
+ <term name="translator" form="short">trans.</term> <!-- no plural -->
794
+
795
+ <!-- VERB ROLE FORMS -->
796
+ <term name="chair" form="verb">chaired by</term>
797
+ <term name="collection-editor" form="verb">edited by</term>
798
+ <term name="compiler" form="verb">compiled by</term>
799
+ <term name="composer" form="verb">composed by</term>
800
+ <term name="container-author" form="verb">by</term>
801
+ <term name="contributor" form="verb">with</term>
802
+ <term name="curator" form="verb">curated by</term>
803
+ <term name="director" form="verb">directed by</term>
804
+ <term name="editor" form="verb">edited by</term>
805
+ <term name="editor-translator" form="verb">edited &amp; translated by</term>
806
+ <term name="editortranslator" form="verb">edited &amp; translated by</term>
807
+ <term name="editorial-director" form="verb">edited by</term>
808
+ <term name="executive-producer" form="verb">executive produced by</term>
809
+ <term form="verb" name="guest">
810
+ <single>with guest</single>
811
+ <multiple>with guests</multiple>
812
+ </term>
813
+ <term name="host" form="verb">hosted by</term>
814
+ <term name="illustrator" form="verb">illustrated by</term>
815
+ <term name="interviewer" form="verb">interview by</term>
816
+ <term name="narrator" form="verb">narrated by</term>
817
+ <term name="organizer" form="verb">organized by</term>
818
+ <term name="original-author" form="verb">by</term>
819
+ <term name="performer" form="verb">performed by</term>
820
+ <term name="producer" form="verb">produced by</term>
821
+ <term name="recipient" form="verb">to</term>
822
+ <term name="reviewed-author" form="verb">by</term>
823
+ <term name="script-writer" form="verb">written by</term>
824
+ <term name="series-creator" form="verb">created by</term>
825
+ <term name="translator" form="verb">translated by</term>
826
+
827
+ <!-- SHORT VERB ROLE FORMS -->
828
+ <!-- Omitted roles:
829
+ author, chair, container-author, contributor, guest, host, interviewer, original-author, recipient, reviewed-author, series-creator
830
+ -->
831
+ <term name="collection-editor" form="verb-short">ed. by</term>
832
+ <term name="compiler" form="verb-short">comp. by</term>
833
+ <term name="composer" form="verb-short">comp. by</term> <!-- ODWE -->
834
+ <term name="curator" form="verb-short">cur. by</term> <!-- Oxford Art Online -->
835
+ <term name="director" form="verb-short">dir. by</term>
836
+ <term name="editor" form="verb-short">ed. by</term>
837
+ <term name="editor-translator" form="verb-short">ed. &amp; trans. by</term>
838
+ <term name="editortranslator" form="verb-short">ed. &amp; trans. by</term>
839
+ <term name="editorial-director" form="verb-short">ed. by</term>
840
+ <term name="executive-producer" form="verb-short">exec. prod. by</term> <!-- ODA -->
841
+ <term name="illustrator" form="verb-short">ill. by</term>
842
+ <term name="narrator" form="verb-short">narr. by</term> <!-- ODA -->
843
+ <term name="organizer" form="verb-short">org. by</term> <!-- ODA -->
844
+ <term name="performer" form="verb-short">perf. by</term> <!-- ODA -->
845
+ <term name="producer" form="verb-short">prod. by</term> <!-- ODA -->
846
+ <term name="script-writer" form="verb-short">writ. by</term> <!-- ODA -->
847
+ <term name="translator" form="verb-short">trans. by</term>
848
+
849
+ <!-- LONG MONTH FORMS -->
850
+ <term name="month-01">January</term>
851
+ <term name="month-02">February</term>
852
+ <term name="month-03">March</term>
853
+ <term name="month-04">April</term>
854
+ <term name="month-05">May</term>
855
+ <term name="month-06">June</term>
856
+ <term name="month-07">July</term>
857
+ <term name="month-08">August</term>
858
+ <term name="month-09">September</term>
859
+ <term name="month-10">October</term>
860
+ <term name="month-11">November</term>
861
+ <term name="month-12">December</term>
862
+
863
+ <!-- SHORT MONTH FORMS -->
864
+ <!-- Chicago Manual of Style, 18th ed., sec. 10.44 (identical to New Hart's Rules, 2nd ed., sec. 10.2.6) -->
865
+ <term name="month-01" form="short">Jan.</term>
866
+ <term name="month-02" form="short">Feb.</term>
867
+ <term name="month-03" form="short">Mar.</term>
868
+ <term name="month-04" form="short">Apr.</term>
869
+ <term name="month-05" form="short">May</term>
870
+ <term name="month-06" form="short">June</term>
871
+ <term name="month-07" form="short">July</term>
872
+ <term name="month-08" form="short">Aug.</term>
873
+ <term name="month-09" form="short">Sept.</term>
874
+ <term name="month-10" form="short">Oct.</term>
875
+ <term name="month-11" form="short">Nov.</term>
876
+ <term name="month-12" form="short">Dec.</term>
877
+
878
+ <!-- SEASONS -->
879
+ <term name="season-01">Spring</term>
880
+ <term name="season-02">Summer</term>
881
+ <term name="season-03">Autumn</term>
882
+ <term name="season-04">Winter</term>
883
+ </terms>
884
+ </locale>
885
+ `;
886
+ var localesEnUS_default = xml5;
887
+
888
+ // src/csl/index.ts
889
+ var CSL_STYLES = {
890
+ "chicago-notes-bibliography": {
891
+ id: "chicago-notes-bibliography",
892
+ name: "Chicago (notes & bibliography)",
893
+ category: "note",
894
+ xml: chicagoNotesBibliography_default
895
+ },
896
+ "chicago-author-date": {
897
+ id: "chicago-author-date",
898
+ name: "Chicago (author-date)",
899
+ category: "in-text",
900
+ xml: chicagoAuthorDate_default
901
+ },
902
+ apa: {
903
+ id: "apa",
904
+ name: "APA",
905
+ category: "in-text",
906
+ xml: apa_default
907
+ },
908
+ "modern-language-association": {
909
+ id: "modern-language-association",
910
+ name: "MLA",
911
+ category: "in-text",
912
+ xml: modernLanguageAssociation_default
913
+ }
914
+ };
915
+ var DEFAULT_CSL_STYLE = "chicago-notes-bibliography";
916
+ var CSL_LOCALE_EN_US = localesEnUS_default;
917
+
918
+ // src/citeEngine.ts
919
+ var clusterSeq = 0;
920
+ function nextCitationId() {
921
+ clusterSeq += 1;
922
+ return `cite-${Date.now().toString(36)}-${clusterSeq.toString(36)}`;
923
+ }
924
+ var CITEPROC_TAG = /^<\/?(i|b|em|strong|sup|sub|span|nobr)( style="font-variant: ?small-caps;?")?\/?>$|^<div class="csl-entry">$|^<\/div>$/;
925
+ function sanitizeCiteprocHtml(html) {
926
+ return html.replace(/<[^>]*>/g, (tag) => CITEPROC_TAG.test(tag) ? tag : tag.replace(/</g, "&lt;").replace(/>/g, "&gt;"));
927
+ }
928
+ var CiteEngine = class {
929
+ sources = /* @__PURE__ */ new Map();
930
+ style;
931
+ clusters = /* @__PURE__ */ new Map();
932
+ order = [];
933
+ rendered = /* @__PURE__ */ new Map();
934
+ bibliography = [];
935
+ listeners = /* @__PURE__ */ new Set();
936
+ constructor(options = {}) {
937
+ this.style = options.style && CSL_STYLES[options.style] ? options.style : DEFAULT_CSL_STYLE;
938
+ this.updateSources(options.sources ?? [], false);
939
+ }
940
+ getStyle() {
941
+ return this.style;
942
+ }
943
+ /** 'note' styles (Chicago notes-bib) cite via footnotes; 'in-text' cite inline. */
944
+ isNoteStyle() {
945
+ return CSL_STYLES[this.style]?.category === "note";
946
+ }
947
+ getSource(id) {
948
+ return this.sources.get(id);
949
+ }
950
+ getSourceIds() {
951
+ return [...this.sources.keys()];
952
+ }
953
+ getCitedSourceIds() {
954
+ const ids = /* @__PURE__ */ new Set();
955
+ for (const attrs of this.clusters.values()) {
956
+ if (attrs.sourceId) ids.add(attrs.sourceId);
957
+ }
958
+ return [...ids];
959
+ }
960
+ /** Live style switch: reload the CSL, recompute everything, repaint (6A-7). */
961
+ setStyle(styleId) {
962
+ if (!CSL_STYLES[styleId] || styleId === this.style) return;
963
+ this.style = styleId;
964
+ this.recompute();
965
+ this.emitChange();
966
+ }
967
+ updateSources(sources, emit = true) {
968
+ this.sources = new Map(sources.map((s) => [s.id, s]));
969
+ this.recompute();
970
+ if (emit) this.emitChange();
971
+ }
972
+ onChange(cb) {
973
+ this.listeners.add(cb);
974
+ return () => {
975
+ this.listeners.delete(cb);
976
+ };
977
+ }
978
+ /**
979
+ * Replace the cluster registry with the current document state, in
980
+ * document order. The caller (editor sync) walks the PM doc; the engine
981
+ * recomputes only when the ordered signature actually changed.
982
+ */
983
+ syncCitations(ordered) {
984
+ const signature = ordered.map((c) => {
985
+ const a = c.attrs;
986
+ return `${c.citationId}|${a.sourceId ?? ""}|${a.locator ?? ""}|${a.label ?? ""}|${a.mode ?? ""}|${a.prefix ?? ""}|${a.suffix ?? ""}`;
987
+ }).join("\n");
988
+ if (signature === this.lastSignature) return false;
989
+ this.lastSignature = signature;
990
+ this.clusters = new Map(ordered.map((c) => [c.citationId, c.attrs]));
991
+ this.order = ordered.map((c) => c.citationId);
992
+ this.recompute();
993
+ this.emitChange();
994
+ return true;
995
+ }
996
+ lastSignature = "";
997
+ /** Last computed in-text/note text for a cluster ('' when unknown/missing). */
998
+ renderCluster(citationId) {
999
+ return this.rendered.get(citationId) ?? "";
1000
+ }
1001
+ /** Bibliography entries (citeproc-sorted), sanitized HTML strings. */
1002
+ getBibliography() {
1003
+ return this.bibliography;
1004
+ }
1005
+ emitChange() {
1006
+ for (const cb of this.listeners) cb();
1007
+ }
1008
+ /**
1009
+ * Rebuild a fresh CSL.Engine and replay all clusters in document order.
1010
+ * citeproc is stateful (ibid., subsequent-short forms), so a full ordered
1011
+ * replay is the only reliable way to keep every cluster consistent after
1012
+ * any edit — the same derived-view pattern used for pagination/collab.
1013
+ */
1014
+ recompute() {
1015
+ const styleInfo = CSL_STYLES[this.style];
1016
+ const engine = new CSL.Engine(
1017
+ {
1018
+ retrieveLocale: () => CSL_LOCALE_EN_US,
1019
+ retrieveItem: (id) => this.sources.get(id)
1020
+ },
1021
+ styleInfo.xml,
1022
+ "en-US"
1023
+ );
1024
+ const next = /* @__PURE__ */ new Map();
1025
+ const pre = [];
1026
+ let noteIndex = 0;
1027
+ for (const citationId of this.order) {
1028
+ const attrs = this.clusters.get(citationId);
1029
+ if (!attrs?.sourceId || !this.sources.has(attrs.sourceId)) {
1030
+ next.set(citationId, "");
1031
+ continue;
1032
+ }
1033
+ noteIndex += 1;
1034
+ try {
1035
+ const [, result] = engine.processCitationCluster(
1036
+ {
1037
+ citationID: citationId,
1038
+ citationItems: [
1039
+ {
1040
+ id: attrs.sourceId,
1041
+ locator: attrs.locator || void 0,
1042
+ label: attrs.label || void 0,
1043
+ prefix: attrs.prefix || void 0,
1044
+ suffix: attrs.suffix || void 0,
1045
+ "suppress-author": attrs.mode === "suppress-author" || void 0,
1046
+ "author-only": attrs.mode === "author-only" || void 0
1047
+ }
1048
+ ],
1049
+ properties: { noteIndex: styleInfo.category === "note" ? noteIndex : 0 }
1050
+ },
1051
+ pre,
1052
+ []
1053
+ );
1054
+ pre.push([citationId, noteIndex]);
1055
+ for (const [, text, id] of result ?? []) {
1056
+ next.set(id, sanitizeCiteprocHtml(text));
1057
+ }
1058
+ if (!next.has(citationId)) next.set(citationId, "");
1059
+ } catch {
1060
+ next.set(citationId, "");
1061
+ }
1062
+ }
1063
+ this.rendered = next;
1064
+ try {
1065
+ const bib = engine.makeBibliography();
1066
+ this.bibliography = bib ? bib[1].map((entry) => sanitizeCiteprocHtml(entry).trim()) : [];
1067
+ } catch {
1068
+ this.bibliography = [];
1069
+ }
1070
+ }
1071
+ };
1072
+
1073
+ // src/citationNodeSpec.ts
1074
+ function buildCitationNodes(engine, attrs) {
1075
+ const citationId = nextCitationId();
1076
+ if (engine.isNoteStyle()) {
1077
+ return {
1078
+ type: "footnote",
1079
+ attrs: { content: "", sourceId: attrs.sourceId, locator: attrs.locator ?? "", citationId }
1080
+ };
1081
+ }
1082
+ return {
1083
+ type: "citation",
1084
+ attrs: { citationId, sourceId: attrs.sourceId, locator: attrs.locator ?? "" }
1085
+ };
1086
+ }
10
1087
  export {
11
1088
  CSL_LOCALE_EN_US,
12
1089
  CSL_STYLES,