#!/bin/bash -u
# delete html leading up to table and creation lines at end
~/bin/bibtex2html-1.94-linux/bibtex2html -o - $1 \
	| grep -A1000 table \
	| sed -e 's|\(/table>\).*|\1|g' \
	| sed '$d' | sed '$d' | sed '$d' \
	> `basename $1 .bib`.html


