bachelorarbeit/build-all.sh

32 lines
892 B
Bash
Executable File

#!/bin/sh
# Copyright (C) 2014-2020 by Thomas Auzinger <thomas@auzinger.name>
CLASS=vutinfth
SOURCE=thesis
# Build vutinfth documentation
pdflatex -shell-escape $CLASS.dtx
pdflatex -shell-escape $CLASS.dtx
makeindex -s gglo.ist -o $CLASS.gls $CLASS.glo
makeindex -s gind.ist -o $CLASS.ind $CLASS.idx
pdflatex -shell-escape $CLASS.dtx
pdflatex -shell-escape $CLASS.dtx
# Build the vutinfth class file
pdflatex -shell-escape $CLASS.ins
# Build the vutinfth example document
pdflatex -shell-escape $SOURCE
bibtex $SOURCE
pdflatex -shell-escape $SOURCE
pdflatex -shell-escape $SOURCE
makeindex -t $SOURCE.glg -s $SOURCE.ist -o $SOURCE.gls $SOURCE.glo
makeindex -t $SOURCE.alg -s $SOURCE.ist -o $SOURCE.acr $SOURCE.acn
makeindex -t $SOURCE.ilg -o $SOURCE.ind $SOURCE.idx
pdflatex -shell-escape $SOURCE
pdflatex -shell-escape $SOURCE
echo
echo
echo Class file and example document compiled.