Created
February 15, 2018 14:32
-
-
Save rmseifried/3b7851b765375c53e0c6629382806944 to your computer and use it in GitHub Desktop.
Proposed update for Society for American Archaeology CSL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US"> | |
<!-- This style was edited with the Visual CSL Editor (http://editor.citationstyles.org/visualEditor/) --> | |
<info> | |
<title>Society for American Archaeology</title> | |
<id>http://www.zotero.org/styles/society-for-american-archaeology</id> | |
<link href="http://www.zotero.org/styles/society-for-american-archaeology" rel="self"/> | |
<link href="http://www.saa.org/AbouttheSociety/Publications/StyleGuide/tabid/984/Default.aspx" rel="documentation"/> | |
<author> | |
<name>Michael Barton</name> | |
<email>michael.barton@asu.edu</email> | |
</author> | |
<contributor> | |
<name>Patrick O'Brien</name> | |
</contributor> | |
<contributor> | |
<name>Allison Grunwald</name> | |
<email>agrunwa1@uwyo.edu</email> | |
</contributor> | |
<category citation-format="author-date"/> | |
<category field="anthropology"/> | |
<updated>2018-02-15T14:25:40+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> | |
<terms> | |
<term name="editor" form="verb-short">ed.</term> | |
<term name="translator" form="verb-short">trans.</term> | |
</terms> | |
</locale> | |
<macro name="secondary-contributors"> | |
<choose> | |
<if type="chapter paper-conference" match="none"> | |
<names variable="editor translator" delimiter=". "> | |
<label form="verb" prefix=" " text-case="capitalize-first" suffix=" "/> | |
<name and="text" delimiter=", "/> | |
</names> | |
</if> | |
</choose> | |
</macro> | |
<macro name="container-contributors"> | |
<choose> | |
<if type="chapter paper-conference" match="any"> | |
<group prefix="," delimiter=", "> | |
<names variable="editor"> | |
<label form="verb" prefix=" " suffix=" "/> | |
<name and="text" delimiter=", "/> | |
</names> | |
<choose> | |
<if variable="author editor" match="any"> | |
<names variable="translator"> | |
<label form="verb" prefix=" " suffix=" "/> | |
<name and="text" delimiter=", "/> | |
</names> | |
</if> | |
</choose> | |
</group> | |
</if> | |
</choose> | |
</macro> | |
<macro name="anon"> | |
<choose> | |
<if variable="author editor translator" match="none"> | |
<text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/> | |
</if> | |
</choose> | |
</macro> | |
<macro name="recipient"> | |
<choose> | |
<if type="personal_communication"> | |
<choose> | |
<if variable="genre"> | |
<text variable="genre"/> | |
</if> | |
<else> | |
<text term="letter" text-case="capitalize-first"/> | |
</else> | |
</choose> | |
</if> | |
</choose> | |
<names variable="recipient" delimiter=", "> | |
<label form="verb" prefix=" " suffix=" "/> | |
<name and="text" delimiter=", "/> | |
</names> | |
</macro> | |
<macro name="contributors"> | |
<names variable="author"> | |
<name and="text" name-as-sort-order="first" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/> | |
<label prefix=" (" suffix=")"/> | |
<substitute> | |
<names variable="editor"/> | |
<names variable="translator"/> | |
</substitute> | |
</names> | |
<text macro="anon"/> | |
<text macro="recipient"/> | |
</macro> | |
<macro name="contributors-short"> | |
<names variable="author"> | |
<name form="short" and="text" delimiter=", "/> | |
<substitute> | |
<names variable="editor"/> | |
<names variable="translator"/> | |
</substitute> | |
</names> | |
<text macro="anon"/> | |
</macro> | |
<macro name="interviewer"> | |
<names variable="interviewer" delimiter=", "> | |
<label form="verb" prefix=" " text-case="capitalize-first" suffix=" "/> | |
<name and="text" delimiter=", "/> | |
</names> | |
</macro> | |
<macro name="archive"> | |
<group delimiter=". "> | |
<text variable="archive_location" text-case="capitalize-first"/> | |
<text variable="archive"/> | |
<text variable="archive-place"/> | |
</group> | |
</macro> | |
<macro name="access"> | |
<group delimiter=". "> | |
<choose> | |
<if type="graphic report" match="any"> | |
<text macro="archive"/> | |
</if> | |
<else-if type="bill book graphic legal_case motion_picture report song article-journal article-magazine article-newspaper thesis chapter paper-conference" match="none"> | |
<text macro="archive"/> | |
</else-if> | |
</choose> | |
</group> | |
</macro> | |
<macro name="title"> | |
<choose> | |
<if variable="title" match="none"> | |
<choose> | |
<if type="personal_communication" match="none"> | |
<text variable="genre"/> | |
</if> | |
</choose> | |
</if> | |
<else-if type="bill book graphic legal_case motion_picture report song" match="any"> | |
<text variable="title" font-style="italic"/> | |
</else-if> | |
<else> | |
<text variable="title"/> | |
</else> | |
</choose> | |
</macro> | |
<macro name="edition"> | |
<choose> | |
<if type="bill book graphic legal_case motion_picture report song chapter paper-conference" match="any"> | |
<choose> | |
<if is-numeric="edition"> | |
<group delimiter=" "> | |
<number variable="edition" form="ordinal"/> | |
<text term="edition" form="short"/> | |
</group> | |
</if> | |
<else> | |
<text variable="edition" suffix="."/> | |
</else> | |
</choose> | |
</if> | |
</choose> | |
</macro> | |
<macro name="locators"> | |
<choose> | |
<if type="article-journal"> | |
<text variable="volume" prefix=" "/> | |
<text variable="issue" prefix="(" suffix=")"/> | |
</if> | |
<else-if type="bill book graphic legal_case motion_picture report song" match="any"> | |
<group prefix=". " delimiter=". "> | |
<group> | |
<text term="volume" form="short" text-case="capitalize-first" suffix=" "/> | |
<number variable="volume" form="numeric"/> | |
</group> | |
<group> | |
<number variable="number-of-volumes" form="numeric"/> | |
<text term="volume" form="short" prefix=" " plural="true"/> | |
</group> | |
</group> | |
</else-if> | |
</choose> | |
</macro> | |
<macro name="locators-chapter"> | |
<choose> | |
<if type="chapter paper-conference" match="any"> | |
<group prefix=", "> | |
<text variable="volume" suffix=":"/> | |
<text variable="page" prefix="pp. "/> | |
</group> | |
</if> | |
</choose> | |
</macro> | |
<macro name="locators-article"> | |
<choose> | |
<if type="article-newspaper"> | |
<group prefix=", " delimiter=", "> | |
<group delimiter=" "> | |
<text variable="edition"/> | |
<text term="edition"/> | |
</group> | |
<group> | |
<text term="section" form="short" suffix=" "/> | |
<text variable="section"/> | |
</group> | |
</group> | |
</if> | |
<else-if type="article-journal"> | |
<text variable="page" prefix=":"/> | |
</else-if> | |
</choose> | |
</macro> | |
<macro name="point-locators"> | |
<group> | |
<choose> | |
<if locator="page" match="none"> | |
<label variable="locator" form="short" suffix=" "/> | |
</if> | |
</choose> | |
<text variable="locator"/> | |
</group> | |
</macro> | |
<macro name="container-prefix"> | |
<text term="in" text-case="capitalize-first"/> | |
</macro> | |
<macro name="container-title"> | |
<choose> | |
<if type="chapter paper-conference" match="any"> | |
<text macro="container-prefix" suffix=" "/> | |
</if> | |
</choose> | |
<text variable="container-title" font-style="italic"/> | |
</macro> | |
<macro name="publisher"> | |
<choose> | |
<if type="report thesis" match="any"> | |
<group delimiter=", "> | |
<text variable="publisher"/> | |
<text variable="publisher-place"/> | |
</group> | |
</if> | |
<else> | |
<group delimiter=", "> | |
<text variable="publisher"/> | |
<text variable="publisher-place"/> | |
</group> | |
</else> | |
</choose> | |
</macro> | |
<macro name="date1"> | |
<date variable="issued"> | |
<date-part name="year"/> | |
</date> | |
</macro> | |
<macro name="day-month"> | |
<date variable="issued"> | |
<date-part name="month"/> | |
<date-part name="day" prefix=" "/> | |
</date> | |
</macro> | |
<macro name="collection-title"> | |
<text variable="collection-title"/> | |
<text variable="collection-number" prefix=" "/> | |
</macro> | |
<macro name="event"> | |
<group> | |
<text term="presented at" suffix=" "/> | |
<text variable="event"/> | |
</group> | |
</macro> | |
<macro name="description"> | |
<group delimiter=". "> | |
<text macro="interviewer"/> | |
<text variable="medium" text-case="capitalize-first"/> | |
</group> | |
<choose> | |
<if variable="title" match="none"/> | |
<else-if type="thesis"/> | |
<else> | |
<text variable="genre" prefix="Unpublished "/> | |
</else> | |
</choose> | |
</macro> | |
<macro name="issue"> | |
<choose> | |
<if type="article-journal"/> | |
<else-if type="speech"> | |
<group prefix=" " delimiter=", "> | |
<text macro="event"/> | |
<text macro="day-month"/> | |
<text variable="event-place"/> | |
</group> | |
</else-if> | |
<else-if type="article-newspaper article-magazine" match="any"> | |
<text macro="day-month" prefix=", "/> | |
</else-if> | |
<else> | |
<group prefix=". " delimiter=", "> | |
<choose> | |
<if type="thesis"> | |
<text variable="genre" prefix="Unpublished "/> | |
</if> | |
</choose> | |
<text macro="publisher"/> | |
<text macro="day-month"/> | |
</group> | |
</else> | |
</choose> | |
</macro> | |
<macro name="rest-of-bib"> | |
<text macro="title"/> | |
<text macro="description"/> | |
<text macro="secondary-contributors" prefix=". "/> | |
<text macro="container-title" prefix=". "/> | |
<text macro="container-contributors"/> | |
<text macro="locators-chapter"/> | |
<text macro="edition" prefix=". "/> | |
<text macro="locators"/> | |
<text macro="collection-title" prefix=". "/> | |
<text macro="issue"/> | |
<text macro="locators-article"/> | |
<text macro="access" prefix=". "/> | |
</macro> | |
<macro name="original-date"> | |
<date date-parts="year" form="text" variable="original-date"/> | |
</macro> | |
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="false" collapse="year"> | |
<layout prefix="(" suffix=")" delimiter="; "> | |
<group delimiter=":"> | |
<group delimiter=" "> | |
<text macro="contributors-short"/> | |
<text macro="date1"/> | |
<text macro="original-date" prefix="[" suffix="]"/> | |
</group> | |
<text macro="point-locators"/> | |
</group> | |
</layout> | |
</citation> | |
<bibliography subsequent-author-substitute="" entry-spacing="0"> | |
<sort> | |
<key macro="contributors"/> | |
<key variable="issued"/> | |
</sort> | |
<layout> | |
<group display="block"> | |
<text macro="contributors"/> | |
</group> | |
<group display="left-margin"> | |
<text macro="date1" prefix=" "/> | |
<text macro="original-date" prefix=" [" suffix="]"/> | |
</group> | |
<group display="right-inline" suffix="."> | |
<text macro="rest-of-bib"/> | |
</group> | |
</layout> | |
</bibliography> | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks great! I would suggest adding a sort node for the inline citations, which is missing. For the point locators, I would use full names with capital letters. That will give you "Kirk 1965:Chapter 7; Picard 1999:Figure 4", etc.