#!/bin/bash
# To generate style examples, do
# (after extracting powerdot-styleexample.tex):
# Do this for all available styles (replace `default' by any
# other style name) to generate .001 and .002 files which
# will be included by the documentation.

latex powerdotSlide.tex
latex powerdotSlide.tex
#bibtex powerdot
#makeindex -s gglo.ist -o powerdot.gls powerdot.glo
#makeindex -s gind.ist -o powerdot.ind powerdot.idx
#latex powerdot.tex
#latex powerdot.tex
dvips powerdotSlide.dvi
ps2pdf powerdotSlide.ps

rm *.aux *.log *.i?? *.g?? *.toc *.dvi *.blg *.ps  *.bm *.bbl
rm powerdot-styleexample-*


# If you also want to generate the source code documentation,
# remove \OnlyDescription from the preamble of powerdot.dtx
# prior to compiling the source.
#
