#! /bin/bash
cd /home/nagyg/Maths/2004/pkg/loops/doc
cp EPIC.STY epic.sty
#cp LATEXCAD.STY latexcad.sty
cp LDIAG.LP Ldiag.lp

latex -interaction=nonstopmode loops_manual &> /dev/null
latex -interaction=nonstopmode loops_manual &> /dev/null
makeindex loops_manual.idx &> /dev/null
latex -interaction=nonstopmode loops_manual &> /dev/null
latex -interaction=nonstopmode loops_manual &> /dev/null
makeindex loops_manual.idx
latex -interaction=nonstopmode loops_manual

dvipdf loops_manual
dvips loops_manual

tth loops_manual.tex
#ttm >loops_manualx.html <loops_manual.tex

lynx -dump -nolist loops_manual.html > loops_manual.txt
unix2dos -o loops_manual.txt

gap -A -b -M ../etc/makesix.g
