#!/opt/local/bin/gawk -f # # bbl2html.awk v1.2c # # Released to the public domain (ie. use at your own risk) # Rik Blok # December 13, 2000. # # Latest version available from # http://rikblok.cjb.net/scripts/bbl2html.awk # # Converts a LaTeX .bbl file to (mostly) formatted html code. Probably # also works if applied directly to a .tex file. Sets bookmarks # to the keys so you can reference a citation from another page, eg. # [1] will make a link to "key". # # bbl2html will use the default label unless you set (on the command-line) # override=key or override=number in which case it will use the citation # key or numeric format, respectively. # # I wrote this script out of dissatisfaction with other conversion tools # available. Hopefully it will be of use to somebody. Feel free to # modify the script to suit you. I've tested it with the bibliography # styles abbrv, alpha, apalike, ieeetr, plain, prsty, siam, and unsrt # and it works fairly well. # For a sample of the output visit http://rikblok.cjb.net/lib/refs.html. # # Usage: # awk -f bbl2html.awk head=
foot=