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 "[EMAIL PROTECTED] \f[I]\,[EMAIL PROTECTED]/\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 [EMAIL PROTECTED] \f[I]\,[EMAIL PROTECTED]/\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 "[EMAIL PROTECTED] \f[I]\,\$*\/\f[]\|[EMAIL PROTECTED]"
-. rm @sub
+.IP "\fBD\$1\fP\ \fI\,\$2\/\fP\|[EMAIL PROTECTED]"
..
.c format: .D-command+ <subcommand> "<arguments>"
.c continue previous .D-command heading
.de D-command+
-. ds @sub \$1\"
-. shift 1
-. TQ
-. nop [EMAIL PROTECTED] \f[I]\,\$*\/[EMAIL PROTECTED]
-. rm @sub
+.TQ
+.\fBD\$1\fP\ \fI\,\$2\/[EMAIL PROTECTED]
..
.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[]\ [EMAIL PROTECTED]|[EMAIL PROTECTED]"
+. ds @args \fIh1\~v1 h2\~v2\fP\"
+. IP "\fBDa\fP\ [EMAIL PROTECTED]|[EMAIL PROTECTED]"
. 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 "[EMAIL PROTECTED] [EMAIL PROTECTED]|[EMAIL PROTECTED]"
+. ds @args \fIh1\~v1 h2\~v2\fP ... \fI\,hn\~vn\fP\"
+. IP "[EMAIL PROTECTED] [EMAIL PROTECTED]|[EMAIL PROTECTED]"
. rm @args
. rm @sub
..
@@ -132,8 +116,8 @@
. shift 1
. ds @args
. if (\n[.$] > 0) \
-. ds @args \ \f[I]\,\$*\/\f[]\"
-. IP "[EMAIL PROTECTED]@args]\f[]\|[EMAIL PROTECTED]"
+. ds @args \ \fI\,\$*\/\fP\"
+. IP "[EMAIL PROTECTED]@args]\fP\|[EMAIL PROTECTED]"
. 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
_______________________________________________
Groff-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/groff-commit