groff-commit
[Top][All Lists]
Advanced

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

[Groff-commit] groff/man groff.man


From: Eric S. Raymond
Subject: [Groff-commit] groff/man groff.man
Date: Mon, 19 Feb 2007 21:51:20 +0000

CVSROOT:        /sources/groff
Module name:    groff
Changes by:     Eric S. Raymond <esr>   07/02/19 21:51:20

Modified files:
        man            : groff.man 

Log message:
        Second step towards eliminating use of .eo/.ec.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/man/groff.man?cvsroot=groff&r1=1.91&r2=1.92

Patches:
Index: groff.man
===================================================================
RCS file: /sources/groff/groff/man/groff.man,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -b -r1.91 -r1.92
--- groff.man   19 Feb 2007 21:09:57 -0000      1.91
+++ groff.man   19 Feb 2007 21:51:20 -0000      1.92
@@ -31,29 +31,26 @@
 .\" --------------------------------------------------------------------
 .\" start of macro definitions
 .
-.de c
-..
-.
 .de TPx
 .  TP 10n
 ..
-.c ---------------------------------------------------------------------
-.c .Text anything ...
+.\" ---------------------------------------------------------------------
+.\" .Text anything ...
 .c
-.c All arguments are printed as text.
+.\" All arguments are printed as text.
 .c
 .de Text
 .  nop \)\\$*
 ..
 .
-.c --------- command line option ---------
+.\" --------- command line option ---------
 .
 .de option
 .  Text \f[CB]\\$*
 .  ft P
 ..
 .
-.c --------- characters ---------
+.\" --------- characters ---------
 .
 .de squoted_char
 .  Text \[oq]\f[CB]\\$1\f[]\[cq]\\$2
@@ -61,53 +58,46 @@
 .de dquoted_char
 .  Text \[lq]\f[CB]\\$1\f[]\[rq]\\$2
 ..
-.c --------- requests ---------
-.
-.eo
+.\" --------- requests ---------
 .
-.c synopsis of a request
+.\" synopsis of a request
 .de REQ
-.  if (\n[.$] = 0) \
-.    return
-.  ds @1 \$1\"
-.  shift 1
-.  ie (\n[.$] = 0) \{\
-.    Text address@hidden
+.  ie (\n[.$] = 1) \{\
+.    Text \f[CB]\\$\f[]
 .  \}
 .  el \{\
-.    Text address@hidden
+.    Text \f[CB]\\$1\~\f[]\f[I]\\$2\f[]
 .  \}
-.  rm @1
 ..
 .
-.ec
-.
-.c reference of a request
+.\" reference of a request
 .de request
 .  BR \\$*
 ..
 .
-.c --------- numerical elements ---------
+.\" --------- numerical elements ---------
 .
-.c number with a trailing unit
+.\" number with a trailing unit
 .de scalednumber
 .  Text \\$1\^\f[CB]\\$2\f[]\\$3\f[R]
 .  ft P
 ..
 .
-.c representation of units within the text
+.\" representation of units within the text
 .de scaleindicator
 .  Text \f[CB]\\$1\f[]\\$2\f[R]
 .  ft P
 ..
 .
-.c representation of mathematical operators within the text
+.\" representation of mathematical operators within the text
 .de operator
 .  squoted_char \\$@
 ..
 .
 .eo
 .
+.de c
+..
 .c --------- escape sequences ---------
 .
 .c ---------------------------------------------------------------------




reply via email to

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