Skip to content

Instantly share code, notes, and snippets.

@konrad
konrad / doi2bibtex.sh
Last active August 23, 2017 08:52
Returns a BibTeX entry for one or more given DOIs.
#!/usr/bin/env bash
# Returns a BibTeX (www.bibtex.org) entry for one or more given DOIs
# (https://www.doi.org/).
#
# Call it like this:
#
# $ doi2bibtex.sh 10.1093/bioinformatics/btu533
#
# Can also be used for several DOIs at once:
@adam3smith
adam3smith / basic-style.csl
Created November 3, 2015 06:28
A CSL style reduced to its essential elements. (Technically bibliography isn't necessary either).
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0">
<info>
<title>Basic Style</title>
<id>http://www.zotero.org/styles/basic-style</id>
<link href="http://www.zotero.org/styles/basic-style" rel="self"/>
<author>
<name>Sebastian Karcher</name>
</author>
<category citation-format="author-date"/>