Skip to content

Commit

Permalink
Squashed 'buildres/csl/csl-styles/' changes from c750b6e..acfc620
Browse files Browse the repository at this point in the history
acfc620 Create liver-transplantation.csl (#6167)
129a775 Change "event" to "event-title" (#6164)

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: acfc620
  • Loading branch information
github actions committed Aug 4, 2022
1 parent 871c8d7 commit e1060f0
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
16 changes: 16 additions & 0 deletions dependent/liver-transplantation.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" default-locale="en-US">
<info>
<title>Liver Transplantation</title>
<id>http://www.zotero.org/styles/liver-transplantation</id>
<link href="http://www.zotero.org/styles/liver-transplantation" rel="self"/>
<link href="http://www.zotero.org/styles/vancouver" rel="independent-parent"/>
<link href="https://aasldpubs.onlinelibrary.wiley.com/hub/journal/15276473/about/author-guidelines" rel="documentation"/>
<category citation-format="numeric"/>
<category field="medicine"/>
<issn>1527-6473</issn>
<issn>1527-6465</issn>
<updated>2022-08-03T21:58:08+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>
</style>
20 changes: 17 additions & 3 deletions food-and-agriculture-organization-of-the-united-nations.csl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<category field="science"/>
<category field="social_science"/>
<summary>This style is created to meet the citation and bibliographical requirements of FAOSTYLE, and has been tested with Zotero and Mendeley. Last update: February 2022.</summary>
<updated>2022-02-02T16:03:38+00:00</updated>
<updated>2022-08-02T08:28:31+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 settings for English. Settings for other languages could be added later to this section. -->
Expand Down Expand Up @@ -180,6 +180,20 @@
</else>
</choose>
</macro>
<macro name="event-title">
<choose>
<!-- TODO: We expect "event-title" to be used,
but processors and applications may not be updated yet.
This macro ensures that either "event" or "event-title" can be accpeted.
Remove if procesor logic and application adoption can handle this. -->
<if variable="event-title">
<text variable="event-title"/>
</if>
<else>
<text variable="event"/>
</else>
</choose>
</macro>
<!-- in-line citation: (author, date) -->
<citation disambiguate-add-year-suffix="true" collapse="year" et-al-min="4" et-al-use-first="1">
<sort>
Expand Down Expand Up @@ -298,7 +312,7 @@
<text variable="title"/>
<group delimiter=" ">
<text term="presented at"/>
<text variable="event" suffix=","/>
<text macro="event-title" suffix=","/>
<date form="text" variable="issued" suffix=","/>
<text macro="publisher-and-place"/>
</group>
Expand All @@ -310,7 +324,7 @@
<text macro="in-and-container"/>
<text variable="collection-title"/>
<group delimiter=", " suffix=".">
<text variable="event"/>
<text macro="event-title"/>
<text variable="publisher-place"/>
<text variable="publisher"/>
<!-- Not using macro "publisher-and-place" here because event date needs to be appended and the suffix "." of the macro would appear. -->
Expand Down

0 comments on commit e1060f0

Please sign in to comment.