#! /bin/csh -f
# Last edited on 1998-12-12 17:00:56 by stolfi

# Converts a VMS transcription without locators to HTML, quick and dirty


echo '<html>'
echo '<head>'
echo '<title>inter+tak</title>'
echo '</head>'
echo '<body bgcolor="#ddffee">'
echo '<font face="EVA Hand 1">'
cat \
  | sed \
      -e 's:\([&]\)\([0-9][0-9][0-9]\);:\1#\2;:g' \
      -e 's:-$:<br>:g' \
      -e 's:=$:</p><p>:g' \
      -e 's:## *<\([^.]*\)>.*$:</font><h2>\1</h2><font face="EVA Hand 1">:g' \
      -e 's:## *<\(.*\)>.*$:</font><h3>\1</h3><font face="EVA Hand 1">:g' \

echo '</font>'
echo '</body>'
echo '</html>'
