#!/bin/sh
# Corre este archivo para generar la documentacion.
mkdir ../tutorial
mkdir ../tutorial/html
sgmltools -b html tutorial.sgml; cd tutorial; mv *.* ../../tutorial/html/; cd ..; rmdir tutorial
echo "HTML LISTO"
echo ""
db2ps   tutorial.sgml --output ../tutorial/ps
echo "PS LISTO"
echo ""
#db2pdf   tutorial.sgml --output ../tutorial/pdf
ps2pdf ../tutorial/ps/tutorial.ps ../tutorial/pdf/tutorial.pdf
echo "PDF LISTO"
echo ""
db2dvi  tutorial.sgml --output ../tutorial/dvi
echo "DVI LISTO"
echo ""
