/[groff]/groff/contrib/pic2graph/pic2graph.sh
ViewVC logotype

Diff of /groff/contrib/pic2graph/pic2graph.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by wlemb, Fri Oct 31 19:32:36 2003 UTC revision 1.6 by wl, Tue May 17 20:20:53 2005 UTC
# Line 95  trap 'exit_status=$?; rm -rf $tmp && exi Line 95  trap 'exit_status=$?; rm -rf $tmp && exi
95  # 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.
96  (echo ".EQ"; echo $eqndelim; echo ".EN"; echo ".PS"; cat; echo ".PE") | \  (echo ".EQ"; echo $eqndelim; echo ".EN"; echo ".PS"; cat; echo ".PE") | \
97      groff -e -p $groffpic_opts -Tps -P-pletter > $tmp/pic2graph.ps \      groff -e -p $groffpic_opts -Tps -P-pletter > $tmp/pic2graph.ps \
98      && convert -crop 0x0 $convert_opts $tmp/pic2graph.ps $tmp/pic2graph.$format \      && convert -trim -crop 0x0 $convert_opts $tmp/pic2graph.ps $tmp/pic2graph.$format \
99      && cat $tmp/pic2graph.$format      && cat $tmp/pic2graph.$format
100    
101  # End  # End

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26