diff options
author | https://www.google.com/accounts/o8/id?id=AItOawnptdo_29LsbUxftV55P932hRZccivCtl0 <Matthias@web> | 2011-11-01 18:16:33 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2011-11-01 18:16:33 -0400 |
commit | 647b7ae616f96fc3d1ba3abb9007566de0f6d2fc (patch) | |
tree | 5b40e8a1f808b2b1a970ac7a6dffcb7a63632669 /doc/plugins/contrib | |
parent | 63aab2bdb13b75f0a47e65db7aa37960f608727c (diff) | |
download | ikiwiki-647b7ae616f96fc3d1ba3abb9007566de0f6d2fc.tar ikiwiki-647b7ae616f96fc3d1ba3abb9007566de0f6d2fc.tar.gz |
initial
Diffstat (limited to 'doc/plugins/contrib')
-rw-r--r-- | doc/plugins/contrib/bibtex.mdwn | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/plugins/contrib/bibtex.mdwn b/doc/plugins/contrib/bibtex.mdwn new file mode 100644 index 000000000..33770377d --- /dev/null +++ b/doc/plugins/contrib/bibtex.mdwn @@ -0,0 +1,42 @@ +# bibtex for ikiwiki # + +This [ikiwiki]-plugin provides a + + [[!bibtex ]] + +directive for [ikiwiki]. + +So far, it can display a raw or formatted bibtex-entry from a +bibtex-file (either checked into ikiwiki, or not). + +[ikiwiki]: http://ikiwiki.info/ + +Get it at [github]. + +[github]: https://github.com/ihrke/iki-bibtex + +Features: + +* supports websetup + +## Requirements ## + +* [Text::BibTeX] - available from CPAN + +[Text::BibTeX]: http://search.cpan.org/~ambs/Text-BibTeX-0.61/lib/Text/BibTeX.pm + +## Examples ## + +Output from file mybib.bib, bibtex key 'key1' in a citation-like +format (authors (year): journal. volume (number), pages.). + + [[!bibtex file="mybib.bib" key="key1" format="citation"]] + +Combine with toggle-plugin to optionally display the raw bibtex + + [[!bibtex key="Ihrke2011"]] [[!toggle id="bibtexentry" text="(entry)"]] + [[!toggleable id="bibtexentry" text=""" + [[!bibtex key="Ihrke2011" format="raw"]] + [[!toggle id="bibtexentry" text="(hide)"]] + """]] + |