Skip to content

Instantly share code, notes, and snippets.

@antoncrombach
Created September 2, 2018 19:47
Show Gist options
  • Save antoncrombach/aba3782c016a11a69a2fbb407a1eacf8 to your computer and use it in GitHub Desktop.
Save antoncrombach/aba3782c016a11a69a2fbb407a1eacf8 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
<info>
<title>Minimal style for grant proposals</title>
<!--<id>http://csl.mendeley.com/styles/20448741/minimal-grant-proposals</id>-->
<id>http://www.zotero.org/styles/minimal-grant-proposals</id>
<link href="http://www.zotero.org/styles/minimal-grant-proposals" rel="self"/>
<author>
<name>Anton Crombach</name>
<email>anton.crombach@gmail.com</email>
</author>
<contributor>
<name>Anton Crombach</name>
<uri>http://anton.cromba.ch/</uri>
</contributor>
<category citation-format="numeric"/>
<category field="science"/>
<category field="generic-base"/>
<updated>2018-08-30T11:17:00+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">
<names variable="author">
<name and="symbol" delimiter-precedes-last="never" initialize-with=". " name-as-sort-order="all"/>
<!--<name and="symbol" delimiter-precedes-last="never" et-al-min="2" initialize-with=". " name-as-sort-order="all"/>-->
<label form="short" prefix=", "/>
<et-al font-style="italic"/>
</names>
</macro>
<macro name="issuance">
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song thesis chapter paper-conference" match="any">
<group delimiter=", " prefix="(" suffix=")">
<text variable="publisher" form="short"/>
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</if>
<else>
<date variable="issued" prefix="(" suffix=")">
<date-part name="year"/>
</date>
</else>
</choose>
</macro>
<macro name="container-title">
<choose>
<if type="article-journal">
<text variable="container-title" font-style="italic" form="short"/>
</if>
<else>
<text variable="container-title" font-style="italic"/>
</else>
</choose>
</macro>
<macro name="editor">
<choose>
<if type="chapter paper-conference" match="any">
<names variable="editor" prefix="(" suffix=")">
<label form="short" suffix=" "/>
<name and="symbol" delimiter-precedes-last="never" initialize-with=". " name-as-sort-order="all"/>
</names>
</if>
</choose>
</macro>
<citation collapse="citation-number">
<sort>
<key variable="citation-number"/>
</sort>
<layout vertical-align="sup" delimiter=",">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography et-al-min="2" et-al-use-first="1" entry-spacing="0">
<layout>
<text variable="citation-number" font-weight="bold" suffix=" "/>
<group delimiter=" ">
<text macro="author" suffix="."/>
<choose>
<if type="chapter paper-conference" match="any">
<text term="in" form="long" plural="false"/>
</if>
</choose>
<text macro="container-title"/>
<text macro="editor"/>
<text variable="volume" form="short" font-weight="normal" suffix=","/>
<text variable="page" form="short"/>
<text macro="issuance"/>
<!--<text macro="access"/>-->
</group>
</layout>
</bibliography>
</style>
@CharleySchaefer
Copy link

CharleySchaefer commented Jun 5, 2023

Suggestion to remove initials for conciseness; in the author macro I use:
<name form="short" and="symbol" delimiter=", " delimiter-precedes-last="never" initialize-with=". "/>

@antoncrombach
Copy link
Author

Thanks, good idea! I wonder why I ever left them in... probably for disambiguation purposes. I'm superbusy at the moment, so give me some time to do the update here and on my blog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment