diff options
author | wlemb <wlemb> | 2003-10-31 19:32:29 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2003-10-31 19:32:29 +0000 |
commit | bac6fd747f8792d3cc728d113c4c8f7945509efe (patch) | |
tree | 8b50d11858645b0472eaebe3a00ea60dea6adece | |
parent | edd6917ddc5fb212c5dcf953bef3ae9172c9bcb6 (diff) | |
download | groff-bac6fd747f8792d3cc728d113c4c8f7945509efe.tar.gz |
* src/devices/grops/grops.man: Improve section on creating EPS.
* contrib/pic2graph/pic2graph.sh: Fix typo (-P-letter ->
-P-pletter).
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | contrib/pic2graph/pic2graph.sh | 4 | ||||
-rw-r--r-- | doc/groff.texinfo | 2 | ||||
-rw-r--r-- | src/devices/grops/grops.man | 13 |
4 files changed, 16 insertions, 12 deletions
@@ -1,3 +1,12 @@ +2003-10-30 Werner LEMBERG <wl@gnu.org> + + * src/devices/grops/grops.man: Improve section on creating EPS. + +2003-10-29 Werner LEMBERG <wl@gnu.org> + + * contrib/pic2graph/pic2graph.sh: Fix typo (-P-letter -> + -P-pletter). + 2003-10-28 Werner LEMBERG <wl@gnu.org> * doc/groff.texinfo: Fix documentation of `.if'. diff --git a/contrib/pic2graph/pic2graph.sh b/contrib/pic2graph/pic2graph.sh index 4189a336..18a78818 100644 --- a/contrib/pic2graph/pic2graph.sh +++ b/contrib/pic2graph/pic2graph.sh @@ -32,7 +32,7 @@ # We don't have complete option coverage on eqn because this is primarily # intended as a pic translator; we can live with eqn defaults. # -# $Id: pic2graph.sh,v 1.4 2003/10/28 07:46:24 wlemb Exp $ +# $Id: pic2graph.sh,v 1.5 2003/10/31 19:32:36 wlemb Exp $ # groffpic_opts="" gs_opts="" @@ -94,7 +94,7 @@ trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 2 15 # 3. Process through groff to emit Postscript. # 4. Use convert(1) to crop the PostScript and turn it into a bitmap. (echo ".EQ"; echo $eqndelim; echo ".EN"; echo ".PS"; cat; echo ".PE") | \ - groff -e -p $groffpic_opts -Tps -P-letter > $tmp/pic2graph.ps \ + groff -e -p $groffpic_opts -Tps -P-pletter > $tmp/pic2graph.ps \ && convert -crop 0x0 $convert_opts $tmp/pic2graph.ps $tmp/pic2graph.$format \ && cat $tmp/pic2graph.$format diff --git a/doc/groff.texinfo b/doc/groff.texinfo index 55a02b8d..4f71b4f0 100644 --- a/doc/groff.texinfo +++ b/doc/groff.texinfo @@ -10146,7 +10146,7 @@ True if the document is being processed in troff mode (i.e., the @item v Always false. This condition is for compatibility with other -@code{troff} versions only. +@code{troff} versions only (identifying a @code{-Tversatec} device). @item '@var{xxx}'@var{yyy}' True if the string @var{xxx} is equal to the string @var{yyy}. Other diff --git a/src/devices/grops/grops.man b/src/devices/grops/grops.man index 29baf2ce..d430b07c 100644 --- a/src/devices/grops/grops.man +++ b/src/devices/grops/grops.man @@ -1026,10 +1026,8 @@ should be used. .B grops itself doesn't emit bounding box information. . -With the help of the -.BR eps2eps (1) -script which is part of GhostScript -the following commands will produce an encapsulated PS file +With the help of GhostScript the following commands will produce an +encapsulated PS file .B foo.eps from input file .BR foo : @@ -1039,16 +1037,13 @@ from input file groff -P-b16 foo > foo.ps .br .B -eps2eps foo.ps foo.tmp -.br -.B -grep %%BoundingBox foo.tmp > foo.bbx +gs -dNOPAUSE -sDEVICE=bbox -- foo.ps 2> foo.bbox .br .B cat foo.ps | sed \-e '/%%Orientation/rfoo.bbx' > foo.eps .br .B -rm foo.tmp foo.bbx +rm foo.bbx .br . . |