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].
This commit is contained in:
parent
251c176f41
commit
7897159684
@ -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
|
||||
. \}
|
||||
.\}
|
||||
..
|
||||
|
Loading…
Reference in New Issue
Block a user