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.
Files changed (98) hide show
  1. data/lib/citeproc/version.rb +1 -1
  2. data/lib/csl/nodes.rb +23 -3
  3. data/lib/plugins/formats/default.rb +1 -1
  4. data/resource/locale/locales-af-ZA.xml +289 -288
  5. data/resource/locale/locales-ar-AR.xml +291 -289
  6. data/resource/locale/locales-bg-BG.xml +289 -288
  7. data/resource/locale/locales-ca-AD.xml +289 -288
  8. data/resource/locale/locales-cs-CZ.xml +288 -287
  9. data/resource/locale/locales-da-DK.xml +289 -288
  10. data/resource/locale/locales-de-AT.xml +288 -288
  11. data/resource/locale/locales-de-CH.xml +288 -288
  12. data/resource/locale/locales-de-DE.xml +314 -314
  13. data/resource/locale/locales-el-GR.xml +241 -239
  14. data/resource/locale/locales-en-GB.xml +304 -0
  15. data/resource/locale/locales-en-US.xml +297 -297
  16. data/resource/locale/locales-es-ES.xml +289 -288
  17. data/resource/locale/locales-et-EE.xml +287 -287
  18. data/resource/locale/locales-eu.xml +305 -0
  19. data/resource/locale/locales-fa-IR.xml +304 -0
  20. data/resource/locale/locales-fi-FI.xml +304 -0
  21. data/resource/locale/locales-fr-CA.xml +306 -0
  22. data/resource/locale/locales-fr-FR.xml +290 -288
  23. data/resource/locale/locales-he-IL.xml +288 -288
  24. data/resource/locale/locales-hu-HU.xml +289 -288
  25. data/resource/locale/locales-is-IS.xml +288 -288
  26. data/resource/locale/locales-it-IT.xml +289 -288
  27. data/resource/locale/locales-ja-JP.xml +289 -288
  28. data/resource/locale/locales-km-KH.xml +304 -0
  29. data/resource/locale/locales-ko-KR.xml +289 -288
  30. data/resource/locale/locales-mn-MN.xml +290 -288
  31. data/resource/locale/locales-nb-NO.xml +288 -288
  32. data/resource/locale/locales-nl-NL.xml +288 -288
  33. data/resource/locale/locales-nn-NO.xml +288 -288
  34. data/resource/locale/locales-pl-PL.xml +289 -288
  35. data/resource/locale/locales-pt-BR.xml +288 -288
  36. data/resource/locale/locales-pt-PT.xml +289 -288
  37. data/resource/locale/locales-ro-RO.xml +289 -288
  38. data/resource/locale/locales-ru-RU.xml +290 -288
  39. data/resource/locale/locales-sk-SK.xml +288 -288
  40. data/resource/locale/locales-sl-SI.xml +289 -288
  41. data/resource/locale/locales-sr-RS.xml +289 -288
  42. data/resource/locale/locales-sv-SE.xml +289 -288
  43. data/resource/locale/locales-th-TH.xml +288 -288
  44. data/resource/locale/locales-tr-TR.xml +289 -288
  45. data/resource/locale/locales-uk-UA.xml +290 -288
  46. data/resource/locale/locales-vi-VN.xml +289 -288
  47. data/resource/locale/locales-zh-CN.xml +288 -288
  48. data/resource/locale/locales-zh-TW.xml +289 -288
  49. data/resource/style/apa.csl +316 -127
  50. data/resource/style/{bibtex-x2.csl → bibtex.csl} +7 -5
  51. data/resource/style/chicago-annotated-bibliography.csl +513 -0
  52. data/resource/style/chicago-author-date-basque.csl +707 -0
  53. data/resource/style/chicago-author-date-de.csl +394 -0
  54. data/resource/style/chicago-author-date.csl +223 -167
  55. data/resource/style/chicago-dated-note-biblio-no-ibid.csl +472 -0
  56. data/resource/style/chicago-fullnote-bibliography-delimiter-fixes.csl +972 -0
  57. data/resource/style/chicago-fullnote-bibliography-no-ibid-delimiter-fixes.csl +963 -0
  58. data/resource/style/chicago-fullnote-bibliography-no-ibid.csl +785 -0
  59. data/resource/style/chicago-fullnote-bibliography.csl +429 -321
  60. data/resource/style/chicago-library-list.csl +511 -0
  61. data/resource/style/chicago-note-biblio-no-ibid.csl +514 -0
  62. data/resource/style/chicago-note-bibliography.csl +276 -192
  63. data/resource/style/chicago-quick-copy.csl +685 -0
  64. data/resource/style/ieee.csl +296 -126
  65. data/resource/style/mla-notes.csl +796 -0
  66. data/resource/style/{mla-x.csl → mla-underline.csl} +14 -17
  67. data/resource/style/mla-url.csl +214 -0
  68. data/resource/style/mla.csl +289 -84
  69. data/resource/style/vancouver-brackets.csl +256 -0
  70. data/resource/style/vancouver-superscript-bracket-only-year.csl +165 -0
  71. data/resource/style/vancouver-superscript.csl +256 -0
  72. data/resource/style/vancouver.csl +256 -0
  73. data/spec/citeproc/date_spec.rb +7 -3
  74. data/spec/citeproc/variable_spec.rb +1 -1
  75. data/spec/csl/style_spec.rb +2 -2
  76. metadata +48 -48
  77. data/resource/style/acta-materialia-x.csl +0 -128
  78. data/resource/style/advanced-engineering-materials-x.csl +0 -121
  79. data/resource/style/ama.csl +0 -185
  80. data/resource/style/ama2-x.csl +0 -179
  81. data/resource/style/apa-x.csl +0 -324
  82. data/resource/style/apsa-x.csl +0 -163
  83. data/resource/style/apsa.csl +0 -176
  84. data/resource/style/asa-x.csl +0 -203
  85. data/resource/style/asa.csl +0 -216
  86. data/resource/style/asm-journals-x.csl +0 -131
  87. data/resource/style/bluebook-demo-x.csl +0 -392
  88. data/resource/style/bluebook-demo.csl +0 -942
  89. data/resource/style/greek-chicago-x.csl +0 -1182
  90. data/resource/style/harvard1-institution-italic.csl +0 -190
  91. data/resource/style/harvard1.csl +0 -181
  92. data/resource/style/mhra-x.csl +0 -312
  93. data/resource/style/mhra.csl +0 -390
  94. data/resource/style/mhra_note_without_bibliography-x.csl +0 -330
  95. data/resource/style/mhra_note_without_bibliography.csl +0 -338
  96. data/resource/style/nature-x.csl +0 -81
  97. data/resource/style/nature.csl +0 -88
  98. data/resource/style/nlm.csl +0 -117
@@ -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>