Skip to content

Instantly share code, notes, and snippets.

@inukshuk inukshuk/result.html
Created Jul 15, 2012

Embed
What would you like to do?
CiteProc APA Style Example
<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>
require 'rubygems'
require 'bibtex'
require 'citeproc'
citeproc = CiteProc::Processor.new do |p|
p.style = :apa
p.locale = 'pt-BR'
p.format = :html
end
citeproc.import BibTeX.open(DATA, :filter => :latex).to_citeproc
puts citeproc.bibliography.to_s
__END__
@InProceedings{publication-19a,
author = {Silva, Geiza Maria Hamazaki da
and Rademaker, Alexandre
and Vasconcelos, Davi Romero de
and Amaral, Fernando N{\'a}ufel do
and Martins, Carlos Baz{\'i}lio
and Costa, Vaston
and Haeusler, Edward Hermann},
title = {Dealing with the Formal Analysis of Information Security Policies through Ontologies: A Case Study},
booktitle = {Third Australasian Ontology Workshop (AOW 2007)},
year = {2007},
publisher = {Australian Computer Society},
address = {Sydney},
isbn = {9781920682668},
file = {:http://crpit.com/abstracts/CRPITV85daSilva.html:HTML}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.