Skip to content

Commit

Permalink
Update cell-numeric-superscript.csl (#6188)
Browse files Browse the repository at this point in the history
via https://forums.zotero.org/discussion/99081/add-doi#latest

It looks like Cell generally has added DOIs now as it appears in the guidelines of OP's style, but also in the guidelines we based our style on:
https://www.cell.com/current-biology/authors
https://www.cell.com/chem/authors
  • Loading branch information
POBrien333 committed Aug 22, 2022
1 parent 6ee1ace commit 09cbc09
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
11 changes: 5 additions & 6 deletions cell-numeric-superscript.csl
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,12 @@
</macro>
<macro name="access">
<choose>
<if variable="URL">
<choose>
<if type="webpage dataset entry-dictionary entry-encyclopedia post post-weblog" match="any">
<text variable="URL"/>
</if>
</choose>
<if match="any" variable="DOI">
<text variable="DOI"/>
</if>
<else-if match="any" type="webpage dataset entry-dictionary entry-encyclopedia post post-weblog">
<text variable="URL"/>
</else-if>
</choose>
</macro>
<macro name="title">
Expand Down
16 changes: 5 additions & 11 deletions cell-numeric.csl
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,12 @@
</macro>
<macro name="access">
<choose>
<if variable="URL">
<text value="Available at:" suffix=" "/>
<text variable="URL"/>
<group prefix=" [" suffix="]">
<text term="accessed" text-case="capitalize-first" suffix=" "/>
<date variable="accessed">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
</group>
<if variable="DOI">
<text variable="DOI"/>
</if>
<else-if match="any" type="webpage dataset entry-dictionary entry-encyclopedia post post-weblog">
<text variable="URL"/>
</else-if>
</choose>
</macro>
<macro name="title">
Expand Down

0 comments on commit 09cbc09

Please sign in to comment.