Lines 73-79
Link Here
|
73 |
# 2. Process through eqn and pic to emit troff markup. |
74 |
# 2. Process through eqn and pic to emit troff markup. |
74 |
# 3. Process through groff to emit Postscript. |
75 |
# 3. Process through groff to emit Postscript. |
75 |
# 4. Use convert(1) to crop the PostScript and turn it into a bitmap. |
76 |
# 4. Use convert(1) to crop the PostScript and turn it into a bitmap. |
76 |
tmp=/usr/tmp/pic2graph-$$ |
77 |
tmp=/var/tmp/pic2graph-$$ |
77 |
trap "rm ${tmp}.*" 0 2 15 |
78 |
trap "rm ${tmp}.*" 0 2 15 |
78 |
(echo ".EQ"; echo $eqndelim; echo ".EN"; echo ".PS"; cat; echo ".PE") | \ |
79 |
(echo ".EQ"; echo $eqndelim; echo ".EN"; echo ".PS"; cat; echo ".PE") | \ |
79 |
groff -e -p $groffpic_opts -Tps >${tmp}.ps \ |
80 |
groff -e -p $groffpic_opts -Tps >${tmp}.ps \ |