Skip to content

Commit eaddf8e

Browse files
authored
Human Molecular Genetics (#5635)
Turn into independent style, change et al. * Fix substitute and also adjust Database template style
1 parent 0afd7fb commit eaddf8e

File tree

3 files changed

+200
-18
lines changed

3 files changed

+200
-18
lines changed

database.csl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,12 @@
2525
</macro>
2626
<macro name="author">
2727
<names variable="author">
28-
<name and="text" delimiter-precedes-last="never" et-al-min="4" et-al-use-first="3" initialize-with=". " name-as-sort-order="all"/>
28+
<name and="text" delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all"/>
2929
<label form="short" prefix=" (" suffix=")"/>
30+
<substitute>
31+
<names variable="editor"/>
32+
<text variable="title"/>
33+
</substitute>
3034
</names>
3135
</macro>
3236
<macro name="publisher">

dependent/human-molecular-genetics.csl

Lines changed: 0 additions & 17 deletions
This file was deleted.

human-molecular-genetics.csl

Lines changed: 195 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,195 @@
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="sort-only" default-locale="en-US">
3+
<info>
4+
<title>Human Molecular Genetics</title>
5+
<title-short>HMG</title-short>
6+
<id>http://www.zotero.org/styles/human-molecular-genetics</id>
7+
<link href="http://www.zotero.org/styles/human-molecular-genetics" rel="self"/>
8+
<link href="http://www.zotero.org/styles/database" rel="template"/>
9+
<link href="http://www.oxfordjournals.org/our_journals/hmg/for_authors/general.html" rel="documentation"/>
10+
<category citation-format="numeric"/>
11+
<category field="medicine"/>
12+
<issn>0964-6906</issn>
13+
<eissn>1460-2083</eissn>
14+
<updated>2019-07-26T21:58:08+00:00</updated>
15+
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
16+
</info>
17+
<macro name="editor">
18+
<names variable="editor">
19+
<name delimiter-precedes-last="always" initialize-with=". " name-as-sort-order="all"/>
20+
<label form="short" prefix=" (" suffix=")"/>
21+
</names>
22+
</macro>
23+
<macro name="author">
24+
<names variable="author">
25+
<name and="text" delimiter-precedes-last="never" initialize-with="." name-as-sort-order="all"/>
26+
<label form="short" prefix=" (" suffix=")"/>
27+
<et-al font-style="italic"/>
28+
<substitute>
29+
<names variable="editor"/>
30+
<text variable="title"/>
31+
</substitute>
32+
</names>
33+
</macro>
34+
<macro name="publisher">
35+
<group delimiter=", ">
36+
<text variable="publisher"/>
37+
<text variable="publisher-place"/>
38+
</group>
39+
</macro>
40+
<macro name="volume">
41+
<group delimiter=" ">
42+
<text term="volume" form="short" text-case="capitalize-first"/>
43+
<text variable="volume"/>
44+
</group>
45+
</macro>
46+
<macro name="series">
47+
<text variable="collection-title"/>
48+
</macro>
49+
<macro name="pages">
50+
<label variable="page" form="short" suffix=" "/>
51+
<text variable="page"/>
52+
</macro>
53+
<macro name="book-container">
54+
<group delimiter=" ">
55+
<text term="in" text-case="capitalize-first"/>
56+
<text macro="editor"/>
57+
</group>
58+
</macro>
59+
<macro name="issued">
60+
<date date-parts="year" form="text" variable="issued" prefix=" (" suffix=") "/>
61+
</macro>
62+
<macro name="full-issued">
63+
<date variable="issued" delimiter=" ">
64+
<date-part name="month" form="long" suffix=" "/>
65+
<date-part name="day" suffix=", "/>
66+
<date-part name="year"/>
67+
</date>
68+
</macro>
69+
<macro name="edition">
70+
<choose>
71+
<if is-numeric="edition">
72+
<group delimiter=" ">
73+
<number variable="edition" form="ordinal"/>
74+
<text term="edition" form="short"/>
75+
</group>
76+
</if>
77+
<else>
78+
<text variable="edition" suffix="."/>
79+
</else>
80+
</choose>
81+
</macro>
82+
<citation collapse="citation-number">
83+
<sort>
84+
<key variable="citation-number"/>
85+
</sort>
86+
<layout delimiter="," prefix="(" suffix=")">
87+
<text variable="citation-number"/>
88+
</layout>
89+
</citation>
90+
<bibliography et-al-min="11" et-al-use-first="10" second-field-align="flush" entry-spacing="0">
91+
<layout suffix=".">
92+
<text variable="citation-number" suffix="."/>
93+
<text macro="author" suffix=" "/>
94+
<text macro="issued"/>
95+
<text variable="title" suffix=". "/>
96+
<choose>
97+
<if type="article-magazine">
98+
<group delimiter=" ">
99+
<text variable="container-title" font-style="italic" suffix="."/>
100+
<text macro="edition"/>
101+
<text macro="publisher"/>
102+
<text macro="full-issued" suffix=","/>
103+
<text macro="pages"/>
104+
</group>
105+
</if>
106+
<else-if type="thesis">
107+
<group delimiter=", ">
108+
<group delimiter=". ">
109+
<text variable="genre"/>
110+
</group>
111+
<text macro="publisher"/>
112+
<text macro="volume"/>
113+
<text macro="pages"/>
114+
</group>
115+
</else-if>
116+
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
117+
<group delimiter="; ">
118+
<text variable="title" font-style="italic"/>
119+
<text macro="editor" prefix=" "/>
120+
<text macro="series"/>
121+
<text macro="edition"/>
122+
<choose>
123+
<if type="report">
124+
<group delimiter=" ">
125+
<text variable="genre"/>
126+
<text variable="number"/>
127+
</group>
128+
</if>
129+
</choose>
130+
<group delimiter=", ">
131+
<text macro="publisher"/>
132+
<text macro="issued"/>
133+
</group>
134+
<group delimiter=", ">
135+
<text macro="volume"/>
136+
<text macro="pages"/>
137+
</group>
138+
</group>
139+
</else-if>
140+
<else-if type="patent">
141+
<group delimiter=", ">
142+
<group delimiter=". ">
143+
<text variable="title"/>
144+
<text variable="number"/>
145+
</group>
146+
<date variable="issued" form="text"/>
147+
</group>
148+
</else-if>
149+
<else-if type="chapter paper-conference" match="any">
150+
<group delimiter=", ">
151+
<text macro="book-container"/>
152+
<text variable="container-title" font-style="italic"/>
153+
<text macro="series"/>
154+
<text macro="publisher"/>
155+
<group delimiter=", ">
156+
<text macro="volume"/>
157+
<text macro="pages"/>
158+
</group>
159+
</group>
160+
</else-if>
161+
<else-if type="webpage post post-weblog" match="any">
162+
<group delimiter=" ">
163+
<text variable="title"/>
164+
<text variable="URL"/>
165+
<date variable="accessed" prefix="(accessed " suffix=")" delimiter=" ">
166+
<date-part name="month" form="short" strip-periods="true"/>
167+
<date-part name="day" suffix=", "/>
168+
<date-part name="year"/>
169+
</date>
170+
</group>
171+
</else-if>
172+
<else-if type="article-journal">
173+
<group delimiter=", ">
174+
<text variable="container-title" font-style="italic" form="short"/>
175+
<text variable="volume" font-weight="bold"/>
176+
<text variable="page"/>
177+
</group>
178+
</else-if>
179+
<else>
180+
<group delimiter=" ">
181+
<group delimiter=". ">
182+
<text variable="title"/>
183+
<text variable="container-title" font-style="italic" form="short"/>
184+
</group>
185+
<group delimiter=", ">
186+
<text macro="issued" font-weight="bold"/>
187+
<text variable="volume" font-style="italic"/>
188+
<text variable="page"/>
189+
</group>
190+
</group>
191+
</else>
192+
</choose>
193+
</layout>
194+
</bibliography>
195+
</style>

0 commit comments

Comments
 (0)