Skip to content

Instantly share code, notes, and snippets.

@aurimasv
Created July 10, 2014 04:29
Show Gist options
  • Save aurimasv/8e2dd36468b20afe74c7 to your computer and use it in GitHub Desktop.
Save aurimasv/8e2dd36468b20afe74c7 to your computer and use it in GitHub Desktop.
Sort testing (minimal style)
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" default-locale="en-US">
<info>
<title>Sort test</title>
<id>http://www.zotero.org/styles/sort-test</id>
<link href="http://www.zotero.org/styles/sort-test" rel="self"/>
<author>
<name>John Doe</name>
</author>
<category citation-format="numeric"/>
<category field="science"/>
<summary>Test sorting</summary>
<updated>2014-07-09T21:58:08+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<macro name="author">
<group suffix=".">
<names variable="author">
<name name-as-sort-order="all" sort-separator=" " initialize-with="" delimiter=", " delimiter-precedes-last="always"/>
</names>
</group>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout>
<text variable="citation-number"/>
</layout>
</citation>
<bibliography et-al-min="11" et-al-use-first="10">
<sort>
<key macro="author"/>
</sort>
<layout>
<text macro="author"/>
</layout>
</bibliography>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment