#!/bin/bash # run % bibtex2html bibfile=$1 xml_output=$2 html_output=$3 if [ -e $xml_output ]; then rm $xml_output fi python bibtex2xml.py $bibfile > $xml_output if [ -e $xml_output ]; then echo 'Converted ' $bibfile ' into ' $xml_output fi if [ -e $html_output ]; then rm $html_output fi xt $xml_output bibtexml2html.xsl $html_output if [ -e $html_output ]; then echo 'Converted ' $xml_output ' into ' $html_output fi