commonmeta-py 0.18__py3-none-any.whl → 0.20__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. commonmeta_py/__init__.py +2 -0
  2. {commonmeta_py-0.18.dist-info → commonmeta_py-0.20.dist-info}/METADATA +45 -56
  3. commonmeta_py-0.20.dist-info/RECORD +5 -0
  4. {commonmeta_py-0.18.dist-info → commonmeta_py-0.20.dist-info}/WHEEL +1 -1
  5. commonmeta/__init__.py +0 -96
  6. commonmeta/api_utils.py +0 -77
  7. commonmeta/author_utils.py +0 -261
  8. commonmeta/base_utils.py +0 -121
  9. commonmeta/cli.py +0 -200
  10. commonmeta/constants.py +0 -576
  11. commonmeta/crossref_utils.py +0 -577
  12. commonmeta/date_utils.py +0 -193
  13. commonmeta/doi_utils.py +0 -260
  14. commonmeta/metadata.py +0 -317
  15. commonmeta/readers/__init__.py +0 -1
  16. commonmeta/readers/bibtex_reader.py +0 -0
  17. commonmeta/readers/cff_reader.py +0 -199
  18. commonmeta/readers/codemeta_reader.py +0 -112
  19. commonmeta/readers/commonmeta_reader.py +0 -13
  20. commonmeta/readers/crossref_reader.py +0 -409
  21. commonmeta/readers/crossref_xml_reader.py +0 -505
  22. commonmeta/readers/csl_reader.py +0 -98
  23. commonmeta/readers/datacite_reader.py +0 -384
  24. commonmeta/readers/datacite_xml_reader.py +0 -357
  25. commonmeta/readers/inveniordm_reader.py +0 -199
  26. commonmeta/readers/json_feed_reader.py +0 -421
  27. commonmeta/readers/kbase_reader.py +0 -205
  28. commonmeta/readers/ris_reader.py +0 -103
  29. commonmeta/readers/schema_org_reader.py +0 -493
  30. commonmeta/resources/cff_v1.2.0.json +0 -1827
  31. commonmeta/resources/commonmeta_v0.12.json +0 -601
  32. commonmeta/resources/commonmeta_v0.13.json +0 -559
  33. commonmeta/resources/commonmeta_v0.14.json +0 -573
  34. commonmeta/resources/crossref/AccessIndicators.xsd +0 -47
  35. commonmeta/resources/crossref/JATS-journalpublishing1-3d2-mathml3-elements.xsd +0 -10130
  36. commonmeta/resources/crossref/JATS-journalpublishing1-3d2-mathml3.xsd +0 -48
  37. commonmeta/resources/crossref/JATS-journalpublishing1-elements.xsd +0 -8705
  38. commonmeta/resources/crossref/JATS-journalpublishing1-mathml3-elements.xsd +0 -8608
  39. commonmeta/resources/crossref/JATS-journalpublishing1-mathml3.xsd +0 -49
  40. commonmeta/resources/crossref/JATS-journalpublishing1.xsd +0 -6176
  41. commonmeta/resources/crossref/clinicaltrials.xsd +0 -61
  42. commonmeta/resources/crossref/common5.3.1.xsd +0 -1538
  43. commonmeta/resources/crossref/crossref5.3.1.xsd +0 -1949
  44. commonmeta/resources/crossref/crossref_query_output3.0.xsd +0 -1097
  45. commonmeta/resources/crossref/fundref.xsd +0 -49
  46. commonmeta/resources/crossref/module-ali.xsd +0 -39
  47. commonmeta/resources/crossref/relations.xsd +0 -444
  48. commonmeta/resources/crossref-v0.2.json +0 -60
  49. commonmeta/resources/csl-data.json +0 -538
  50. commonmeta/resources/datacite-v4.5.json +0 -829
  51. commonmeta/resources/ietf-bcp-47.json +0 -3025
  52. commonmeta/resources/iso-8601.json +0 -3182
  53. commonmeta/resources/spdx/licenses.json +0 -4851
  54. commonmeta/resources/spdx-schema..json +0 -903
  55. commonmeta/resources/styles/apa.csl +0 -1697
  56. commonmeta/resources/styles/chicago-author-date.csl +0 -684
  57. commonmeta/resources/styles/harvard-cite-them-right.csl +0 -321
  58. commonmeta/resources/styles/ieee.csl +0 -468
  59. commonmeta/resources/styles/modern-language-association.csl +0 -341
  60. commonmeta/resources/styles/vancouver.csl +0 -376
  61. commonmeta/schema_utils.py +0 -27
  62. commonmeta/translators.py +0 -47
  63. commonmeta/utils.py +0 -1075
  64. commonmeta/writers/__init__.py +0 -1
  65. commonmeta/writers/bibtex_writer.py +0 -149
  66. commonmeta/writers/citation_writer.py +0 -70
  67. commonmeta/writers/commonmeta_writer.py +0 -68
  68. commonmeta/writers/crossref_xml_writer.py +0 -17
  69. commonmeta/writers/csl_writer.py +0 -78
  70. commonmeta/writers/datacite_writer.py +0 -190
  71. commonmeta/writers/ris_writer.py +0 -58
  72. commonmeta/writers/schema_org_writer.py +0 -146
  73. commonmeta_py-0.18.dist-info/RECORD +0 -73
  74. commonmeta_py-0.18.dist-info/entry_points.txt +0 -3
  75. {commonmeta_py-0.18.dist-info → commonmeta_py-0.20.dist-info/licenses}/LICENSE +0 -0
