Skip to content

Instantly share code, notes, and snippets.

@sjgknight
Last active December 7, 2023 03:29
Show Gist options
  • Save sjgknight/34254483b25d728d7ab6690dd08a8563 to your computer and use it in GitHub Desktop.
Save sjgknight/34254483b25d728d7ab6690dd08a8563 to your computer and use it in GitHub Desktop.
APAish style for exporting personal talks.run regex search (- .*,)(.*)(thatsallfolks) to replace with - With:\2\. and then a find-replace on your own name.
<?xml version="1.0" encoding="utf-8"?>
<style class="in-text" version="1.0" name-delimiter=", " delimiter-precedes-et-al="never" delimiter-precedes-last="never" et-al-min="3" initialize-with="" demote-non-dropping-particle="sort-only" default-locale="en-US" xmlns="http://purl.org/net/xbiblio/csl">
<info>
<title>APAish style for CV styled presentations only</title>
<title-short>cv-presentations</title-short>
<id>http://www.zotero.org/styles/apaish-style-for-cv-styled-presentations-only</id>
<link rel="self" href="http://www.zotero.org/styles/apaish-style-for-cv-styled-presentations-only"/>
<author>
<name>Simon Knight</name>
</author>
<category citation-format="author-date"/>
<category field="generic-base"/>
<category field="cv"/>
<summary>APAish style for exporting personal talks, run regex search (- .*,)(.*)(thatsallfolks) to replace with - With:\2\. and then a find-replace on your own name. </summary>
<updated>2023-12-07T03:28:37+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>
<link href="https://gist.github.com/sjgknight/34254483b25d728d7ab6690dd08a8563" rel="gist"/>
</info>
<locale>
<terms>
<term name="container-author" form="verb">by</term>
</terms>
</locale>
<macro name="secondary-contributors">
<choose>
<if type="chapter paper-conference" match="none">
<group delimiter=". ">
<choose>
<if variable="author">
<names variable="editor">
<label form="verb" text-case="capitalize-first" suffix=" " plural="never"/>
<name and="text" delimiter=", "/>
</names>
</if>
</choose>
<choose>
<if variable="author editor" match="any">
<names variable="translator">
<label form="verb" text-case="capitalize-first" suffix=" " plural="never"/>
<name and="text" delimiter=", "/>
</names>
</if>
</choose>
</group>
</if>
</choose>
</macro>
<macro name="container-contributors">
<choose>
<if type="chapter paper-conference" match="any"/>
</choose>
</macro>
<macro name="recipient">
<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>
<names variable="recipient" delimiter=", ">
<label form="verb" prefix=" " suffix=" "/>
<name and="text" delimiter=", "/>
</names>
</macro>
<macro name="contributors">
<names variable="author">
<name delimiter-precedes-et-al="never" delimiter-precedes-last="never" et-al-min="3" et-al-use-first="3" name-as-sort-order="all" sort-separator=" "/>
<label form="short" plural="never" prefix=" "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
<et-al/>
</names>
<text macro="recipient"/>
</macro>
<macro name="contributors-short">
<names variable="author">
<name form="short" and="text" delimiter=", " initialize-with=". "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
<label/>
</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="article-magazine article-newspaper bill book chapter graphic legal_case legislation motion_picture paper-conference report song thesis" match="none">
<text macro="archive"/>
</else-if>
</choose>
<text variable="DOI" prefix="https://doi.org/"/>
<choose>
<if variable="DOI issued" match="none">
<choose>
<if variable="URL accessed" match="all">
<choose>
<if type="legal_case" match="none">
<text variable="URL"/>
</if>
</choose>
<group delimiter=" ">
<text term="accessed" text-case="capitalize-first"/>
<date variable="accessed" delimiter=" ">
<date-part name="month"/>
<date-part name="day"/>
</date>
</group>
</if>
</choose>
</if>
<else-if type="webpage">
<date variable="issued" delimiter=" ">
<date-part name="month"/>
<date-part name="day"/>
</date>
</else-if>
</choose>
</group>
</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 legal_case legislation motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
</else-if>
<else>
<text variable="title" text-case="sentence"/>
</else>
</choose>
<group>
<text macro="description"/>
<text macro="access" prefix=". "/>
</group>
</macro>
<macro name="edition">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<choose>
<if is-numeric="edition">
<group delimiter=" " prefix=". ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition" prefix=". "/>
</else>
</choose>
</if>
<else-if type="chapter paper-conference" match="any">
<choose>
<if is-numeric="edition">
<group delimiter=" " prefix=", ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition" prefix=", "/>
</else>
</choose>
</else-if>
</choose>
</macro>
<macro name="locators">
<choose>
<if type="article-journal">
<text variable="volume" prefix=" "/>
<text variable="issue" prefix="(" suffix=")"/>
<text variable="page" prefix=":"/>
</if>
<else-if type="legal_case">
<text variable="volume" prefix=", "/>
<text variable="container-title" prefix=" "/>
<text variable="page" prefix=" "/>
</else-if>
<else-if type="bill book graphic legal_case legislation 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>
<else-if type="chapter paper-conference" match="any">
<choose>
<if variable="page" match="none">
<group prefix=". ">
<text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
<number variable="volume" form="numeric"/>
</group>
<choose>
<if match="all" variable="page">
<text variable="page"/>
</if>
</choose>
</if>
</choose>
</else-if>
</choose>
</macro>
<macro name="locators-chapter">
<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"/>
</choose>
</macro>
<macro name="point-locators">
<choose>
<if variable="locator">
<choose>
<if locator="page" match="none">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<choose>
<if variable="volume">
<group>
<text term="volume" form="short" suffix=" "/>
<number variable="volume" form="numeric"/>
<label variable="locator" form="short" prefix=", " suffix=" "/>
</group>
</if>
<else>
<label variable="locator" form="short" suffix=" "/>
</else>
</choose>
</if>
<else>
<label variable="locator" form="short" suffix=" "/>
</else>
</choose>
</if>
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<number variable="volume" form="numeric" suffix=":"/>
</else-if>
</choose>
<text variable="locator"/>
</if>
</choose>
</macro>
<macro name="container-prefix">
<text term="in" text-case="capitalize-first" suffix=":"/>
</macro>
<macro name="container-title">
<choose>
<if type="chapter paper-conference" match="any">
<text macro="container-prefix" suffix=" "/>
</if>
</choose>
<group delimiter=", " suffix=" ">
<choose>
<if variable="author">
<names variable="container-author editor" delimiter=", ">
<name delimiter-precedes-et-al="never" delimiter-precedes-last="never" initialize-with="" name-as-sort-order="all"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
</if>
</choose>
<choose>
<if variable="author editor" match="any">
<names variable="translator">
<label form="short" plural="never" suffix=" "/>
<name and="text" delimiter=", "/>
</names>
</if>
</choose>
</group>
<choose>
<if type="legal_case" match="none">
<text variable="container-title" form="short" text-case="sentence" font-style="normal" suffix="."/>
</if>
</choose>
</macro>
<macro name="publisher">
<group delimiter=", ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
</macro>
<macro name="date">
<choose>
<if variable="issued">
<date date-parts="year-month" form="text" variable="issued">
<date-part name="year"/>
</date>
</if>
<else-if variable="accessed">
<date variable="accessed">
<date-part name="year"/>
</date>
</else-if>
</choose>
</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-case="sentence" suffix=", "/>
<text variable="collection-number" prefix=" "/>
</macro>
<macro name="event">
<group>
<text term="presented at" suffix=" "/>
<text variable="event"/>
</group>
</macro>
<macro name="description">
<choose>
<if type="interview">
<group delimiter=". ">
<text macro="interviewer"/>
<text variable="medium" text-case="capitalize-first"/>
</group>
</if>
<else>
<text variable="medium" text-case="capitalize-first" prefix=". "/>
</else>
</choose>
<choose>
<if variable="title" match="none"/>
<else-if type="thesis"/>
<else>
<group delimiter=" " prefix=". ">
<text variable="genre" text-case="capitalize-first" font-weight="bold" suffix="."/>
<text variable="event-title" font-style="italic" text-decoration="none" suffix="."/>
<text variable="event-place"/>
<text variable="URL" text-case="lowercase" font-variant="normal" vertical-align="baseline"/>
<choose>
<if type="report">
<text variable="number"/>
</if>
</choose>
</group>
</else>
</choose>
</macro>
<macro name="issue">
<choose>
<if type="legal_case">
<text variable="authority" prefix=". "/>
</if>
<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-if type="chapter paper-conference" match="any">
<text variable="volume" prefix="vol " suffix=". "/>
<text variable="publisher" prefix=" "/>
<text variable="publisher-place" prefix=", " suffix=", "/>
<choose>
<if match="all" variable="page">
<group>
<label prefix=" " suffix=" " variable="page" form="symbol"/>
<text variable="page"/>
</group>
</if>
</choose>
</else-if>
<else>
<group prefix=". " delimiter=", ">
<choose>
<if type="thesis">
<text variable="genre" text-case="capitalize-first"/>
</if>
</choose>
<choose>
<if type="book chapter article collection broadcast entry-dictionary entry-encyclopedia legal_case hearing legislation manuscript report treaty thesis standard software" match="any">
<text macro="publisher"/>
</if>
</choose>
</group>
</else>
</choose>
</macro>
<macro name="removemyname">
<group>
<text macro="contributors-short"/>
</group>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" givenname-disambiguation-rule="primary-name">
<sort>
<key macro="date"/>
<key macro="contributors-short"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<group delimiter=" ">
<text macro="contributors-short"/>
<text macro="date"/>
</group>
<text macro="point-locators"/>
</group>
</layout>
</citation>
<bibliography hanging-indent="true" et-al-min="11" et-al-use-first="7" entry-spacing="0">
<sort>
<key variable="issued"/>
<key macro="contributors"/>
</sort>
<layout>
<text macro="date" suffix=" -"/>
<text macro="contributors" prefix=" With: " suffix="thatsallfolks."/>
<text macro="title"/>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment