#! /bin/csh -f # Last modified on Mon Nov 6 15:30:44 PST 1989 by stolfi #================================================== # Runs LaTeX on $1.tex # The output error messages are reformatted so that they can be # visited by the ^X^N command of EMACS. #================================================== if ( ! ( $?TEXINPUTS ) ) then setenv TEXINPUTS ".:/udir/stolfi/tex:/usr/local/lib/tex/" endif if ( "x$TEXINPUTS" == "x" ) then setenv TEXINPUTS ".:/udir/stolfi/tex:/usr/local/lib/tex/" endif echo "TEXINPUTS = "$TEXINPUTS if ( "x$1" == "x-nofilter" ) then shift; latex $1 else latex $1 | /udir/stolfi/bin/tex-error-filter $1 endif # end