summaryrefslogtreecommitdiff
path: root/tmac/doc.tmac
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-05-18 22:39:39 +0000
committerwlemb <wlemb>2003-05-18 22:39:39 +0000
commit8a41c54176f291913304f921606367a8bba07c2d (patch)
tree5018a96a6023dd1e7995503166c290532b3041d8 /tmac/doc.tmac
parenta1872d49e6bc8afffc8f22176cf05b6fc218e179 (diff)
downloadgroff-8a41c54176f291913304f921606367a8bba07c2d.tar.gz
* 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. * src/roff/troff/input.cc (return_macro_request): If called with argument pop macro twice. We need this to trace `return'. * tmac/trace.tmac: Handle `return'. Fix typos. * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo: Document. * tmac/groff_ms.man, doc/groff.texinfo: Improve documentation of registers `FPS', `FVS', and `FPD'.
Diffstat (limited to 'tmac/doc.tmac')
-rw-r--r--tmac/doc.tmac14
1 files changed, 7 insertions, 7 deletions
diff --git a/tmac/doc.tmac b/tmac/doc.tmac
index 290431a8..7dcfb660 100644
--- a/tmac/doc.tmac
+++ b/tmac/doc.tmac
@@ -3959,15 +3959,15 @@
. 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
. nr doc-have-space 1
. \}
.