#!/bin/bash

# Convert word.doc files to HTML for plucker CRH

cd $HOME/.plucker/workdocs
docdir=$HOME/.plucker/workdocs

rm -f home.html

cat >home.html <<EOM
<TITLE>Work Documents</TITLE>
<P>Tap the name of the document to view it.</P>
<P>
EOM

for this in `cat filelist`
do
	name=`basename $this ".doc"`
	wvWare -d $docdir $this >$name.html
#	wvHtml -d $docdir -x $docdir/wvPalm.xml $this >$name.html
	echo "<A HREF=\"file://$docdir/$name.html\">$name</A><P>" >>home.html
done

