Index: doc/theses/andrew_beach_MMath/Makefile
===================================================================
--- doc/theses/andrew_beach_MMath/Makefile	(revision 826ee62af85e8edead151fca084b25243d00b645)
+++ doc/theses/andrew_beach_MMath/Makefile	(revision 7039ab9475ddbf3ca93428036c8bb9de072c9f0d)
@@ -1,30 +1,34 @@
 ### Makefile for Andrew Beach's Masters Thesis
 
-DOC=uw-ethesis.pdf
-BUILD=out
-TEXSRC=$(wildcard *.tex)
-BIBSRC=$(wildcard *.bib)
-STYSRC=$(wildcard *.sty)
-CLSSRC=$(wildcard *.cls)
-TEXLIB= .:../../LaTeXmacros:${BUILD}:
-BIBLIB= .:../../bibliography
+DOC = uw-ethesis.pdf
+BASE = ${DOC:%.pdf=%} # remove suffix
+# directory for latex clutter files
+BUILD = build
+TEXSRC = $(wildcard *.tex)
+FIGSRC = $(wildcard *.fig)
+BIBSRC = $(wildcard *.bib)
+STYSRC = $(wildcard *.sty)
+CLSSRC = $(wildcard *.cls)
+TEXLIB = .:../../LaTeXmacros:${BUILD}: # common latex macros
+BIBLIB = .:../../bibliography # common citation repository
 
-# Since tex programs like to add their own file extensions:
-BASE= ${DOC:%.pdf=%}
+MAKEFLAGS = --no-print-directory # --silent
+VPATH = ${BUILD}
 
 ### Special Rules:
 
 .PHONY: all clean deepclean
+.PRECIOUS: %.dvi %.ps # do not delete intermediate files
 
 ### Commands:
-LATEX=TEXINPUTS=${TEXLIB} pdflatex -halt-on-error -output-directory=${BUILD}
-BIBTEX=BIBINPUTS=${BIBLIB} bibtex
-GLOSSARY=INDEXSTYLE=${BUILD} makeglossaries-lite
+LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${BUILD}
+BIBTEX = BIBINPUTS=${BIBLIB} bibtex
+GLOSSARY = INDEXSTYLE=${BUILD} makeglossaries-lite
 
-### Rules and Recipies:
+### Rules and Recipes:
 
 all: ${DOC}
 
-${BUILD}/${DOC}: ${TEXSRC} ${BIBSRC} ${STYSRC} ${CLSSRC} Makefile | ${BUILD}
+${BUILD}/%.dvi: ${TEXSRC} ${FIGSRC:.fig=.tex} ${BIBSRC} ${STYSRC} ${CLSSRC} Makefile | ${BUILD}
 	${LATEX} ${BASE}
 	${BIBTEX} ${BUILD}/${BASE}
@@ -33,13 +37,26 @@
 	${LATEX} ${BASE}
 
-${DOC}: ${BUILD}/${DOC}
-	cp $< $@
-
 ${BUILD}:
 	mkdir $@
 
+%.pdf : ${BUILD}/%.ps | ${BUILD}
+	ps2pdf $<
+
+%.ps : %.dvi | ${BUILD}
+	dvips $< -o $@
+
+%.tex : %.fig | ${BUILD}
+	fig2dev -L eepic $< > ${BUILD}/$@
+
+%.ps : %.fig | ${BUILD}
+	fig2dev -L ps $< > ${BUILD}/$@
+
+%.pstex : %.fig | ${BUILD}
+	fig2dev -L pstex $< > ${BUILD}/$@
+	fig2dev -L pstex_t -p ${BUILD}/$@ $< > ${BUILD}/$@_t
+
 clean:
-	-@rm -rv ${BUILD}
+	@rm -frv ${BUILD} *.fig.bak
 
 deepclean: clean
