Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1003 Bytes

Installation.md

File metadata and controls

35 lines (24 loc) · 1003 Bytes

Installing BibTeX-js

Load javascript, add this to your html code:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="https://raw.githubusercontent.com/pcooksey/bibtex-js/master/src/bibtex_js.js"></script>

Place BibTeX link into <bibtex> tag or insert bibtex text into a (hidden) textarea with bibtex_input in the class:

<bibtex src="test.bib"></bibtex>

<textarea id="bibtex_input" style="display:none;">
@book{book1,
  author = "Donald Knuth",
  title = "Concrete Mathematics"
}
</textarea>

Output will be displayed in the element with id "bibtex_display", add this to HTML:

<div id="bibtex_display"></div>

That's it!

Unless you want to get fancy

Customize how publications are displayed using styles.

Search entries, hide certain bibtex entries, additional bibtex variables, and more with extra functionality.