1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Apply a vendor fix for one problem with tagged lists. From ChangeLog:

2003-05-18  Werner LEMBERG  <wl@gnu.org>
        * tmac/doc.tmac (doc-tag-list): Force horizontal mode after tag
        to make items work which consist only of a tag.

2003-05-17  Werner LEMBERG  <wl@gnu.org>
        * tmac/doc.tmac (doc-tag-list): Don't use \Z to assure that spaces
        aren't stretched in a tag (this can fail with unformatted boxes).
        Instead, insert a break and go back one line.

Approved by:	re (blanket)
This commit is contained in:
Ruslan Ermilov 2003-05-19 14:37:41 +00:00
parent 65b4847f6c
commit 3fc8056a59
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/vendor/groff/dist/; revision=115155

View File

@ -3959,15 +3959,16 @@
. ti -\n[doc-reg-dtl]u
.
. nh
. ie (\n[dl]u > \n[doc-list-indent-stack\n[doc-list-depth]]u) \{\
. doc-item-box\n[doc-list-depth]
. doc-item-box\n[doc-list-depth]
. ie (\n[dl]u > \n[doc-list-indent-stack\n[doc-list-depth]]u) \
. br
. \}
. el \{\
. chop doc-item-box\n[doc-list-depth]
. \" Using \Z prevents stretching of the spaces in the tag
. nop \Z'\*[doc-item-box\n[doc-list-depth]]'\c
. nop \h'\n[doc-reg-dtl]u'\c
. \" format the tag separately to prevent stretching of spaces
. vpt 0
. br
. sp -1
. vpt 1
. nop \&\c
. nr doc-have-space 1
. \}
.