-	-@rm -v ${DOC}
+	-@rm -fv ${DOC}
Index: doc/theses/andrew_beach_MMath/exceptionHierarchy.fig
===================================================================
--- doc/theses/andrew_beach_MMath/exceptionHierarchy.fig	(revision 7039ab9475ddbf3ca93428036c8bb9de072c9f0d)
+++ doc/theses/andrew_beach_MMath/exceptionHierarchy.fig	(revision 7039ab9475ddbf3ca93428036c8bb9de072c9f0d)
@@ -0,0 +1,28 @@
+#FIG 3.2  Produced by xfig version 3.2.7b
+Landscape
+Center
+Inches
+Letter
+100.00
+Single
+-2
+1200 2
+6 3600 2027 3825 2522
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+	1 1 1.00 45.00 90.00
+	 3600 2050 3825 2050
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 3
+	1 1 1.00 45.00 90.00
+	 3675 2050 3675 2275 3825 2275
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 3
+	1 1 1.00 45.00 90.00
+	 3675 2275 3675 2500 3825 2500
+-6
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 2
+	1 1 1.00 45.00 90.00
+	 2175 2050 2400 2050
+4 1 0 50 -1 5 12 0.0000 2 120 1200 3000 2100 arithmetic\001
+4 2 0 50 -1 5 12 0.0000 2 165 1080 2100 2100 exception\001
+4 0 0 50 -1 5 12 0.0000 2 120 1080 3900 2100 underflow\001
+4 0 0 50 -1 5 12 0.0000 2 120 960 3900 2325 overflow\001
+4 0 0 50 -1 5 12 0.0000 2 120 1200 3900 2550 zerodivide\001
Index: doc/theses/andrew_beach_MMath/stackMarking.fig
===================================================================
--- doc/theses/andrew_beach_MMath/stackMarking.fig	(revision 7039ab9475ddbf3ca93428036c8bb9de072c9f0d)
+++ doc/theses/andrew_beach_MMath/stackMarking.fig	(revision 7039ab9475ddbf3ca93428036c8bb9de072c9f0d)
@@ -0,0 +1,40 @@
+#FIG 3.2  Produced by xfig version 3.2.7b
+Landscape
+Center
+Inches
+Letter
+100.00
+Single
+-2
+1200 2
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+	 1800 1275 1800 1425
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 3
+	1 1 1.00 45.00 90.00
+	 2625 1125 3225 1125 3225 2400
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+	 1800 1725 1800 1875
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+	 1800 2175 1800 2325
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+	 1800 2625 1800 2775
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+	 1800 3000 1800 3150
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+	 1800 3375 1800 3525
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 1 0 4
+	1 1 1.00 45.00 90.00
+	 2625 2475 2850 2475 2850 3225 2625 3225
+2 1 1 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2
+	 3225 2475 3225 3225
+2 1 0 1 0 7 50 -1 -1 4.000 0 0 -1 1 0 2
+	1 1 1.00 45.00 90.00
+	 3225 3300 3225 3525
+4 1 0 50 -1 5 12 0.0000 2 120 1440 1800 1200 throwResume2\001
+4 1 0 50 -1 5 12 0.0000 2 165 2640 1800 1650 generated from handler\001
+4 1 0 50 -1 5 12 0.0000 2 120 840 1800 2100 handler\001
+4 1 0 50 -1 5 12 0.0000 2 120 1440 1875 2550 throwResume1\001
+4 1 0 50 -1 5 12 0.0000 2 150 360 1800 2925 try\001
+4 1 0 50 -1 5 12 0.0000 2 120 1320 1800 3300 catchresume\001
+4 2 0 50 -1 0 12 0.0000 2 135 600 2775 2925 marked\001
+4 0 0 50 -1 0 12 0.0000 2 180 900 3375 2925 search skip\001
Index: doc/theses/andrew_beach_MMath/uw-ethesis.tex
===================================================================
--- doc/theses/andrew_beach_MMath/uw-ethesis.tex	(revision 826ee62af85e8edead151fca084b25243d00b645)
+++ doc/theses/andrew_beach_MMath/uw-ethesis.tex	(revision 7039ab9475ddbf3ca93428036c8bb9de072c9f0d)
@@ -105,5 +105,7 @@
 \usepackage{amsmath,amssymb,amstext}
 % For including graphics N.B. pdftex graphics driver
-\usepackage[pdftex]{graphicx}
+%\usepackage[pdftex]{graphicx}
+\usepackage{epic,eepic}
+\usepackage{graphicx}
 % Removes large sections of the document.
 \usepackage{comment}
@@ -117,5 +119,6 @@
 % Use the "hyperref" package
 % N.B. HYPERREF MUST BE THE LAST PACKAGE LOADED; ADD ADDITIONAL PKGS ABOVE
-\usepackage[pdftex,pagebackref=true]{hyperref} % with basic options
+%\usepackage[pdftex,pagebackref=true]{hyperref} % with basic options
+\usepackage[pagebackref=true]{hyperref} % with basic options
 %\usepackage[pdftex,pagebackref=true]{hyperref}
 % N.B. pagebackref=true provides links back from the References to the body
