react-cheminfo 0.140.1 → 0.141.0
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.
- package/README.md +14 -8
- package/lib/citation/core/citationMarkup.d.ts +14 -0
- package/lib/citation/core/citationMarkup.d.ts.map +1 -0
- package/lib/citation/core/citationMarkup.js +27 -0
- package/lib/citation/core/citationMarkup.js.map +1 -0
- package/lib/citation/core/clipboard.d.ts +7 -6
- package/lib/citation/core/clipboard.d.ts.map +1 -1
- package/lib/citation/core/clipboard.js +19 -14
- package/lib/citation/core/clipboard.js.map +1 -1
- package/lib/citation/core/download.d.ts +4 -2
- package/lib/citation/core/download.d.ts.map +1 -1
- package/lib/citation/core/download.js +5 -3
- package/lib/citation/core/download.js.map +1 -1
- package/lib/citation/core/formats.d.ts +14 -3
- package/lib/citation/core/formats.d.ts.map +1 -1
- package/lib/citation/core/formats.js +31 -13
- package/lib/citation/core/formats.js.map +1 -1
- package/lib/citation/core/index.d.ts +3 -3
- package/lib/citation/core/index.d.ts.map +1 -1
- package/lib/citation/core/index.js +2 -2
- package/lib/citation/core/index.js.map +1 -1
- package/lib/citation/core/reference.d.ts +15 -0
- package/lib/citation/core/reference.d.ts.map +1 -1
- package/lib/citation/core/reference.js +24 -0
- package/lib/citation/core/reference.js.map +1 -1
- package/lib/citation/core/styles.d.ts +35 -0
- package/lib/citation/core/styles.d.ts.map +1 -0
- package/lib/citation/core/styles.js +21 -0
- package/lib/citation/core/styles.js.map +1 -0
- package/lib/citation/core/works.d.ts +2 -3
- package/lib/citation/core/works.d.ts.map +1 -1
- package/lib/citation/core/works.js +5 -6
- package/lib/citation/core/works.js.map +1 -1
- package/lib/citation/ui/CitationHtml.d.ts +13 -0
- package/lib/citation/ui/CitationHtml.d.ts.map +1 -0
- package/lib/citation/ui/CitationHtml.js +42 -0
- package/lib/citation/ui/CitationHtml.js.map +1 -0
- package/lib/citation/ui/CitationPreview.d.ts +7 -4
- package/lib/citation/ui/CitationPreview.d.ts.map +1 -1
- package/lib/citation/ui/CitationPreview.js +17 -21
- package/lib/citation/ui/CitationPreview.js.map +1 -1
- package/lib/citation/ui/CopyFormatEntries.js +1 -1
- package/lib/citation/ui/CopyFormatEntries.js.map +1 -1
- package/lib/citation/ui/entries.d.ts +1 -1
- package/lib/citation/ui/entries.d.ts.map +1 -1
- package/lib/citation/ui/entries.js +1 -1
- package/lib/citation/ui/entries.js.map +1 -1
- package/lib/citation/ui/useCopyFeedback.d.ts +1 -2
- package/lib/citation/ui/useCopyFeedback.d.ts.map +1 -1
- package/lib/citation/ui/useCopyFeedback.js.map +1 -1
- package/lib/credits/core/credits.d.ts +13 -0
- package/lib/credits/core/credits.d.ts.map +1 -1
- package/lib/credits/core/credits.js +17 -0
- package/lib/credits/core/credits.js.map +1 -1
- package/lib/csl/core/cslItems.d.ts +97 -0
- package/lib/csl/core/cslItems.d.ts.map +1 -0
- package/lib/csl/core/cslItems.js +166 -0
- package/lib/csl/core/cslItems.js.map +1 -0
- package/lib/csl/core/cslStyles.d.ts +30 -0
- package/lib/csl/core/cslStyles.d.ts.map +1 -0
- package/lib/csl/core/cslStyles.js +48 -0
- package/lib/csl/core/cslStyles.js.map +1 -0
- package/lib/csl/core/formatCsl.d.ts +35 -0
- package/lib/csl/core/formatCsl.d.ts.map +1 -0
- package/lib/csl/core/formatCsl.js +100 -0
- package/lib/csl/core/formatCsl.js.map +1 -0
- package/lib/csl/core/referenceItem.d.ts +14 -0
- package/lib/csl/core/referenceItem.d.ts.map +1 -0
- package/lib/csl/core/referenceItem.js +60 -0
- package/lib/csl/core/referenceItem.js.map +1 -0
- package/lib/csl/core/styles/americanChemicalSociety.d.ts +8 -0
- package/lib/csl/core/styles/americanChemicalSociety.d.ts.map +1 -0
- package/lib/csl/core/styles/americanChemicalSociety.js +311 -0
- package/lib/csl/core/styles/americanChemicalSociety.js.map +1 -0
- package/lib/csl/core/styles/americanInstituteOfPhysics.d.ts +8 -0
- package/lib/csl/core/styles/americanInstituteOfPhysics.d.ts.map +1 -0
- package/lib/csl/core/styles/americanInstituteOfPhysics.js +172 -0
- package/lib/csl/core/styles/americanInstituteOfPhysics.js.map +1 -0
- package/lib/csl/core/styles/americanMathematicalSocietyNumeric.d.ts +8 -0
- package/lib/csl/core/styles/americanMathematicalSocietyNumeric.d.ts.map +1 -0
- package/lib/csl/core/styles/americanMathematicalSocietyNumeric.js +174 -0
- package/lib/csl/core/styles/americanMathematicalSocietyNumeric.js.map +1 -0
- package/lib/csl/core/styles/americanPhysicsSociety.d.ts +8 -0
- package/lib/csl/core/styles/americanPhysicsSociety.d.ts.map +1 -0
- package/lib/csl/core/styles/americanPhysicsSociety.js +227 -0
- package/lib/csl/core/styles/americanPhysicsSociety.js.map +1 -0
- package/lib/csl/core/styles/angewandteChemie.d.ts +8 -0
- package/lib/csl/core/styles/angewandteChemie.d.ts.map +1 -0
- package/lib/csl/core/styles/angewandteChemie.js +187 -0
- package/lib/csl/core/styles/angewandteChemie.js.map +1 -0
- package/lib/csl/core/styles/beilsteinJournalOfOrganicChemistry.d.ts +8 -0
- package/lib/csl/core/styles/beilsteinJournalOfOrganicChemistry.d.ts.map +1 -0
- package/lib/csl/core/styles/beilsteinJournalOfOrganicChemistry.js +280 -0
- package/lib/csl/core/styles/beilsteinJournalOfOrganicChemistry.js.map +1 -0
- package/lib/csl/core/styles/elsevierWithTitles.d.ts +8 -0
- package/lib/csl/core/styles/elsevierWithTitles.d.ts.map +1 -0
- package/lib/csl/core/styles/elsevierWithTitles.js +156 -0
- package/lib/csl/core/styles/elsevierWithTitles.js.map +1 -0
- package/lib/csl/core/styles/helveticaChimicaActa.d.ts +8 -0
- package/lib/csl/core/styles/helveticaChimicaActa.d.ts.map +1 -0
- package/lib/csl/core/styles/helveticaChimicaActa.js +189 -0
- package/lib/csl/core/styles/helveticaChimicaActa.js.map +1 -0
- package/lib/csl/core/styles/ieee.d.ts +8 -0
- package/lib/csl/core/styles/ieee.d.ts.map +1 -0
- package/lib/csl/core/styles/ieee.js +527 -0
- package/lib/csl/core/styles/ieee.js.map +1 -0
- package/lib/csl/core/styles/instituteOfPhysicsNumeric.d.ts +8 -0
- package/lib/csl/core/styles/instituteOfPhysicsNumeric.d.ts.map +1 -0
- package/lib/csl/core/styles/instituteOfPhysicsNumeric.js +135 -0
- package/lib/csl/core/styles/instituteOfPhysicsNumeric.js.map +1 -0
- package/lib/csl/core/styles/localeEnUs.d.ts +8 -0
- package/lib/csl/core/styles/localeEnUs.d.ts.map +1 -0
- package/lib/csl/core/styles/localeEnUs.js +872 -0
- package/lib/csl/core/styles/localeEnUs.js.map +1 -0
- package/lib/csl/core/styles/nature.d.ts +8 -0
- package/lib/csl/core/styles/nature.d.ts.map +1 -0
- package/lib/csl/core/styles/nature.js +197 -0
- package/lib/csl/core/styles/nature.js.map +1 -0
- package/lib/csl/core/styles/royalSocietyOfChemistry.d.ts +8 -0
- package/lib/csl/core/styles/royalSocietyOfChemistry.d.ts.map +1 -0
- package/lib/csl/core/styles/royalSocietyOfChemistry.js +267 -0
- package/lib/csl/core/styles/royalSocietyOfChemistry.js.map +1 -0
- package/lib/csl/core/styles/springerMathphysBrackets.d.ts +8 -0
- package/lib/csl/core/styles/springerMathphysBrackets.d.ts.map +1 -0
- package/lib/csl/core/styles/springerMathphysBrackets.js +159 -0
- package/lib/csl/core/styles/springerMathphysBrackets.js.map +1 -0
- package/lib/csl/core/styles/springerPhysicsBrackets.d.ts +8 -0
- package/lib/csl/core/styles/springerPhysicsBrackets.d.ts.map +1 -0
- package/lib/csl/core/styles/springerPhysicsBrackets.js +166 -0
- package/lib/csl/core/styles/springerPhysicsBrackets.js.map +1 -0
- package/lib/csl/core/styles/styleLoaders.d.ts +6 -0
- package/lib/csl/core/styles/styleLoaders.d.ts.map +1 -0
- package/lib/csl/core/styles/styleLoaders.js +23 -0
- package/lib/csl/core/styles/styleLoaders.js.map +1 -0
- package/lib/csl/core/styles/synthesis.d.ts +8 -0
- package/lib/csl/core/styles/synthesis.d.ts.map +1 -0
- package/lib/csl/core/styles/synthesis.js +196 -0
- package/lib/csl/core/styles/synthesis.js.map +1 -0
- package/lib/csl/core/styles/tetrahedron.d.ts +8 -0
- package/lib/csl/core/styles/tetrahedron.d.ts.map +1 -0
- package/lib/csl/core/styles/tetrahedron.js +22 -0
- package/lib/csl/core/styles/tetrahedron.js.map +1 -0
- package/lib/csl.d.ts +17 -0
- package/lib/csl.d.ts.map +1 -0
- package/lib/csl.js +15 -0
- package/lib/csl.js.map +1 -0
- package/package.json +3 -1
- package/src/citation/core/citationMarkup.ts +28 -0
- package/src/citation/core/clipboard.ts +26 -17
- package/src/citation/core/download.ts +7 -5
- package/src/citation/core/formats.ts +41 -16
- package/src/citation/core/index.ts +3 -6
- package/src/citation/core/reference.ts +25 -0
- package/src/citation/core/styles.ts +34 -0
- package/src/citation/core/works.ts +7 -9
- package/src/citation/ui/CitationHtml.tsx +42 -0
- package/src/citation/ui/CitationPreview.tsx +36 -35
- package/src/citation/ui/CopyFormatEntries.tsx +1 -1
- package/src/citation/ui/entries.tsx +2 -2
- package/src/citation/ui/useCopyFeedback.ts +1 -2
- package/src/credits/core/credits.ts +17 -0
- package/src/csl/core/citeproc.d.ts +43 -0
- package/src/csl/core/cslItems.ts +208 -0
- package/src/csl/core/cslStyles.ts +52 -0
- package/src/csl/core/formatCsl.ts +135 -0
- package/src/csl/core/referenceItem.ts +75 -0
- package/src/csl/core/styles/americanChemicalSociety.ts +310 -0
- package/src/csl/core/styles/americanInstituteOfPhysics.ts +171 -0
- package/src/csl/core/styles/americanMathematicalSocietyNumeric.ts +173 -0
- package/src/csl/core/styles/americanPhysicsSociety.ts +226 -0
- package/src/csl/core/styles/angewandteChemie.ts +186 -0
- package/src/csl/core/styles/beilsteinJournalOfOrganicChemistry.ts +279 -0
- package/src/csl/core/styles/elsevierWithTitles.ts +155 -0
- package/src/csl/core/styles/helveticaChimicaActa.ts +188 -0
- package/src/csl/core/styles/ieee.ts +526 -0
- package/src/csl/core/styles/instituteOfPhysicsNumeric.ts +134 -0
- package/src/csl/core/styles/localeEnUs.ts +871 -0
- package/src/csl/core/styles/nature.ts +196 -0
- package/src/csl/core/styles/royalSocietyOfChemistry.ts +266 -0
- package/src/csl/core/styles/springerMathphysBrackets.ts +158 -0
- package/src/csl/core/styles/springerPhysicsBrackets.ts +165 -0
- package/src/csl/core/styles/styleLoaders.ts +38 -0
- package/src/csl/core/styles/synthesis.ts +195 -0
- package/src/csl/core/styles/tetrahedron.ts +21 -0
- package/src/csl.ts +31 -0
- package/lib/citation/core/render.d.ts +0 -21
- package/lib/citation/core/render.d.ts.map +0 -1
- package/lib/citation/core/render.js +0 -74
- package/lib/citation/core/render.js.map +0 -1
- package/lib/citation/core/segments.d.ts +0 -62
- package/lib/citation/core/segments.d.ts.map +0 -1
- package/lib/citation/core/segments.js +0 -210
- package/lib/citation/core/segments.js.map +0 -1
- package/src/citation/core/render.ts +0 -78
- package/src/citation/core/segments.ts +0 -254
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The CSL style `beilstein-journal-of-organic-chemistry`, as the Citation Style Language project publishes it
|
|
3
|
+
* (styles repository, commit 15ea57496883). Its `<rights>`
|
|
4
|
+
* element states its licence.
|
|
5
|
+
* Written by scripts/csl-styles.mjs: change the script, not this file.
|
|
6
|
+
*/
|
|
7
|
+
export const STYLE = `<?xml version="1.0" encoding="utf-8"?>
|
|
8
|
+
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" page-range-format="expanded" default-locale="en-US">
|
|
9
|
+
<!-- This style was edited with the Visual CSL Editor (https://editor.citationstyles.org/visualEditor/) -->
|
|
10
|
+
<info>
|
|
11
|
+
<title>Beilstein Journal of Organic Chemistry</title>
|
|
12
|
+
<title-short>BJOC</title-short>
|
|
13
|
+
<id>https://www.zotero.org/styles/beilstein-journal-of-organic-chemistry</id>
|
|
14
|
+
<link href="https://www.zotero.org/styles/beilstein-journal-of-organic-chemistry" rel="self"/>
|
|
15
|
+
<link href="https://www.zotero.org/styles/american-chemical-society" rel="template"/>
|
|
16
|
+
<link href="https://www.beilstein-journals.org/bjoc/authorInstructions" rel="documentation"/>
|
|
17
|
+
<contributor>
|
|
18
|
+
<name>Beilstein-Institut zur Foerderung der Chemischen Wissenschaften</name>
|
|
19
|
+
<email>journals-support@beilstein-institut.de</email>
|
|
20
|
+
</contributor>
|
|
21
|
+
<category citation-format="numeric"/>
|
|
22
|
+
<category field="chemistry"/>
|
|
23
|
+
<issn>1860-5397</issn>
|
|
24
|
+
<updated>2020-03-09T13:43:13+00:00</updated>
|
|
25
|
+
<rights license="https://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
|
|
26
|
+
</info>
|
|
27
|
+
<locale xml:lang="en">
|
|
28
|
+
<terms>
|
|
29
|
+
<term name="editortranslator" form="short">
|
|
30
|
+
<single>ed. and translator</single>
|
|
31
|
+
<multiple>eds. and translators</multiple>
|
|
32
|
+
</term>
|
|
33
|
+
<term name="translator" form="short">
|
|
34
|
+
<single>translator</single>
|
|
35
|
+
<multiple>translators</multiple>
|
|
36
|
+
</term>
|
|
37
|
+
<term name="collection-editor" form="short">
|
|
38
|
+
<single>series ed.</single>
|
|
39
|
+
<multiple>series eds.</multiple>
|
|
40
|
+
</term>
|
|
41
|
+
</terms>
|
|
42
|
+
</locale>
|
|
43
|
+
<macro name="editor">
|
|
44
|
+
<group delimiter="; ">
|
|
45
|
+
<names variable="editor translator" delimiter="; ">
|
|
46
|
+
<name sort-separator=", " initialize-with=". " name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
|
|
47
|
+
<label form="short" prefix=", " text-case="title"/>
|
|
48
|
+
</names>
|
|
49
|
+
<names variable="collection-editor">
|
|
50
|
+
<name sort-separator=", " initialize-with=". " name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
|
|
51
|
+
<label form="short" prefix=", " text-case="title"/>
|
|
52
|
+
</names>
|
|
53
|
+
</group>
|
|
54
|
+
</macro>
|
|
55
|
+
<macro name="author">
|
|
56
|
+
<names variable="author" suffix=".">
|
|
57
|
+
<name sort-separator=", " initialize-with=". " name-as-sort-order="all" delimiter="; " delimiter-precedes-last="always"/>
|
|
58
|
+
<label form="short" prefix=", " text-case="capitalize-first"/>
|
|
59
|
+
</names>
|
|
60
|
+
</macro>
|
|
61
|
+
<macro name="publisher">
|
|
62
|
+
<choose>
|
|
63
|
+
<if type="thesis" match="any">
|
|
64
|
+
<group delimiter=", ">
|
|
65
|
+
<text variable="publisher"/>
|
|
66
|
+
<text variable="publisher-place"/>
|
|
67
|
+
</group>
|
|
68
|
+
</if>
|
|
69
|
+
<else>
|
|
70
|
+
<group delimiter=": ">
|
|
71
|
+
<text variable="publisher"/>
|
|
72
|
+
<text variable="publisher-place"/>
|
|
73
|
+
</group>
|
|
74
|
+
</else>
|
|
75
|
+
</choose>
|
|
76
|
+
</macro>
|
|
77
|
+
<macro name="title">
|
|
78
|
+
<choose>
|
|
79
|
+
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
|
80
|
+
<text variable="title" text-case="title" font-style="italic"/>
|
|
81
|
+
</if>
|
|
82
|
+
<else>
|
|
83
|
+
<text variable="title" text-case="title"/>
|
|
84
|
+
</else>
|
|
85
|
+
</choose>
|
|
86
|
+
</macro>
|
|
87
|
+
<macro name="volume">
|
|
88
|
+
<group delimiter=" ">
|
|
89
|
+
<text term="volume" form="short" text-case="capitalize-first"/>
|
|
90
|
+
<text variable="volume"/>
|
|
91
|
+
</group>
|
|
92
|
+
</macro>
|
|
93
|
+
<macro name="series">
|
|
94
|
+
<text variable="collection-title"/>
|
|
95
|
+
</macro>
|
|
96
|
+
<macro name="pages">
|
|
97
|
+
<label variable="page" form="short" suffix=" " strip-periods="true"/>
|
|
98
|
+
<text variable="page"/>
|
|
99
|
+
</macro>
|
|
100
|
+
<macro name="book-container">
|
|
101
|
+
<group delimiter=". ">
|
|
102
|
+
<text macro="title"/>
|
|
103
|
+
<choose>
|
|
104
|
+
<if type="entry-dictionary entry-encyclopedia" match="none">
|
|
105
|
+
<group delimiter=" ">
|
|
106
|
+
<text term="in" text-case="capitalize-first"/>
|
|
107
|
+
<text variable="container-title" font-style="italic"/>
|
|
108
|
+
</group>
|
|
109
|
+
</if>
|
|
110
|
+
<else>
|
|
111
|
+
<text variable="container-title" font-style="italic"/>
|
|
112
|
+
</else>
|
|
113
|
+
</choose>
|
|
114
|
+
</group>
|
|
115
|
+
</macro>
|
|
116
|
+
<macro name="issued">
|
|
117
|
+
<date variable="issued" delimiter=" ">
|
|
118
|
+
<date-part name="year"/>
|
|
119
|
+
</date>
|
|
120
|
+
</macro>
|
|
121
|
+
<macro name="full-issued">
|
|
122
|
+
<date variable="issued" delimiter=" ">
|
|
123
|
+
<date-part name="month" form="long" suffix=" "/>
|
|
124
|
+
<date-part name="day" suffix=", "/>
|
|
125
|
+
<date-part name="year"/>
|
|
126
|
+
</date>
|
|
127
|
+
</macro>
|
|
128
|
+
<macro name="edition">
|
|
129
|
+
<choose>
|
|
130
|
+
<if is-numeric="edition">
|
|
131
|
+
<group delimiter=" ">
|
|
132
|
+
<number variable="edition" form="ordinal"/>
|
|
133
|
+
<text term="edition" form="short"/>
|
|
134
|
+
</group>
|
|
135
|
+
</if>
|
|
136
|
+
<else>
|
|
137
|
+
<text variable="edition" suffix="."/>
|
|
138
|
+
</else>
|
|
139
|
+
</choose>
|
|
140
|
+
</macro>
|
|
141
|
+
<citation collapse="citation-number">
|
|
142
|
+
<sort>
|
|
143
|
+
<key variable="citation-number"/>
|
|
144
|
+
</sort>
|
|
145
|
+
<layout vertical-align="baseline" delimiter="," prefix="[" suffix="]">
|
|
146
|
+
<text variable="citation-number"/>
|
|
147
|
+
</layout>
|
|
148
|
+
</citation>
|
|
149
|
+
<bibliography second-field-align="flush" entry-spacing="0">
|
|
150
|
+
<layout>
|
|
151
|
+
<text variable="citation-number" prefix="(" suffix=") "/>
|
|
152
|
+
<text macro="author" suffix=" "/>
|
|
153
|
+
<choose>
|
|
154
|
+
<if type="article-journal review" match="any">
|
|
155
|
+
<group delimiter=" ">
|
|
156
|
+
<text variable="container-title" font-style="italic" form="short"/>
|
|
157
|
+
<group delimiter=", ">
|
|
158
|
+
<text macro="issued" font-weight="bold"/>
|
|
159
|
+
<choose>
|
|
160
|
+
<if variable="volume">
|
|
161
|
+
<group delimiter=" ">
|
|
162
|
+
<text variable="volume" font-style="italic"/>
|
|
163
|
+
</group>
|
|
164
|
+
</if>
|
|
165
|
+
<else>
|
|
166
|
+
<group delimiter=" ">
|
|
167
|
+
<text term="issue" form="short" text-case="capitalize-first"/>
|
|
168
|
+
<text variable="issue"/>
|
|
169
|
+
</group>
|
|
170
|
+
</else>
|
|
171
|
+
</choose>
|
|
172
|
+
<text variable="page"/>
|
|
173
|
+
</group>
|
|
174
|
+
</group>
|
|
175
|
+
</if>
|
|
176
|
+
<else-if type="article-magazine article-newspaper article" match="any">
|
|
177
|
+
<group delimiter=" ">
|
|
178
|
+
<text macro="title" suffix="."/>
|
|
179
|
+
<text variable="container-title" font-style="italic" suffix="."/>
|
|
180
|
+
<text macro="edition"/>
|
|
181
|
+
<text macro="publisher"/>
|
|
182
|
+
<group delimiter=", ">
|
|
183
|
+
<text macro="full-issued"/>
|
|
184
|
+
<text macro="pages"/>
|
|
185
|
+
</group>
|
|
186
|
+
</group>
|
|
187
|
+
</else-if>
|
|
188
|
+
<else-if type="thesis">
|
|
189
|
+
<group delimiter=", ">
|
|
190
|
+
<group delimiter=". ">
|
|
191
|
+
<text macro="title"/>
|
|
192
|
+
<text variable="genre"/>
|
|
193
|
+
</group>
|
|
194
|
+
<text macro="publisher"/>
|
|
195
|
+
<text macro="issued"/>
|
|
196
|
+
<text macro="volume"/>
|
|
197
|
+
<text macro="pages"/>
|
|
198
|
+
</group>
|
|
199
|
+
</else-if>
|
|
200
|
+
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
|
201
|
+
<group delimiter="; ">
|
|
202
|
+
<group delimiter=", ">
|
|
203
|
+
<text macro="title"/>
|
|
204
|
+
<text macro="edition"/>
|
|
205
|
+
</group>
|
|
206
|
+
<text macro="editor" prefix=" "/>
|
|
207
|
+
<text macro="series"/>
|
|
208
|
+
<choose>
|
|
209
|
+
<if type="report">
|
|
210
|
+
<group delimiter=" ">
|
|
211
|
+
<text variable="genre"/>
|
|
212
|
+
<text variable="number"/>
|
|
213
|
+
</group>
|
|
214
|
+
</if>
|
|
215
|
+
</choose>
|
|
216
|
+
<group delimiter=", ">
|
|
217
|
+
<text macro="publisher"/>
|
|
218
|
+
<text macro="issued"/>
|
|
219
|
+
</group>
|
|
220
|
+
<group delimiter=", ">
|
|
221
|
+
<text macro="volume"/>
|
|
222
|
+
<text macro="pages"/>
|
|
223
|
+
</group>
|
|
224
|
+
</group>
|
|
225
|
+
</else-if>
|
|
226
|
+
<else-if type="patent">
|
|
227
|
+
<group delimiter=", ">
|
|
228
|
+
<group delimiter=". ">
|
|
229
|
+
<text macro="title"/>
|
|
230
|
+
<text variable="number"/>
|
|
231
|
+
</group>
|
|
232
|
+
<date variable="issued" form="text"/>
|
|
233
|
+
</group>
|
|
234
|
+
</else-if>
|
|
235
|
+
<else-if type="chapter paper-conference entry-dictionary entry-encyclopedia" match="any">
|
|
236
|
+
<group delimiter="; ">
|
|
237
|
+
<text macro="book-container"/>
|
|
238
|
+
<text macro="editor"/>
|
|
239
|
+
<text macro="series"/>
|
|
240
|
+
<group delimiter=", ">
|
|
241
|
+
<text macro="publisher"/>
|
|
242
|
+
<text macro="issued"/>
|
|
243
|
+
</group>
|
|
244
|
+
<group delimiter=", ">
|
|
245
|
+
<text macro="volume"/>
|
|
246
|
+
<text macro="pages"/>
|
|
247
|
+
</group>
|
|
248
|
+
</group>
|
|
249
|
+
</else-if>
|
|
250
|
+
<else-if type="webpage">
|
|
251
|
+
<group delimiter=" ">
|
|
252
|
+
<text variable="title"/>
|
|
253
|
+
<text variable="URL"/>
|
|
254
|
+
<date variable="accessed" prefix="(accessed " suffix=")" delimiter=" ">
|
|
255
|
+
<date-part name="month" form="short" strip-periods="true"/>
|
|
256
|
+
<date-part name="day" suffix=", "/>
|
|
257
|
+
<date-part name="year"/>
|
|
258
|
+
</date>
|
|
259
|
+
</group>
|
|
260
|
+
</else-if>
|
|
261
|
+
<else>
|
|
262
|
+
<group delimiter=", ">
|
|
263
|
+
<group delimiter=". ">
|
|
264
|
+
<text macro="title"/>
|
|
265
|
+
<text variable="container-title" font-style="italic"/>
|
|
266
|
+
</group>
|
|
267
|
+
<group delimiter=", ">
|
|
268
|
+
<text macro="issued"/>
|
|
269
|
+
<text variable="volume" font-style="italic"/>
|
|
270
|
+
<text variable="page"/>
|
|
271
|
+
</group>
|
|
272
|
+
</group>
|
|
273
|
+
</else>
|
|
274
|
+
</choose>
|
|
275
|
+
<text variable="DOI" prefix=". doi:"/>
|
|
276
|
+
</layout>
|
|
277
|
+
</bibliography>
|
|
278
|
+
</style>
|
|
279
|
+
`;
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The CSL style `elsevier-with-titles`, as the Citation Style Language project publishes it
|
|
3
|
+
* (styles repository, commit 15ea57496883). Its `<rights>`
|
|
4
|
+
* element states its licence.
|
|
5
|
+
* Written by scripts/csl-styles.mjs: change the script, not this file.
|
|
6
|
+
*/
|
|
7
|
+
export const STYLE = `<?xml version="1.0" encoding="utf-8"?>
|
|
8
|
+
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-US">
|
|
9
|
+
<info>
|
|
10
|
+
<title>Elsevier (numeric, with titles)</title>
|
|
11
|
+
<id>https://www.zotero.org/styles/elsevier-with-titles</id>
|
|
12
|
+
<link href="https://www.zotero.org/styles/elsevier-with-titles" rel="self"/>
|
|
13
|
+
<link href="https://www.zotero.org/styles/elsevier-without-titles" rel="template"/>
|
|
14
|
+
<link href="https://www.elsevier.com/journals/journal-of-hazardous-materials/0304-3894/guide-for-authors#68001" rel="documentation"/>
|
|
15
|
+
<author>
|
|
16
|
+
<name>Richard Karnesky</name>
|
|
17
|
+
<email>karnesky+zotero@gmail.com</email>
|
|
18
|
+
<uri>https://arc.nucapt.northwestern.edu/Richard_Karnesky</uri>
|
|
19
|
+
</author>
|
|
20
|
+
<contributor>
|
|
21
|
+
<name>Rintze Zelle</name>
|
|
22
|
+
<uri>https://twitter.com/rintzezelle</uri>
|
|
23
|
+
</contributor>
|
|
24
|
+
<category citation-format="numeric"/>
|
|
25
|
+
<summary>A style for many of Elsevier's journals that includes article titles in the reference list</summary>
|
|
26
|
+
<updated>2019-10-15T22:06:38+00:00</updated>
|
|
27
|
+
<rights license="https://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
|
|
28
|
+
</info>
|
|
29
|
+
<macro name="author">
|
|
30
|
+
<names variable="author">
|
|
31
|
+
<name initialize-with="." delimiter=", " delimiter-precedes-last="always"/>
|
|
32
|
+
<label form="short" prefix=", "/>
|
|
33
|
+
<substitute>
|
|
34
|
+
<names variable="editor"/>
|
|
35
|
+
<names variable="translator"/>
|
|
36
|
+
</substitute>
|
|
37
|
+
</names>
|
|
38
|
+
</macro>
|
|
39
|
+
<macro name="editor">
|
|
40
|
+
<names variable="editor">
|
|
41
|
+
<name initialize-with="." delimiter=", " delimiter-precedes-last="always"/>
|
|
42
|
+
<label form="short" prefix=" (" text-case="capitalize-first" suffix=")"/>
|
|
43
|
+
</names>
|
|
44
|
+
</macro>
|
|
45
|
+
<macro name="year-date">
|
|
46
|
+
<choose>
|
|
47
|
+
<if variable="issued">
|
|
48
|
+
<date variable="issued">
|
|
49
|
+
<date-part name="year"/>
|
|
50
|
+
</date>
|
|
51
|
+
</if>
|
|
52
|
+
<else>
|
|
53
|
+
<text term="no date" form="short"/>
|
|
54
|
+
</else>
|
|
55
|
+
</choose>
|
|
56
|
+
</macro>
|
|
57
|
+
<macro name="publisher">
|
|
58
|
+
<text variable="publisher" suffix=", "/>
|
|
59
|
+
<text variable="publisher-place" suffix=", "/>
|
|
60
|
+
<text macro="year-date"/>
|
|
61
|
+
</macro>
|
|
62
|
+
<macro name="edition">
|
|
63
|
+
<!--TODO: CSL should have low numeric be text (e.g. '3'->'third')-->
|
|
64
|
+
<choose>
|
|
65
|
+
<if is-numeric="edition">
|
|
66
|
+
<group delimiter=" ">
|
|
67
|
+
<number variable="edition" form="ordinal"/>
|
|
68
|
+
<text term="edition" form="short"/>
|
|
69
|
+
</group>
|
|
70
|
+
</if>
|
|
71
|
+
<else>
|
|
72
|
+
<text variable="edition"/>
|
|
73
|
+
</else>
|
|
74
|
+
</choose>
|
|
75
|
+
</macro>
|
|
76
|
+
<macro name="access">
|
|
77
|
+
<choose>
|
|
78
|
+
<if variable="URL">
|
|
79
|
+
<text variable="URL"/>
|
|
80
|
+
<group prefix=" (" suffix=")" delimiter=" ">
|
|
81
|
+
<text term="accessed"/>
|
|
82
|
+
<date variable="accessed" form="text"/>
|
|
83
|
+
</group>
|
|
84
|
+
</if>
|
|
85
|
+
</choose>
|
|
86
|
+
</macro>
|
|
87
|
+
<citation collapse="citation-number">
|
|
88
|
+
<sort>
|
|
89
|
+
<key variable="citation-number"/>
|
|
90
|
+
</sort>
|
|
91
|
+
<layout prefix="[" suffix="]" delimiter=",">
|
|
92
|
+
<text variable="citation-number"/>
|
|
93
|
+
</layout>
|
|
94
|
+
</citation>
|
|
95
|
+
<bibliography entry-spacing="0" second-field-align="flush">
|
|
96
|
+
<layout suffix=".">
|
|
97
|
+
<text variable="citation-number" prefix="[" suffix="]"/>
|
|
98
|
+
<text macro="author" suffix=", "/>
|
|
99
|
+
<choose>
|
|
100
|
+
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
|
101
|
+
<group delimiter=", ">
|
|
102
|
+
<text variable="title"/>
|
|
103
|
+
<text macro="edition"/>
|
|
104
|
+
<text macro="publisher"/>
|
|
105
|
+
</group>
|
|
106
|
+
</if>
|
|
107
|
+
<else-if type="chapter paper-conference" match="any">
|
|
108
|
+
<text variable="title" suffix=", "/>
|
|
109
|
+
<text term="in" suffix=": "/>
|
|
110
|
+
<text macro="editor" suffix=", "/>
|
|
111
|
+
<text variable="container-title" form="short" text-case="title" suffix=", "/>
|
|
112
|
+
<text macro="edition" suffix=", "/>
|
|
113
|
+
<text macro="publisher"/>
|
|
114
|
+
<group delimiter=" ">
|
|
115
|
+
<label variable="page" form="short" prefix=": "/>
|
|
116
|
+
<text variable="page"/>
|
|
117
|
+
</group>
|
|
118
|
+
</else-if>
|
|
119
|
+
<else-if type="patent">
|
|
120
|
+
<group delimiter=", ">
|
|
121
|
+
<text variable="title"/>
|
|
122
|
+
<text variable="number"/>
|
|
123
|
+
<text macro="year-date"/>
|
|
124
|
+
</group>
|
|
125
|
+
</else-if>
|
|
126
|
+
<else-if type="thesis">
|
|
127
|
+
<group delimiter=", ">
|
|
128
|
+
<text variable="title"/>
|
|
129
|
+
<text variable="genre"/>
|
|
130
|
+
<text variable="publisher"/>
|
|
131
|
+
<text macro="year-date"/>
|
|
132
|
+
</group>
|
|
133
|
+
</else-if>
|
|
134
|
+
<else>
|
|
135
|
+
<group delimiter=" ">
|
|
136
|
+
<text variable="title" suffix=","/>
|
|
137
|
+
<text variable="container-title" form="short" text-case="title"/>
|
|
138
|
+
<text variable="volume"/>
|
|
139
|
+
<text macro="year-date" prefix="(" suffix=")"/>
|
|
140
|
+
<text variable="page" form="short"/>
|
|
141
|
+
</group>
|
|
142
|
+
</else>
|
|
143
|
+
</choose>
|
|
144
|
+
<choose>
|
|
145
|
+
<if variable="DOI">
|
|
146
|
+
<text variable="DOI" prefix=". https://doi.org/"/>
|
|
147
|
+
</if>
|
|
148
|
+
<else>
|
|
149
|
+
<text macro="access" prefix=". "/>
|
|
150
|
+
</else>
|
|
151
|
+
</choose>
|
|
152
|
+
</layout>
|
|
153
|
+
</bibliography>
|
|
154
|
+
</style>
|
|
155
|
+
`;
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The CSL style `helvetica-chimica-acta`, as the Citation Style Language project publishes it
|
|
3
|
+
* (styles repository, commit 15ea57496883). Its `<rights>`
|
|
4
|
+
* element states its licence.
|
|
5
|
+
* Written by scripts/csl-styles.mjs: change the script, not this file.
|
|
6
|
+
*/
|
|
7
|
+
export const STYLE = `<?xml version="1.0" encoding="utf-8"?>
|
|
8
|
+
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
|
|
9
|
+
<info>
|
|
10
|
+
<title>Helvetica Chimica Acta</title>
|
|
11
|
+
<id>https://www.zotero.org/styles/helvetica-chimica-acta</id>
|
|
12
|
+
<link href="https://www.zotero.org/styles/helvetica-chimica-acta" rel="self"/>
|
|
13
|
+
<link href="https://www.zotero.org/styles/angewandte-chemie" rel="template"/>
|
|
14
|
+
<link href="https://www.helvchimacta.ch/downloads/Instructions_for_Authors.pdf" rel="documentation"/>
|
|
15
|
+
<author>
|
|
16
|
+
<name>Daniel Probst</name>
|
|
17
|
+
<email>daenuprobst@gmail.com</email>
|
|
18
|
+
<uri>https://danielprobst.net</uri>
|
|
19
|
+
</author>
|
|
20
|
+
<category citation-format="numeric"/>
|
|
21
|
+
<category field="engineering"/>
|
|
22
|
+
<category field="chemistry"/>
|
|
23
|
+
<issn>0018-019X</issn>
|
|
24
|
+
<eissn>1522-2675</eissn>
|
|
25
|
+
<summary>A style for Wiley-VCH's journal "Helvetica Chimica Acta" based on "Angewandte Chemie International Edition". The style incorrectly cites two items cited together as [1,2] instead of [1-2]</summary>
|
|
26
|
+
<updated>2019-07-03T16:34:22+00:00</updated>
|
|
27
|
+
<rights license="https://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
|
|
28
|
+
</info>
|
|
29
|
+
<macro name="container-title">
|
|
30
|
+
<choose>
|
|
31
|
+
<if type="article-journal">
|
|
32
|
+
<text variable="container-title" font-style="italic" form="short"/>
|
|
33
|
+
</if>
|
|
34
|
+
<else>
|
|
35
|
+
<text variable="container-title" font-style="italic"/>
|
|
36
|
+
</else>
|
|
37
|
+
</choose>
|
|
38
|
+
</macro>
|
|
39
|
+
<macro name="author">
|
|
40
|
+
<names variable="author">
|
|
41
|
+
<name initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
|
|
42
|
+
<label form="short" prefix=", " text-case="capitalize-first" suffix=" "/>
|
|
43
|
+
<substitute>
|
|
44
|
+
<names variable="editor"/>
|
|
45
|
+
<names variable="translator"/>
|
|
46
|
+
</substitute>
|
|
47
|
+
</names>
|
|
48
|
+
</macro>
|
|
49
|
+
<macro name="editor">
|
|
50
|
+
<names variable="editor">
|
|
51
|
+
<label form="short" text-case="capitalize-first" suffix=": "/>
|
|
52
|
+
<name initialize-with="." delimiter=", " delimiter-precedes-last="always"/>
|
|
53
|
+
</names>
|
|
54
|
+
</macro>
|
|
55
|
+
<macro name="year-date">
|
|
56
|
+
<choose>
|
|
57
|
+
<if type="article-journal" match="any">
|
|
58
|
+
<group font-weight="bold">
|
|
59
|
+
<choose>
|
|
60
|
+
<if variable="issued">
|
|
61
|
+
<date variable="issued">
|
|
62
|
+
<date-part name="year"/>
|
|
63
|
+
</date>
|
|
64
|
+
</if>
|
|
65
|
+
<else>
|
|
66
|
+
<text term="no date" form="short"/>
|
|
67
|
+
</else>
|
|
68
|
+
</choose>
|
|
69
|
+
</group>
|
|
70
|
+
</if>
|
|
71
|
+
<else>
|
|
72
|
+
<choose>
|
|
73
|
+
<if variable="issued">
|
|
74
|
+
<date variable="issued">
|
|
75
|
+
<date-part name="year"/>
|
|
76
|
+
</date>
|
|
77
|
+
</if>
|
|
78
|
+
<else>
|
|
79
|
+
<text term="no date" form="short"/>
|
|
80
|
+
</else>
|
|
81
|
+
</choose>
|
|
82
|
+
</else>
|
|
83
|
+
</choose>
|
|
84
|
+
</macro>
|
|
85
|
+
<macro name="access">
|
|
86
|
+
<choose>
|
|
87
|
+
<if variable="page" match="none">
|
|
88
|
+
<choose>
|
|
89
|
+
<if variable="DOI">
|
|
90
|
+
<text variable="DOI" prefix="DOI "/>
|
|
91
|
+
</if>
|
|
92
|
+
</choose>
|
|
93
|
+
<choose>
|
|
94
|
+
<if type="webpage">
|
|
95
|
+
<text variable="URL" prefix="can be found under "/>
|
|
96
|
+
</if>
|
|
97
|
+
</choose>
|
|
98
|
+
</if>
|
|
99
|
+
</choose>
|
|
100
|
+
</macro>
|
|
101
|
+
<macro name="publisher">
|
|
102
|
+
<group delimiter=", ">
|
|
103
|
+
<text variable="publisher"/>
|
|
104
|
+
<text variable="publisher-place"/>
|
|
105
|
+
</group>
|
|
106
|
+
</macro>
|
|
107
|
+
<macro name="pages">
|
|
108
|
+
<label variable="page" form="short" suffix=" "/>
|
|
109
|
+
<text variable="page"/>
|
|
110
|
+
</macro>
|
|
111
|
+
<citation collapse="citation-number">
|
|
112
|
+
<sort>
|
|
113
|
+
<key variable="citation-number"/>
|
|
114
|
+
</sort>
|
|
115
|
+
<layout vertical-align="sup" delimiter="," prefix="[" suffix="]">
|
|
116
|
+
<text variable="citation-number"/>
|
|
117
|
+
</layout>
|
|
118
|
+
</citation>
|
|
119
|
+
<bibliography entry-spacing="0" second-field-align="flush">
|
|
120
|
+
<layout suffix=".">
|
|
121
|
+
<text variable="citation-number" prefix="[" suffix="]"/>
|
|
122
|
+
<text macro="author" suffix=", "/>
|
|
123
|
+
<choose>
|
|
124
|
+
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
|
125
|
+
<group delimiter=", ">
|
|
126
|
+
<text variable="title" text-case="title" font-style="italic"/>
|
|
127
|
+
<text macro="publisher"/>
|
|
128
|
+
<text macro="year-date"/>
|
|
129
|
+
</group>
|
|
130
|
+
</if>
|
|
131
|
+
<else-if type="chapter paper-conference" match="any">
|
|
132
|
+
<group delimiter=", ">
|
|
133
|
+
<group delimiter=" ">
|
|
134
|
+
<text term="in"/>
|
|
135
|
+
<text variable="container-title" form="short" text-case="title" font-style="italic"/>
|
|
136
|
+
<text macro="editor" prefix="(" suffix=")"/>
|
|
137
|
+
</group>
|
|
138
|
+
<text macro="publisher"/>
|
|
139
|
+
<text macro="year-date"/>
|
|
140
|
+
<group delimiter=" ">
|
|
141
|
+
<text macro="pages"/>
|
|
142
|
+
</group>
|
|
143
|
+
</group>
|
|
144
|
+
</else-if>
|
|
145
|
+
<else-if type="patent">
|
|
146
|
+
<group delimiter=", ">
|
|
147
|
+
<text variable="title" text-case="title" font-style="italic"/>
|
|
148
|
+
<text macro="year-date"/>
|
|
149
|
+
<text variable="number"/>
|
|
150
|
+
</group>
|
|
151
|
+
</else-if>
|
|
152
|
+
<else-if type="thesis">
|
|
153
|
+
<group delimiter=", ">
|
|
154
|
+
<text variable="title" text-case="title"/>
|
|
155
|
+
<text variable="genre"/>
|
|
156
|
+
<text variable="publisher"/>
|
|
157
|
+
<text macro="year-date"/>
|
|
158
|
+
</group>
|
|
159
|
+
</else-if>
|
|
160
|
+
<else-if type="webpage">
|
|
161
|
+
<group delimiter=", ">
|
|
162
|
+
<text variable="title" quotes="true"/>
|
|
163
|
+
<text macro="access"/>
|
|
164
|
+
<text macro="year-date"/>
|
|
165
|
+
</group>
|
|
166
|
+
</else-if>
|
|
167
|
+
<else>
|
|
168
|
+
<group delimiter=" ">
|
|
169
|
+
<!-- <text variable="container-title" form="short" font-style="italic"/> -->
|
|
170
|
+
<group delimiter=", ">
|
|
171
|
+
<text variable="title" quotes="true"/>
|
|
172
|
+
<text macro="container-title"/>
|
|
173
|
+
</group>
|
|
174
|
+
<group delimiter=", ">
|
|
175
|
+
<text macro="year-date"/>
|
|
176
|
+
<group>
|
|
177
|
+
<text variable="volume" font-style="italic"/>
|
|
178
|
+
</group>
|
|
179
|
+
<text variable="page"/>
|
|
180
|
+
</group>
|
|
181
|
+
</group>
|
|
182
|
+
<text macro="access" prefix=", "/>
|
|
183
|
+
</else>
|
|
184
|
+
</choose>
|
|
185
|
+
</layout>
|
|
186
|
+
</bibliography>
|
|
187
|
+
</style>
|
|
188
|
+
`;
|