[webgen-users] bibtex and extensions

4 views
Skip to first unread message

Paulo Almeida

unread,
Nov 4, 2009, 11:04:48 PM11/4/09
to webgen...@rubyforge.org
Hi Thomas and folks,

I want to render a list of technical references in my site, from
various sources into a single .page file. These references are now
organized as various .bib files (bibtex is a very popular format to
store references and to use them in LaTeX text processor, as most of
you may know).

I think I will need to build a new webgen extension to deal with
bibtex format and to render it appropriately in html, but I have no
clues on how should I start from.

Is there anything like an extension tutorial, which teaches how to
create the simplest possible extension, how to use it inside a .page
file and so on? I have been looking for this tutorial in the last days
with no success, excuse me if it already exists.

Thx as always. Paulo
_______________________________________________
webgen-users mailing list
webgen...@rubyforge.org
http://rubyforge.org/mailman/listinfo/webgen-users

Damien Pollet

unread,
Nov 5, 2009, 5:00:05 AM11/5/09
to Paulo Almeida, webgen...@rubyforge.org
On Thu, Nov 5, 2009 at 05:04, Paulo Almeida <pe...@dri.cefetmg.br> wrote:
> I think I will need to build a new webgen extension to deal with
> bibtex format and to render it appropriately in html, but I have no
> clues on how should I start from.

Well, first of all, good luck on this part :)
I was fed up with the bibtex tools too and I can say the bibtex syntax
is not nice it you want to parse it in a somewhat general way. I have
a parser/generator that works, but it's in Smalltalk so integrating it
with webgen would not be immediate. Anyway, see
http://www.squeaksource.com/Citezen.html if you're interested.

Cheers
--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet

Angelo Gargantini

unread,
Nov 5, 2009, 1:16:55 AM11/5/09
to webgen...@rubyforge.org
Hi Paulo

take a look at:
https://gforge.inria.fr/plugins/scmsvn/viewcvs.php/www/?rev=199&root=oar#dirlist

However, I'm not sure that it is updated and works with the latest
versions of webgen.

To convert from bib to html you would need another tool for example:
http://www.lri.fr/~filliatr/bibtex2html/
(I wrote a similar tool BItoSite
http://cs.unibg.it/gargantini/software/bitosite/ - that I run with
webgen but not automatically).

I would be great to have a plugin for webgen that automatically do this.
Bye

Angelo Gargantini

angelo_gargantini.vcf

Thomas Leitner

unread,
Nov 5, 2009, 2:14:52 AM11/5/09
to webgen...@rubyforge.org
> I want to render a list of technical references in my site, from
> various sources into a single .page file. These references are now
> organized as various .bib files (bibtex is a very popular format to
> store references and to use them in LaTeX text processor, as most of
> you may know).
>
> I think I will need to build a new webgen extension to deal with
> bibtex format and to render it appropriately in html, but I have no
> clues on how should I start from.
>
> Is there anything like an extension tutorial, which teaches how to
> create the simplest possible extension, how to use it inside a .page
> file and so on? I have been looking for this tutorial in the last days
> with no success, excuse me if it already exists.

Have a look at the API documentation
http://webgen.rubyforge.org/documentation/rdoc/index.html There you
will find information about the various extensions as well as example
implementations. For example, if you want to implement a new webgen
tag, have a look at the documentation for the Webgen::Tag::Base module.

-- Thomas

Reply all
Reply to author
Forward
0 new messages