diff options
author | wl <wl> | 2005-05-17 20:20:53 +0000 |
---|---|---|
committer | wl <wl> | 2005-05-17 20:20:53 +0000 |
commit | d5e77458ec0d21272384a78180946518fe350b7d (patch) | |
tree | 46e6e8dc1d38e93cbadedc66d853f55774aa9408 /contrib/eqn2graph/eqn2graph.sh | |
parent | 56fbf16b4abe8eae536c2585bf5c66a983c803ee (diff) | |
download | groff-d5e77458ec0d21272384a78180946518fe350b7d.tar.gz |
* contrib/pic2graph/pic2graph.sh, contrib/graph2graph.sh,
contrib/eqn2graph.sh: Add option `-trim' to `convert' which is
needed for newer ImageMagick versions.
Diffstat (limited to 'contrib/eqn2graph/eqn2graph.sh')
-rw-r--r-- | contrib/eqn2graph/eqn2graph.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/eqn2graph/eqn2graph.sh b/contrib/eqn2graph/eqn2graph.sh index efcd0187..9a6ce068 100644 --- a/contrib/eqn2graph/eqn2graph.sh +++ b/contrib/eqn2graph/eqn2graph.sh @@ -32,7 +32,7 @@ # # Thus, we pass -U to groff(1), and everything else to convert(1). # -# $Id: eqn2graph.sh,v 1.3 2003/10/28 07:46:23 wlemb Exp $ +# $Id: eqn2graph.sh,v 1.4 2005/05/17 20:20:53 wl Exp $ # groff_opts="" convert_opts="" @@ -85,7 +85,7 @@ trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 2 15 read equation (echo ".EQ"; echo 'delim $$'; echo ".EN"; echo '$'"$equation"'$') | \ groff -e $groff_opts -Tps -P-pletter > $tmp/eqn2graph.ps \ - && convert -crop 0x0 $convert_opts $tmp/eqn2graph.ps $tmp/eqn2graph.$format \ + && convert -trim -crop 0x0 $convert_opts $tmp/eqn2graph.ps $tmp/eqn2graph.$format \ && cat $tmp/eqn2graph.$format # End |