BibTeX Parser (version 1.5.1)

MoinMoin processor for BibTeX entries.

Copyright (C) 2004-2007 Jun Hu <j.hu@tue.nl>

Copyright (C) 2004 Alexandre Duret-Lutz <adl@gnu.org>

This module is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation;

Purpose

This module will run BibTeX blocks such as the following through bibtex2html.

{ { {#!bibtex
@Book{aho.74,
  author= {Alfred V. Aho and John E. Hopcroft and Jeffrey D. Ullman},
  title = {The Design and Analysis of Computer Algorithms},
  publisher= {Addison-Wesley},
  year  = {1974},
}
} } }

Several BibTeX entries can be listed into the same block (and they can \cite each other). The 'comment' element can be used to display a comment below each entry.

HlinsDatabase

If your wiki contains a page named HlinsDatabase, then the output of bibtex2html will be processed to add hyperlinks, using the contents of HlinsDatabase as input. It will search for:

to build a mapping list.

For example, if there is a line

 * [http://www.google.com Google]

or

 * Google = http://www.google.com

or

 Google:: http://www.google.com

All the appearance of 'Google' in the bibtex2html output will be replaced with '<a href="http://www.google.com">Google</a>'. The white spaces around mapping pairs will be stripped.

HTML tags are not allowed to appear in the keywords to prevent abuse.

Bibtex2html uses some additional fields such as "ftp", "http", "url", "ps" ,"dvi", "rtf", "pdf", "documenturl", "urlps" and "urldvi" in bibtex database. Web links are automatically inserted. The link name depends on the nature of the link:

This parser also supports moin attachment links in these fields. for example:

{ { {#!bibtex  abstract=off usekeys=off keywords=off style=alpha
@INPROCEEDINGS{Hu+JanseETAL-UserEvalDistInte:05,
  author    = {Hu, J. and Janse, M.D. and Kong, H.},
  title     = {User Evaluation on a Distributed Interactive Movie},
  booktitle = {HCI International 2005 (accepted)},
  year      = {2005},
  pdf       = {attachment:HCII2005.pdf},
  ps        = {attachment:HCII2005.ps.gz},
}
} } }

Parameters

style = [plain|unsrt|alpha|abbrv]

default style is plain.

hlinsdb = <WikiPage>

<WikiPage> will be used as input, instead of the default HlinsDatabase

keywords = [on|off]
whether to show keywords (if any),

default is on

abstract = [on|off]
whether to show abstract (if any),

default is on

usekeys = [on|off]
whether to use the cite keys from the BibTeX input file (and not the ones generated by the BibTeX

style file). default is on.

Download and installation

Examples

Revision history

Known Bugs

Discussion


Hi Jun, very useful parser, I would have 2 suggestions:

thanks again


Dear Jun

in the actual version there are no formatting used in HlinsDatabase

Howard Barringer = http://www.cs.man.ac.uk/fmethods/people/howard.html
Roderick Bloem = http://vlsi.colorado.edu/~rbloem/
Edmund&nbsp;M. Clarke = http://www-2.cs.cmu.edu/~emc/
Costas Courcoubetis = http://www.aueb.gr/users/courcou/
Jean-Michel Couvreur = http://www.labri.fr/~couvreur
Edsger&nbsp;Wybe Dijkstra = http://www.cs.utexas.edu/users/EWD/

I would prefer if this could be changed to list items

 Howard Barringer:: http://www.cs.man.ac.uk/fmethods/people/howard.html
 Roderick Bloem:: http://vlsi.colorado.edu/~rbloem/
 Edmund M. Clarke:: http://www-2.cs.cmu.edu/~emc/
 Costas Courcoubetis:: http://www.aueb.gr/users/courcou/
 Jean-Michel Couvreur:: http://www.labri.fr/~couvreur
 Edsger&nbsp;Wybe Dijkstra:: http://www.cs.utexas.edu/users/EWD/


I don't understand why this code works and yours not. I have removed all my changes and now your code works too. Probably it was the flush on the pipe I don't know. Because I am not sure already missing something I better put the whole code on this page. -- ReimarBauer 2005-03-07 20:16:04

}}} I am sorry sometimes I got ideas step by step. So here is the code of the formatter. -- ReimarBauer DateTime(2005-03-12T11:34:10Z)

I really find it very useful if I can put the bibtex data in a page, and the bibtex macro sorts the entries (according to the style parameter, etc.) upon save. How do I get this functionality? -- MuseTalk 2006-05-09 06:04:45


MoinMoin: ParserMarket/bibtex (last edited 2010-09-27 09:40:44 by dyn177231)