citeproc-ruby 0.0.4 → 0.0.5
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.
- data/lib/citeproc/version.rb +1 -1
- data/lib/csl/nodes.rb +23 -3
- data/lib/plugins/formats/default.rb +1 -1
- data/resource/locale/locales-af-ZA.xml +289 -288
- data/resource/locale/locales-ar-AR.xml +291 -289
- data/resource/locale/locales-bg-BG.xml +289 -288
- data/resource/locale/locales-ca-AD.xml +289 -288
- data/resource/locale/locales-cs-CZ.xml +288 -287
- data/resource/locale/locales-da-DK.xml +289 -288
- data/resource/locale/locales-de-AT.xml +288 -288
- data/resource/locale/locales-de-CH.xml +288 -288
- data/resource/locale/locales-de-DE.xml +314 -314
- data/resource/locale/locales-el-GR.xml +241 -239
- data/resource/locale/locales-en-GB.xml +304 -0
- data/resource/locale/locales-en-US.xml +297 -297
- data/resource/locale/locales-es-ES.xml +289 -288
- data/resource/locale/locales-et-EE.xml +287 -287
- data/resource/locale/locales-eu.xml +305 -0
- data/resource/locale/locales-fa-IR.xml +304 -0
- data/resource/locale/locales-fi-FI.xml +304 -0
- data/resource/locale/locales-fr-CA.xml +306 -0
- data/resource/locale/locales-fr-FR.xml +290 -288
- data/resource/locale/locales-he-IL.xml +288 -288
- data/resource/locale/locales-hu-HU.xml +289 -288
- data/resource/locale/locales-is-IS.xml +288 -288
- data/resource/locale/locales-it-IT.xml +289 -288
- data/resource/locale/locales-ja-JP.xml +289 -288
- data/resource/locale/locales-km-KH.xml +304 -0
- data/resource/locale/locales-ko-KR.xml +289 -288
- data/resource/locale/locales-mn-MN.xml +290 -288
- data/resource/locale/locales-nb-NO.xml +288 -288
- data/resource/locale/locales-nl-NL.xml +288 -288
- data/resource/locale/locales-nn-NO.xml +288 -288
- data/resource/locale/locales-pl-PL.xml +289 -288
- data/resource/locale/locales-pt-BR.xml +288 -288
- data/resource/locale/locales-pt-PT.xml +289 -288
- data/resource/locale/locales-ro-RO.xml +289 -288
- data/resource/locale/locales-ru-RU.xml +290 -288
- data/resource/locale/locales-sk-SK.xml +288 -288
- data/resource/locale/locales-sl-SI.xml +289 -288
- data/resource/locale/locales-sr-RS.xml +289 -288
- data/resource/locale/locales-sv-SE.xml +289 -288
- data/resource/locale/locales-th-TH.xml +288 -288
- data/resource/locale/locales-tr-TR.xml +289 -288
- data/resource/locale/locales-uk-UA.xml +290 -288
- data/resource/locale/locales-vi-VN.xml +289 -288
- data/resource/locale/locales-zh-CN.xml +288 -288
- data/resource/locale/locales-zh-TW.xml +289 -288
- data/resource/style/apa.csl +316 -127
- data/resource/style/{bibtex-x2.csl → bibtex.csl} +7 -5
- data/resource/style/chicago-annotated-bibliography.csl +513 -0
- data/resource/style/chicago-author-date-basque.csl +707 -0
- data/resource/style/chicago-author-date-de.csl +394 -0
- data/resource/style/chicago-author-date.csl +223 -167
- data/resource/style/chicago-dated-note-biblio-no-ibid.csl +472 -0
- data/resource/style/chicago-fullnote-bibliography-delimiter-fixes.csl +972 -0
- data/resource/style/chicago-fullnote-bibliography-no-ibid-delimiter-fixes.csl +963 -0
- data/resource/style/chicago-fullnote-bibliography-no-ibid.csl +785 -0
- data/resource/style/chicago-fullnote-bibliography.csl +429 -321
- data/resource/style/chicago-library-list.csl +511 -0
- data/resource/style/chicago-note-biblio-no-ibid.csl +514 -0
- data/resource/style/chicago-note-bibliography.csl +276 -192
- data/resource/style/chicago-quick-copy.csl +685 -0
- data/resource/style/ieee.csl +296 -126
- data/resource/style/mla-notes.csl +796 -0
- data/resource/style/{mla-x.csl → mla-underline.csl} +14 -17
- data/resource/style/mla-url.csl +214 -0
- data/resource/style/mla.csl +289 -84
- data/resource/style/vancouver-brackets.csl +256 -0
- data/resource/style/vancouver-superscript-bracket-only-year.csl +165 -0
- data/resource/style/vancouver-superscript.csl +256 -0
- data/resource/style/vancouver.csl +256 -0
- data/spec/citeproc/date_spec.rb +7 -3
- data/spec/citeproc/variable_spec.rb +1 -1
- data/spec/csl/style_spec.rb +2 -2
- metadata +48 -48
- data/resource/style/acta-materialia-x.csl +0 -128
- data/resource/style/advanced-engineering-materials-x.csl +0 -121
- data/resource/style/ama.csl +0 -185
- data/resource/style/ama2-x.csl +0 -179
- data/resource/style/apa-x.csl +0 -324
- data/resource/style/apsa-x.csl +0 -163
- data/resource/style/apsa.csl +0 -176
- data/resource/style/asa-x.csl +0 -203
- data/resource/style/asa.csl +0 -216
- data/resource/style/asm-journals-x.csl +0 -131
- data/resource/style/bluebook-demo-x.csl +0 -392
- data/resource/style/bluebook-demo.csl +0 -942
- data/resource/style/greek-chicago-x.csl +0 -1182
- data/resource/style/harvard1-institution-italic.csl +0 -190
- data/resource/style/harvard1.csl +0 -181
- data/resource/style/mhra-x.csl +0 -312
- data/resource/style/mhra.csl +0 -390
- data/resource/style/mhra_note_without_bibliography-x.csl +0 -330
- data/resource/style/mhra_note_without_bibliography.csl +0 -338
- data/resource/style/nature-x.csl +0 -81
- data/resource/style/nature.csl +0 -88
- data/resource/style/nlm.csl +0 -117
data/resource/style/nlm.csl
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
<style
|
|
2
|
-
xmlns="http://purl.org/net/xbiblio/csl"
|
|
3
|
-
class="in-text"
|
|
4
|
-
xml:lang="en">
|
|
5
|
-
<info>
|
|
6
|
-
<title>National Library of Medicine</title>
|
|
7
|
-
<id>http://www.zotero.org/styles/nlm</id>
|
|
8
|
-
<link href="http://www.zotero.org/styles/nlm" />
|
|
9
|
-
<author>
|
|
10
|
-
<name>Michael Berkowitz</name>
|
|
11
|
-
<email>mberkowi@gmu.edu</email>
|
|
12
|
-
</author>
|
|
13
|
-
<category term="generic-base" />
|
|
14
|
-
<category term="numeric" />
|
|
15
|
-
<updated />
|
|
16
|
-
</info>
|
|
17
|
-
<macro name="author">
|
|
18
|
-
<names suffix=". " variable="author">
|
|
19
|
-
<name delimiter=", " delimiter-precedes-last="always" initialize-with="" name-as-sort-order="all" sort-separator=" " />
|
|
20
|
-
</names>
|
|
21
|
-
</macro>
|
|
22
|
-
<macro name="editor">
|
|
23
|
-
<names suffix=", editor(s). " variable="editor">
|
|
24
|
-
<name delimiter=", " delimiter-precedes-last="always" initialize-with="" name-as-sort-order="all" sort-separator=" " />
|
|
25
|
-
</names>
|
|
26
|
-
</macro>
|
|
27
|
-
<macro name="publisher">
|
|
28
|
-
<text suffix=": " variable="publisher-place" />
|
|
29
|
-
<text suffix="; " variable="publisher" />
|
|
30
|
-
<date variable="issued">
|
|
31
|
-
<date-part name="year" suffix=". " />
|
|
32
|
-
</date>
|
|
33
|
-
</macro>
|
|
34
|
-
<macro name="access">
|
|
35
|
-
<group delimiter=" ">
|
|
36
|
-
<group delimiter=" " prefix="[" suffix="]">
|
|
37
|
-
<text term="cited" text-case="lowercase" />
|
|
38
|
-
<date suffix=" " variable="accessed">
|
|
39
|
-
<date-part name="year" />
|
|
40
|
-
<date-part form="short" name="month" prefix=" " />
|
|
41
|
-
<date-part name="day" prefix=" " />
|
|
42
|
-
</date>
|
|
43
|
-
</group>
|
|
44
|
-
<group>
|
|
45
|
-
<text value="Available from: " />
|
|
46
|
-
<text variable="URL" />
|
|
47
|
-
</group>
|
|
48
|
-
</group>
|
|
49
|
-
</macro>
|
|
50
|
-
<macro name="title">
|
|
51
|
-
<group delimiter=" ">
|
|
52
|
-
<text variable="title" />
|
|
53
|
-
<choose>
|
|
54
|
-
<if variable="URL">
|
|
55
|
-
<text prefix="[" suffix="]" term="internet" text-case="capitalize-first" />
|
|
56
|
-
</if>
|
|
57
|
-
</choose>
|
|
58
|
-
</group>
|
|
59
|
-
</macro>
|
|
60
|
-
<macro name="edition">
|
|
61
|
-
<choose>
|
|
62
|
-
<if is-numeric="edition">
|
|
63
|
-
<group delimiter=" ">
|
|
64
|
-
<number form="ordinal" variable="edition" />
|
|
65
|
-
<text form="short" suffix="." term="edition" />
|
|
66
|
-
</group>
|
|
67
|
-
</if>
|
|
68
|
-
<else>
|
|
69
|
-
<text suffix="." variable="edition" />
|
|
70
|
-
</else>
|
|
71
|
-
</choose>
|
|
72
|
-
</macro>
|
|
73
|
-
<citation
|
|
74
|
-
collapse="citation-number">
|
|
75
|
-
<sort>
|
|
76
|
-
<key variable="citation-number" />
|
|
77
|
-
</sort>
|
|
78
|
-
<layout delimiter="; " prefix="(" suffix=")">
|
|
79
|
-
<text variable="citation-number" />
|
|
80
|
-
</layout>
|
|
81
|
-
</citation>
|
|
82
|
-
<bibliography
|
|
83
|
-
second-field-align="true">
|
|
84
|
-
<layout>
|
|
85
|
-
<text suffix=". " variable="citation-number" />
|
|
86
|
-
<text macro="author" />
|
|
87
|
-
<text macro="title" suffix=". " />
|
|
88
|
-
<choose>
|
|
89
|
-
<if type="book">
|
|
90
|
-
<text macro="edition" prefix=" " suffix=" " />
|
|
91
|
-
<text macro="publisher" prefix=" " />
|
|
92
|
-
</if>
|
|
93
|
-
<else-if type="chapter">
|
|
94
|
-
<group prefix=" " suffix=". ">
|
|
95
|
-
<text suffix=": " term="in" text-case="capitalize-first" />
|
|
96
|
-
<text macro="editor" />
|
|
97
|
-
<text variable="container-title" />
|
|
98
|
-
</group>
|
|
99
|
-
<text macro="publisher" prefix=" " />
|
|
100
|
-
<text prefix=" p. " suffix="." variable="page" />
|
|
101
|
-
</else-if>
|
|
102
|
-
<else>
|
|
103
|
-
<text form="short" suffix=". " variable="container-title" />
|
|
104
|
-
<date suffix=";" variable="issued">
|
|
105
|
-
<date-part name="year" suffix=" " />
|
|
106
|
-
<date-part form="short" name="month" suffix=" " />
|
|
107
|
-
<date-part name="day" />
|
|
108
|
-
</date>
|
|
109
|
-
<text variable="volume" />
|
|
110
|
-
<text prefix="(" suffix="):" variable="issue" />
|
|
111
|
-
<text suffix="." variable="page" />
|
|
112
|
-
</else>
|
|
113
|
-
</choose>
|
|
114
|
-
<text macro="access" />
|
|
115
|
-
</layout>
|
|
116
|
-
</bibliography>
|
|
117
|
-
</style>
|