e0984a43a9
This deprecates the use of the external pandoc-citeproc filter; citation processing is now built in to pandoc. * Add dependency on citeproc library. * Add Text.Pandoc.Citeproc module (and some associated unexported modules under Text.Pandoc.Citeproc). Exports `processCitations`. [API change] * Add data files needed for Text.Pandoc.Citeproc: default.csl in the data directory, and a citeproc directory that is just used at compile-time. Note that we've added file-embed as a mandatory rather than a conditional depedency, because of the biblatex localization files. We might eventually want to use readDataFile for this, but it would take some code reorganization. * Text.Pandoc.Loging: Add `CiteprocWarning` to `LogMessage` and use it in `processCitations`. [API change] * Add tests from the pandoc-citeproc package as command tests (including some tests pandoc-citeproc did not pass). * Remove instructions for building pandoc-citeproc from CI and release binary build instructions. We will no longer distribute pandoc-citeproc. * Markdown reader: tweak abbreviation support. Don't insert a nonbreaking space after a potential abbreviation if it comes right before a note or citation. This messes up several things, including citeproc's moving of note citations. * Add `csljson` as and input and output format. This allows pandoc to convert between `csljson` and other bibliography formats, and to generate formatted versions of CSL JSON bibliographies. * Add module Text.Pandoc.Writers.CslJson, exporting `writeCslJson`. [API change] * Add module Text.Pandoc.Readers.CslJson, exporting `readCslJson`. [API change] * Added `bibtex`, `biblatex` as input formats. This allows pandoc to convert between BibLaTeX and BibTeX and other bibliography formats, and to generated formatted versions of BibTeX/BibLaTeX bibliographies. * Add module Text.Pandoc.Readers.BibTeX, exporting `readBibTeX` and `readBibLaTeX`. [API change] * Make "standalone" implicit if output format is a bibliography format. This is needed because pandoc readers for bibliography formats put the bibliographic information in the `references` field of metadata; and unless standalone is specified, metadata gets ignored. (TODO: This needs improvement. We should trigger standalone for the reader when the input format is bibliographic, and for the writer when the output format is markdown.) * Carry over `citationNoteNum` to `citationNoteNumber`. This was just ignored in pandoc-citeproc. * Text.Pandoc.Filter: Add `CiteprocFilter` constructor to Filter. [API change] This runs the processCitations transformation. We need to treat it like a filter so it can be placed in the sequence of filter runs (after some, before others). In FromYAML, this is parsed from `citeproc` or `{type: citeproc}`, so this special filter may be specified either way in a defaults file (or by `citeproc: true`, though this gives no control of positioning relative to other filters). TODO: we need to add something to the manual section on defaults files for this. * Add deprecation warning if `upandoc-citeproc` filter is used. * Add `--citeproc/-C` option to trigger citation processing. This behaves like a filter and will be positioned relative to filters as they appear on the command line. * Rewrote the manual on citatations, adding a dedicated Citations section which also includes some information formerly found in the pandoc-citeproc man page. * Look for CSL styles in the `csl` subdirectory of the pandoc user data directory. This changes the old pandoc-citeproc behavior, which looked in `~/.csl`. Users can simply symlink `~/.csl` to the `csl` subdirectory of their pandoc user data directory if they want the old behavior. * Add support for CSL bibliography entry formatting to LaTeX, HTML, Ms writers. Added CSL-related CSS to styles.html.
1005 lines
31 KiB
XML
1005 lines
31 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" demote-non-dropping-particle="sort-only">
|
|
<info>
|
|
<title>Chicago Manual of Style (note)</title>
|
|
<id>http://www.zotero.org/styles/chicago-note-bibliography</id>
|
|
<link href="http://www.zotero.org/styles/chicago-note-bibliography" rel="self"/>
|
|
<link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation"/>
|
|
<author>
|
|
<name>Julian Onions</name>
|
|
<email>julian.onions@gmail.com</email>
|
|
</author>
|
|
<contributor>
|
|
<name>Simon Kornblith</name>
|
|
<email>simon@simonster.com</email>
|
|
</contributor>
|
|
<contributor>
|
|
<name>Elena Razlogova</name>
|
|
<email>elena.razlogova@gmail.com</email>
|
|
</contributor>
|
|
<contributor>
|
|
<name>Frank Bennett</name>
|
|
<email>biercenator@gmail.com</email>
|
|
</contributor>
|
|
<category citation-format="note"/>
|
|
<category field="generic-base"/>
|
|
<summary>Chicago format with short notes and bibliography</summary>
|
|
<updated>2012-10-25T21:15:26+00:00</updated>
|
|
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
|
|
</info>
|
|
<locale xml:lang="en">
|
|
<terms>
|
|
<term name="editortranslator" form="verb-short">
|
|
<single>trans. and ed.</single>
|
|
<multiple>trans. and ed.</multiple>
|
|
</term>
|
|
<term name="editortranslator" form="verb">
|
|
<single> Translated and edited by</single>
|
|
<multiple> Translated and edited by</multiple>
|
|
</term>
|
|
<term name="editor" form="verb-short">ed.</term>
|
|
<term name="translator" form="verb-short">trans.</term>
|
|
</terms>
|
|
</locale>
|
|
<macro name="editor-translator">
|
|
<group delimiter=", ">
|
|
<choose>
|
|
<if variable="author">
|
|
<group delimiter=" ">
|
|
<choose>
|
|
<if variable="container-author">
|
|
<group>
|
|
<names variable="container-author">
|
|
<label form="verb-short" text-case="lowercase" suffix=" "/>
|
|
<name and="text" delimiter=", "/>
|
|
</names>
|
|
</group>
|
|
</if>
|
|
</choose>
|
|
</group>
|
|
<names variable="editor translator" delimiter=", ">
|
|
<label form="verb-short" text-case="lowercase" suffix=" "/>
|
|
<name and="text" delimiter=", "/>
|
|
</names>
|
|
</if>
|
|
</choose>
|
|
</group>
|
|
</macro>
|
|
<macro name="secondary-contributors-note">
|
|
<choose>
|
|
<if type="chapter paper-conference" match="none">
|
|
<text macro="editor-translator"/>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="container-contributors-note">
|
|
<choose>
|
|
<if type="chapter paper-conference" match="any">
|
|
<text macro="editor-translator"/>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="secondary-contributors">
|
|
<choose>
|
|
<if type="chapter paper-conference" match="none">
|
|
<group delimiter=". ">
|
|
<choose>
|
|
<if variable="author">
|
|
<names variable="editor translator" delimiter=". ">
|
|
<label form="verb" text-case="capitalize-first" suffix=" "/>
|
|
<name and="text" delimiter=", "/>
|
|
</names>
|
|
</if>
|
|
</choose>
|
|
</group>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="container-contributors">
|
|
<choose>
|
|
<if type="chapter paper-conference" match="any">
|
|
<group delimiter=", ">
|
|
<choose>
|
|
<if variable="author">
|
|
<choose>
|
|
<if variable="container-author">
|
|
<names variable="container-author">
|
|
<label form="verb-short" text-case="lowercase" suffix=" "/>
|
|
<name and="text" delimiter=", "/>
|
|
</names>
|
|
</if>
|
|
</choose>
|
|
<!--This includes page numers after the container author, e.g. for Introductions -->
|
|
<choose>
|
|
<if variable="container-author author" match="all">
|
|
<group delimiter=". ">
|
|
<text variable="page"/>
|
|
<names variable="editor translator" delimiter=", ">
|
|
<label form="verb" suffix=" "/>
|
|
<name and="text" delimiter=", "/>
|
|
</names>
|
|
</group>
|
|
</if>
|
|
<else>
|
|
<names variable="editor translator" delimiter=", ">
|
|
<label form="verb" text-case="lowercase" suffix=" "/>
|
|
<name and="text" delimiter=", "/>
|
|
</names>
|
|
</else>
|
|
</choose>
|
|
</if>
|
|
</choose>
|
|
</group>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="recipient-note">
|
|
<names variable="recipient" delimiter=", ">
|
|
<label form="verb" text-case="lowercase" suffix=" "/>
|
|
<name and="text" delimiter=", "/>
|
|
</names>
|
|
</macro>
|
|
<macro name="contributors-note">
|
|
<group delimiter=" ">
|
|
<names variable="author">
|
|
<name and="text" sort-separator=", " delimiter=", "/>
|
|
<label form="short" prefix=", "/>
|
|
<substitute>
|
|
<names variable="editor"/>
|
|
<names variable="translator"/>
|
|
</substitute>
|
|
</names>
|
|
<text macro="recipient-note"/>
|
|
</group>
|
|
</macro>
|
|
<macro name="editor">
|
|
<names variable="editor">
|
|
<name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
|
|
<label form="short" prefix=", "/>
|
|
</names>
|
|
</macro>
|
|
<macro name="translator">
|
|
<names variable="translator">
|
|
<name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
|
|
<label form="verb-short" prefix=", "/>
|
|
</names>
|
|
</macro>
|
|
<macro name="recipient">
|
|
<group delimiter=" ">
|
|
<choose>
|
|
<if type="personal_communication">
|
|
<choose>
|
|
<if variable="genre">
|
|
<text variable="genre" text-case="capitalize-first"/>
|
|
</if>
|
|
<else>
|
|
<text term="letter" text-case="capitalize-first"/>
|
|
</else>
|
|
</choose>
|
|
</if>
|
|
</choose>
|
|
<text macro="recipient-note"/>
|
|
</group>
|
|
</macro>
|
|
<macro name="contributors">
|
|
<group delimiter=". ">
|
|
<names variable="author">
|
|
<name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
|
|
<substitute>
|
|
<text macro="editor"/>
|
|
<text macro="translator"/>
|
|
</substitute>
|
|
</names>
|
|
<text macro="recipient"/>
|
|
</group>
|
|
</macro>
|
|
<macro name="recipient-short">
|
|
<names variable="recipient">
|
|
<label form="verb" text-case="lowercase" suffix=" "/>
|
|
<name form="short" and="text" delimiter=", "/>
|
|
</names>
|
|
</macro>
|
|
<macro name="contributors-short">
|
|
<group delimiter=" ">
|
|
<names variable="author">
|
|
<name form="short" and="text" delimiter=", "/>
|
|
<substitute>
|
|
<names variable="editor"/>
|
|
<names variable="translator"/>
|
|
</substitute>
|
|
</names>
|
|
<text macro="recipient-short"/>
|
|
</group>
|
|
</macro>
|
|
<macro name="contributors-sort">
|
|
<names variable="author">
|
|
<name name-as-sort-order="all" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
|
|
<substitute>
|
|
<names variable="editor"/>
|
|
<names variable="translator"/>
|
|
</substitute>
|
|
</names>
|
|
</macro>
|
|
<macro name="interviewer-note">
|
|
<names variable="interviewer" delimiter=", ">
|
|
<label form="verb" text-case="lowercase" suffix=" "/>
|
|
<name and="text" delimiter=", "/>
|
|
</names>
|
|
</macro>
|
|
<macro name="interviewer">
|
|
<names variable="interviewer" delimiter=", ">
|
|
<label form="verb" text-case="capitalize-first" suffix=" "/>
|
|
<name and="text" delimiter=", "/>
|
|
</names>
|
|
</macro>
|
|
<macro name="title-note">
|
|
<choose>
|
|
<if variable="title" match="none">
|
|
<text variable="genre"/>
|
|
</if>
|
|
<else-if type="bill book graphic legislation motion_picture report song" match="any">
|
|
<text variable="title" text-case="title" font-style="italic"/>
|
|
<text variable="version" prefix=" , version " suffix=""/>
|
|
<!--This isn't localized because we don't have a version term. While not ideal, it should work for many languages and is better than not including a term.-->
|
|
</else-if>
|
|
<else-if type="legal_case">
|
|
<text variable="title"/>
|
|
</else-if>
|
|
<else>
|
|
<text variable="title" text-case="title" quotes="true"/>
|
|
</else>
|
|
</choose>
|
|
</macro>
|
|
<macro name="title">
|
|
<choose>
|
|
<if variable="title" match="none">
|
|
<choose>
|
|
<if type="personal_communication" match="none">
|
|
<text variable="genre" text-case="capitalize-first"/>
|
|
</if>
|
|
</choose>
|
|
</if>
|
|
<else-if type="bill book graphic legislation motion_picture report song" match="any">
|
|
<text variable="title" text-case="title" font-style="italic"/>
|
|
<text variable="version" prefix=" (version " suffix=")"/>
|
|
</else-if>
|
|
<else-if type="legal_case">
|
|
<text variable="title"/>
|
|
</else-if>
|
|
<else>
|
|
<text variable="title" text-case="title" quotes="true"/>
|
|
</else>
|
|
</choose>
|
|
</macro>
|
|
<macro name="title-short">
|
|
<choose>
|
|
<if variable="title" match="none">
|
|
<choose>
|
|
<if type="interview">
|
|
<text term="interview" text-case="lowercase"/>
|
|
</if>
|
|
<else-if type="manuscript speech" match="any">
|
|
<text variable="genre" form="short"/>
|
|
</else-if>
|
|
<else-if type="personal_communication">
|
|
<text macro="issued"/>
|
|
</else-if>
|
|
</choose>
|
|
</if>
|
|
<else-if type="bill book graphic legislation motion_picture report song" match="any">
|
|
<text variable="title" text-case="title" form="short" font-style="italic"/>
|
|
</else-if>
|
|
<else-if type="legal_case">
|
|
<text variable="title"/>
|
|
</else-if>
|
|
<else>
|
|
<text variable="title" text-case="title" form="short" quotes="true"/>
|
|
</else>
|
|
</choose>
|
|
</macro>
|
|
<macro name="description-note">
|
|
<group delimiter=", ">
|
|
<text macro="interviewer-note"/>
|
|
<text variable="medium"/>
|
|
<choose>
|
|
<if variable="title" match="none"/>
|
|
<else-if type="thesis speech" match="any"/>
|
|
<else>
|
|
<text variable="genre"/>
|
|
</else>
|
|
</choose>
|
|
</group>
|
|
</macro>
|
|
<macro name="description">
|
|
<group delimiter=", ">
|
|
<group delimiter=". ">
|
|
<text macro="interviewer"/>
|
|
<text variable="medium" text-case="capitalize-first"/>
|
|
</group>
|
|
<choose>
|
|
<if variable="title" match="none"/>
|
|
<else-if type="thesis speech" match="any"/>
|
|
<else>
|
|
<text variable="genre" text-case="capitalize-first"/>
|
|
</else>
|
|
</choose>
|
|
</group>
|
|
</macro>
|
|
<macro name="container-title-note">
|
|
<group delimiter=" ">
|
|
<choose>
|
|
<if type="chapter paper-conference" match="any">
|
|
<text term="in" text-case="lowercase"/>
|
|
</if>
|
|
</choose>
|
|
<choose>
|
|
<if type="legal_case" match="none">
|
|
<text variable="container-title" text-case="title" font-style="italic"/>
|
|
</if>
|
|
</choose>
|
|
</group>
|
|
</macro>
|
|
<macro name="container-title">
|
|
<group delimiter=" ">
|
|
<choose>
|
|
<if type="chapter paper-conference" match="any">
|
|
<text term="in" text-case="capitalize-first"/>
|
|
</if>
|
|
</choose>
|
|
<choose>
|
|
<if type="legal_case" match="none">
|
|
<text variable="container-title" text-case="title" font-style="italic"/>
|
|
</if>
|
|
</choose>
|
|
</group>
|
|
</macro>
|
|
<macro name="collection-title">
|
|
<group delimiter=" ">
|
|
<text variable="collection-title" text-case="title"/>
|
|
<text variable="collection-number"/>
|
|
</group>
|
|
</macro>
|
|
<macro name="edition-note">
|
|
<choose>
|
|
<if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
|
|
<choose>
|
|
<if is-numeric="edition">
|
|
<group delimiter=" ">
|
|
<number variable="edition" form="ordinal"/>
|
|
<text term="edition" form="short"/>
|
|
</group>
|
|
</if>
|
|
<else>
|
|
<number variable="edition" suffix="."/>
|
|
</else>
|
|
</choose>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="edition">
|
|
<choose>
|
|
<if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
|
|
<choose>
|
|
<if is-numeric="edition">
|
|
<group delimiter=" ">
|
|
<number variable="edition" form="ordinal"/>
|
|
<text term="edition" form="short"/>
|
|
</group>
|
|
</if>
|
|
<else>
|
|
<number variable="edition" text-case="capitalize-first" suffix="."/>
|
|
</else>
|
|
</choose>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="locators-note-join-with-space">
|
|
<choose>
|
|
<if type="article-journal">
|
|
<text macro="locators-note"/>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="locators-note-join-with-comma">
|
|
<choose>
|
|
<if type="article-journal" match="none">
|
|
<text macro="locators-note"/>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="locators-note">
|
|
<choose>
|
|
<if type="article-journal">
|
|
<group delimiter=", ">
|
|
<number variable="volume"/>
|
|
<group delimiter=" ">
|
|
<text term="issue" form="short"/>
|
|
<number variable="issue"/>
|
|
</group>
|
|
</group>
|
|
</if>
|
|
<else-if type="legal_case">
|
|
<group delimiter=", ">
|
|
<group delimiter=" ">
|
|
<number variable="volume"/>
|
|
<text variable="container-title"/>
|
|
<text variable="page"/>
|
|
</group>
|
|
<text variable="locator"/>
|
|
</group>
|
|
</else-if>
|
|
<else-if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
|
|
<group delimiter=", ">
|
|
<group delimiter=" ">
|
|
<text term="volume" form="short"/>
|
|
<number variable="volume" form="numeric"/>
|
|
</group>
|
|
<choose>
|
|
<if variable="locator" match="none">
|
|
<group delimiter=" ">
|
|
<number variable="number-of-volumes" form="numeric"/>
|
|
<text term="volume" form="short" plural="true"/>
|
|
</group>
|
|
</if>
|
|
</choose>
|
|
<text macro="edition-note"/>
|
|
</group>
|
|
</else-if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="locators-join-with-space">
|
|
<choose>
|
|
<if type="article-journal">
|
|
<text macro="locators"/>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="locators-join-with-comma">
|
|
<choose>
|
|
<if type="legal_case">
|
|
<text macro="locators"/>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="locators-join-with-period">
|
|
<choose>
|
|
<if type="legal_case article-journal" match="none">
|
|
<text macro="locators"/>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="locators">
|
|
<choose>
|
|
<if type="article-journal">
|
|
<group delimiter=", ">
|
|
<number variable="volume"/>
|
|
<group delimiter=" ">
|
|
<text term="issue" form="short"/>
|
|
<number variable="issue"/>
|
|
</group>
|
|
</group>
|
|
</if>
|
|
<else-if type="legal_case">
|
|
<group delimiter=" ">
|
|
<number variable="volume"/>
|
|
<text variable="container-title"/>
|
|
<text variable="page"/>
|
|
</group>
|
|
</else-if>
|
|
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
|
<group delimiter=". ">
|
|
<group delimiter=" ">
|
|
<text term="volume" form="short" text-case="capitalize-first"/>
|
|
<number variable="volume" form="numeric"/>
|
|
</group>
|
|
<group delimiter=" ">
|
|
<number variable="number-of-volumes" form="numeric"/>
|
|
<text term="volume" form="short" plural="true"/>
|
|
</group>
|
|
<text macro="edition"/>
|
|
</group>
|
|
</else-if>
|
|
<else-if type="chapter paper-conference" match="any">
|
|
<group delimiter=". ">
|
|
<choose>
|
|
<if variable="page" match="none">
|
|
<group delimiter=" ">
|
|
<text term="volume" form="short" text-case="capitalize-first"/>
|
|
<number variable="volume" form="numeric"/>
|
|
</group>
|
|
</if>
|
|
</choose>
|
|
<text macro="edition"/>
|
|
</group>
|
|
</else-if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="locators-newspaper">
|
|
<choose>
|
|
<if type="article-newspaper">
|
|
<group delimiter=", ">
|
|
<group delimiter=" ">
|
|
<number variable="edition"/>
|
|
<text term="edition"/>
|
|
</group>
|
|
<group delimiter=" ">
|
|
<text term="section" form="short"/>
|
|
<text variable="section"/>
|
|
</group>
|
|
</group>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="event">
|
|
<group delimiter=" ">
|
|
<text term="presented at"/>
|
|
<text variable="event"/>
|
|
</group>
|
|
</macro>
|
|
<macro name="publisher">
|
|
<choose>
|
|
<if type="thesis">
|
|
<text variable="publisher"/>
|
|
</if>
|
|
<else>
|
|
<group delimiter=": ">
|
|
<text variable="publisher-place"/>
|
|
<text variable="publisher"/>
|
|
</group>
|
|
</else>
|
|
</choose>
|
|
</macro>
|
|
<macro name="issued">
|
|
<choose>
|
|
<if variable="issued">
|
|
<choose>
|
|
<if type="graphic report" match="any">
|
|
<date variable="issued">
|
|
<date-part name="month" suffix=" "/>
|
|
<date-part name="day" suffix=", "/>
|
|
<date-part name="year"/>
|
|
</date>
|
|
</if>
|
|
<else-if type="legal_case">
|
|
<group delimiter=" ">
|
|
<text variable="authority"/>
|
|
<date variable="issued">
|
|
<date-part name="year"/>
|
|
</date>
|
|
</group>
|
|
</else-if>
|
|
<else-if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song thesis" match="any">
|
|
<date variable="issued">
|
|
<date-part name="year"/>
|
|
</date>
|
|
</else-if>
|
|
<else>
|
|
<date variable="issued">
|
|
<date-part name="month" suffix=" "/>
|
|
<date-part name="day" suffix=", "/>
|
|
<date-part name="year"/>
|
|
</date>
|
|
</else>
|
|
</choose>
|
|
</if>
|
|
<else-if variable="accessed URL" match="all">
|
|
</else-if>
|
|
<else>
|
|
<text term="no date" form="short"/>
|
|
</else>
|
|
</choose>
|
|
</macro>
|
|
<macro name="point-locators-subsequent">
|
|
<choose>
|
|
<if variable="locator">
|
|
<choose>
|
|
<if locator="page" match="none">
|
|
<group delimiter=" ">
|
|
<choose>
|
|
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
|
<choose>
|
|
<if variable="volume">
|
|
<group delimiter=", ">
|
|
<group delimiter=" ">
|
|
<text term="volume" form="short" text-case="lowercase"/>
|
|
<number variable="volume" form="numeric"/>
|
|
</group>
|
|
<label variable="locator" form="short"/>
|
|
</group>
|
|
</if>
|
|
<else>
|
|
<label variable="locator" form="short"/>
|
|
</else>
|
|
</choose>
|
|
</if>
|
|
<else>
|
|
<label variable="locator" form="short"/>
|
|
</else>
|
|
</choose>
|
|
<text variable="locator"/>
|
|
</group>
|
|
</if>
|
|
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
|
<group delimiter=":">
|
|
<number variable="volume" form="numeric"/>
|
|
<text variable="locator"/>
|
|
</group>
|
|
</else-if>
|
|
<else>
|
|
<text variable="locator"/>
|
|
</else>
|
|
</choose>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="point-locators-join-with-colon">
|
|
<choose>
|
|
<if type="article-journal">
|
|
<choose>
|
|
<if variable="locator page" match="any">
|
|
<text macro="point-locators"/>
|
|
</if>
|
|
</choose>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="point-locators-join-with-comma">
|
|
<choose>
|
|
<if type="article-journal" match="none">
|
|
<text macro="point-locators"/>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="point-locators">
|
|
<choose>
|
|
<if variable="locator" match="none">
|
|
<choose>
|
|
<if type="article-journal chapter paper-conference" match="any">
|
|
<text variable="page"/>
|
|
</if>
|
|
</choose>
|
|
</if>
|
|
<else-if type="article-journal">
|
|
<group delimiter=" ">
|
|
<choose>
|
|
<if locator="page" match="none">
|
|
<label variable="locator" form="short" suffix=" "/>
|
|
</if>
|
|
</choose>
|
|
<text variable="locator"/>
|
|
</group>
|
|
</else-if>
|
|
<else-if type="legal_case"/>
|
|
<else>
|
|
<group delimiter=" ">
|
|
<choose>
|
|
<if locator="page" match="none">
|
|
<label variable="locator" form="short"/>
|
|
</if>
|
|
</choose>
|
|
<text variable="locator"/>
|
|
</group>
|
|
</else>
|
|
</choose>
|
|
</macro>
|
|
<macro name="locators-chapter">
|
|
<choose>
|
|
<if type="chapter paper-conference" match="any">
|
|
<choose>
|
|
<if variable="page">
|
|
<number variable="volume" suffix=":"/>
|
|
<text variable="page"/>
|
|
</if>
|
|
</choose>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="locators-journal">
|
|
<choose>
|
|
<if type="article-journal">
|
|
<text variable="page"/>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="archive-note">
|
|
<choose>
|
|
<if type="thesis">
|
|
<group delimiter=" ">
|
|
<text variable="archive"/>
|
|
<text variable="archive_location" prefix="(" suffix=")"/>
|
|
</group>
|
|
</if>
|
|
<else>
|
|
<group delimiter=", ">
|
|
<text variable="archive_location"/>
|
|
<text variable="archive"/>
|
|
<text variable="archive-place"/>
|
|
</group>
|
|
</else>
|
|
</choose>
|
|
</macro>
|
|
<macro name="archive">
|
|
<choose>
|
|
<if type="thesis">
|
|
<group delimiter=" ">
|
|
<text variable="archive"/>
|
|
<text variable="archive_location" prefix="(" suffix=")"/>
|
|
</group>
|
|
</if>
|
|
<else>
|
|
<group delimiter=". ">
|
|
<text variable="archive_location" text-case="capitalize-first"/>
|
|
<text variable="archive"/>
|
|
<text variable="archive-place"/>
|
|
</group>
|
|
</else>
|
|
</choose>
|
|
</macro>
|
|
<macro name="issue-note-join-with-space">
|
|
<choose>
|
|
<if type="article-journal legal_case" variable="publisher-place publisher" match="any">
|
|
<text macro="issue-note"/>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="issue-note-join-with-comma">
|
|
<choose>
|
|
<if type="article-journal legal_case" variable="publisher-place publisher" match="none">
|
|
<text macro="issue-note"/>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="issue-note">
|
|
<choose>
|
|
<if type="article-journal legal_case" match="any">
|
|
<text macro="issued" prefix="(" suffix=")"/>
|
|
</if>
|
|
<else-if variable="publisher-place publisher" match="any">
|
|
<group prefix="(" suffix=")" delimiter=", ">
|
|
<group delimiter=" ">
|
|
<choose>
|
|
<if variable="title" match="none"/>
|
|
<else-if type="thesis speech" match="any">
|
|
<text variable="genre"/>
|
|
</else-if>
|
|
</choose>
|
|
<text macro="event"/>
|
|
</group>
|
|
<text macro="publisher"/>
|
|
<text macro="issued"/>
|
|
</group>
|
|
</else-if>
|
|
<else>
|
|
<text macro="issued"/>
|
|
</else>
|
|
</choose>
|
|
</macro>
|
|
<macro name="issue-join-with-space">
|
|
<choose>
|
|
<if type="article-journal legal_case">
|
|
<text macro="issue"/>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="issue-join-with-period">
|
|
<choose>
|
|
<if type="article-journal legal_case" match="none">
|
|
<choose>
|
|
<if type="speech" variable="publisher publisher-place" match="any">
|
|
<text macro="issue"/>
|
|
</if>
|
|
</choose>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="issue-join-with-comma">
|
|
<choose>
|
|
<if type="article-journal legal_case" match="none">
|
|
<choose>
|
|
<if type="speech" variable="publisher publisher-place" match="none">
|
|
<text macro="issue"/>
|
|
</if>
|
|
</choose>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="issue">
|
|
<choose>
|
|
<if type="article-journal legal_case" match="any">
|
|
<text macro="issued" prefix=" (" suffix=")"/>
|
|
</if>
|
|
<else-if type="speech">
|
|
<group delimiter=", ">
|
|
<group delimiter=" ">
|
|
<choose>
|
|
<if variable="title" match="none"/>
|
|
<else>
|
|
<text variable="genre" text-case="capitalize-first"/>
|
|
</else>
|
|
</choose>
|
|
<text macro="event"/>
|
|
</group>
|
|
<text variable="event-place"/>
|
|
<text macro="issued"/>
|
|
</group>
|
|
</else-if>
|
|
<else-if variable="publisher-place publisher" match="any">
|
|
<group delimiter=", ">
|
|
<choose>
|
|
<if type="thesis">
|
|
<text variable="genre" text-case="capitalize-first"/>
|
|
</if>
|
|
</choose>
|
|
<text macro="publisher"/>
|
|
<text macro="issued"/>
|
|
</group>
|
|
</else-if>
|
|
<else>
|
|
<text macro="issued"/>
|
|
</else>
|
|
</choose>
|
|
</macro>
|
|
<macro name="access-note">
|
|
<group delimiter=", ">
|
|
<choose>
|
|
<if type="graphic report" match="any">
|
|
<text macro="archive-note"/>
|
|
</if>
|
|
<else-if type="article-journal article-magazine article-newspaper bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="none">
|
|
<text macro="archive-note"/>
|
|
</else-if>
|
|
</choose>
|
|
<choose>
|
|
<if variable="issued" match="none">
|
|
<group delimiter=" ">
|
|
<text term="accessed"/>
|
|
<date variable="accessed">
|
|
<date-part name="month" suffix=" "/>
|
|
<date-part name="day" suffix=", "/>
|
|
<date-part name="year"/>
|
|
</date>
|
|
</group>
|
|
</if>
|
|
</choose>
|
|
<choose>
|
|
<if type="legal_case" match="none">
|
|
<choose>
|
|
<if variable="DOI">
|
|
<text variable="DOI" prefix="doi:"/>
|
|
</if>
|
|
<else>
|
|
<text variable="URL"/>
|
|
</else>
|
|
</choose>
|
|
</if>
|
|
</choose>
|
|
</group>
|
|
</macro>
|
|
<macro name="access">
|
|
<group delimiter=". ">
|
|
<choose>
|
|
<if type="graphic report" match="any">
|
|
<text macro="archive"/>
|
|
</if>
|
|
<else-if type="article-journal article-magazine article-newspaper bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="none">
|
|
<text macro="archive"/>
|
|
</else-if>
|
|
</choose>
|
|
<choose>
|
|
<if variable="issued" match="none">
|
|
<group delimiter=" ">
|
|
<text term="accessed" text-case="capitalize-first"/>
|
|
<date variable="accessed">
|
|
<date-part name="month" suffix=" "/>
|
|
<date-part name="day" suffix=", "/>
|
|
<date-part name="year"/>
|
|
</date>
|
|
</group>
|
|
</if>
|
|
</choose>
|
|
<choose>
|
|
<if type="legal_case" match="none">
|
|
<choose>
|
|
<if variable="DOI">
|
|
<text variable="DOI" prefix="doi:"/>
|
|
</if>
|
|
<else>
|
|
<text variable="URL"/>
|
|
</else>
|
|
</choose>
|
|
</if>
|
|
</choose>
|
|
</group>
|
|
</macro>
|
|
<macro name="case-locator-subsequent">
|
|
<choose>
|
|
<if type="legal_case">
|
|
<text macro="locators-note"/>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<macro name="case-issue-subsequent">
|
|
<choose>
|
|
<if type="legal_case">
|
|
<text macro="issue"/>
|
|
</if>
|
|
</choose>
|
|
</macro>
|
|
<citation et-al-min="4" et-al-use-first="1" disambiguate-add-names="true">
|
|
<layout suffix="." delimiter="; ">
|
|
<choose>
|
|
<if position="ibid-with-locator">
|
|
<group delimiter=", ">
|
|
<text term="ibid"/>
|
|
<text macro="point-locators-subsequent"/>
|
|
</group>
|
|
</if>
|
|
<else-if position="ibid">
|
|
<text term="ibid"/>
|
|
</else-if>
|
|
<else>
|
|
<group delimiter=", ">
|
|
<text macro="contributors-short"/>
|
|
<group delimiter=" ">
|
|
<group delimiter=", ">
|
|
<text macro="title-short"/>
|
|
<text macro="case-locator-subsequent"/>
|
|
</group>
|
|
<text macro="case-issue-subsequent"/>
|
|
</group>
|
|
<text macro="point-locators-subsequent"/>
|
|
</group>
|
|
</else>
|
|
</choose>
|
|
</layout>
|
|
</citation>
|
|
<bibliography hanging-indent="true" et-al-min="11" et-al-use-first="7" subsequent-author-substitute="———" entry-spacing="0">
|
|
<sort>
|
|
<key macro="contributors-sort"/>
|
|
<key variable="title"/>
|
|
<key variable="genre"/>
|
|
<key variable="issued"/>
|
|
</sort>
|
|
<layout suffix=".">
|
|
<group delimiter=". ">
|
|
<group delimiter=": ">
|
|
<group delimiter=", ">
|
|
<group delimiter=" ">
|
|
<group delimiter=". ">
|
|
<group delimiter=" ">
|
|
<group delimiter=", ">
|
|
<group delimiter=". ">
|
|
<group delimiter=" ">
|
|
<group delimiter=". ">
|
|
<text macro="contributors"/>
|
|
<text macro="title"/>
|
|
</group>
|
|
<text macro="description"/>
|
|
</group>
|
|
<text macro="secondary-contributors"/>
|
|
<group delimiter=", ">
|
|
<text macro="container-title"/>
|
|
<text macro="container-contributors"/>
|
|
<text macro="locators-chapter"/>
|
|
</group>
|
|
<text macro="locators-join-with-period"/>
|
|
</group>
|
|
<text macro="locators-join-with-comma"/>
|
|
</group>
|
|
<text macro="locators-join-with-space"/>
|
|
</group>
|
|
<text macro="collection-title"/>
|
|
<text macro="issue-join-with-period"/>
|
|
</group>
|
|
<text macro="issue-join-with-space"/>
|
|
</group>
|
|
<text macro="issue-join-with-comma"/>
|
|
<text macro="locators-newspaper"/>
|
|
</group>
|
|
<text macro="locators-journal"/>
|
|
</group>
|
|
<text macro="access"/>
|
|
</group>
|
|
</layout>
|
|
</bibliography>
|
|
</style>
|