#!/bin/sh

cp /usr/local/share/lahelper/my.lahelpertmp.tex .
latex -interaction=nonstopmode my.lahelpertmp.tex > /dev/null
latex -interaction=nonstopmode my.lahelpertmp.tex > /dev/null
dvips -x 2500 -q -E my.lahelpertmp.dvi -o my.lahelpertmp.ps > /dev/null
convert my.lahelpertmp.ps my.lahelpertmp.png > /dev/null
mv -f my.lahelpertmp.png.0 my.lahelpertmp.png
rm -f my.lahelpertmp.png.1 my.lahelpertmp.dvi my.lahelpertmp.ps
rm -f my.lahelpertmp.log my.lahelpertmp.aux
