summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authoresr <esr>2007-02-19 21:51:17 +0000
committeresr <esr>2007-02-19 21:51:17 +0000
commit68a9f306f929b07bd51c1e8b4dc663e57f210cd6 (patch)
tree0e3729ce6100e199f4ca46252eea786112644007 /man
parent704e724f330a1e084b8c0096b306bd655f5f8e32 (diff)
downloadgroff-68a9f306f929b07bd51c1e8b4dc663e57f210cd6.tar.gz
Second step towards eliminating use of .eo/.ec.
Diffstat (limited to 'man')
-rw-r--r--man/groff.man44
1 files changed, 17 insertions, 27 deletions
diff --git a/man/groff.man b/man/groff.man
index 21c504ef..251333d8 100644
--- a/man/groff.man
+++ b/man/groff.man
@@ -31,29 +31,26 @@ FDL in the main directory of the groff source package.
.\" --------------------------------------------------------------------
.\" 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 @@ FDL in the main directory of the groff source package.
.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 \f[CB]\*[@1]\f[]
+. ie (\n[.$] = 1) \{\
+. Text \f[CB]\\$\f[]
. \}
. el \{\
-. Text \f[CB]\*[@1]\~\f[]\f[I]\$*\f[]
+. 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 ---------------------------------------------------------------------