Create new directory for CSLs, with NLM as a test of the validation functions
This commit is contained in:
parent
70b10ea320
commit
bcc09357e4
1 changed files with 76 additions and 0 deletions
76
csl/nlm.csl
Normal file
76
csl/nlm.csl
Normal file
|
@ -0,0 +1,76 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?oxygen RNGSchema="csl.rnc" type="compact"?>
|
||||
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" xml:lang="en">
|
||||
<info>
|
||||
<title>National Library of Medicine</title>
|
||||
<id>http://purl.org/net/xbiblio/csl/styles/nlm.csl</id>
|
||||
<link>http://purl.org/net/xbiblio/csl/styles/nlm.csl</link>
|
||||
<author>
|
||||
<name>Michael Berkowitz</name>
|
||||
<email>michael@songsaboutsnow.com</email>
|
||||
</author>
|
||||
<category term="generic-base"/>
|
||||
<updated>2007-10-23T18:00:00</updated>
|
||||
</info>
|
||||
<macro name="author">
|
||||
<names variable="author" suffix=". ">
|
||||
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="editor">
|
||||
<names variable="editor" suffix=", editor(s). ">
|
||||
<name sort-separator=" " initialize-with="" name-as-sort-order="all" delimiter=", " delimiter-precedes-last="always"/>
|
||||
</names>
|
||||
</macro>
|
||||
<macro name="publisher">
|
||||
<text variable="publisher-place" suffix=": "/>
|
||||
<text variable="publisher" suffix="; "/>
|
||||
<date variable="issued">
|
||||
<date-part name="year" suffix=". "/>
|
||||
</date>
|
||||
</macro>
|
||||
<citation>
|
||||
<option name="collapse" value="citation-number"/>
|
||||
<sort>
|
||||
<key variable="citation-number"/>
|
||||
</sort>
|
||||
<layout prefix="(" suffix=")" delimiter="; ">
|
||||
<text variable="citation-number"/>
|
||||
</layout>
|
||||
</citation>
|
||||
<bibliography>
|
||||
<option name="et-al-min" value="7"/>
|
||||
<option name="et-al-use-first" value="6"/>
|
||||
<option name="second-field-align" value="true"/>
|
||||
<layout>
|
||||
<text variable="citation-number" suffix=". "/>
|
||||
<text macro="author"/>
|
||||
<text variable="title" suffix=". "/>
|
||||
<choose>
|
||||
<if type="book">
|
||||
<text variable="edition" prefix=" " suffix=" ed. "/>
|
||||
<text macro="publisher" prefix=" "/>
|
||||
</if>
|
||||
<else-if type="chapter">
|
||||
<group prefix=" In: " suffix=". ">
|
||||
<text macro="editor"/>
|
||||
<text variable="container-title"/>
|
||||
</group>
|
||||
<text macro="publisher" prefix=" "/>
|
||||
<text variable="page" prefix=" p. " suffix="."/>
|
||||
</else-if>
|
||||
<else>
|
||||
<text variable="container-title" suffix=". " form="short"/>
|
||||
<date variable="issued" suffix=";">
|
||||
<date-part name="year" suffix=" "/>
|
||||
<date-part name="month" form="short" suffix=" "/>
|
||||
<date-part name="day"/>
|
||||
</date>
|
||||
<text variable="volume"/>
|
||||
<text variable="issue" prefix="(" suffix="):"/>
|
||||
<text variable="page" suffix="."/>
|
||||
</else>
|
||||
</choose>
|
||||
</layout>
|
||||
</bibliography>
|
||||
</style>
|
Loading…
Reference in a new issue