mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-29 13:15:05 +00:00
1. Disable hyphenation on a dash (`-') character in macro arguments.
2. Disable recognition of end-of-sentence characters in text-type macro arguments. 3. Fix the missing space bug when an end-of-sentence character was followed by another punctuation character. 4. Fix the bug where hyphenation was left disabled after .Re. Obtained from: mdocNG
This commit is contained in:
parent
a06f15e4b8
commit
3a4ab3655c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72129
|
@ -406,15 +406,15 @@
|
|||
.\}
|
||||
.el \{\
|
||||
. nr jN \\n(aP
|
||||
. ie \\n(jM==2 .as b1 \&\\*(A\\n(aP
|
||||
. el .as b1 \&\f\\n(cF\s\\n(cZ\\*(A\\n(aP\fP\s0
|
||||
. ie \\n(jM==2 .as b1 \&\%\\*(A\\n(aP\&
|
||||
. el .as b1 \)\f\\n(cF\s\\n(cZ\\*(A\\n(aP\fP\s0
|
||||
. ie \\n(aC==\\n(aP \{\
|
||||
. as b1 \f\\n(cF\s\\n(cZ
|
||||
. aZ
|
||||
. \}
|
||||
. el \{\
|
||||
. nr aP \\n(aP+1
|
||||
. as b1 \&\\*(S\\n(jN
|
||||
. as b1 \)\\*(S\\n(jN
|
||||
. nR
|
||||
. \}
|
||||
.\}
|
||||
|
@ -2903,6 +2903,7 @@
|
|||
..
|
||||
.\" NS rZ macro - reference print
|
||||
.de rZ
|
||||
.nh
|
||||
.if \\n(uK \{\&\\*(U1,
|
||||
. nr aK 1
|
||||
. if (\\n(uK>1 \{\
|
||||
|
@ -2971,6 +2972,7 @@
|
|||
. if \\n(Kl>0 \&\\*(oK,
|
||||
.\}
|
||||
.if \\n(Kl>0 .tm unresolved reference problem
|
||||
.hy
|
||||
..
|
||||
.\" NS aK macro - print out reference authors
|
||||
.de aK
|
||||
|
@ -3317,7 +3319,6 @@
|
|||
.\" NS jM local register
|
||||
.\" NS jN local register
|
||||
.de rR
|
||||
.nh
|
||||
.nr jM \\n(C\\n(aP
|
||||
.ie \\n(jM==1 \{\
|
||||
.\" . as b1 \&\f\\n(cF\s\\n(cZ
|
||||
|
|
Loading…
Reference in a new issue