Skip to content

Commit

Permalink
Fix presentation for Methods of Information in Medicine (#5284)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam3smith authored Feb 20, 2021
1 parent 53e1d0b commit 508da89
Showing 1 changed file with 33 additions and 13 deletions.
46 changes: 33 additions & 13 deletions methods-of-information-in-medicine.csl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<locale xml:lang="en">
<terms>
<term name="no date" form="long">date unknown</term>
<term name="presented at">paper presented at</term>
<term name="presented at">presented at</term>
</terms>
</locale>
<macro name="author">
Expand All @@ -45,19 +45,29 @@
</names>
</macro>
<macro name="publisher">
<group delimiter="; ">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
<text macro="date"/>
</group>
<choose>
<if type="speech" match="any">
<group delimiter="; ">
<text macro="date"/>
<text variable="event-place"/>
</group>
</if>
<else>
<group delimiter="; ">
<group delimiter=": ">
<text variable="publisher-place"/>
<text variable="publisher"/>
</group>
<text macro="date"/>
</group>
</else>
</choose>
</macro>
<macro name="date">
<choose>
<if variable="issued">
<choose>
<if type="report paper-conference" match="any">
<if type="report speech" match="any">
<date form="text" date-parts="year-month-day" variable="issued"/>
</if>
<else>
Expand Down Expand Up @@ -129,7 +139,7 @@
<text macro="publisher"/>
</group>
</if>
<else-if type="chapter" match="any">
<else-if type="chapter paper-conference" match="any">
<group prefix=" ">
<text term="in" suffix=": " text-case="capitalize-first"/>
<text macro="editor"/>
Expand All @@ -142,11 +152,21 @@
</group>
</group>
</else-if>
<else-if type="paper-conference" match="any">
<else-if type="speech" match="any">
<group delimiter="; ">
<group delimiter=": ">
<text term="presented at" text-case="capitalize-first"/>
<text variable="container-title"/>
<group delimiter=" ">
<choose>
<if variable="genre" match="any">
<text variable="genre" text-case="capitalize-first"/>
</if>
<else>
<text value="Paper"/>
</else>
</choose>
<text term="presented at"/>
</group>
<text variable="event"/>
</group>
<text macro="publisher"/>
</group>
Expand Down

0 comments on commit 508da89

Please sign in to comment.