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
Licenses
Operating Systems
Implementation

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  04 Feb 2010 17:07
  • Rrelease-after

    Changes: A new "paragraph" option allows the program to create plain HTML paragraphs, without any bullets or numbering.

    • 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.

      Rss Recent comments

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

      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.

      No-screenshot

      Project Spotlight

      Ubuntu Customization Kit

      A kit for customizing your Ubuntu live CD.

      Eb76b297f8fe67903c09fd98e5769317_thumb

      Project Spotlight

      Check_MK

      A suite of addons for Nagios.