Skip to content

Commit

Permalink
Create canadian-urological-association-journal.csl (#6992)
Browse files Browse the repository at this point in the history
* Create canadian-urological-association-journal.csl

https://forums.zotero.org/discussion/113195/style-request-canadian-urological-association-journal#latest

* remove obsolte macro
  • Loading branch information
POBrien333 authored Sep 11, 2024
1 parent cb47df6 commit 4b697bf
Showing 1 changed file with 188 additions and 0 deletions.
188 changes: 188 additions & 0 deletions canadian-urological-association-journal.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" page-range-format="minimal" demote-non-dropping-particle="sort-only" default-locale="en-US">
<info>
<title>Canadian Urological Association Journal</title>
<title-short>CUAJ</title-short>
<id>http://www.zotero.org/styles/canadian-urological-association-journal</id>
<link href="http://www.zotero.org/styles/canadian-urological-association-journal" rel="self"/>
<link href="http://www.zotero.org/styles/spine" rel="template"/>
<link href="https://cuaj.ca/index.php/journal/about/submissions" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="numeric"/>
<category field="medicine"/>
<issn>1911-6470</issn>
<eissn>1920-1214</eissn>
<updated>2024-04-01T14:53:17+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>
<macro name="author">
<names variable="author" suffix=". ">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=" (" suffix=")" strip-periods="true"/>
<substitute>
<names variable="editor"/>
</substitute>
</names>
</macro>
<macro name="editor">
<names variable="editor" suffix=".">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<label form="short" strip-periods="true" prefix=", "/>
</names>
</macro>
<macro name="date">
<choose>
<if type="article-newspaper report" match="any">
<date variable="issued" form="text"/>
</if>
<else-if type="article-journal" match="any">
<choose>
<if match="none" variable="volume">
<date variable="issued">
<date-part name="year"/>
<date-part name="month" form="short" strip-periods="true" prefix=" "/>
</date>
</if>
</choose>
</else-if>
<else>
<date variable="issued" form="text" date-parts="year"/>
</else>
</choose>
</macro>
<macro name="publisher">
<group delimiter="; ">
<group delimiter=" ">
<text variable="genre" text-case="title"/>
<text variable="number"/>
</group>
<group delimiter=": ">
<choose>
<if type="thesis" match="none">
<text variable="publisher-place"/>
</if>
</choose>
<text variable="publisher"/>
</group>
<choose>
<if variable="URL" match="none">
<text macro="date"/>
</if>
</choose>
</group>
</macro>
<macro name="access">
<choose>
<if match="any" type="article-journal">
<text variable="DOI" prefix="https://doi.org/"/>
</if>
<else>
<group delimiter=". ">
<text variable="URL"/>
<group delimiter=" ">
<text term="accessed" text-case="capitalize-first"/>
<date variable="accessed" form="text"/>
</group>
</group>
</else>
</choose>
</macro>
<macro name="container-title">
<choose>
<if type="article-journal" match="any">
<text variable="container-title" form="short" strip-periods="true" font-style="italic"/>
</if>
<else>
<text variable="container-title" font-style="italic"/>
</else>
</choose>
</macro>
<macro name="title">
<choose>
<if type="book patent report thesis" match="any">
<text variable="title" font-style="italic"/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="page">
<text variable="page"/>
</macro>
<macro name="edition">
<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>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout delimiter="," vertical-align="sup">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography et-al-min="4" et-al-use-first="3" second-field-align="flush">
<layout suffix=".">
<text variable="citation-number" suffix=". "/>
<text macro="author"/>
<text macro="title"/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture patent report song thesis" match="any">
<group delimiter=". " prefix=". ">
<text macro="edition"/>
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter paper-conference" match="any">
<group delimiter=":" prefix=". ">
<group delimiter=". ">
<group delimiter=" ">
<text term="in" suffix=":" text-case="capitalize-first"/>
<text macro="editor"/>
<text variable="container-title" font-style="italic"/>
</group>
<text macro="publisher"/>
</group>
<text macro="page"/>
</group>
</else-if>
<else-if type="article-newspaper article-magazine" match="any">
<group delimiter=", " prefix=". ">
<text macro="container-title"/>
<text macro="date"/>
<text macro="page"/>
</group>
</else-if>
<else>
<group delimiter=";" prefix=". ">
<group delimiter=" ">
<text macro="container-title"/>
<choose>
<if variable="page" match="any">
<text macro="date"/>
</if>
</choose>
</group>
<group delimiter=":">
<text variable="volume"/>
<text variable="page"/>
</group>
</group>
</else>
</choose>
<text macro="access" prefix=". "/>
</layout>
</bibliography>
</style>

0 comments on commit 4b697bf

Please sign in to comment.