Contents
Bibliography macro
Purpose
A macro to insert a bibliography automatically generated from embedded bibtex markup, showing the entries cited with the Cite macro on the current page. It can optionally include another page which may be in bibtex format or contain further embedded bibtex markup.
This macro is intended to be used with the Cite macro and bibtex parser. It depends on bibtex and bib2xhtml, see http://en.wikipedia.org/wiki/Bibtex and http://www.spinellis.gr/sw/textproc/bib2xhtml/ for more information.
Download & Release Notes
Download |
Release Version |
Moin Version |
Release Notes |
|
1.5 |
|
Usage
Syntax
[[Bibliography]]
[[Bibliography(bib_page_name[, abstracts=abstracts, label=label, chronological=chronological, style=style)]]
Parameters
bib_page_name |
page to include which contains additional embedded bibtex entries |
Keyword Parameters
abstracts |
show abstracts (values: on, true, yes, off, false, no; default off) |
label |
show labels if the style is alpha, named, plain, or unsort (values: on, true, yes, off, false, no; default: on) |
chronological |
sort chronologically first by year then by author instead of first by author and then by year, can also be reversed in order to sort from last to earliest entry instead of from earliest to last entry (values: on, true, yes, off, false, no, reverse, reversed; default: off) |
style |
determine a style to use (values: empty, plain, alpha, named, unsort, unsortlist; default: named) |
Configuration Options
bibtex_bib2html_cmd |
path and command name of bib2xhtml, needs to be set if bib2xhtml is not in PATH |
bibtex_bst_path |
path to bib2xhtml bst-style files, needs to be set if these are not found by bibtex automatically |
Examples
Code
= Test = { { {#!bibtex show=off @BOOK{oecd:2000a, editor = {OECD}, title = {No Longer Business as Usual. Fighting Bribery and Corruption}, booktitle = {No Longer Business as Usual. Fighting Bribery and Corruption}, year = 2000, address = {Paris}, publisher = {{Organisation for Economic Cooperation and Development}} } @BOOKLET{undp:2004, author = {UNDP}, title = {Anti-Corruption: Practice Note}, year = 2004, } @ARTICLE{tangri-mwenda:2006, author = {Roger Tangri and M. Mwenda}, title = {Politics, donors and the ineffectiveness of anti-corruption institutions in {U}ganda}, pages = {101--124}, journal = {Journal of Modern African Studies}, year = 2006, volume = 44, number = 1, month = {March}, } } } } Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua ([[Cite(oecd:2000a)]]). Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat [[Cite(undp:2004, "(see ", " p. 10)")]]. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur ([[Cite(tangri-mwenda:2006, "see ")]]). [[Bibliography(, label=yes, style=named)]]
Result
Changelog
Revision 1.1.1.1 2007-06-07 20:36:15 gber initial import into CVS
Copyright
GuidoBerhoerster - guido + moinmoin. wikiwikiweb.de AT berhoerster DOT name
Related Work
MacroMarket/QuoteMacro, ParserMarket/QuoteParser, MacroMarket/BibEntry, MacroMarket/BibKeys
Comments
I like that very much. Support of bibliographic information was urgently needed in Moin. -- OliverSiemoneit 2007-09-08 20:52:33
Great macro! However, the transition to Moin 1.6 caused some parts to break. Most problems should be fixed in this version Bibliography1.6.py. This version also supports external bibtex files. -- IngmarSchoegl 2024-12-23 10:21:17
I'm not quite sure how to get this to work on Moin 1.9. There's a ported Bibtex parser, fortunately. Curiously, it depends on bibtex2html, not bib2xhtml. Can we get working external bibliography lists for Moin 1.9 - and preferably, depending on a single Bibtex HTML converter that's already packaged in Debian? [And please remove "member of Moin core team's last name" from this site's text captcha. You might as well ask the True Names of Gods! There are things mortals need not know, and only bask in the awesomeness of the glory.] -- UrpoLankinen 2011-03-23 11:13:49
lol, well you should know and we need something for the stats -- ReimarBauer 2011-03-23 13:38:08
I second this, it'd be very nice to have Bibliography macro working with the newest parser -- CoolNodje 2014-05-22 09:38:08