Attached. It uses /tmp and doesn't clutter you home dir
with the litter from the conversion. Works great from Mutt!
Also, you can print from gv.
Would be a worthwhile addition to the distribution, I think.
(would wvMime be a better name?)
--
Martin Vermeer [EMAIL PROTECTED]
:wq
#!/bin/sh
TMPDIR="/tmp"
TMPSTEM="/tmp/wv-${USER}"
# Requires both wvHtml and wvLaTeX.xml (or symlinks to them)
# to be in your path.
wvHtml -x wvLaTeX.xml $1 >${TMPSTEM}.tex
(cd ${TMPDIR}; latex --interaction=batchmode ${TMPSTEM}.tex)
dvips -o ${TMPSTEM}.ps ${TMPSTEM}.dvi
gv ${TMPSTEM}.ps