Skip to content

Commit 9e16631

Browse files
authored
create independent style for cellular-and-molecular-gastroenterology-and-hepatology.csl (JabRef#4852)
1 parent 87b0853 commit 9e16631

File tree

2 files changed

+206
-14
lines changed

2 files changed

+206
-14
lines changed
Lines changed: 206 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,206 @@
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>Cellular and Molecular Gastroenterology and Hepatology</title>
5+
<title-short>CMGH</title-short>
6+
<id>http://www.zotero.org/styles/cellular-and-molecular-gastroenterology-and-hepatology</id>
7+
<link href="http://www.zotero.org/styles/cellular-and-molecular-gastroenterology-and-hepatology" rel="self"/>
8+
<link href="http://www.zotero.org/styles/human-gene-therapy" rel="template"/>
9+
<link href="https://www.cmghjournal.org/content/authorinfo" rel="documentation"/>
10+
<link href="https://www.elsevier.com/journals/cellular-and-molecular-gastroenterology-and-hepatology/2352-345x/submitting#guidelines" rel="documentation"/>
11+
<author>
12+
<name>Patrick O'Brien</name>
13+
</author>
14+
<category citation-format="numeric"/>
15+
<category field="biology"/>
16+
<issn>2352-345X</issn>
17+
<updated>2020-06-08T09:53:50+00:00</updated>
18+
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
19+
</info>
20+
<locale xml:lang="en">
21+
<terms>
22+
<term name="available at">available from</term>
23+
</terms>
24+
</locale>
25+
<macro name="author">
26+
<names variable="author" suffix=". ">
27+
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
28+
<label form="short" prefix=" (" suffix=")" strip-periods="true"/>
29+
<substitute>
30+
<names variable="editor"/>
31+
</substitute>
32+
</names>
33+
</macro>
34+
<macro name="editor">
35+
<names variable="editor">
36+
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
37+
<label form="short" strip-periods="true" prefix=" (" suffix=")"/>
38+
</names>
39+
</macro>
40+
<macro name="date">
41+
<choose>
42+
<if type="article-newspaper report" match="any">
43+
<date variable="issued" form="text"/>
44+
</if>
45+
<else>
46+
<date variable="issued" form="text" date-parts="year"/>
47+
</else>
48+
</choose>
49+
</macro>
50+
<macro name="publisher">
51+
<group delimiter=". ">
52+
<group delimiter=" ">
53+
<text variable="genre" text-case="title"/>
54+
<text variable="number"/>
55+
</group>
56+
<group delimiter=": ">
57+
<choose>
58+
<if type="thesis" match="none">
59+
<text variable="publisher-place"/>
60+
</if>
61+
</choose>
62+
<text variable="publisher"/>
63+
</group>
64+
<choose>
65+
<if variable="URL" match="none">
66+
<text macro="date"/>
67+
</if>
68+
</choose>
69+
</group>
70+
</macro>
71+
<macro name="access">
72+
<choose>
73+
<if variable="page" match="none">
74+
<choose>
75+
<if variable="DOI" match="any">
76+
<group prefix=". " delimiter=". ">
77+
<date variable="issued" form="text" prefix="Epub ahead of print "/>
78+
<text variable="DOI" prefix="DOI: "/>
79+
</group>
80+
</if>
81+
<else>
82+
<group delimiter=". ">
83+
<group delimiter=": ">
84+
<text term="available at" text-case="capitalize-first"/>
85+
<text variable="URL"/>
86+
</group>
87+
<text macro="accessed-date"/>
88+
</group>
89+
</else>
90+
</choose>
91+
</if>
92+
</choose>
93+
</macro>
94+
<macro name="accessed-date">
95+
<choose>
96+
<if variable="URL">
97+
<group delimiter=". ">
98+
<text macro="date"/>
99+
<group delimiter=" ">
100+
<text term="accessed" text-case="capitalize-first"/>
101+
<date variable="accessed" form="text"/>
102+
</group>
103+
</group>
104+
</if>
105+
</choose>
106+
</macro>
107+
<macro name="container-title">
108+
<choose>
109+
<if type="article-journal" match="any">
110+
<text variable="container-title" form="short" strip-periods="true" font-style="normal"/>
111+
</if>
112+
<else>
113+
<text variable="container-title" font-style="italic"/>
114+
</else>
115+
</choose>
116+
</macro>
117+
<macro name="title">
118+
<choose>
119+
<if type="book patent report thesis" match="any">
120+
<text variable="title"/>
121+
</if>
122+
<else>
123+
<text variable="title"/>
124+
</else>
125+
</choose>
126+
</macro>
127+
<macro name="page">
128+
<group delimiter=" ">
129+
<label variable="page" form="short"/>
130+
<text variable="page"/>
131+
</group>
132+
</macro>
133+
<macro name="edition">
134+
<choose>
135+
<if is-numeric="edition">
136+
<group delimiter=" ">
137+
<number variable="edition" form="ordinal"/>
138+
<text term="edition" form="short"/>
139+
</group>
140+
</if>
141+
<else>
142+
<text variable="edition" suffix="."/>
143+
</else>
144+
</choose>
145+
</macro>
146+
<citation collapse="citation-number">
147+
<sort>
148+
<key variable="citation-number"/>
149+
</sort>
150+
<layout delimiter="," vertical-align="sup">
151+
<text variable="citation-number"/>
152+
</layout>
153+
</citation>
154+
<bibliography delimiter-precedes-et-al="always" second-field-align="flush" line-spacing="2">
155+
<layout suffix=".">
156+
<text variable="citation-number" suffix=". "/>
157+
<text macro="author"/>
158+
<text macro="title"/>
159+
<choose>
160+
<if type="bill book graphic legal_case legislation motion_picture patent report song thesis" match="any">
161+
<group delimiter=". " prefix=". ">
162+
<text macro="edition"/>
163+
<text macro="publisher"/>
164+
</group>
165+
</if>
166+
<else-if type="chapter paper-conference" match="any">
167+
<group delimiter="; " prefix=". ">
168+
<group delimiter=". ">
169+
<group delimiter=" ">
170+
<text term="in" suffix=":" text-case="capitalize-first"/>
171+
<text macro="editor"/>
172+
<text variable="container-title" font-style="normal"/>
173+
</group>
174+
<text macro="publisher"/>
175+
</group>
176+
<text macro="page"/>
177+
</group>
178+
</else-if>
179+
<else-if type="article-newspaper article-magazine" match="any">
180+
<group delimiter=", " prefix=". ">
181+
<text macro="container-title"/>
182+
<text macro="date"/>
183+
<text macro="page"/>
184+
</group>
185+
</else-if>
186+
<else>
187+
<group delimiter=";" prefix=". ">
188+
<group delimiter=" ">
189+
<text macro="container-title"/>
190+
<choose>
191+
<if variable="page" match="any">
192+
<text macro="date"/>
193+
</if>
194+
</choose>
195+
</group>
196+
<group delimiter=":">
197+
<text variable="volume"/>
198+
<text variable="page"/>
199+
</group>
200+
</group>
201+
</else>
202+
</choose>
203+
<text macro="access" prefix=" "/>
204+
</layout>
205+
</bibliography>
206+
</style>

dependent/cellular-and-molecular-gastroenterology-and-hepatology.csl

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

0 commit comments

Comments
 (0)