3 # This filter is called by psf to convert "other" formats to PostScript.
4 # psf handles text and PostScript native. "Other" formats, e.g. DVI, C/A/T,
5 # need to be converted before the page reverser and the printer can use
8 # $0 begins with the filter name, e.g. df, tf. Each format is a separate
16 TROFF2PSARGS="-Z -O-.10"
21 # Use "dvips" by Radical Eye Software to convert TeX DVI files to PostScript.
22 # Note that you *must* have METAFONT, etc, in your path.
25 if [ -x "$DVIPS" ]; then
26 cat > /tmp/psfilter.$$
27 $DVIPS $DVIPSARGS < /tmp/psfilter.$$
28 rm -f /tmp/psfilter.$$
30 echo "$0: filter dvips uninstalled" 1>&2
36 # troff2ps is from psroff by Chris Lewis.
39 if [ -x "$TROFF2PS" ]; then
40 exec $TROFF2PS $TROFF2PSARGS
42 echo "$0: filter troff2ps uninstalled" 1>&2
48 echo "$0: filter $1 unavailable" 1>&2