#!/bin/sh
## Script to build PDF-output from LaTeX source
## You have to install the tetex packages

dir=200205_magdeburg
file=ltm

cp -a /usr/share/doc/med-doc/talks/${dir}/${file}.tex.gz} /tmp
cp -a /usr/share/doc/med-doc/talks/mgp.sty /tmp
gunzip /tmp/${file}.tex.gz
cd /tmp
pdflatex ${file}.tex

echo PDF build succeded.  You can find the file at /tmp/${file}.pdf.
