Skip to content

Commit a60fdd3

Browse files
author
github actions
committed
Squashed 'buildres/csl/csl-styles/' changes from 3d3573c..39fede5
39fede5 Update associacao-brasileira-de-normas-tecnicas.csl (#6138) fde7695 Include chapter title (#6140) 1e3d8b4 Update n.d. abbreivation for DGP style (#6136) ebb728b suffix '.' after first group; changed e-mail (#6135) eed4f07 Update and rename sciences-po-ecole-doctorale-note-french.csl to scie… (#6127) f194647 Delete TU Dresden Medizin as requested by library (#6131) d8423d8 Create entomological-review.csl (#6120) 064a394 Create australasian-journal-of-philosophy.csl (#6063) a998ded Add composer.json (#5668) 37083c9 Update copernicus-publications.csl (#6062) 694c97b Create chaucer review (#6061) 625a424 Create haffner-style-manual.csl (#6054) 8b7224b make annals-of-allergy-asthma-and-immunology independent (#6041) 710748c Create university-of-pretoria-harvard-theology-religion.csl (#6106) d16dffd Create health-physics.csl (#6040) ca9e184 Update style-manual-australian-government.csl (#6119) e412277 Create chemical-engineering-technology.csl (#6039) bebdb48 Create bibliothek-forschung-und-praxis.csl (#6038) 29e49cd Update nature.csl (#6117) 891897d fix short title for SBL (#6118) git-subtree-dir: buildres/csl/csl-styles git-subtree-split: 39fede5
1 parent ffe1663 commit a60fdd3

27 files changed

+3552
-309
lines changed

.github/workflows/merge.yaml

+37-2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ jobs:
4848
- deleted: [ '*.csl', 'dependent/*.csl', '*.xml' ]
4949
workflows:
5050
- added|modified: .github/workflows/*.yaml
51+
updated_composer:
52+
- added|modified: composer.json
53+
deleted_composer:
54+
- deleted: composer.json
5155
5256
- name: Changed files
5357
if: github.event_name == 'push'
@@ -87,11 +91,24 @@ jobs:
8791
run: cd release && git rm ${{ steps.update.outputs.deleted_files }}
8892
if: github.event_name == 'push' && steps.update.outputs.deleted == 'true'
8993

94+
- name: Update composer.json
95+
if: steps.update.outputs.updated_composer == 'true'
96+
run: |
97+
cp composer.json release/composer.json
98+
cd release
99+
git add composer.json
100+
101+
- name: Delete composer.json
102+
if: steps.update.outputs.deleted_composer == 'true'
103+
run: |
104+
cd release
105+
git rm composer.json
106+
90107
- uses: stefanzweifel/git-auto-commit-action@v4
91108
with:
92109
repository: 'release'
93-
commit_message: Releasing ${{ steps.update.outputs.updated_files }} ${{ steps.update.outputs.deleted_files }}
94-
if: github.event_name == 'push' && (steps.update.outputs.updated == 'true' || steps.update.outputs.deleted == 'true')
110+
commit_message: Releasing ${{ steps.update.outputs.updated_files }} ${{ steps.update.outputs.deleted_files }} ${{ steps.update.outputs.updated_composer_files }} ${{ steps.update.outputs.deleted_composer_files }}
111+
if: github.event_name == 'push' && (steps.update.outputs.updated == 'true' || steps.update.outputs.deleted == 'true' || steps.update.outputs.updated_composer == 'true' || steps.update.outputs.deleted_composer == 'true')
95112

96113
- uses: stefanzweifel/git-auto-commit-action@v4
97114
with:
@@ -116,3 +133,21 @@ jobs:
116133
git-user: "csl-bot"
117134
git-user-email: github@citationstyles.org
118135
git-commit-message: copied ${{ steps.update.outputs.workflows_files }} from styles
136+
137+
- name: Bump version and push tag
138+
id: tag_version
139+
uses: mathieudutour/github-tag-action@v5.6
140+
with:
141+
github_token: ${{ secrets.GITHUB_TOKEN }}
142+
default_bump: patch
143+
if: github.event_name == 'push' && hashFiles('composer.json') != '' && (steps.update.outputs.updated == 'true' || steps.update.outputs.deleted == 'true')
144+
145+
- name: Create a GitHub release
146+
uses: softprops/action-gh-release@v0.1.14
147+
env:
148+
github_token: ${{ secrets.GITHUB_TOKEN }}
149+
with:
150+
tag_name: ${{ steps.tag_version.outputs.new_tag }}
151+
name: Release ${{ steps.tag_version.outputs.new_tag }}
152+
body: Released ${{ steps.update.outputs.updated_files }} ${{ steps.update.outputs.deleted_files }} ${{ steps.update.outputs.updated_composer_files }} ${{ steps.update.outputs.deleted_composer_files }}
153+
if: github.event_name == 'push' && hashFiles('composer.json') != '' && (steps.update.outputs.updated == 'true' || steps.update.outputs.deleted == 'true')
+267
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,267 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" page-range-format="expanded" initialize-with-hyphen="false" default-locale="en-US">
3+
<info>
4+
<title>Annals of Allergy, Asthma &amp; Immunology</title>
5+
<id>http://www.zotero.org/styles/annals-of-allergy-asthma-and-immunology</id>
6+
<link href="http://www.zotero.org/styles/annals-of-allergy-asthma-and-immunology" rel="self"/>
7+
<link href="https://www.elsevier.com/journals/annals-of-allergy-asthma-and-immunology/1081-1206/guide-for-authors#References" rel="documentation"/>
8+
<link href="http://www.zotero.org/styles/american-medical-association" rel="template"/>
9+
<author>
10+
<name>Patrick O'Brien</name>
11+
</author>
12+
<category citation-format="numeric"/>
13+
<category field="medicine"/>
14+
<issn>1081-1206</issn>
15+
<eissn>1534-4436</eissn>
16+
<summary>AMA style with et-al set to 6/7</summary>
17+
<updated>2022-04-28T08:17:08+00:00</updated>
18+
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
19+
</info>
20+
<locale xml:lang="en">
21+
<terms>
22+
<term name="page-range-delimiter">-</term>
23+
<term name="presented at">presented at</term>
24+
</terms>
25+
</locale>
26+
<macro name="editor">
27+
<names variable="editor">
28+
<name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
29+
<label form="short" prefix=", "/>
30+
</names>
31+
</macro>
32+
<macro name="author">
33+
<group suffix=".">
34+
<names variable="author">
35+
<name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
36+
<label form="short" prefix=", "/>
37+
<substitute>
38+
<names variable="editor"/>
39+
<text macro="title"/>
40+
</substitute>
41+
</names>
42+
</group>
43+
</macro>
44+
<macro name="access">
45+
<choose>
46+
<if type="article-newspaper" match="none">
47+
<choose>
48+
<if variable="DOI">
49+
<text value="doi:"/>
50+
<text variable="DOI"/>
51+
</if>
52+
<else-if variable="URL">
53+
<group delimiter=". ">
54+
<choose>
55+
<if type="webpage post post-weblog" match="any">
56+
<date variable="issued" prefix="Published " form="text"/>
57+
</if>
58+
</choose>
59+
<group>
60+
<text term="accessed" text-case="capitalize-first" suffix=" "/>
61+
<date variable="accessed">
62+
<date-part name="month" suffix=" "/>
63+
<date-part name="day" suffix=", "/>
64+
<date-part name="year"/>
65+
</date>
66+
</group>
67+
<text variable="URL"/>
68+
</group>
69+
</else-if>
70+
</choose>
71+
</if>
72+
</choose>
73+
</macro>
74+
<macro name="title">
75+
<choose>
76+
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
77+
<text variable="title" font-style="italic" text-case="title"/>
78+
</if>
79+
<else>
80+
<text variable="title"/>
81+
</else>
82+
</choose>
83+
</macro>
84+
<macro name="publisher">
85+
<text variable="publisher"/>
86+
</macro>
87+
<macro name="edition">
88+
<choose>
89+
<if is-numeric="edition">
90+
<group delimiter=" ">
91+
<number variable="edition" form="ordinal"/>
92+
<text term="edition" form="short"/>
93+
</group>
94+
</if>
95+
<else>
96+
<text variable="edition" suffix="."/>
97+
</else>
98+
</choose>
99+
</macro>
100+
<citation collapse="citation-number">
101+
<sort>
102+
<key variable="citation-number"/>
103+
</sort>
104+
<layout delimiter="," vertical-align="sup">
105+
<text variable="citation-number"/>
106+
<group prefix="(" suffix=")">
107+
<label variable="locator" form="short" strip-periods="true"/>
108+
<text variable="locator"/>
109+
</group>
110+
</layout>
111+
</citation>
112+
<bibliography hanging-indent="false" et-al-min="7" et-al-use-first="6" second-field-align="flush">
113+
<layout>
114+
<text variable="citation-number" suffix=". "/>
115+
<text macro="author"/>
116+
<text macro="title" prefix=" " suffix="."/>
117+
<choose>
118+
<if type="bill book graphic legislation motion_picture report song" match="any">
119+
<group suffix="." prefix=" " delimiter=" ">
120+
<group delimiter=" ">
121+
<text term="volume" form="short" text-case="capitalize-first" strip-periods="true"/>
122+
<text variable="volume" suffix="."/>
123+
</group>
124+
<text macro="edition"/>
125+
<text macro="editor" prefix="(" suffix=")"/>
126+
</group>
127+
<text macro="publisher" prefix=" "/>
128+
<group suffix="." prefix="; ">
129+
<date variable="issued">
130+
<date-part name="year"/>
131+
</date>
132+
<text variable="page" prefix=":"/>
133+
</group>
134+
</if>
135+
<else-if type="chapter paper-conference entry-dictionary entry-encyclopedia" match="any">
136+
<group prefix=" " delimiter=" ">
137+
<text term="in" text-case="capitalize-first" suffix=":"/>
138+
<text macro="editor"/>
139+
<text variable="container-title" font-style="italic" suffix="." text-case="title"/>
140+
<group delimiter=" ">
141+
<text term="volume" form="short" text-case="capitalize-first" strip-periods="true"/>
142+
<text variable="volume" suffix="."/>
143+
</group>
144+
<text macro="edition"/>
145+
<text variable="collection-title" suffix="."/>
146+
<group suffix=".">
147+
<text macro="publisher"/>
148+
<group suffix="." prefix="; ">
149+
<date variable="issued">
150+
<date-part name="year"/>
151+
</date>
152+
<text variable="page" prefix=":"/>
153+
</group>
154+
</group>
155+
</group>
156+
</else-if>
157+
<else-if type="article-newspaper">
158+
<text variable="container-title" font-style="italic" prefix=" " suffix=". "/>
159+
<choose>
160+
<if variable="URL">
161+
<group delimiter=". " suffix=".">
162+
<text variable="URL"/>
163+
<group prefix="Published ">
164+
<date variable="issued">
165+
<date-part name="month" suffix=" "/>
166+
<date-part name="day" suffix=", "/>
167+
<date-part name="year"/>
168+
</date>
169+
</group>
170+
<group>
171+
<text term="accessed" text-case="capitalize-first" suffix=" "/>
172+
<date variable="accessed">
173+
<date-part name="month" suffix=" "/>
174+
<date-part name="day" suffix=", "/>
175+
<date-part name="year"/>
176+
</date>
177+
</group>
178+
</group>
179+
</if>
180+
<else>
181+
<group delimiter=":" suffix=".">
182+
<group>
183+
<date variable="issued">
184+
<date-part name="month" suffix=" "/>
185+
<date-part name="day" suffix=", "/>
186+
<date-part name="year"/>
187+
</date>
188+
</group>
189+
<text variable="page"/>
190+
</group>
191+
</else>
192+
</choose>
193+
</else-if>
194+
<else-if type="legal_case">
195+
<group suffix="," prefix=" " delimiter=" ">
196+
<text macro="editor" prefix="(" suffix=")"/>
197+
</group>
198+
<group prefix=" " delimiter=" ">
199+
<text variable="container-title"/>
200+
<text variable="volume"/>
201+
</group>
202+
<text variable="page" prefix=", " suffix=" "/>
203+
<group prefix="(" suffix=")." delimiter=" ">
204+
<text variable="authority"/>
205+
<date variable="issued">
206+
<date-part name="year"/>
207+
</date>
208+
</group>
209+
</else-if>
210+
<else-if type="webpage post post-weblog" match="any">
211+
<text variable="container-title" prefix=" " suffix="."/>
212+
</else-if>
213+
<else-if type="speech">
214+
<group prefix=" " suffix=":">
215+
<choose>
216+
<if variable="genre">
217+
<text variable="genre" suffix=" "/>
218+
<text term="presented at"/>
219+
</if>
220+
<else>
221+
<text term="presented at" text-case="capitalize-first"/>
222+
</else>
223+
</choose>
224+
</group>
225+
<group delimiter="; " prefix=" " suffix=".">
226+
<text variable="event"/>
227+
<group>
228+
<date delimiter=" " variable="issued">
229+
<date-part name="month"/>
230+
<date-part name="day" suffix=","/>
231+
<date-part name="year"/>
232+
</date>
233+
</group>
234+
<text variable="event-place"/>
235+
</group>
236+
</else-if>
237+
<else>
238+
<text macro="editor" prefix=" " suffix="."/>
239+
<group prefix=" " suffix=".">
240+
<text variable="container-title" font-style="italic" form="short" strip-periods="true" suffix="."/>
241+
<group delimiter=";" prefix=" ">
242+
<choose>
243+
<if variable="issue volume" match="any">
244+
<date variable="issued">
245+
<date-part name="year"/>
246+
</date>
247+
</if>
248+
<else>
249+
<group delimiter=" ">
250+
<text value="Published online"/>
251+
<date form="text" date-parts="year-month-day" variable="issued"/>
252+
</group>
253+
</else>
254+
</choose>
255+
<group>
256+
<text variable="volume"/>
257+
<text variable="issue" prefix="(" suffix=")"/>
258+
</group>
259+
</group>
260+
<text variable="page" prefix=":"/>
261+
</group>
262+
</else>
263+
</choose>
264+
<text prefix=" " macro="access"/>
265+
</layout>
266+
</bibliography>
267+
</style>

associacao-brasileira-de-normas-tecnicas.csl

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ tendo as inicias separadas por ponto.-->
8282
<name-part name="family" text-case="uppercase"/>
8383
<name-part name="given" text-case="uppercase"/>
8484
</name>
85-
<label form="short" prefix=" (" suffix=".). " text-case="capitalize-first"/>
85+
<label form="short" prefix=" (" suffix=".)" text-case="capitalize-first"/>
8686
<substitute>
8787
<names variable="editor"/>
8888
<names variable="collection-editor"/>
@@ -613,7 +613,7 @@ em caixa alta. Utiliza-se antes do nome da conferencia a expressao "In". Segundo
613613
<else>
614614
<text macro="author" suffix=". "/>
615615
<!--Autor-->
616-
<text macro="title"/>
616+
<text macro="title" suffix=". "/>
617617
<!--Titulo-->
618618
<text macro="container-contributors"/>
619619
<!--Nomes de editore-->

0 commit comments

Comments
 (0)