3 lathund.pdf
: lathund.
tex ..
/preamble
/preamble.
tex input
/course_reckoner.
tex input
/compass.pdftex input
/orientation_map.pdftex
6 while egrep
-s
'Rerun (LaTeX|to get cross-references right)' lathund.log
&& [ $$latex_count -gt
0 ] ;\
7 do echo
"Rerunning latex...." ; pdflatex lathund.
tex; latex_count
=`expr $$latex_count - 1`; done
9 input
/course_reckoner.
tex: m
/course_reckoner.m input
10 cd m
; octave
--silent
--eval
"course_reckoner ();" > ..
/input
/course_reckoner.
tex; cd
-;
12 input
/compass.pdftex
: fig
/compass.fig
13 fig2dev
-L pdftex fig
/compass.fig
> input
/compass.pdf
14 fig2dev
-L pdftex_t
-F
-p input
/compass.pdf fig
/compass.fig
> input
/compass.pdftex
15 input
/orientation_map.pdftex
: fig
/orientation-map.fig
16 fig2dev
-L pdftex fig
/orientation-map.fig
> input
/orientation_map.pdf
17 fig2dev
-L pdftex_t
-F
-p input
/orientation_map.pdf fig
/orientation-map.fig
> input
/orientation_map.pdftex
24 rm -f
*.
{log
,aux
,dvi,log
,out
,pdf
}