react-cheminfo 0.140.0 → 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/styles/chrome.css +30 -6
- 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,196 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The CSL style `nature`, 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>Nature</title>
|
|
11
|
+
<id>https://www.zotero.org/styles/nature</id>
|
|
12
|
+
<link href="https://www.zotero.org/styles/nature" rel="self"/>
|
|
13
|
+
<link href="https://www.nature.com/nature/for-authors/formatting-guide" rel="documentation"/>
|
|
14
|
+
<author>
|
|
15
|
+
<name>Michael Berkowitz</name>
|
|
16
|
+
<email>mberkowi@gmu.edu</email>
|
|
17
|
+
</author>
|
|
18
|
+
<contributor>
|
|
19
|
+
<name>Patrick O'Brien</name>
|
|
20
|
+
<email>citationstyler@gmail.com</email>
|
|
21
|
+
</contributor>
|
|
22
|
+
<category citation-format="numeric"/>
|
|
23
|
+
<category field="science"/>
|
|
24
|
+
<category field="generic-base"/>
|
|
25
|
+
<issn>0028-0836</issn>
|
|
26
|
+
<eissn>1476-4687</eissn>
|
|
27
|
+
<updated>2025-09-10T18:26:21+00:00</updated>
|
|
28
|
+
<rights license="https://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
|
|
29
|
+
</info>
|
|
30
|
+
<macro name="title">
|
|
31
|
+
<choose>
|
|
32
|
+
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
|
33
|
+
<text variable="title" font-style="italic" text-case="title"/>
|
|
34
|
+
</if>
|
|
35
|
+
<else>
|
|
36
|
+
<text variable="title"/>
|
|
37
|
+
</else>
|
|
38
|
+
</choose>
|
|
39
|
+
</macro>
|
|
40
|
+
<macro name="author">
|
|
41
|
+
<names variable="author">
|
|
42
|
+
<name sort-separator=", " delimiter=", " and="symbol" initialize-with=". " delimiter-precedes-last="never" name-as-sort-order="all"/>
|
|
43
|
+
<label form="short" prefix=", "/>
|
|
44
|
+
<et-al font-style="italic"/>
|
|
45
|
+
</names>
|
|
46
|
+
</macro>
|
|
47
|
+
<macro name="access">
|
|
48
|
+
<choose>
|
|
49
|
+
<if variable="volume" type="article dataset software" match="any"/>
|
|
50
|
+
<else-if variable="DOI">
|
|
51
|
+
<text variable="DOI" prefix="doi:"/>
|
|
52
|
+
</else-if>
|
|
53
|
+
</choose>
|
|
54
|
+
</macro>
|
|
55
|
+
<macro name="access-data">
|
|
56
|
+
<choose>
|
|
57
|
+
<if type="dataset software" match="any">
|
|
58
|
+
<text variable="DOI" prefix="https://doi.org/"/>
|
|
59
|
+
</if>
|
|
60
|
+
</choose>
|
|
61
|
+
</macro>
|
|
62
|
+
<macro name="issuance">
|
|
63
|
+
<choose>
|
|
64
|
+
<if type="bill book graphic legal_case legislation motion_picture song thesis chapter paper-conference" match="any">
|
|
65
|
+
<group delimiter="; " suffix=".">
|
|
66
|
+
<group delimiter=", " prefix="(" suffix=")">
|
|
67
|
+
<text variable="publisher" form="long"/>
|
|
68
|
+
<text variable="publisher-place"/>
|
|
69
|
+
<date variable="issued">
|
|
70
|
+
<date-part name="year"/>
|
|
71
|
+
</date>
|
|
72
|
+
</group>
|
|
73
|
+
</group>
|
|
74
|
+
</if>
|
|
75
|
+
<else-if type="article">
|
|
76
|
+
<group delimiter=" ">
|
|
77
|
+
<choose>
|
|
78
|
+
<if variable="genre" match="any">
|
|
79
|
+
<text variable="genre" text-case="capitalize-first"/>
|
|
80
|
+
</if>
|
|
81
|
+
<else>
|
|
82
|
+
<text term="preprint" text-case="capitalize-first"/>
|
|
83
|
+
</else>
|
|
84
|
+
</choose>
|
|
85
|
+
<text term="at"/>
|
|
86
|
+
<choose>
|
|
87
|
+
<if variable="DOI" match="any">
|
|
88
|
+
<text variable="DOI" prefix="https://doi.org/"/>
|
|
89
|
+
</if>
|
|
90
|
+
<else>
|
|
91
|
+
<text variable="URL"/>
|
|
92
|
+
</else>
|
|
93
|
+
</choose>
|
|
94
|
+
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=")"/>
|
|
95
|
+
</group>
|
|
96
|
+
</else-if>
|
|
97
|
+
<else-if type="dataset software" match="any">
|
|
98
|
+
<group delimiter=" ">
|
|
99
|
+
<text variable="publisher"/>
|
|
100
|
+
<text macro="access-data"/>
|
|
101
|
+
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=")"/>
|
|
102
|
+
</group>
|
|
103
|
+
</else-if>
|
|
104
|
+
<else-if type="report webpage post post-weblog" match="any">
|
|
105
|
+
<group delimiter=" ">
|
|
106
|
+
<text variable="URL"/>
|
|
107
|
+
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=")"/>
|
|
108
|
+
</group>
|
|
109
|
+
</else-if>
|
|
110
|
+
<else-if type="article-journal" match="any">
|
|
111
|
+
<group delimiter=" ">
|
|
112
|
+
<choose>
|
|
113
|
+
<if match="none" variable="volume page">
|
|
114
|
+
<choose>
|
|
115
|
+
<if match="any" variable="DOI">
|
|
116
|
+
<text variable="DOI" prefix="https://doi.org/"/>
|
|
117
|
+
</if>
|
|
118
|
+
<else>
|
|
119
|
+
<text variable="URL"/>
|
|
120
|
+
</else>
|
|
121
|
+
</choose>
|
|
122
|
+
</if>
|
|
123
|
+
</choose>
|
|
124
|
+
<date date-parts="year" form="text" variable="issued" prefix="(" suffix=")"/>
|
|
125
|
+
</group>
|
|
126
|
+
</else-if>
|
|
127
|
+
<else>
|
|
128
|
+
<date variable="issued" prefix="(" suffix=")">
|
|
129
|
+
<date-part name="year"/>
|
|
130
|
+
</date>
|
|
131
|
+
</else>
|
|
132
|
+
</choose>
|
|
133
|
+
</macro>
|
|
134
|
+
<macro name="container-title">
|
|
135
|
+
<choose>
|
|
136
|
+
<if type="article-journal">
|
|
137
|
+
<text variable="container-title" font-style="italic" form="short"/>
|
|
138
|
+
</if>
|
|
139
|
+
<else>
|
|
140
|
+
<text variable="container-title" font-style="italic"/>
|
|
141
|
+
</else>
|
|
142
|
+
</choose>
|
|
143
|
+
</macro>
|
|
144
|
+
<macro name="editor">
|
|
145
|
+
<choose>
|
|
146
|
+
<if type="chapter paper-conference" match="any">
|
|
147
|
+
<names variable="editor" prefix="(" suffix=")">
|
|
148
|
+
<label form="short" suffix=" "/>
|
|
149
|
+
<name and="symbol" delimiter-precedes-last="never" initialize-with=". " name-as-sort-order="all"/>
|
|
150
|
+
</names>
|
|
151
|
+
</if>
|
|
152
|
+
</choose>
|
|
153
|
+
</macro>
|
|
154
|
+
<macro name="volume">
|
|
155
|
+
<choose>
|
|
156
|
+
<if type="article-journal" match="any">
|
|
157
|
+
<text variable="volume" font-weight="bold" suffix=","/>
|
|
158
|
+
</if>
|
|
159
|
+
<else>
|
|
160
|
+
<group delimiter=" ">
|
|
161
|
+
<label variable="volume" form="short"/>
|
|
162
|
+
<text variable="volume"/>
|
|
163
|
+
</group>
|
|
164
|
+
</else>
|
|
165
|
+
</choose>
|
|
166
|
+
</macro>
|
|
167
|
+
<citation collapse="citation-number">
|
|
168
|
+
<sort>
|
|
169
|
+
<key variable="citation-number"/>
|
|
170
|
+
</sort>
|
|
171
|
+
<layout vertical-align="sup" delimiter=",">
|
|
172
|
+
<text variable="citation-number"/>
|
|
173
|
+
</layout>
|
|
174
|
+
</citation>
|
|
175
|
+
<bibliography et-al-min="6" et-al-use-first="1" second-field-align="flush" entry-spacing="0" line-spacing="2">
|
|
176
|
+
<layout suffix=".">
|
|
177
|
+
<text variable="citation-number" suffix="."/>
|
|
178
|
+
<group delimiter=" ">
|
|
179
|
+
<text macro="author" suffix="."/>
|
|
180
|
+
<text macro="title" suffix="."/>
|
|
181
|
+
<choose>
|
|
182
|
+
<if type="chapter paper-conference" match="any">
|
|
183
|
+
<text term="in"/>
|
|
184
|
+
</if>
|
|
185
|
+
</choose>
|
|
186
|
+
<text macro="container-title"/>
|
|
187
|
+
<text macro="editor"/>
|
|
188
|
+
<text macro="volume"/>
|
|
189
|
+
<text variable="page"/>
|
|
190
|
+
<text macro="issuance"/>
|
|
191
|
+
<text macro="access"/>
|
|
192
|
+
</group>
|
|
193
|
+
</layout>
|
|
194
|
+
</bibliography>
|
|
195
|
+
</style>
|
|
196
|
+
`;
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The CSL style `royal-society-of-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" default-locale="en-GB">
|
|
9
|
+
<info>
|
|
10
|
+
<title>Royal Society of Chemistry</title>
|
|
11
|
+
<id>https://www.zotero.org/styles/royal-society-of-chemistry</id>
|
|
12
|
+
<link href="https://www.zotero.org/styles/royal-society-of-chemistry" rel="self"/>
|
|
13
|
+
<link href="https://www.rsc.org/learn-chemistry/resource/download/res00001664/cmp00004956/pdf" rel="documentation"/>
|
|
14
|
+
<link href="https://www.rsc.org/journals-books-databases/journal-authors-reviewers/prepare-your-article/#format-layout" rel="documentation"/>
|
|
15
|
+
<author>
|
|
16
|
+
<name>Julian Onions</name>
|
|
17
|
+
<email>julian.onions@gmail.com</email>
|
|
18
|
+
</author>
|
|
19
|
+
<contributor>
|
|
20
|
+
<name>Ivan Bushmarinov</name>
|
|
21
|
+
<email>ib@ineos.ac.ru</email>
|
|
22
|
+
</contributor>
|
|
23
|
+
<contributor>
|
|
24
|
+
<name>Steven R. Kirk</name>
|
|
25
|
+
<email>steven.kirk@cantab.net</email>
|
|
26
|
+
</contributor>
|
|
27
|
+
<contributor>
|
|
28
|
+
<name>Patrick O'Brien</name>
|
|
29
|
+
</contributor>
|
|
30
|
+
<category citation-format="numeric"/>
|
|
31
|
+
<category field="chemistry"/>
|
|
32
|
+
<summary>The Royal Society of Chemistry journal style.</summary>
|
|
33
|
+
<updated>2026-01-28T19:49:13+00:00</updated>
|
|
34
|
+
<rights license="https://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
|
|
35
|
+
</info>
|
|
36
|
+
<macro name="editor">
|
|
37
|
+
<names variable="editor">
|
|
38
|
+
<label form="short" suffix=" "/>
|
|
39
|
+
<name initialize-with=". " and="text" delimiter=", " delimiter-precedes-last="never"/>
|
|
40
|
+
</names>
|
|
41
|
+
</macro>
|
|
42
|
+
<locale xml:lang="en">
|
|
43
|
+
<terms>
|
|
44
|
+
<term name="presented at">presented in part at the</term>
|
|
45
|
+
<term name="patent">Pat.</term>
|
|
46
|
+
</terms>
|
|
47
|
+
</locale>
|
|
48
|
+
<macro name="author">
|
|
49
|
+
<names variable="author">
|
|
50
|
+
<name initialize-with=". " and="text" delimiter=", " delimiter-precedes-last="never"/>
|
|
51
|
+
<label form="short" prefix=", " text-case="capitalize-first"/>
|
|
52
|
+
<substitute>
|
|
53
|
+
<names variable="editor"/>
|
|
54
|
+
</substitute>
|
|
55
|
+
</names>
|
|
56
|
+
</macro>
|
|
57
|
+
<macro name="title">
|
|
58
|
+
<choose>
|
|
59
|
+
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
|
60
|
+
<text variable="title" font-style="italic"/>
|
|
61
|
+
</if>
|
|
62
|
+
<else>
|
|
63
|
+
<text variable="title"/>
|
|
64
|
+
</else>
|
|
65
|
+
</choose>
|
|
66
|
+
</macro>
|
|
67
|
+
<macro name="publisher">
|
|
68
|
+
<group delimiter=", ">
|
|
69
|
+
<text variable="publisher"/>
|
|
70
|
+
<text variable="publisher-place"/>
|
|
71
|
+
</group>
|
|
72
|
+
</macro>
|
|
73
|
+
<macro name="pages">
|
|
74
|
+
<label variable="page" form="short" suffix=" "/>
|
|
75
|
+
<text variable="page"/>
|
|
76
|
+
</macro>
|
|
77
|
+
<macro name="book-container">
|
|
78
|
+
<group delimiter=", ">
|
|
79
|
+
<group delimiter=" ">
|
|
80
|
+
<text term="in"/>
|
|
81
|
+
<text variable="container-title" font-style="italic"/>
|
|
82
|
+
</group>
|
|
83
|
+
<text macro="editor"/>
|
|
84
|
+
</group>
|
|
85
|
+
</macro>
|
|
86
|
+
<macro name="issued">
|
|
87
|
+
<choose>
|
|
88
|
+
<if type="speech" match="any">
|
|
89
|
+
<date variable="issued">
|
|
90
|
+
<date-part name="month" suffix=", "/>
|
|
91
|
+
<date-part name="year"/>
|
|
92
|
+
</date>
|
|
93
|
+
</if>
|
|
94
|
+
<else>
|
|
95
|
+
<date date-parts="year" form="text" variable="issued"/>
|
|
96
|
+
</else>
|
|
97
|
+
</choose>
|
|
98
|
+
</macro>
|
|
99
|
+
<macro name="edition">
|
|
100
|
+
<choose>
|
|
101
|
+
<if is-numeric="edition">
|
|
102
|
+
<group delimiter=" ">
|
|
103
|
+
<number variable="edition" form="ordinal"/>
|
|
104
|
+
<text value="edn" suffix="."/>
|
|
105
|
+
</group>
|
|
106
|
+
</if>
|
|
107
|
+
<else>
|
|
108
|
+
<text variable="edition" suffix="."/>
|
|
109
|
+
</else>
|
|
110
|
+
</choose>
|
|
111
|
+
</macro>
|
|
112
|
+
<macro name="patent-info">
|
|
113
|
+
<group delimiter=", ">
|
|
114
|
+
<group delimiter=" ">
|
|
115
|
+
<text variable="authority" form="short"/>
|
|
116
|
+
<choose>
|
|
117
|
+
<if variable="genre">
|
|
118
|
+
<text text-case="capitalize-first" variable="genre"/>
|
|
119
|
+
</if>
|
|
120
|
+
<else>
|
|
121
|
+
<text term="patent" form="short" text-case="capitalize-first"/>
|
|
122
|
+
</else>
|
|
123
|
+
</choose>
|
|
124
|
+
</group>
|
|
125
|
+
<text variable="number"/>
|
|
126
|
+
<text macro="issued"/>
|
|
127
|
+
</group>
|
|
128
|
+
</macro>
|
|
129
|
+
<citation collapse="citation-number">
|
|
130
|
+
<sort>
|
|
131
|
+
<key variable="citation-number"/>
|
|
132
|
+
</sort>
|
|
133
|
+
<layout delimiter="," vertical-align="sup">
|
|
134
|
+
<text variable="citation-number"/>
|
|
135
|
+
</layout>
|
|
136
|
+
</citation>
|
|
137
|
+
<bibliography second-field-align="flush" entry-spacing="0">
|
|
138
|
+
<layout suffix=".">
|
|
139
|
+
<text variable="citation-number"/>
|
|
140
|
+
<text macro="author" suffix=", "/>
|
|
141
|
+
<choose>
|
|
142
|
+
<if type="thesis">
|
|
143
|
+
<group delimiter=", ">
|
|
144
|
+
<text variable="genre"/>
|
|
145
|
+
<text variable="publisher"/>
|
|
146
|
+
<text macro="issued"/>
|
|
147
|
+
</group>
|
|
148
|
+
</if>
|
|
149
|
+
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
|
150
|
+
<text macro="title" suffix=", "/>
|
|
151
|
+
<group delimiter=", ">
|
|
152
|
+
<text macro="publisher"/>
|
|
153
|
+
<text macro="edition"/>
|
|
154
|
+
<text macro="issued"/>
|
|
155
|
+
<text variable="volume" prefix="vol. "/>
|
|
156
|
+
</group>
|
|
157
|
+
</else-if>
|
|
158
|
+
<else-if type="chapter paper-conference" match="any">
|
|
159
|
+
<group delimiter=", ">
|
|
160
|
+
<text macro="book-container"/>
|
|
161
|
+
<text macro="publisher"/>
|
|
162
|
+
<text macro="edition"/>
|
|
163
|
+
<text macro="issued"/>
|
|
164
|
+
<text variable="volume" prefix="vol. "/>
|
|
165
|
+
<text macro="pages"/>
|
|
166
|
+
</group>
|
|
167
|
+
</else-if>
|
|
168
|
+
<else-if type="article-journal">
|
|
169
|
+
<group delimiter=", ">
|
|
170
|
+
<text variable="container-title" font-style="italic" form="short"/>
|
|
171
|
+
<choose>
|
|
172
|
+
<if variable="page">
|
|
173
|
+
<text macro="issued"/>
|
|
174
|
+
<text variable="volume" font-weight="bold"/>
|
|
175
|
+
<text variable="page"/>
|
|
176
|
+
</if>
|
|
177
|
+
<else>
|
|
178
|
+
<text variable="DOI" prefix="DOI:"/>
|
|
179
|
+
</else>
|
|
180
|
+
</choose>
|
|
181
|
+
</group>
|
|
182
|
+
</else-if>
|
|
183
|
+
<else-if type="article" match="any">
|
|
184
|
+
<group delimiter=", ">
|
|
185
|
+
<text variable="publisher" font-style="italic"/>
|
|
186
|
+
<text macro="issued"/>
|
|
187
|
+
<text term="preprint"/>
|
|
188
|
+
<choose>
|
|
189
|
+
<if variable="number">
|
|
190
|
+
<group delimiter=":">
|
|
191
|
+
<text variable="publisher"/>
|
|
192
|
+
<text variable="number"/>
|
|
193
|
+
</group>
|
|
194
|
+
</if>
|
|
195
|
+
</choose>
|
|
196
|
+
<choose>
|
|
197
|
+
<if variable="DOI">
|
|
198
|
+
<text variable="DOI" prefix="DOI: "/>
|
|
199
|
+
</if>
|
|
200
|
+
<else>
|
|
201
|
+
<text variable="URL"/>
|
|
202
|
+
</else>
|
|
203
|
+
</choose>
|
|
204
|
+
</group>
|
|
205
|
+
</else-if>
|
|
206
|
+
<else-if type="webpage post-weblog" match="any">
|
|
207
|
+
<group delimiter=", ">
|
|
208
|
+
<text variable="title" form="short"/>
|
|
209
|
+
<text variable="URL"/>
|
|
210
|
+
<group delimiter=" " prefix="(" suffix=")">
|
|
211
|
+
<text term="accessed"/>
|
|
212
|
+
<date form="text" variable="accessed"/>
|
|
213
|
+
</group>
|
|
214
|
+
</group>
|
|
215
|
+
</else-if>
|
|
216
|
+
<else-if type="software" match="any">
|
|
217
|
+
<group delimiter=" ">
|
|
218
|
+
<text variable="title" form="short"/>
|
|
219
|
+
<group delimiter=" " prefix="(" suffix=")">
|
|
220
|
+
<label variable="version"/>
|
|
221
|
+
<text variable="version"/>
|
|
222
|
+
</group>
|
|
223
|
+
<choose>
|
|
224
|
+
<if variable="publisher">
|
|
225
|
+
<text macro="publisher"/>
|
|
226
|
+
</if>
|
|
227
|
+
<else>
|
|
228
|
+
<choose>
|
|
229
|
+
<if variable="DOI">
|
|
230
|
+
<text variable="DOI" prefix=", DOI:"/>
|
|
231
|
+
</if>
|
|
232
|
+
<else-if variable="URL">
|
|
233
|
+
<text variable="URL" prefix=" "/>
|
|
234
|
+
</else-if>
|
|
235
|
+
</choose>
|
|
236
|
+
</else>
|
|
237
|
+
</choose>
|
|
238
|
+
<text macro="issued"/>
|
|
239
|
+
</group>
|
|
240
|
+
</else-if>
|
|
241
|
+
<else-if type="speech" match="any">
|
|
242
|
+
<group delimiter=", ">
|
|
243
|
+
<group delimiter=" ">
|
|
244
|
+
<text term="presented at"/>
|
|
245
|
+
<text variable="event"/>
|
|
246
|
+
</group>
|
|
247
|
+
<text variable="event-place"/>
|
|
248
|
+
<text macro="issued"/>
|
|
249
|
+
</group>
|
|
250
|
+
</else-if>
|
|
251
|
+
<else-if type="patent" match="any">
|
|
252
|
+
<text macro="patent-info"/>
|
|
253
|
+
</else-if>
|
|
254
|
+
<else>
|
|
255
|
+
<group delimiter=", ">
|
|
256
|
+
<text variable="container-title" form="short" font-style="italic"/>
|
|
257
|
+
<text macro="issued"/>
|
|
258
|
+
<text variable="volume"/>
|
|
259
|
+
<text variable="page"/>
|
|
260
|
+
</group>
|
|
261
|
+
</else>
|
|
262
|
+
</choose>
|
|
263
|
+
</layout>
|
|
264
|
+
</bibliography>
|
|
265
|
+
</style>
|
|
266
|
+
`;
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The CSL style `springer-mathphys-brackets`, 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">
|
|
9
|
+
<info>
|
|
10
|
+
<title>Springer - MathPhys (numeric, brackets)</title>
|
|
11
|
+
<id>https://www.zotero.org/styles/springer-mathphys-brackets</id>
|
|
12
|
+
<link href="https://www.zotero.org/styles/springer-mathphys-brackets" rel="self"/>
|
|
13
|
+
<link href="https://www.zotero.org/styles/springer-lecture-notes-in-computer-science" rel="template"/>
|
|
14
|
+
<link href="https://www.springer.com/cda/content/document/cda_downloaddocument/manuscript-guidelines-1.0.pdf" rel="documentation"/>
|
|
15
|
+
<link href="https://www.springer.com/cda/content/document/cda_downloaddocument/Key_Style_Points_1.0.pdf" rel="documentation"/>
|
|
16
|
+
<author>
|
|
17
|
+
<name>Charles Parnot</name>
|
|
18
|
+
<email>charles.parnot@gmail.com</email>
|
|
19
|
+
<uri>https://twitter.com/cparnot</uri>
|
|
20
|
+
</author>
|
|
21
|
+
<category citation-format="numeric"/>
|
|
22
|
+
<category field="science"/>
|
|
23
|
+
<summary>This style is used by a number of Springer publications.</summary>
|
|
24
|
+
<updated>2019-09-25T12:00:00+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
|
+
<macro name="author">
|
|
28
|
+
<group>
|
|
29
|
+
<names variable="author">
|
|
30
|
+
<name name-as-sort-order="all" sort-separator=", " initialize-with="." delimiter=", " delimiter-precedes-last="always"/>
|
|
31
|
+
<label form="short" prefix=" " text-case="lowercase" strip-periods="true"/>
|
|
32
|
+
<substitute>
|
|
33
|
+
<names variable="editor"/>
|
|
34
|
+
</substitute>
|
|
35
|
+
</names>
|
|
36
|
+
</group>
|
|
37
|
+
</macro>
|
|
38
|
+
<macro name="editor">
|
|
39
|
+
<names variable="editor">
|
|
40
|
+
<name initialize-with="." delimiter=", " and="text" name-as-sort-order="all" sort-separator=", "/>
|
|
41
|
+
<label form="short" prefix=" (" text-case="lowercase" suffix=")"/>
|
|
42
|
+
</names>
|
|
43
|
+
</macro>
|
|
44
|
+
<macro name="title">
|
|
45
|
+
<choose>
|
|
46
|
+
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
|
47
|
+
<text variable="title"/>
|
|
48
|
+
</if>
|
|
49
|
+
<else>
|
|
50
|
+
<text variable="title"/>
|
|
51
|
+
</else>
|
|
52
|
+
</choose>
|
|
53
|
+
</macro>
|
|
54
|
+
<macro name="publisher">
|
|
55
|
+
<text variable="publisher"/>
|
|
56
|
+
<text variable="publisher-place" prefix=", "/>
|
|
57
|
+
</macro>
|
|
58
|
+
<macro name="page">
|
|
59
|
+
<group>
|
|
60
|
+
<label variable="page" form="short" suffix=" "/>
|
|
61
|
+
<text variable="page"/>
|
|
62
|
+
</group>
|
|
63
|
+
</macro>
|
|
64
|
+
<macro name="access">
|
|
65
|
+
<text variable="DOI" prefix="https://doi.org/"/>
|
|
66
|
+
</macro>
|
|
67
|
+
<citation collapse="citation-number">
|
|
68
|
+
<sort>
|
|
69
|
+
<key variable="citation-number"/>
|
|
70
|
+
</sort>
|
|
71
|
+
<layout prefix="[" suffix="]" delimiter=", ">
|
|
72
|
+
<text variable="citation-number"/>
|
|
73
|
+
</layout>
|
|
74
|
+
</citation>
|
|
75
|
+
<bibliography entry-spacing="0" second-field-align="flush">
|
|
76
|
+
<layout>
|
|
77
|
+
<text variable="citation-number" suffix=". "/>
|
|
78
|
+
<text macro="author" suffix=": "/>
|
|
79
|
+
<choose>
|
|
80
|
+
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
|
|
81
|
+
<group delimiter=" ">
|
|
82
|
+
<text macro="title" suffix="."/>
|
|
83
|
+
<text macro="publisher"/>
|
|
84
|
+
<date variable="issued">
|
|
85
|
+
<date-part name="year" prefix="(" suffix=")"/>
|
|
86
|
+
</date>
|
|
87
|
+
</group>
|
|
88
|
+
</if>
|
|
89
|
+
<else-if type="article-journal">
|
|
90
|
+
<group delimiter=" ">
|
|
91
|
+
<text macro="title" suffix="."/>
|
|
92
|
+
<text variable="container-title" form="short" suffix="."/>
|
|
93
|
+
<text variable="volume" suffix=","/>
|
|
94
|
+
<text variable="page"/>
|
|
95
|
+
<date variable="issued">
|
|
96
|
+
<date-part name="year" prefix="(" suffix=")"/>
|
|
97
|
+
</date>
|
|
98
|
+
</group>
|
|
99
|
+
<text macro="access" prefix=". "/>
|
|
100
|
+
</else-if>
|
|
101
|
+
<else-if type="chapter paper-conference" match="any">
|
|
102
|
+
<group delimiter=" ">
|
|
103
|
+
<text macro="title" suffix="."/>
|
|
104
|
+
<choose>
|
|
105
|
+
<if variable="container-title">
|
|
106
|
+
<text term="in" text-case="capitalize-first" suffix=": "/>
|
|
107
|
+
<text macro="editor" suffix=" "/>
|
|
108
|
+
<group delimiter=". ">
|
|
109
|
+
<text variable="container-title"/>
|
|
110
|
+
<text macro="page"/>
|
|
111
|
+
<text macro="publisher"/>
|
|
112
|
+
</group>
|
|
113
|
+
</if>
|
|
114
|
+
<else>
|
|
115
|
+
<text term="presented at" text-case="capitalize-first" suffix=" "/>
|
|
116
|
+
<text variable="event"/>
|
|
117
|
+
<text variable="event-place" prefix=", "/>
|
|
118
|
+
<date variable="issued" prefix=" ">
|
|
119
|
+
<date-part name="month" suffix=" "/>
|
|
120
|
+
<date-part name="day" suffix=" "/>
|
|
121
|
+
</date>
|
|
122
|
+
</else>
|
|
123
|
+
</choose>
|
|
124
|
+
<date variable="issued">
|
|
125
|
+
<date-part name="year" prefix="(" suffix=")"/>
|
|
126
|
+
</date>
|
|
127
|
+
</group>
|
|
128
|
+
</else-if>
|
|
129
|
+
<else-if type="webpage">
|
|
130
|
+
<group delimiter=", ">
|
|
131
|
+
<text macro="title"/>
|
|
132
|
+
<text variable="URL"/>
|
|
133
|
+
</group>
|
|
134
|
+
</else-if>
|
|
135
|
+
<else-if type="speech">
|
|
136
|
+
<group delimiter=" ">
|
|
137
|
+
<text macro="title" suffix="."/>
|
|
138
|
+
<text variable="event" suffix="."/>
|
|
139
|
+
<text variable="event-place" prefix=", "/>
|
|
140
|
+
<date variable="issued">
|
|
141
|
+
<date-part name="year" prefix="(" suffix=")"/>
|
|
142
|
+
</date>
|
|
143
|
+
</group>
|
|
144
|
+
</else-if>
|
|
145
|
+
<else>
|
|
146
|
+
<group delimiter=", ">
|
|
147
|
+
<text macro="title"/>
|
|
148
|
+
<text variable="URL"/>
|
|
149
|
+
<date variable="issued">
|
|
150
|
+
<date-part name="year" prefix="(" suffix=")"/>
|
|
151
|
+
</date>
|
|
152
|
+
</group>
|
|
153
|
+
</else>
|
|
154
|
+
</choose>
|
|
155
|
+
</layout>
|
|
156
|
+
</bibliography>
|
|
157
|
+
</style>
|
|
158
|
+
`;
|