#survey.ps: survey.dvi
# -z option is for hyperlinks
# This doesn't work, causing dvips to cryptically say 'Page xx may be too complex to print'
# and 'Warning: no %%Page comments generated.' The outcome is that only the last page is viewable.
# dvips -Ppdf -z survey
#For PracTeX journal:
hartke.tex: survey.tex
# add PracTEX preamble options: email, address, abstract, license
# we need \makeatother and \makeatletter around email for the switchemail package used by pracjourn.cls
# change typewriter font to lmtt and sans serif to lmss for author block titles
# change documentclass to pracjourn
# graphicx is already included by pracjourn class
sed -e 's/%PracTEXreplacement/\\makeatother\\email{lastname @ gmail .dot. com}\\makeatletter\\address{Department of Mathematics\\\\University of Illinois at Urbana-Champaign\\\\Urbana, IL, 61801 USA}\\abstract{We survey free math fonts for \\TeX\\ and \\LaTeX, with examples, instructions for using \\LaTeX\\ packages for changing fonts, and links to sources for the fonts and packages.}\\license{Copyright \\copyright\\ 2006 Stephen G.\\ Hartke\\\\Permission is granted to distribute verbatim or modified\\\\copies of this document provided this notice remains intact.}\\TPJrevision{2006-02-03}\\TPJissue{TPJ 2006 No 01, 2006-02-15}\\renewcommand\\ttdefault{lmtt}\\renewcommand\\sfdefault{lmss}/g' survey.tex | sed -e 's/\\documentclass\[\(.\)*\]{article}/\\documentclass[english]{pracjourn}/g' | sed -e 's/\\usepackage\[pdftex\]{graphicx}//g'> hartke.tex
# $@ is the name of the matched target
# $< is the name of the matched dependency
# $* is the stem
$(EPSPictures): %.eps: %.dvi
dvips -o $@ -E $*
# if the papersize option t is present in ~/.dvipsrc, then the -E option will not work
# some files, like arev.eps, have too much white space on the left
./fixepsbbox $@ 90 2