Skip to content

Instantly share code, notes, and snippets.

Sylvester Keil inukshuk

Block or report user

Report or block inukshuk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@inukshuk
inukshuk / result.html
Created Jul 15, 2012
CiteProc APA Style Example
View result.html
<div class="csl-bib-body">
  <div class="csl-entry">Silva, G. M. H. da, Rademaker, A., Vasconcelos, D. R. de, Amaral, F. N. do, Martins, C. B., Costa, V., &#38; Haeusler, E. H. (2007). Dealing with the Formal Analysis of Information Security Policies through Ontologies: A Case Study. In <i>Third Australasian Ontology Workshop (AOW 2007)</i>. Sydney: Australian Computer Society.</div>
</div>
@inukshuk
inukshuk / output
Created Nov 20, 2011
Pandoc CSL Tests for citeproc-js
View output
require 'bibtex'
require 'citeproc/js'
repo = 'https://raw.github.com/citation-style-language/styles/master/'
data = BibTeX.open('http://johnmacfarlane.net/pandoc/csltest/biblio.bib')
# styles to test
styles = %w{ aaa apa ama }
styles.each do |style|
View gist:1329348
M = 'M'
o = 'o'
X = 'X'
world = [
[o,o,o,o,o,M,o,o,o,o,o],
[o,o,o,o,M,M,o,o,o,o,o],
[o,o,o,o,o,M,o,o,M,M,o],
[o,o,o,M,o,M,o,o,o,M,o],
[o,o,o,o,o,M,M,o,o,o,o],
You can’t perform that action at this time.