Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create style for Instrumenta Patristica et Mediaevalia series #6808

Merged
merged 8 commits into from
Sep 10, 2024
382 changes: 382 additions & 0 deletions instrumenta-patristica-et-mediaevalia.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,382 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" demote-non-dropping-particle="sort-only" page-range-format="expanded" version="1.0" default-locale="en-US">
<info>
<title>Instrumenta Patristica et Mediaevalia</title>
<title-short>IPM</title-short>
<id>http://www.zotero.org/styles/instrumenta-patristica-et-mediaevalia</id>
<link href="http://www.zotero.org/styles/instrumenta-patristica-et-mediaevalia" rel="self"/>
<link href="http://www.zotero.org/styles/modern-humanities-research-association" rel="template"/>
<link href="https://www.corpuschristianorum.org/author-info" rel="documentation"/>
<author>
<name>Andrew Dunning</name>
<uri>https://orcid.org/0000-0003-0464-5036</uri>
</author>
<category citation-format="note"/>
<category field="generic-base"/>
<issn>1379-9878</issn>
<summary>Instrumenta Patristica et Mediaevalia with full notes and bibliography</summary>
<updated>2023-12-07T21:20:22+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">
<style-options punctuation-in-quote="false"/>
<terms>
<term form="verb-short" name="editor">ed. by</term>
<term form="short" name="edition">edn</term>
<term form="verb-short" name="translator">trans. by</term>
<term name="folio">
<single>fol.</single>
<multiple>fols.</multiple>
</term>
</terms>
</locale>
<macro name="contributors-note">
<names variable="author">
<name font-variant="small-caps" initialize-with=". "/>
<label form="short" prefix=", "/>
<substitute>
<text macro="title-note"/>
</substitute>
</names>
<text macro="recipient-note"/>
</macro>
<macro name="title-note">
<choose>
<if match="none" variable="title">
<text variable="genre"/>
</if>
<else-if match="any" type="bill book graphic legislation motion_picture report song">
<text font-style="italic" text-case="title" variable="title"/>
<group delimiter=" " prefix=", ">
<text term="version"/>
<text variable="version"/>
</group>
</else-if>
<else-if match="any" type="legal_case interview">
<text variable="title"/>
</else-if>
<else-if variable="reviewed-author">
<text font-style="italic" prefix="review of " variable="title"/>
</else-if>
<else>
<text quotes="true" text-case="title" variable="title"/>
</else>
</choose>
</macro>
<macro name="disambiguate">
<choose>
<if disambiguate="true">
<choose>
<if match="none" variable="title">
<text macro="issued"/>
</if>
<else-if match="any" type="bill book graphic legal_case legislation motion_picture report song">
<text font-style="italic" form="short" text-case="title" variable="title"/>
</else-if>
<else>
<text form="short" quotes="true" text-case="title" variable="title"/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="title-sort-substitute">
<choose>
<if match="any" type="bill book graphic legal_case legislation motion_picture report song">
<text font-style="italic" form="short" text-case="title" variable="title"/>
</if>
<else>
<text form="short" quotes="true" text-case="title" variable="title"/>
</else>
</choose>
</macro>
<macro name="editor-translator">
<group delimiter=", ">
<group delimiter=" ">
<choose>
<if match="any" variable="container-author reviewed-author">
<group>
<names variable="container-author reviewed-author">
<label form="verb-short" suffix=" " text-case="lowercase"/>
<name delimiter=", " font-variant="small-caps"/>
</names>
</group>
</if>
</choose>
</group>
<names delimiter=", " variable="editor translator director">
<label form="verb-short" suffix=" " text-case="lowercase"/>
<name font-variant="small-caps" initialize-with=". "/>
</names>
</group>
</macro>
<macro name="secondary-contributors-note">
<choose>
<if match="none" type="chapter entry-encyclopedia paper-conference">
<text macro="editor-translator"/>
</if>
</choose>
</macro>
<macro name="container-contributors-note">
<choose>
<if match="any" type="chapter entry-encyclopedia paper-conference">
<text macro="editor-translator"/>
</if>
</choose>
</macro>
<macro name="collection-title">
<group delimiter=", ">
<choose>
<if type="article-journal">
<text variable="collection-title"/>
<text variable="collection-number"/>
</if>
<else>
<text variable="collection-title" text-case="title"/>
<text variable="collection-number"/>
</else>
</choose>
</group>
</macro>
<macro name="collection-title-journal">
<group delimiter=", ">
<choose>
<if type="article-journal">
<text variable="collection-title"/>
<text variable="collection-number"/>
</if>
</choose>
</group>
</macro>
<macro name="locators-note">
<choose>
<if type="article-journal">
<group delimiter=".">
<text variable="volume"/>
</group>
</if>
<else-if match="any" type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song">
<group delimiter=", ">
<text macro="edition-note"/>
<group>
<number form="numeric" variable="number-of-volumes"/>
<text form="short" plural="true" prefix=" " term="volume"/>
</group>
</group>
</else-if>
</choose>
</macro>
<macro name="issue-note">
<choose>
<if type="article-journal">
<choose>
<if variable="volume">
<text macro="issued" prefix=" (" suffix=")"/>
</if>
<else>
<text macro="issued" prefix=", "/>
</else>
</choose>
</if>
<else-if match="any" variable="publisher-place publisher">
<group delimiter=", " prefix=", ">
<group delimiter=" ">
<choose>
<if match="none" variable="title"/>
<else-if match="any" type="thesis speech">
<text prefix="unpublished " variable="genre"/>
</else-if>
</choose>
<text macro="event"/>
</group>
<text macro="publisher"/>
<text macro="issued"/>
</group>
<text macro="collection-title" prefix=" (" suffix=")"/>
</else-if>
<else>
<text macro="issued" prefix=", "/>
</else>
</choose>
</macro>
<macro name="locators-specific-note">
<choose>
<if match="any" type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song">
<choose>
<if is-numeric="volume">
<number font-variant="small-caps" form="roman" variable="volume"/>
</if>
<else>
<text font-variant="small-caps" variable="volume"/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="container-title-note">
<choose>
<if match="any" type="chapter entry-encyclopedia paper-conference">
<text suffix=" " term="in"/>
</if>
</choose>
<text font-style="italic" text-case="title" variable="container-title"/>
</macro>
<macro name="edition-note">
<choose>
<if match="any" type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number form="ordinal" variable="edition"/>
<text form="short" term="edition"/>
</group>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="recipient-note">
<names delimiter=", " variable="recipient">
<label form="verb" prefix=" " suffix=" "/>
<name delimiter=", " font-variant="small-caps"/>
</names>
</macro>
<macro name="recipient-short">
<names variable="recipient">
<label form="verb" prefix=" " suffix=" "/>
<name delimiter=", " font-variant="small-caps" form="short"/>
</names>
</macro>
<macro name="contributors-short">
<names variable="author">
<name delimiter=", " font-variant="small-caps" form="short" sort-separator=", "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title-sort-substitute"/>
</substitute>
</names>
<text macro="recipient-short"/>
</macro>
<macro name="locators-newspaper">
<choose>
<if type="article-newspaper">
<group delimiter=", ">
<group delimiter=" ">
<text variable="edition"/>
<text term="edition"/>
</group>
<group>
<text suffix=" " term="section"/>
<text variable="section"/>
</group>
</group>
</if>
</choose>
</macro>
<macro name="event">
<group>
<text suffix=" " 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"/>
</group>
</else>
</choose>
</macro>
<macro name="issued">
<choose>
<if match="any" type="report article-newspaper article-magazine personal_communication">
<date variable="issued">
<date-part name="day" suffix=" "/>
<date-part name="month" suffix=" "/>
<date-part name="year"/>
</date>
</if>
<else>
<date variable="issued">
<date-part name="year"/>
</date>
</else>
</choose>
</macro>
<macro name="pages">
<label form="short" prefix=", " suffix=" " variable="page"/>
<text variable="page"/>
</macro>
<macro name="point-locators">
<text macro="pages"/>
<choose>
<if variable="page">
<group prefix=" (" suffix=")">
<label form="short" suffix=" " variable="locator"/>
<text variable="locator"/>
</group>
</if>
<else>
<label form="short" prefix=", " suffix=" " variable="locator"/>
<text variable="locator"/>
</else>
</choose>
</macro>
<macro name="point-locators-subsequent">
<label form="short" prefix=", " suffix=" " variable="locator"/>
<text variable="locator"/>
</macro>
<macro name="archive-note">
<group delimiter=", ">
<text variable="archive-place"/>
<text variable="archive"/>
<text variable="archive_location"/>
</group>
</macro>
<macro name="access-note">
<group delimiter=", ">
<choose>
<if match="none" type="article-journal bill chapter legal_case legislation paper-conference">
<text macro="archive-note" prefix=", "/>
</if>
</choose>
</group>
</macro>
<citation disambiguate-add-givenname="true" disambiguate-add-names="true" et-al-min="4" et-al-use-first="1">
<layout delimiter="; " suffix=".">
<choose>
<if position="subsequent">
<group delimiter=", ">
<text macro="contributors-short"/>
<text macro="disambiguate"/>
</group>
<text macro="point-locators-subsequent"/>
</if>
<else>
<group delimiter=", ">
<text macro="contributors-note"/>
<text macro="title-note"/>
<text macro="secondary-contributors-note"/>
<text macro="container-title-note"/>
<text macro="container-contributors-note"/>
<text macro="collection-title-journal"/>
<text macro="locators-note"/>
</group>
<text macro="issue-note"/>
<text macro="locators-specific-note" prefix=", "/>
<text macro="locators-newspaper" prefix=", "/>
<text macro="point-locators"/>
<text macro="access-note"/>
</else>
</choose>
</layout>
</citation>
</style>