summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-11-17 15:30:41 +0000
committerru <ru@FreeBSD.org>2000-11-17 15:30:41 +0000
commitda58922cd5ae9cd596e4a03b659fc6c747faf074 (patch)
treec9b953f0ea4a74af8450ae9c94f81f3b86967975 /contrib
parenteb8c554f56d74fc1b61cf818ef6ad426a3464a9b (diff)
downloadFreeBSD-src-da58922cd5ae9cd596e4a03b659fc6c747faf074.zip
FreeBSD-src-da58922cd5ae9cd596e4a03b659fc6c747faf074.tar.gz
Fixed Nm macro so that it accepts punctuation characters as argument.
For example, neither of the following worked before: .Nm , name, .Nm . name. .Nm : name: .Dq Nm ``name'' .Op Nm . [name].
Diffstat (limited to 'contrib')
-rw-r--r--contrib/groff/tmac/tmac.doc19
1 files changed, 4 insertions, 15 deletions
diff --git a/contrib/groff/tmac/tmac.doc b/contrib/groff/tmac/tmac.doc
index 4882ba1..346eb40 100644
--- a/contrib/groff/tmac/tmac.doc
+++ b/contrib/groff/tmac/tmac.doc
@@ -758,17 +758,7 @@
. \}
. el \{\
. ds mN Nm
-. ds A1 \\$1
-. ds A2 \\$2
-. ds A3 \\$3
-. ds A4 \\$4
-. ds A5 \\$5
-. ds A6 \\$6
-. ds A7 \\$7
-. ds A8 \\$8
-. ds A9 \\$9
-. nr fV \\n(.$
-. fV
+. aV \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
. \}
.\}
.if \\n(aC>0 \{\
@@ -779,9 +769,8 @@
. el \{\
. as b1 \\*(nM
. nr aP \\n(aP+1
-. ie \\n(C\\n(aP==1 \{\
+. ie !\\n(C\\n(aP==2 \{\
. as b1 \&\\*(n1\fP\s0
-. \\*(A\\n(aP
. \}
. el \{\
. nr cF \\n(.f
@@ -793,7 +782,7 @@
. ie \\n(nS>1 .br
. el \{\
. if \\n(iS==0 \{\
-. sw \\$1
+. sW \\$1
. nr iS ((\\n(sWu+1)*\\n(fW)u
. \}
. \}
@@ -803,8 +792,8 @@
. \}
. \}
. if "\\*(n1"" .ds n1 \\*(A\\n(aP
-. nR
. \}
+. nR
. \}
.\}
..
OpenPOWER on IntegriCloud