-Makes Nature style more macro-oriented
This commit is contained in:
parent
666d9080da
commit
43ff2623ed
1 changed files with 31 additions and 5 deletions
|
@ -14,6 +14,16 @@
|
|||
<category term="numeric"/>
|
||||
<updated></updated>
|
||||
</info>
|
||||
<macro name="title">
|
||||
<choose>
|
||||
<if type="book">
|
||||
<text variable="title" font-style="italic"/>
|
||||
</if>
|
||||
<else>
|
||||
<text variable="title"/>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="author">
|
||||
<names variable="author">
|
||||
<name sort-separator=", " delimiter=", " and="symbol" initialize-with="." delimiter-precedes-last="never" name-as-sort-order="all"/>
|
||||
|
@ -31,6 +41,24 @@
|
|||
</else-if>
|
||||
</choose>
|
||||
</macro>
|
||||
<macro name="issuance">
|
||||
<choose>
|
||||
<if type="book">
|
||||
<group prefix="(" suffix=").">
|
||||
<text variable="publisher" suffix=": " />
|
||||
<text variable="publisher-place" suffix=", " />
|
||||
<date variable="issued">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</group>
|
||||
</if>
|
||||
<else>
|
||||
<date prefix="(" suffix=")." variable="issued">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
</else>
|
||||
</choose>
|
||||
</macro>
|
||||
<citation>
|
||||
<option name="collapse" value="citation-number"/>
|
||||
<sort>
|
||||
|
@ -48,14 +76,12 @@
|
|||
<layout>
|
||||
<text variable="citation-number" suffix=". "/>
|
||||
<text macro="author"/>
|
||||
<text variable="title" prefix=" " suffix=". "/>
|
||||
<text macro="title" prefix=" " suffix=". "/>
|
||||
<text variable="container-title" font-style="italic" suffix=" " form="short"/>
|
||||
<text variable="volume" suffix=", " font-weight="bold"/>
|
||||
<text variable="page"/>
|
||||
<text macro="access"/>
|
||||
<date prefix=" (" suffix=")." variable="issued">
|
||||
<date-part name="year"/>
|
||||
</date>
|
||||
<text macro="issuance" />
|
||||
<text macro="access" />
|
||||
</layout>
|
||||
</bibliography>
|
||||
</style>
|
||||
|
|
Loading…
Add table
Reference in a new issue