#!/bin/sh

cd ..
pod2latex MaxEntropy.pm
pod2latex Candidates.pm
pod2latex SparseVector.pm
pod2latex ME.wrapper.pl
cd TeX

latex root
rm -rf ../MaxEntropy.pm.tex ../Candidates.pm.tex ../ME.wrapper.pl.tex ../SparseVector.pm.tex
dvips -o MaxEnt.ps root

cd ..
rm README
pod2text MaxEntropy.pm > README
cd TeX
