#!/bin/csh

set hdr=`basename $1 .tex`

if ( ! -f $hdr.tex ) then
echo probleme le fichier $hdr.tex absent
exit
endif

latex $hdr ; \rm $hdr out ; /usr/bin/latex2html -split 0 $hdr > & out 
html $hdr/$hdr.html