@@ -1,684 +0,0 @@
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="display-and-sort" page-range-format="chicago">
3
- <info>
4
- <title>Chicago Manual of Style 17th edition (author-date)</title>
5
- <id>http://www.zotero.org/styles/chicago-author-date</id>
6
- <link href="http://www.zotero.org/styles/chicago-author-date" rel="self"/>
7
- <link href="http://www.chicagomanualofstyle.org/tools_citationguide.html" rel="documentation"/>
8
- <author>
9
- <name>Julian Onions</name>
10
- <email>julian.onions@gmail.com</email>
11
- </author>
12
- <contributor>
13
- <name>Sebastian Karcher</name>
14
- </contributor>
15
- <contributor>
16
- <name>Richard Karnesky</name>
17
- <email>karnesky+zotero@gmail.com</email>
18
- <uri>http://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
19
- </contributor>
20
- <contributor>
21
- <name>Andrew Dunning</name>
22
- <uri>https://orcid.org/0000-0003-0464-5036</uri>
23
- </contributor>
24
- <contributor>
25
- <name>Matthew Roth</name>
26
- <email>matthew.g.roth@yale.edu</email>
27
- <uri> https://orcid.org/0000-0001-7902-6331</uri>
28
- </contributor>
29
- <contributor>
30
- <name>Brenton M. Wiernik</name>
31
- </contributor>
32
- <category citation-format="author-date"/>
33
- <category field="generic-base"/>
34
- <summary>The author-date variant of the Chicago style</summary>
35
- <updated>2018-01-24T12:00:00+00:00</updated>
36
- <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
37
- </info>
38
- <locale xml:lang="en">
39
- <terms>
40
- <term name="editor" form="verb-short">ed.</term>
41
- <term name="container-author" form="verb">by</term>
42
- <term name="translator" form="verb-short">trans.</term>
43
- <term name="editortranslator" form="verb">edited and translated by</term>
44
- <term name="translator" form="short">trans.</term>
45
- </terms>
46
- </locale>
47
- <locale xml:lang="pt-PT">
48
- <terms>
49
- <term name="accessed">acedido a</term>
50
- </terms>
51
- </locale>
52
- <locale xml:lang="pt">
53
- <terms>
54
- <term name="editor" form="verb">editado por</term>
55
- <term name="editor" form="verb-short">ed.</term>
56
- <term name="container-author" form="verb">por</term>
57
- <term name="translator" form="verb-short">traduzido por</term>
58
- <term name="translator" form="short">trad.</term>
59
- <term name="editortranslator" form="verb">editado e traduzido por</term>
60
- <term name="and">e</term>
61
- <term name="no date" form="long">s.d</term>
62
- <term name="no date" form="short">s.d.</term>
63
- <term name="in">em</term>
64
- <term name="at">em</term>
65
- <term name="by">por</term>
66
- </terms>
67
- </locale>
68
- <macro name="secondary-contributors">
69
- <choose>
70
- <if type="chapter entry-dictionary entry-encyclopedia paper-conference" match="none">
71
- <group delimiter=". ">
72
- <names variable="editor translator" delimiter=". ">
73
- <label form="verb" text-case="capitalize-first" suffix=" "/>
74
- <name and="text" delimiter=", "/>
75
- </names>
76
- <names variable="director" delimiter=". ">
77
- <label form="verb" text-case="capitalize-first" suffix=" "/>
78
- <name and="text" delimiter=", "/>
79
- </names>
80
- </group>
81
- </if>
82
- </choose>
83
- </macro>
84
- <macro name="container-contributors">
85
- <choose>
86
- <if type="chapter entry-dictionary entry-encyclopedia paper-conference" match="any">
87
- <group prefix=", " delimiter=", ">
88
- <names variable="container-author" delimiter=", ">
89
- <label form="verb" suffix=" "/>
90
- <name and="text" delimiter=", "/>
91
- </names>
92
- <names variable="editor translator" delimiter=", ">
93
- <label form="verb" suffix=" "/>
94
- <name and="text" delimiter=", "/>
95
- </names>
96
- </group>
97
- </if>
98
- </choose>
99
- </macro>
100
- <macro name="editor">
101
- <names variable="editor">
102
- <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
103
- <label form="short" prefix=", "/>
104
- </names>
105
- </macro>
106
- <macro name="translator">
107
- <names variable="translator">
108
- <name name-as-sort-order="first" and="text" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
109
- <label form="short" prefix=", "/>
110
- </names>
111
- </macro>
112
- <macro name="recipient">
113
- <choose>
114
- <if type="personal_communication">
115
- <choose>
116
- <if variable="genre">
117
- <text variable="genre" text-case="capitalize-first"/>
118
- </if>
119
- <else>
120
- <text term="letter" text-case="capitalize-first"/>
121
- </else>
122
- </choose>
123
- </if>
124
- </choose>
125
- <names variable="recipient" delimiter=", ">
126
- <label form="verb" prefix=" " text-case="lowercase" suffix=" "/>
127
- <name and="text" delimiter=", "/>
128
- </names>
129
- </macro>
130
- <macro name="substitute-title">
131
- <choose>
132
- <if type="article-magazine article-newspaper review review-book" match="any">
133
- <text macro="container-title"/>
134
- </if>
135
- </choose>
136
- </macro>
137
- <macro name="contributors">
138
- <group delimiter=". ">
139
- <names variable="author">
140
- <name and="text" name-as-sort-order="first" sort-separator=", " delimiter=", " delimiter-precedes-last="always"/>
141
- <label form="short" prefix=", "/>
142
- <substitute>
143
- <names variable="editor"/>
144
- <names variable="translator"/>
145
- <names variable="director"/>
146
- <text macro="substitute-title"/>
147
- <text macro="title"/>
148
- </substitute>
149
- </names>
150
- <text macro="recipient"/>
151
- </group>
152
- </macro>
153
- <macro name="contributors-short">
154
- <names variable="author">
155
- <name form="short" and="text" delimiter=", " initialize-with=". "/>
156
- <substitute>
157
- <names variable="editor"/>
158
- <names variable="translator"/>
159
- <names variable="director"/>
160
- <text macro="substitute-title"/>
161
- <text macro="title"/>
162
- </substitute>
163
- </names>
164
- </macro>
165
- <macro name="interviewer">
166
- <names variable="interviewer" delimiter=", ">
167
- <label form="verb" prefix=" " text-case="capitalize-first" suffix=" "/>
168
- <name and="text" delimiter=", "/>
169
- </names>
170
- </macro>
171
- <macro name="archive">
172
- <group delimiter=". ">
173
- <text variable="archive_location" text-case="capitalize-first"/>
174
- <text variable="archive"/>
175
- <text variable="archive-place"/>
176
- </group>
177
- </macro>
178
- <macro name="access">
179
- <group delimiter=". ">
180
- <choose>
181
- <if type="graphic report" match="any">
182
- <text macro="archive"/>
183
- </if>
184
- <else-if type="article-journal bill book chapter legal_case legislation motion_picture paper-conference" match="none">
185
- <text macro="archive"/>
186
- </else-if>
187
- </choose>
188
- <choose>
189
- <if type="webpage post-weblog" match="any">
190
- <date variable="issued" form="text"/>
191
- </if>
192
- </choose>
193
- <choose>
194
- <if variable="issued" match="none">
195
- <group delimiter=" ">
196
- <text term="accessed" text-case="capitalize-first"/>
197
- <date variable="accessed" form="text"/>
198
- </group>
199
- </if>
200
- </choose>
201
- <choose>
202
- <if type="legal_case" match="none">
203
- <choose>
204
- <if variable="DOI">
205
- <text variable="DOI" prefix="https://doi.org/"/>
206
- </if>
207
- <else>
208
- <text variable="URL"/>
209
- </else>
210
- </choose>
211
- </if>
212
- </choose>
213
- </group>
214
- </macro>
215
- <macro name="title">
216
- <choose>
217
- <if variable="title" match="none">
218
- <choose>
219
- <if type="personal_communication speech thesis" match="none">
220
- <text variable="genre" text-case="capitalize-first"/>
221
- </if>
222
- </choose>
223
- </if>
224
- <else-if type="bill book graphic legislation motion_picture song" match="any">
225
- <text variable="title" text-case="title" font-style="italic"/>
226
- <group prefix=" (" suffix=")" delimiter=" ">
227
- <text term="version"/>
228
- <text variable="version"/>
229
- </group>
230
- </else-if>
231
- <else-if variable="reviewed-author">
232
- <choose>
233
- <if variable="reviewed-title">
234
- <group delimiter=". ">
235
- <text variable="title" text-case="title" quotes="true"/>
236
- <group delimiter=", ">
237
- <text variable="reviewed-title" text-case="title" font-style="italic" prefix="Review of "/>
238
- <names variable="reviewed-author">
239
- <label form="verb-short" text-case="lowercase" suffix=" "/>
240
- <name and="text" delimiter=", "/>
241
- </names>
242
- </group>
243
- </group>
244
- </if>
245
- <else>
246
- <group delimiter=", ">
247
- <text variable="title" text-case="title" font-style="italic" prefix="Review of "/>
248
- <names variable="reviewed-author">
249
- <label form="verb-short" text-case="lowercase" suffix=" "/>
250
- <name and="text" delimiter=", "/>
251
- </names>
252
- </group>
253
- </else>
254
- </choose>
255
- </else-if>
256
- <else-if type="legal_case interview patent" match="any">
257
- <text variable="title"/>
258
- </else-if>
259
- <else>
260
- <text variable="title" text-case="title" quotes="true"/>
261
- </else>
262
- </choose>
263
- </macro>
264
- <macro name="edition">
265
- <choose>
266
- <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
267
- <choose>
268
- <if is-numeric="edition">
269
- <group delimiter=" " prefix=". ">
270
- <number variable="edition" form="ordinal"/>
271
- <text term="edition" form="short" strip-periods="true"/>
272
- </group>
273
- </if>
274
- <else>
275
- <text variable="edition" text-case="capitalize-first" prefix=". "/>
276
- </else>
277
- </choose>
278
- </if>
279
- <else-if type="chapter entry-dictionary entry-encyclopedia paper-conference" match="any">
280
- <choose>
281
- <if is-numeric="edition">
282
- <group delimiter=" " prefix=", ">
283
- <number variable="edition" form="ordinal"/>
284
- <text term="edition" form="short"/>
285
- </group>
286
- </if>
287
- <else>
288
- <text variable="edition" prefix=", "/>
289
- </else>
290
- </choose>
291
- </else-if>
292
- </choose>
293
- </macro>
294
- <macro name="locators">
295
- <choose>
296
- <if type="article-journal">
297
- <choose>
298
- <if variable="volume">
299
- <text variable="volume" prefix=" "/>
300
- <group prefix=" (" suffix=")">
301
- <choose>
302
- <if variable="issue">
303
- <text variable="issue"/>
304
- </if>
305
- <else>
306
- <date variable="issued">
307
- <date-part name="month"/>
308
- </date>
309
- </else>
310
- </choose>
311
- </group>
312
- </if>
313
- <else-if variable="issue">
314
- <group delimiter=" " prefix=", ">
315
- <text term="issue" form="short"/>
316
- <text variable="issue"/>
317
- <date variable="issued" prefix="(" suffix=")">
318
- <date-part name="month"/>
319
- </date>
320
- </group>
321
- </else-if>
322
- <else>
323
- <date variable="issued" prefix=", ">
324
- <date-part name="month"/>
325
- </date>
326
- </else>
327
- </choose>
328
- </if>
329
- <else-if type="legal_case">
330
- <text variable="volume" prefix=", "/>
331
- <text variable="container-title" prefix=" "/>
332
- <text variable="page" prefix=" "/>
333
- </else-if>
334
- <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
335
- <group prefix=". " delimiter=". ">
336
- <group>
337
- <text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
338
- <number variable="volume" form="numeric"/>
339
- </group>
340
- <group>
341
- <number variable="number-of-volumes" form="numeric"/>
342
- <text term="volume" form="short" prefix=" " plural="true"/>
343
- </group>
344
- </group>
345
- </else-if>
346
- <else-if type="chapter entry-dictionary entry-encyclopedia paper-conference" match="any">
347
- <choose>
348
- <if variable="page" match="none">
349
- <group prefix=". ">
350
- <text term="volume" form="short" text-case="capitalize-first" suffix=" "/>
351
- <number variable="volume" form="numeric"/>
352
- </group>
353
- </if>
354
- </choose>
355
- </else-if>
356
- </choose>
357
- </macro>
358
- <macro name="locators-chapter">
359
- <choose>
360
- <if type="chapter entry-dictionary entry-encyclopedia paper-conference" match="any">
361
- <choose>
362
- <if variable="page">
363
- <group prefix=", ">
364
- <text variable="volume" suffix=":"/>
365
- <text variable="page"/>
366
- </group>
367
- </if>
368
- </choose>
369
- </if>
370
- </choose>
371
- </macro>
372
- <macro name="locators-article">
373
- <choose>
374
- <if type="article-newspaper">
375
- <group prefix=", " delimiter=", ">
376
- <group delimiter=" ">
377
- <text variable="edition"/>
378
- <text term="edition"/>
379
- </group>
380
- <group>
381
- <text term="section" form="short" suffix=" "/>
382
- <text variable="section"/>
383
- </group>
384
- </group>
385
- </if>
386
- <else-if type="article-journal">
387
- <choose>
388
- <if variable="volume issue" match="any">
389
- <text variable="page" prefix=": "/>
390
- </if>
391
- <else>
392
- <text variable="page" prefix=", "/>
393
- </else>
394
- </choose>
395
- </else-if>
396
- </choose>
397
- </macro>
398
- <macro name="point-locators">
399
- <choose>
400
- <if variable="locator">
401
- <choose>
402
- <if locator="page" match="none">
403
- <choose>
404
- <if type="bill book graphic legal_case legislation motion_picture report song" match="any">
405
- <choose>
406
- <if variable="volume">
407
- <group>
408
- <text term="volume" form="short" suffix=" "/>
409
- <number variable="volume" form="numeric"/>
410
- <label variable="locator" form="short" prefix=", " suffix=" "/>
411
- </group>
412
- </if>
413
- <else>
414
- <label variable="locator" form="short" suffix=" "/>
415
- </else>
416
- </choose>
417
- </if>
418
- <else>
419
- <label variable="locator" form="short" suffix=" "/>
420
- </else>
421
- </choose>
422
- </if>
423
- <else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
424
- <number variable="volume" form="numeric" suffix=":"/>
425
- </else-if>
426
- </choose>
427
- <text variable="locator"/>
428
- </if>
429
- </choose>
430
- </macro>
431
- <macro name="container-prefix">
432
- <text term="in" text-case="capitalize-first"/>
433
- </macro>
434
- <macro name="container-title">
435
- <choose>
436
- <if type="chapter entry-dictionary entry-encyclopedia paper-conference" match="any">
437
- <text macro="container-prefix" suffix=" "/>
438
- </if>
439
- </choose>
440
- <choose>
441
- <if type="webpage">
442
- <text variable="container-title" text-case="title"/>
443
- </if>
444
- <else-if type="legal_case" match="none">
445
- <group delimiter=" ">
446
- <text variable="container-title" text-case="title" font-style="italic"/>
447
- <choose>
448
- <if type="post-weblog">
449
- <text value="(blog)"/>
450
- </if>
451
- </choose>
452
- </group>
453
- </else-if>
454
- </choose>
455
- </macro>
456
- <macro name="publisher">
457
- <group delimiter=": ">
458
- <text variable="publisher-place"/>
459
- <text variable="publisher"/>
460
- </group>
461
- </macro>
462
- <macro name="date">
463
- <choose>
464
- <if variable="issued">
465
- <group delimiter=" ">
466
- <date variable="original-date" form="text" date-parts="year" prefix="(" suffix=")"/>
467
- <date variable="issued">
468
- <date-part name="year"/>
469
- </date>
470
- </group>
471
- <text variable="year-suffix"/>
472
- </if>
473
- <else-if variable="status">
474
- <text variable="status" text-case="capitalize-first"/>
475
- <text variable="year-suffix" prefix="-"/>
476
- </else-if>
477
- <else>
478
- <text term="no date" form="short"/>
479
- <text variable="year-suffix" prefix="-"/>
480
- </else>
481
- </choose>
482
- </macro>
483
- <macro name="date-in-text">
484
- <choose>
485
- <if variable="issued">
486
- <group delimiter=" ">
487
- <date variable="original-date" form="text" date-parts="year" prefix="[" suffix="]"/>
488
- <date variable="issued">
489
- <date-part name="year"/>
490
- </date>
491
- </group>
492
- <text variable="year-suffix"/>
493
- </if>
494
- <else-if variable="status">
495
- <text variable="status"/>
496
- <text variable="year-suffix" prefix="-"/>
497
- </else-if>
498
- <else>
499
- <text term="no date" form="short"/>
500
- <text variable="year-suffix" prefix="-"/>
501
- </else>
502
- </choose>
503
- </macro>
504
- <macro name="day-month">
505
- <date variable="issued">
506
- <date-part name="month"/>
507
- <date-part name="day" prefix=" "/>
508
- </date>
509
- </macro>
510
- <macro name="collection-title">
511
- <choose>
512
- <if match="none" type="article-journal">
513
- <choose>
514
- <if match="none" is-numeric="collection-number">
515
- <group delimiter=", ">
516
- <text variable="collection-title" text-case="title"/>
517
- <text variable="collection-number"/>
518
- </group>
519
- </if>
520
- <else>
521
- <group delimiter=" ">
522
- <text variable="collection-title" text-case="title"/>
523
- <text variable="collection-number"/>
524
- </group>
525
- </else>
526
- </choose>
527
- </if>
528
- </choose>
529
- </macro>
530
- <macro name="collection-title-journal">
531
- <choose>
532
- <if type="article-journal">
533
- <group delimiter=" ">
534
- <text variable="collection-title"/>
535
- <text variable="collection-number"/>
536
- </group>
537
- </if>
538
- </choose>
539
- </macro>
540
- <macro name="event">
541
- <group delimiter=" ">
542
- <choose>
543
- <if variable="genre">
544
- <text term="presented at"/>
545
- </if>
546
- <else>
547
- <text term="presented at" text-case="capitalize-first"/>
548
- </else>
549
- </choose>
550
- <text variable="event"/>
551
- </group>
552
- </macro>
553
- <macro name="description">
554
- <choose>
555
- <if variable="interviewer" type="interview" match="any">
556
- <group delimiter=". ">
557
- <text macro="interviewer"/>
558
- <text variable="medium" text-case="capitalize-first"/>
559
- </group>
560
- </if>
561
- <else-if type="patent">
562
- <group delimiter=" " prefix=". ">
563
- <text variable="authority"/>
564
- <text variable="number"/>
565
- </group>
566
- </else-if>
567
- <else>
568
- <text variable="medium" text-case="capitalize-first" prefix=". "/>
569
- </else>
570
- </choose>
571
- <choose>
572
- <if variable="title" match="none"/>
573
- <else-if type="thesis personal_communication speech" match="any"/>
574
- <else>
575
- <group delimiter=" " prefix=". ">
576
- <text variable="genre" text-case="capitalize-first"/>
577
- <choose>
578
- <if type="report">
579
- <text variable="number"/>
580
- </if>
581
- </choose>
582
- </group>
583
- </else>
584
- </choose>
585
- </macro>
586
- <macro name="issue">
587
- <choose>
588
- <if type="legal_case">
589
- <text variable="authority" prefix=". "/>
590
- </if>
591
- <else-if type="speech">
592
- <group prefix=". " delimiter=", ">
593
- <group delimiter=" ">
594
- <text variable="genre" text-case="capitalize-first"/>
595
- <text macro="event"/>
596
- </group>
597
- <text variable="event-place"/>
598
- <text macro="day-month"/>
599
- </group>
600
- </else-if>
601
- <else-if type="article-newspaper article-magazine personal_communication" match="any">
602
- <date variable="issued" form="text" prefix=", "/>
603
- </else-if>
604
- <else-if type="patent">
605
- <group delimiter=", " prefix=", ">
606
- <group delimiter=" ">
607
- <!--Needs Localization-->
608
- <text value="filed"/>
609
- <date variable="submitted" form="text"/>
610
- </group>
611
- <group delimiter=" ">
612
- <choose>
613
- <if variable="issued submitted" match="all">
614
- <text term="and"/>
615
- </if>
616
- </choose>
617
- <!--Needs Localization-->
618
- <text value="issued"/>
619
- <date variable="issued" form="text"/>
620
- </group>
621
- </group>
622
- </else-if>
623
- <else-if type="article-journal" match="any"/>
624
- <else>
625
- <group prefix=". " delimiter=", ">
626
- <choose>
627
- <if type="thesis">
628
- <text variable="genre" text-case="capitalize-first"/>
629
- </if>
630
- </choose>
631
- <text macro="publisher"/>
632
- </group>
633
- </else>
634
- </choose>
635
- </macro>
636
- <citation et-al-min="4" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" disambiguate-add-givenname="true" givenname-disambiguation-rule="primary-name" collapse="year" after-collapse-delimiter="; ">
637
- <layout prefix="(" suffix=")" delimiter="; ">
638
- <group delimiter=", ">
639
- <choose>
640
- <if variable="issued" match="any">
641
- <group delimiter=" ">
642
- <text macro="contributors-short"/>
643
- <text macro="date-in-text"/>
644
- </group>
645
- </if>
646
- <!---comma before forthcoming and n.d.-->
647
- <else>
648
- <group delimiter=", ">
649
- <text macro="contributors-short"/>
650
- <text macro="date-in-text"/>
651
- </group>
652
- </else>
653
- </choose>
654
- <text macro="point-locators"/>
655
- </group>
656
- </layout>
657
- </citation>
658
- <bibliography hanging-indent="true" et-al-min="11" et-al-use-first="7" subsequent-author-substitute="&#8212;&#8212;&#8212;" entry-spacing="0">
659
- <sort>
660
- <key macro="contributors"/>
661
- <key variable="issued"/>
662
- <key variable="title"/>
663
- </sort>
664
- <layout suffix=".">
665
- <group delimiter=". ">
666
- <text macro="contributors"/>
667
- <text macro="date"/>
668
- <text macro="title"/>
669
- </group>
670
- <text macro="description"/>
671
- <text macro="secondary-contributors" prefix=". "/>
672
- <text macro="container-title" prefix=". "/>
673
- <text macro="container-contributors"/>
674
- <text macro="edition"/>
675
- <text macro="locators-chapter"/>
676
- <text macro="collection-title-journal" prefix=", " suffix=", "/>
677
- <text macro="locators"/>
678
- <text macro="collection-title" prefix=". "/>
679
- <text macro="issue"/>
680
- <text macro="locators-article"/>
681
- <text macro="access" prefix=". "/>
682
- </layout>
683
- </bibliography>
684
- </style>