Skip to content

Commit

Permalink
Create cambridge-quarterly-of-healthcare-ethics.csl (#6381)
Browse files Browse the repository at this point in the history
* Create cambridge-quarterly-of-healthcare-ethics.csl

https://forums.zotero.org/discussion/102344/style-request-cambridge-quarterly-of-healthcare-ethics-cqhce#latest

* remove obsolte macros

* fix subsequent citations
  • Loading branch information
POBrien333 authored Aug 27, 2024
1 parent 3303ecc commit 9c5fafc
Showing 1 changed file with 245 additions and 0 deletions.
245 changes: 245 additions & 0 deletions cambridge-quarterly-of-healthcare-ethics.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="note" version="1.0" page-range-format="chicago" demote-non-dropping-particle="sort-only" default-locale="en-GB">
<info>
<title>Cambridge Quarterly of Healthcare Ethics</title>
<title-short>CQHCE</title-short>
<id>http://www.zotero.org/styles/cambridge-quarterly-of-healthcare-ethics</id>
<link href="http://www.zotero.org/styles/cambridge-quarterly-of-healthcare-ethics" rel="self"/>
<link href="http://www.zotero.org/styles/cambridge-university-press-note" rel="template"/>
<link href="https://www.cambridge.org/core/journals/cambridge-quarterly-of-healthcare-ethics/information/author-instructions/preparing-your-materials" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="note"/>
<category field="medicine"/>
<issn>0963-1801</issn>
<eissn>1469-2147</eissn>
<updated>2023-01-20T06:56:10+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="accessed">last accessed</term>
</terms>
</locale>
<macro name="author">
<names variable="author">
<name initialize-with="" name-as-sort-order="all" sort-separator=" "/>
<label form="short" strip-periods="false" prefix=" (" suffix=")"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="text" delimiter=", "/>
<label form="short" prefix=", " strip-periods="true"/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="title">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song article-magazine article-newspaper" match="any">
<text variable="title" font-style="italic"/>
</if>
<else>
<text variable="title" quotes="false"/>
</else>
</choose>
</macro>
<macro name="publisher">
<choose>
<if type="chapter paper-conference" match="any">
<group delimiter="; ">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
<text macro="date"/>
</group>
</if>
<else-if type="book" match="any">
<group delimiter="; ">
<group delimiter=": ">
<text variable="publisher"/>
<text variable="publisher-place"/>
</group>
<text macro="date"/>
</group>
</else-if>
<else-if type="thesis" match="any">
<text variable="publisher"/>
</else-if>
</choose>
</macro>
<macro name="date">
<date variable="issued">
<date-part name="year"/>
</date>
</macro>
<macro name="volume">
<group delimiter=" ">
<label variable="volume" form="short"/>
<number variable="volume" form="roman"/>
</group>
</macro>
<macro name="pageno">
<text variable="page"/>
</macro>
<macro name="pageref">
<group delimiter=" ">
<text term="at"/>
<text variable="locator"/>
</group>
</macro>
<macro name="volref">
<group delimiter=";">
<text macro="date"/>
<group>
<text variable="volume" font-weight="bold"/>
<text variable="issue" prefix="(" suffix=")"/>
</group>
</group>
</macro>
<macro name="container">
<choose>
<if type="chapter paper-conference" match="any">
<group delimiter=". ">
<group delimiter=" ">
<text term="in"/>
<text macro="editor"/>
</group>
<text variable="container-title" font-style="italic"/>
</group>
</if>
<else>
<text variable="container-title" font-style="italic"/>
</else>
</choose>
</macro>
<macro name="editor">
<names variable="editor translator">
<name initialize-with=". "/>
<label form="short" prefix=", "/>
</names>
</macro>
<macro name="volumes">
<group delimiter=" ">
<number variable="number-of-volumes"/>
<label variable="number-of-volumes" form="short"/>
</group>
</macro>
<macro name="edition">
<group delimiter=" ">
<text variable="edition"/>
<label variable="edition" form="short"/>
</group>
</macro>
<macro name="access">
<group delimiter=" ">
<group delimiter=" ">
<text term="available at"/>
<text variable="URL"/>
</group>
<group delimiter=" " prefix="(" suffix=")">
<text term="accessed"/>
<date variable="accessed">
<date-part name="day" suffix=" "/>
<date-part name="month" form="short" strip-periods="true" suffix=" "/>
<date-part name="year"/>
</date>
</group>
</group>
</macro>
<citation>
<layout suffix="." delimiter="; ">
<choose>
<if position="subsequent">
<group delimiter=", ">
<text term="note" prefix="see "/>
<text variable="first-reference-note-number"/>
<group>
<text macro="author-short"/>
<text macro="date"/>
</group>
<text macro="pageref"/>
</group>
</if>
<else>
<group delimiter=", ">
<text macro="author"/>
<text macro="title"/>
<group>
<choose>
<if type="article-journal" match="any">
<group delimiter=" ">
<text macro="container"/>
<group delimiter=":">
<text macro="volref"/>
<text macro="pageno"/>
</group>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=". " prefix=" ">
<text macro="container"/>
<group delimiter=":">
<text macro="publisher"/>
<text macro="pageno"/>
</group>
</group>
</else-if>
<else-if type="book" match="any">
<group delimiter=" ">
<group delimiter=", ">
<text macro="volumes"/>
<text macro="edition"/>
</group>
<group delimiter=", ">
<text macro="publisher"/>
<text macro="volume"/>
</group>
</group>
</else-if>
<else-if type="thesis" match="any">
<group delimiter=", ">
<text variable="container-title"/>
<text variable="genre"/>
<group delimiter=" ">
<text macro="publisher"/>
<date form="text" date-parts="year-month-day" variable="issued"/>
</group>
</group>
</else-if>
<else-if type="webpage post post-weblog" match="any">
<group delimiter=". ">
<text macro="date"/>
<text macro="access"/>
</group>
</else-if>
<else-if type="article-magazine article-newspaper" match="any">
<group delimiter="; ">
<date form="text" date-parts="year-month-day" variable="issued"/>
<text macro="access"/>
</group>
</else-if>
<else>
<text macro="publisher"/>
<text macro="date" prefix="(" suffix=")"/>
</else>
</choose>
</group>
<text macro="pageref"/>
</group>
</else>
</choose>
</layout>
</citation>
</style>

0 comments on commit 9c5fafc

Please sign in to comment.