Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zepinglee/99f5f8c9e17fd1d486da5e00389a0e85 to your computer and use it in GitHub Desktop.
Save zepinglee/99f5f8c9e17fd1d486da5e00389a0e85 to your computer and use it in GitHub Desktop.
>>===== MODE =====>>
citation
<<===== MODE =====<<
>>===== RESULT =====>>
Ravemachine. Choreografie: Doris Uhlich, brut Wien, Premiere: 12.10.2016
Ravemachine. Choreografie: Doris Uhlich, brut Wien, Premiere: 12.10.2016
<<===== RESULT =====<<
>>===== CSL =====>>
<?xml version="1.0" encoding="utf-8"?>
<style class="note" version="1.0" name-delimiter=", " and="text" et-al-min="4" et-al-use-first="1" names-delimiter="; " demote-non-dropping-particle="never" default-locale="de" xmlns="http://purl.org/net/xbiblio/csl">
<!-- This style was edited with the Visual CSL Editor (https://editor.citationstyles.org/visualEditor/) -->
<info>
<title>Uni Bern - Institut für Theaterwissenschaft (note, Deutsch)</title>
<id>http://www.zotero.org/styles/uni-bern-institut-fur-theaterwissenschaft</id>
<link rel="self" href="http://www.zotero.org/styles/uni-bern-institut-fur-theaterwissenschaft"/>
<updated>2023-04-11T15:32:30+00:00</updated>
</info>
<locale xml:lang="de">
<terms>
<term name="and">u.</term>
<term name="editor" form="short">Hg.</term>
<term name="collection-number" form="short">Bd.</term>
<term name="translator" form="verb-short">Übers. v.</term>
</terms>
</locale>
<macro name="cite-short">
<group delimiter=", ">
<text macro="primary-contributor-short"/>
<text macro="title-short"/>
<text macro="locator"/>
</group>
</macro>
<macro name="cite-ibid-with-locator">
<group delimiter=", ">
<text macro="cite-ibid"/>
<text macro="locator"/>
</group>
</macro>
<macro name="cite-ibid">
<text term="ibid" form="short"/>
</macro>
<macro name="author_title-citations">
<group delimiter=", ">
<text macro="primary-contributor-citations"/>
<text macro="title_volumes"/>
</group>
</macro>
<macro name="author_title-bibliography">
<group delimiter=": ">
<text macro="primary-contributor"/>
<text macro="title_volumes"/>
</group>
</macro>
<macro name="reference-publication-details">
<text macro="details-motion-picture" prefix=", "/>
<text macro="archival-details" prefix=", "/>
</macro>
<macro name="primary-contributor">
<choose>
<if type="performance" match="none">
<names variable="composer">
<name delimiter="; " delimiter-precedes-last="never" name-as-sort-order="all"/>
<label prefix=" (" suffix=")" form="short"/>
<substitute>
<names variable="author"/>
<names variable="editor"/>
</substitute>
</names>
</if>
</choose>
</macro>
<macro name="primary-contributor-citations">
<names variable="composer">
<name form="short" delimiter="; "/>
<label prefix=" (" suffix=")" form="short"/>
<substitute>
<names variable="author"/>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="primary-contributor-short">
<names variable="composer">
<name form="short" delimiter=" / "/>
<label prefix=" (" suffix=")" form="short"/>
<substitute>
<names variable="author"/>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="other-contributors">
<names variable="translator" delimiter=", ">
<label form="verb-short" text-case="capitalize-first" suffix=" "/>
<name and="text"/>
</names>
</macro>
<macro name="performer">
<choose>
<if type="song" match="any">
<names variable="author" prefix="(" suffix=")"/>
</if>
</choose>
</macro>
<macro name="interviewer">
<text value="geführt von"/>
<names variable="interviewer" prefix=" "/>
</macro>
<macro name="title">
<text variable="title"/>
</macro>
<macro name="title-short">
<choose>
<if type="book webpage thesis song motion_picture" match="any">
<text variable="title" form="short" text-case="title" font-style="italic"/>
</if>
<else-if type="entry-encyclopedia" match="any">
<text term="sub-verbo" form="short" quotes="false"/>
<text variable="title" form="short" text-case="title" quotes="true" prefix=" "/>
</else-if>
<else-if type="interview" match="any">
<text variable="title" form="short"/>
</else-if>
<else>
<text variable="title" form="short" text-case="title" quotes="true"/>
</else>
</choose>
</macro>
<macro name="title_volumes">
<group delimiter=", ">
<group delimiter=" ">
<group delimiter=". ">
<text macro="title"/>
<text macro="director"/>
<text macro="choreographie"/>
</group>
<text macro="performer"/>
<text macro="interviewer"/>
<text macro="origyear-chapter"/>
</group>
</group>
<choose>
<if type="book manuscript thesis" match="any">
<text macro="number-of-volumes"/>
</if>
</choose>
</macro>
<macro name="genre-format">
<group delimiter=", ">
<text variable="genre"/>
<text variable="medium"/>
<choose>
<if type="motion_picture performance" match="any">
<date form="numeric" variable="accessed">
<date-part name="day" form="numeric"/>
<date-part name="month" form="numeric"/>
</date>
<text variable="URL"/>
<choose>
<if match="none" variable="locator">
<text variable="dimensions"/>
</if>
</choose>
</if>
</choose>
</group>
</macro>
<macro name="details-motion-picture">
<choose>
<if type="motion_picture" match="any">
<text variable="publisher-place"/>
</if>
</choose>
</macro>
<macro name="container">
<choose>
<if type="book webpage" match="none">
<group delimiter=": ">
<text term="in" text-case="capitalize-first"/>
<names variable="editor">
<name delimiter="" name-as-sort-order="all"/>
<label form="short" prefix=" (" suffix=")"/>
</names>
<choose>
<if type="article-journal article-magazine article-newspaper" match="none">
<text macro="container-book-infos"/>
</if>
</choose>
</group>
</if>
</choose>
</macro>
<macro name="container-primary-contributor">
<names variable="container-author">
<name delimiter=" / "/>
</names>
</macro>
<macro name="container-journal-Infos">
<choose>
<if type="article-magazine article-journal article-newspaper" match="any">
<group delimiter=" ">
<text term="in" text-case="capitalize-first" suffix=":"/>
<choose>
<if type="article-journal" match="any">
<group delimiter=", ">
<group delimiter=", ">
<text variable="container-title" font-style="normal"/>
<group delimiter="/">
<text variable="issue"/>
<date date-parts="year" form="text" variable="issued"/>
</group>
</group>
</group>
</if>
<else-if type="article-magazine" match="any">
<group delimiter=", ">
<group delimiter=", ">
<text variable="container-title"/>
<group delimiter="/">
<number variable="issue"/>
<date form="text" variable="issued"/>
</group>
</group>
<text variable="number"/>
</group>
</else-if>
<else-if type="article-newspaper" match="any">
<group delimiter=", ">
<text variable="container-title" font-style="normal"/>
<date form="numeric" variable="issued">
<date-part name="day"/>
<date-part name="month" form="numeric"/>
</date>
</group>
</else-if>
</choose>
</group>
</if>
</choose>
</macro>
<macro name="container-book-infos">
<group delimiter=", ">
<text macro="container-primary-contributor"/>
<text variable="container-title" font-style="normal"/>
</group>
<text macro="number-of-volumes" prefix=", "/>
</macro>
<macro name="number-of-volumes">
<number prefix=" " variable="number-of-volumes"/>
<label prefix=" " variable="number-of-volumes" form="short"/>
</macro>
<macro name="volume">
<choose>
<if type="article article-journal article-magazine article-newspaper" match="none">
<choose>
<if match="any" is-numeric="volume">
<label variable="volume" form="short"/>
<number prefix=" " variable="volume"/>
</if>
<else>
<text variable="volume"/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="series_number">
<group delimiter=", ">
<text variable="collection-title"/>
<group delimiter=" ">
<label variable="collection-number" form="short"/>
<text variable="collection-number"/>
</group>
</group>
</macro>
<macro name="publisher_location_year">
<group delimiter=" ">
<group delimiter=", ">
<text macro="original-publisher_location_year"/>
<text macro="current-publisher_location_year"/>
</group>
<text macro="series_number" prefix="(= " suffix=")"/>
</group>
</macro>
<macro name="original-publisher_location_year">
<choose>
<if match="any" variable="original-publisher original-publisher-place">
<choose>
<if type="article-journal article-magazine article-newspaper motion_picture" match="none">
<group delimiter=" ">
<group delimiter=": ">
<text macro="original-publisher-place"/>
<text variable="original-publisher"/>
</group>
<text macro="origyear-reprint"/>
</group>
</if>
</choose>
</if>
</choose>
</macro>
<macro name="current-publisher_location_year">
<choose>
<if type="article-journal article-magazine article-newspaper motion_picture" match="none">
<group delimiter=" ">
<text macro="reprint-term"/>
<group delimiter=": ">
<text macro="publisher-place"/>
</group>
<text macro="year"/>
</group>
</if>
</choose>
</macro>
<macro name="publisher-place">
<choose>
<if match="none" variable="publisher-place">
<choose>
<if type="book chapter entry-encyclopedia manuscript pamphlet" match="any">
<text value="o.O."/>
</if>
</choose>
</if>
<else>
<choose>
<if type="motion_picture" match="none">
<text variable="publisher-place"/>
</if>
</choose>
</else>
</choose>
</macro>
<macro name="original-publisher-place">
<choose>
<if match="none" variable="original-publisher-place">
<choose>
<if type="book chapter entry-encyclopedia manuscript pamphlet" match="any">
<text value="o.O."/>
</if>
</choose>
</if>
<else>
<choose>
<if type="motion_picture" match="none">
<text variable="original-publisher-place"/>
</if>
</choose>
</else>
</choose>
</macro>
<macro name="year">
<choose>
<if match="none" variable="issued">
<choose>
<if type="book chapter entry-encyclopedia manuscript thesis pamphlet" match="any">
<text term="no date" form="short"/>
</if>
</choose>
</if>
<else-if type="interview" match="any">
<date form="numeric" variable="issued">
<date-part name="day" form="numeric"/>
<date-part name="month" form="numeric"/>
<date-part name="year"/>
</date>
</else-if>
<else>
<choose>
<if match="any" is-numeric="edition">
<group>
<number vertical-align="sup" variable="edition"/>
<date date-parts="year" form="text" variable="issued"/>
</group>
</if>
<else>
<date date-parts="year" form="text" variable="issued"/>
</else>
</choose>
</else>
</choose>
</macro>
<macro name="origyear-chapter">
<choose>
<if type="article-journal chapter" match="any">
<date date-parts="year" form="numeric" variable="original-date" prefix="[" suffix="]"/>
</if>
<else-if match="none" variable="original-publisher original-publisher-place">
<date date-parts="year" form="numeric" variable="original-date" prefix="[" suffix="]"/>
</else-if>
</choose>
</macro>
<macro name="origyear-reprint">
<date date-parts="year" form="numeric" variable="original-date"/>
</macro>
<macro name="reprint-term">
<choose>
<if match="any" variable="original-publisher original-publisher-place">
<text value="Reprint"/>
</if>
</choose>
</macro>
<macro name="locators">
<choose>
<if match="none" variable="locator">
<group delimiter=", ">
<text macro="pages"/>
<text macro="url_doi" prefix=" "/>
</group>
</if>
</choose>
</macro>
<macro name="pages">
<choose>
<if match="any" is-numeric="page">
<label variable="page" form="short"/>
<text variable="page" prefix=" "/>
</if>
<else>
<text variable="page"/>
</else>
</choose>
</macro>
<macro name="url_doi">
<choose>
<if match="any" variable="DOI URL">
<group delimiter=" ">
<group delimiter=", ">
<choose>
<if match="any" variable="DOI">
<text variable="DOI" prefix="https://doi.org/"/>
</if>
<else-if match="any" variable="URL">
<text variable="URL"/>
</else-if>
</choose>
<date form="numeric" variable="accessed">
<date-part name="day" form="ordinal"/>
<date-part name="month" form="numeric"/>
</date>
</group>
<text macro="url-annote"/>
</group>
</if>
</choose>
</macro>
<macro name="archival-details">
<group delimiter=" ">
<text variable="archive"/>
<text variable="archive_location"/>
</group>
</macro>
<macro name="locator">
<group delimiter=" ">
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</macro>
<macro name="locator-here">
<group delimiter=" ">
<text value="hier"/>
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</macro>
<macro name="edition-text">
<choose>
<if match="none" is-numeric="edition">
<text variable="edition"/>
</if>
</choose>
</macro>
<macro name="url-annote">
<text variable="annote" prefix="[" suffix="]"/>
</macro>
<macro name="director">
<choose>
<if type="motion_picture performance" match="any">
<group>
<text value="Regie: "/>
<names variable="director"/>
</group>
</if>
</choose>
</macro>
<macro name="choreographie">
<choose>
<if type="performance motion_picture" match="any">
<group delimiter=" ">
<text value="Choreografie:"/>
<names variable="script-writer"/>
</group>
</if>
</choose>
</macro>
<macro name="motion_picture_pub_details">
<choose>
<if type="motion_picture" match="any">
<group delimiter=" ">
<text variable="publisher-place"/>
<date form="numeric" variable="issued">
<date-part name="day"/>
</date>
</group>
</if>
</choose>
</macro>
<macro name="performance_pub_details">
<choose>
<if type="performance" match="any">
<group delimiter=", ">
<text variable="publisher-place"/>
<group delimiter=" ">
<text value="Premiere:"/>
<date form="numeric" variable="issued">
<date-part name="day"/>
<date-part name="month" form="numeric"/>
</date>
</group>
</group>
</if>
</choose>
</macro>
<macro name="bib-layout">
<choose>
<if type="interview" match="any">
<group delimiter=", ">
<text macro="author_title-bibliography"/>
<text macro="publisher_location_year"/>
</group>
</if>
<else-if type="motion_picture performance" match="any">
<group delimiter=", ">
<text macro="author_title-bibliography"/>
<text macro="motion_picture_pub_details"/>
<text macro="performance_pub_details"/>
<text macro="genre-format"/>
</group>
</else-if>
<else>
<group delimiter=". ">
<text macro="author_title-bibliography"/>
<text macro="genre-format"/>
<text macro="container"/>
<text macro="other-contributors" strip-periods="false"/>
<text macro="edition-text"/>
<group delimiter=", ">
<text macro="publisher_location_year"/>
<text macro="volume"/>
<text macro="container-journal-Infos"/>
<text macro="locators"/>
</group>
</group>
</else>
</choose>
</macro>
<citation>
<layout delimiter="; ">
<group delimiter=", ">
<choose>
<if match="any" position="first">
<text macro="bib-layout"/>
</if>
<else>
<choose>
<if match="any" disambiguate="true">
<group delimiter=": ">
<text macro="primary-contributor-citations"/>
<group delimiter=" ">
<text variable="title" form="short"/>
<date form="text" date-parts="year-month-day" variable="issued"/>
</group>
</group>
</if>
<else>
<group delimiter=" ">
<text macro="primary-contributor-citations"/>
<date date-parts="year" form="text" variable="issued"/>
</group>
</else>
</choose>
</else>
</choose>
<text macro="locator"/>
</group>
</layout>
</citation>
<bibliography>
<layout suffix=".">
<text macro="bib-layout"/>
</layout>
</bibliography>
</style>
<<===== CSL =====<<
>>===== INPUT =====>>
[
{
"id": "uhlichRavemachine2016",
"abstract": "Tanzaufführung",
"citation-key": "uhlichRavemachine2016",
"issued": {
"date-parts": [
[
2016,
10,
12
]
]
},
"publisher-place": "brut Wien",
"script-writer": [
{
"family": "Uhlich",
"given": "Doris"
}
],
"title": "Ravemachine",
"type": "performance"
},
{
"id": "uhlichRavemachine2016-zotero",
"type": "document",
"abstract": "Tanzaufführung",
"note": "type: performance\nscript-writer: Uhlich || Doris\npublisher-place: brut Wien",
"title": "Ravemachine",
"issued": {
"date-parts": [
[
"2016",
10,
12
]
]
}
}
]
<<===== INPUT =====<<
>>===== CITATION-ITEMS =====>>
[
[
{
"id": "uhlichRavemachine2016"
}
],
[
{
"id": "uhlichRavemachine2016-zotero"
}
]
]
<<===== CITATION-ITEMS =====<<
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment