79 |
# 3. Process through groff(1) with pic preprocessing to emit Postscript. |
# 3. Process through groff(1) with pic preprocessing to emit Postscript. |
80 |
# 4. Use convert(1) to crop the Postscript and turn it into a bitmap. |
# 4. Use convert(1) to crop the Postscript and turn it into a bitmap. |
81 |
(echo ".G1"; cat; echo ".G2") | grap | groff -p $groff_opts -Tps -P-pletter | \ |
(echo ".G1"; cat; echo ".G2") | grap | groff -p $groff_opts -Tps -P-pletter | \ |
82 |
convert -crop 0x0 $convert_opts - $tmp/grap2graph.$format \ |
convert -trim -crop 0x0 $convert_opts - $tmp/grap2graph.$format \ |
83 |
&& cat $tmp/grap2graph.$format |
&& cat $tmp/grap2graph.$format |
84 |
|
|
85 |
# End |
# End |