#! /bin/csh -f # Last modified on Mon Nov 6 15:28:42 PST 1989 by stolfi # modified on Fri Apr 28 20:59:02 PDT 1989 by salesin #================================================== # Runs SliTeX 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; slitex $1 else slitex $1 | /udir/stolfi/bin/tex-error-filter $1 endif # end