1. Disable the recognition of the last dot character in the

default .Ar argument as an end-of-sentence character.

Example:
    .Ar
    foo
Produced:
    file ...  foo
Now produces:
    file ... foo

2.  Fixed an off-by-one bug in the .It macro for the -hang lists.

Example:
    .Bl -hang -width 8n -compact
    .It 1234
    OK
    .It 1234567
    OK
    .It 12345678
    BUG
    .El
Produced:
     1234      OK
     1234567   OK
     12345678 BUG
Now produces:
     1234      OK
     1234567   OK
     12345678  BUG

Ported from:	mdocNG
This commit is contained in:
ru 2001-02-14 11:03:06 +00:00
parent 4e1541048e
commit 11972fadba

View File

@ -426,7 +426,7 @@
.as b1 \\*(aR
.if \\n(aC==0 \{\
. ie \\n(.$==0 \{\
. as b1 file\ ...\fP\s0
. as b1 file\ ...\&\fP\s0
. pB
. \}
. el \{\
@ -436,20 +436,20 @@
.\}
.if \\n(aC>0 \{\
. ie (\\n(aC-\\n(aP)==0 \{\
. as b1 \&file\ ...\fP\s0
. as b1 file\ ...\&\fP\s0
. aZ
. \}
. el \{\
. nr aP \\n(aP+1
. ie \\n(C\\n(aP==1 \{\
. as b1 \&file\ ...\fP\s0
. as b1 file\ ...\&\fP\s0
. \\*(A\\n(aP
. \}
. el \{\
. nr cF \\n(.f
. nr cZ \\n(.s
. if \\n(C\\n(aP==3 \{\
. as b1 \&file\ ...
. as b1 file\ ...\&
. \}
. nR
. \}
@ -2026,7 +2026,7 @@
.lX
.nr bb \\n(w\\n(lCu+\\n(lSu
.ti -\\n(bbu
.ie \w\\*(b1u>=(\\n(w\\n(lCu) \&\\*(b1
.ie \w\\*(b1u>(\\n(w\\n(lCu) \&\\*(b1
.el \&\\*(b1\h'|\\n(bbu'\c
.nr oM \\n(oM-1
.ds b1