summaryrefslogtreecommitdiff
path: root/doc/pic.ms
diff options
context:
space:
mode:
authorwlemb <wlemb>2004-05-28 21:43:35 +0000
committerwlemb <wlemb>2004-05-28 21:43:35 +0000
commit6c29c26bfb148776f1dcd15f7c797bf428757c07 (patch)
tree6468094b4e19b1a0ae4b19b25d467058925ed247 /doc/pic.ms
parentf2901a5093e9226ca375c81a0215bcfcc2e30450 (diff)
downloadgroff-6c29c26bfb148776f1dcd15f7c797bf428757c07.tar.gz
* arch/misc/Makefile.sub (shdeps.sed): Use $(srcdir).
Fix problems with `friend name injections'. * src/preproc/eqn/box.h (make_mark_box, make_lineup_box, make_script_box), src/roff/troff/div.h (end_diversions), src/roff/troff/env.h (title), input.cpp (process_input_stack): Undo change 2004-04-08. * src/preproc/pic/pic.man, doc/pic.ms: Add example for `command'. * src/libs/libgroff/cset.cpp, src/libs/libgroff/lf.cpp, src/libs/libgroff/color.cpp: Include lib.h.
Diffstat (limited to 'doc/pic.ms')
-rw-r--r--doc/pic.ms27
1 files changed, 24 insertions, 3 deletions
diff --git a/doc/pic.ms b/doc/pic.ms
index ea6bccc8..c900e75d 100644
--- a/doc/pic.ms
+++ b/doc/pic.ms
@@ -10,7 +10,7 @@
.\" This document was written for free use and redistribution by
.\" Eric S. Raymond <esr@thyrsus.com> in August 1995.
.\"
-.\" $Id: pic.ms,v 1.25 2003/07/12 06:08:49 wlemb Exp $
+.\" $Id: pic.ms,v 1.26 2004/05/28 21:43:36 wlemb Exp $
.\"
.\" Set a proper TeX and LaTeX
.ie t \{\
@@ -1731,7 +1731,7 @@ Accordingly, the command
.RS
.KS
.IP
-.ft CW
+.CW
.nf
\&.PS
copy thru % circle at ($1,$2) % until "END"
@@ -1750,7 +1750,7 @@ is equivalent to
.RS
.KS
.IP
-.ft CW
+.CW
.nf
\&.PS
circle at (1,2)
@@ -1787,6 +1787,27 @@ This has a similar effect to a line beginning with
or
\fB\e\fR\|,
but allows the values of variables to be passed through.
+.LP
+For example,
+.KS
+.DS
+.CW
+.nf
+\&.PS
+x = 14
+command ".ds string x is " x "."
+\&.PE
+\e*[string]
+.DE
+.R
+.KE
+.LP
+prints
+.DS
+.CW
+x is 14.
+.R
+.DE
.
.NH 2
Executing Shell Commands