Skip to content

Commit

Permalink
Squashed 'buildres/csl/csl-styles/' changes from 201e022..7bde3e4
Browse files Browse the repository at this point in the history
7bde3e4 Add style for the Geographical Analysis journal (#6145)
6fa1551 Create taylor-and-francis-chicago-b-author-date.csl (#6232)
eba2e8c Create taylor-and-francis-ama.csl (#6221)
dda9d57 ACS, AMA, Vancouver: Remove hardcoded space after `citation-number` (#6248)
8f5fe92 GitHub Workflows security hardening (#6246)
284bc10 Create angiology.csl (#6122)
eb141cc Update society-of-biblical-literature-fullnote-bibliography.csl (#6157)
dddb459 Rewrite law-citation-manual.csl (#6171) (#6171)
b975c96 Update Cell to numeric-superscript style (#6245)
3a41b08 Create isara-iso-690.csl (#6201)
5a128fe Create Biomembranes.csl (#6200)
da2e0c0 Capitalize-first short titles for legislation ("Statute"). (#6241)
af7f08d Create proceedings-of-the-estonian-academy-of-sciences-author-date.csl (#6209)

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: 7bde3e4
  • Loading branch information
github actions committed Oct 1, 2022
1 parent df558ab commit 7486037
Show file tree
Hide file tree
Showing 56 changed files with 3,287 additions and 473 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/label-gun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ on:
issue_comment:
types: [created, edited, closed]

permissions: {}
jobs:
label:
permissions:
issues: write # to add label to an issues (retorquere/label-gun)
pull-requests: write # to add label, comment on pull request (retorquere/label-gun)

runs-on: ubuntu-latest
steps:
- uses: retorquere/label-gun@main
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ on:
description: Commit message
required: true

permissions: {}
jobs:
release:
permissions:
contents: write # to create a release
pull-requests: read # to read pull requests (dorny/paths-filter)

runs-on: ubuntu-latest
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/sheldon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ on:
pull_request_target:
types: [ opened, synchronize, workflow_dispatch]

permissions: {}
jobs:
test:
permissions:
contents: write # to push code in repo (stefanzweifel/git-auto-commit-action)
pull-requests: write # to comment on pull requests

runs-on: ubuntu-latest
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
2 changes: 1 addition & 1 deletion american-chemical-society.csl
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
</citation>
<bibliography second-field-align="flush" entry-spacing="0">
<layout suffix=".">
<text variable="citation-number" prefix="(" suffix=") "/>
<text variable="citation-number" prefix="(" suffix=")"/>
<text macro="author" suffix=" "/>
<choose>
<if type="article-journal review" match="any">
Expand Down
2 changes: 1 addition & 1 deletion american-medical-association.csl
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
</citation>
<bibliography hanging-indent="false" et-al-min="7" et-al-use-first="3" second-field-align="flush">
<layout>
<text variable="citation-number" suffix=". "/>
<text variable="citation-number" suffix="."/>
<text macro="author"/>
<text macro="title" prefix=" " suffix="."/>
<choose>
Expand Down
200 changes: 200 additions & 0 deletions angiology.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" page-range-format="minimal" default-locale="en-US">
<info>
<title>Angiology</title>
<title-short>Angiology</title-short>
<id>http://www.zotero.org/styles/angiology</id>
<link href="http://www.zotero.org/styles/angiology" rel="self"/>
<link href="http://www.zotero.org/styles/sage-vancouver" rel="template"/>
<link href="https://journals.sagepub.com/author-instructions/ANG" rel="documentation"/>
<contributor>
<name>Andrew J. Sims</name>
<email>andrew.sims@newcastle.ac.uk</email>
</contributor>
<category citation-format="numeric"/>
<category field="medicine"/>
<issn>0003-3197</issn>
<eissn>1940-1574</eissn>
<summary>Vancouver superscript style modified for Angiology</summary>
<updated>2022-07-05T15:11:00+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">
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
<label form="short" prefix=" (" suffix=")" strip-periods="true"/>
</names>
</macro>
<macro name="date">
<choose>
<if type="article-newspaper report" match="any">
<date variable="issued" form="text"/>
</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 variable="page" match="none">
<choose>
<if variable="DOI" match="any">
<group prefix=". " delimiter=". ">
<date variable="issued" form="text" prefix=""/>
<text variable="DOI" prefix="DOI: "/>
</group>
</if>
<else>
<group delimiter=" " prefix=", ">
<text variable="URL"/>
<text macro="accessed-date"/>
</group>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="accessed-date">
<choose>
<if variable="URL">
<group prefix="(" suffix=")" delimiter=", ">
<text macro="date"/>
<group delimiter=" ">
<text term="accessed"/>
<date variable="accessed" form="text"/>
</group>
</group>
</if>
</choose>
</macro>
<macro name="container-title">
<choose>
<if type="article-journal" match="any">
<text variable="container-title" form="short" strip-periods="true" suffix="."/>
</if>
<else>
<text variable="container-title"/>
</else>
</choose>
</macro>
<macro name="title">
<choose>
<if type="book patent report thesis" match="any">
<text variable="title"/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="page">
<group delimiter=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</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="7" et-al-use-first="3" second-field-align="flush" line-spacing="2">
<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"/>
</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"/>
</layout>
</bibliography>
</style>
Loading

0 comments on commit 7486037

Please sign in to comment.