commit 9c3c2053ebf3c76ddd27c3af805c05ed4f832e15 parent 0c89443181edeadec1982c8f3a39b9d40efbee90 Author: Dan Stillman <dstillman@zotero.org> Date: Tue, 6 Nov 2007 03:17:50 +0000 Test Diffstat:
| A | csl/test.csl | | | 76 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 76 insertions(+), 0 deletions(-)
diff --git a/csl/test.csl b/csl/test.csl @@ -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>