Projects / bib2xhtml

bib2xhtml

bib2xhtml is a program that converts BibTeX files into HTML (specifically, XHTML 1.0). The conversion is mostly done by specialized BibTeX style files, derived from a converted bibliography style template. This ensures that the original BibTeX styles are faithfully reproduced. Some post-processing is performed by Perl code. This is an update of the bib2html program written by David Hull in 1996 and maintained by him until 1998.

Tags Software Development Documentation Internet Web Site Management Text Processing Markup HTML/XHTML
Licenses GPL
Operating Systems OS Independent
Implementation Perl

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  08 Jul 2009 14:57
  • Rrelease-after

    Changes: Changes were made to make the generated documents pass XHTML validators. Specifically, this version drops the deprecated compact dl attribute and escapes XML-special characters appearing in URLs and DOIs. In addition, the program will operate better when the PDF::API2 module is not available and will correctly handle cross references containing tildes.

    • Rrelease-mid
    •  14 Jun 2007 10:45
    • Rrelease-after

    Changes: This version adds an option for specifying how extended file information is displayed. This can be used for including PDF file icons or providing more descriptive names. In addition, it provides support for counting and listing the number of pages in PDF documents, and documents a previously undocumented option for specifying the file path to URL mappings.

    • Rrelease-mid
    •  29 May 2006 10:05
    • Rrelease-after

    Changes: Changes in this version prevent tildes in URLs from being converted into spaces. Support for some missing Czech characters has been added. The handling of the degree symbol and the \dots markup command has been corrected.

    • Rrelease-mid
    •  04 Sep 2005 07:26
    • Rrelease-after

    Changes: The lists that bib2xhtml now generates contain CSS hooks. This provides extreme flexibility in the presentation of the bibliography. This release also improves the handling of ampersands embedded in URLs, and fixes the handling of the circumflex character.

    • Rrelease-mid
    •  15 Jul 2005 07:40
    • Rrelease-after

    Changes: This release adds an option to display the original bibtex key together with each entry's label in the generated file. It supports the \url{} LaTeX command, which is converted to a hypertext link. It fixes a number of small HTML and style bugs.

    Rss Recent comments

    Rcomment-before 03 Oct 2008 03:09 Rcomment-trans RiteshSood Rcomment-after

    bug-report
    Hi all,

    Here's how I'm invoking bib2xhtml.

    bib2xhtml -s alpha -m IEEEabrv -u -c -r -i -d journal -e "${info_str}" ritesh_pubs.bib publications/pub_list.html

    The file pub_list.html contains inline citations, and the option "-m IEEEabrv" is to include the BibTeX macro file IEEEabrv.bib.

    Problem is that bib2xhtml doesn't seem to handle the macro file properly. I would get errors of the sort "ieee_j_mm not defined"; and the abbreviation is very much defined in IEEEabrv.bib. So I traced that to line 874 of bib2xhtml:
    Instead of
    push(@citations, "\\bibdata{$bibfile}");
    It should be
    push(@citations, "\\bibdata{$macrofile$bibfile}");

    Also, note that while the .bib extension is explicit in the bibfile, if you give the macro file with a .bib extension, you will get an error. So we have some sort of an inconsistency here. Since the .bib extension in bibfile seems unavoidable (this is how we differentiate b/w a .bib and a .aux file) it would be better to insist that the macro file have the .bib extension also.

    Thanks a lot to the author for the wonderful program :)
    Ritesh.

    9269410fda554e4c08d99d7f8f487823_thumb

    Project Spotlight

    Music Player Daemon

    A jukebox server that controls music playback.

    1f2dc843c54583be69cc3e46538015b8_thumb

    Project Spotlight

    BibleTime

    Bible study software.