Skip to content

Commit 92f437d

Browse files
POBrien333rmzelle
authored andcommitted
Create independent style for molecular-nutrition-and-food-research.csl… (JabRef#4342)
1 parent 0d7f481 commit 92f437d

File tree

2 files changed

+160
-22
lines changed

2 files changed

+160
-22
lines changed

Diff for: dependent/molecular-nutrition-and-food-research.csl

-22
This file was deleted.

Diff for: molecular-nutrition-and-food-research.csl

+160
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
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>Molecular Nutrition &amp; Food Research</title>
5+
<id>http://www.zotero.org/styles/molecular-nutrition-and-food-research</id>
6+
<link href="http://www.zotero.org/styles/molecular-nutrition-and-food-research" rel="self"/>
7+
<link href="http://www.zotero.org/styles/angewandte-chemie" rel="template"/>
8+
<link href="https://onlinelibrary.wiley.com/page/journal/16134133/homepage/2216_forauthors.html#refs" rel="documentation"/>
9+
<author>
10+
<name>Patrick O'Brien</name>
11+
</author>
12+
<category citation-format="numeric"/>
13+
<category field="biology"/>
14+
<category field="chemistry"/>
15+
<issn>1613-4125</issn>
16+
<eissn>1613-4133</eissn>
17+
<updated>2019-10-10T08:29:44+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+
<macro name="author">
21+
<names variable="author">
22+
<name initialize-with=". " delimiter=", " delimiter-precedes-last="always"/>
23+
<label form="short" prefix=", " text-case="capitalize-first" suffix=" "/>
24+
<substitute>
25+
<names variable="editor"/>
26+
<names variable="translator"/>
27+
</substitute>
28+
</names>
29+
</macro>
30+
<macro name="editor">
31+
<names variable="editor">
32+
<label form="short" text-case="capitalize-first" suffix=".: " strip-periods="true"/>
33+
<name initialize-with="." delimiter=", " delimiter-precedes-last="always"/>
34+
</names>
35+
</macro>
36+
<macro name="year-date">
37+
<group font-weight="bold">
38+
<choose>
39+
<if variable="issued">
40+
<date variable="issued">
41+
<date-part name="year"/>
42+
</date>
43+
</if>
44+
<else>
45+
<text term="no date" form="short"/>
46+
</else>
47+
</choose>
48+
</group>
49+
</macro>
50+
<macro name="access">
51+
<choose>
52+
<if variable="page" match="none">
53+
<choose>
54+
<if variable="DOI">
55+
<text variable="DOI" prefix="DOI "/>
56+
</if>
57+
</choose>
58+
<choose>
59+
<if type="webpage post post-weblog" match="any">
60+
<group delimiter=" ">
61+
<text term="available at"/>
62+
<text variable="URL"/>
63+
</group>
64+
</if>
65+
</choose>
66+
</if>
67+
</choose>
68+
</macro>
69+
<macro name="publisher">
70+
<group delimiter=", ">
71+
<text variable="publisher" text-case="capitalize-all"/>
72+
<text variable="publisher-place" text-case="title"/>
73+
</group>
74+
</macro>
75+
<macro name="pages">
76+
<label variable="page" form="short" suffix=" "/>
77+
<text variable="page"/>
78+
</macro>
79+
<macro name="volume">
80+
<group delimiter=" ">
81+
<label text-case="capitalize-first" variable="volume" form="short"/>
82+
<text variable="volume"/>
83+
</group>
84+
</macro>
85+
<citation collapse="citation-number">
86+
<sort>
87+
<key variable="citation-number"/>
88+
</sort>
89+
<layout vertical-align="sup" delimiter="," prefix="[" suffix="]">
90+
<text variable="citation-number"/>
91+
</layout>
92+
</citation>
93+
<bibliography entry-spacing="0" second-field-align="flush">
94+
<layout suffix=".">
95+
<text variable="citation-number" prefix="[" suffix="]"/>
96+
<text macro="author" suffix=", "/>
97+
<choose>
98+
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
99+
<group delimiter=", ">
100+
<text variable="title" text-case="title" font-style="italic"/>
101+
<group delimiter=" ">
102+
<text macro="publisher"/>
103+
<text macro="year-date"/>
104+
</group>
105+
</group>
106+
</if>
107+
<else-if type="chapter paper-conference" match="any">
108+
<group delimiter=", ">
109+
<group delimiter=" ">
110+
<text term="in"/>
111+
<group>
112+
<text macro="volume"/>
113+
<text variable="container-title" form="short" text-case="title" font-style="italic"/>
114+
</group>
115+
<text macro="editor" prefix="(" suffix=")"/>
116+
</group>
117+
<group delimiter=" ">
118+
<text macro="publisher"/>
119+
<text macro="year-date"/>
120+
</group>
121+
<text macro="pages"/>
122+
</group>
123+
</else-if>
124+
<else-if type="patent">
125+
<group delimiter=", ">
126+
<text variable="number"/>
127+
<text macro="year-date"/>
128+
</group>
129+
</else-if>
130+
<else-if type="thesis">
131+
<group delimiter=", ">
132+
<text variable="genre"/>
133+
<text variable="publisher"/>
134+
<text macro="year-date"/>
135+
</group>
136+
</else-if>
137+
<else-if type="webpage post post-weblog" match="any">
138+
<group delimiter=", ">
139+
<text variable="title" quotes="true"/>
140+
<text macro="access"/>
141+
<text macro="year-date"/>
142+
</group>
143+
</else-if>
144+
<else>
145+
<group delimiter=" ">
146+
<text variable="container-title" form="short" font-style="italic"/>
147+
<group delimiter=", ">
148+
<text macro="year-date"/>
149+
<group>
150+
<text variable="volume" font-style="italic"/>
151+
</group>
152+
<text variable="page" form="short"/>
153+
</group>
154+
</group>
155+
<text macro="access" prefix=", "/>
156+
</else>
157+
</choose>
158+
</layout>
159+
</bibliography>
160+
</style>

0 commit comments

Comments
 (0)