groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff-commit] groff/man groff_out.man


From: Eric S. Raymond
Subject: [Groff-commit] groff/man groff_out.man
Date: Wed, 07 Feb 2007 16:54:46 +0000

CVSROOT:        /sources/groff
Module name:    groff
Changes by:     Eric S. Raymond <esr>   07/02/07 16:54:46

Modified files:
        man            : groff_out.man 

Log message:
        Reduce D-commmand and D-command+, move font-change escapes to portable 
form.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/man/groff_out.man?cvsroot=groff&r1=1.31&r2=1.32

Patches:
Index: groff_out.man
===================================================================
RCS file: /sources/groff/groff/man/groff_out.man,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- groff_out.man       7 Feb 2007 12:18:52 -0000       1.31
+++ groff_out.man       7 Feb 2007 16:54:46 -0000       1.32
@@ -55,7 +55,7 @@
 .
 .nr @maxcolor 65536
 .ds @backslash \[rs]\"
-.ds @linebreak \f[R]\[la]line_break\[ra]\f[]\"
+.ds @linebreak \fR\[la]line_break\[ra]\fP\"
 .
 .\" Begin of macro definitions
 .eo
@@ -68,47 +68,31 @@
 ..
 .c format: .command <name> "<arguments>" <punctuation>
 .de command
-.  ds @arg1 \$1\"
-.  ds @arg2 \$2\"
-.  shift 2
-.  IP "address@hidden \f[I]\,address@hidden/\f[]\$*"
-.  rm @arg1
-.  rm @arg2
+.IP "\fB\$1\fP\ \fI\,\$2\/\fP\$3"
 ..
 .c format: .command+ <name> "<arguments>" <punctuation>
 .c continue previous .command heading
 .de command+
-.  ds @arg1 \$1\"
-.  ds @arg2 \$2\"
-.  shift 2
-.  TQ
-.  nop address@hidden \f[I]\,address@hidden/\f[]\$*
-.  rm @arg1
-.  rm @arg2
+.TQ
+\fB\$1\fP\ \fI\,\$2\/\fP\$3
 ..
 .c format: .D-command <subcommand> "<arguments>"
 .de D-command
-.  ds @sub \$1\"
-.  shift 1
-.  IP "address@hidden \f[I]\,\$*\/\f[]\|address@hidden"
-.  rm @sub
+.IP "\fBD\$1\fP\ \fI\,\$2\/\fP\|address@hidden"
 ..
 .c format: .D-command+ <subcommand> "<arguments>"
 .c continue previous .D-command heading
 .de D-command+
-.  ds @sub \$1\"
-.  shift 1
-.  TQ
-.  nop address@hidden \f[I]\,\$*\/address@hidden
-.  rm @sub
+.TQ
+.\fBD\$1\fP\ \fI\,\$2\/address@hidden
 ..
 .de Da-command
 .  shift 1
 .  ie t \
 .    ds @args $h sub 1$\~$v sub 1$ $h sub 2$\~$v sub 2$\"
 .  el \
-.    ds @args \f[I]h1\~v1 h2\~v2\f[]\"
-.  IP "\f[B]Da\f[]\ address@hidden|address@hidden"
+.    ds @args \fIh1\~v1 h2\~v2\fP\"
+.  IP "\fBDa\fP\ address@hidden|address@hidden"
 .  rm @args
 ..
 .c graphics command .D with a variable number of arguments
@@ -121,8 +105,8 @@
 .    as @args "$h sub n$\~$v sub n$\"
 .  \}
 .  el \
-.    ds @args \f[I]h1\~v1 h2\~v2\f[] ... \f[I]\,hn\~vn\f[]\"
-.  IP "address@hidden address@hidden|address@hidden"
+.    ds @args \fIh1\~v1 h2\~v2\fP ... \fI\,hn\~vn\fP\"
+.  IP "address@hidden address@hidden|address@hidden"
 .  rm @args
 .  rm @sub
 ..
@@ -132,8 +116,8 @@
 .  shift 1
 .  ds @args
 .  if (\n[.$] > 0) \
-.    ds @args \ \f[I]\,\$*\/\f[]\"
-.  IP "address@hidden@args]\f[]\|address@hidden"
+.    ds @args \ \fI\,\$*\/\fP\"
+.  IP "address@hidden@args]\fP\|address@hidden"
 .  rm @sub
 .  rm @args
 ..
@@ -634,7 +618,7 @@
 doesn't use this.
 .
 .
-.command m "color_scheme \f[R][\f[]component .\|.\|.\f[R]]\f[]"
+.command m "color_scheme \fR[\fPcomponent .\|.\|.\fR]\fP"
 Set the color for text (glyphs), line drawing, and the outline of
 graphic objects using different color schemes; the analoguous command
 for the filling color of graphic objects is
@@ -1004,7 +988,7 @@
 rightmost point of the ellipse.
 .
 .
-.D-command F "color_scheme \f[R][\f[]component .\|.\|.\f[R]]\f[]"
+.D-command F "color_scheme \fR[\fPcomponent .\|.\|.\fR]\fP"
 Set fill color for solid drawing objects using different color
 schemes; the analoguous command for setting the color of text, line
 graphics, and the outline of graphic objects is




reply via email to

[Prev in Thread] Current Thread [Next in Thread]