summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-01-08 20:37:24 +0000
committerwlemb <wlemb>2001-01-08 20:37:24 +0000
commite4ba00776230b7badb30237ade59fcaea1b291cd (patch)
treebf2787fcdfed1126ea748402074491fd3b8979bb /man
parent94599dad6cae733855094b8dee9c1ea4da6d9dd8 (diff)
downloadgroff-e4ba00776230b7badb30237ade59fcaea1b291cd.tar.gz
Introducing the `box' and `boxa' requests which are similar to
`di' resp. `da' but omitting a partially filled line (which is restored after ending the diversion). * src/roff/troff/div.h (diversion): Add elements to save partially filled line. * src/roff/troff/div.cc (do_divert): Add parameter `boxing' to save partially filled line. (divert, divert_append): Updated. (box, box_append): New functions. (init_div_requests): Use them. * src/roff/troff/env.h (environment): do_divert() is now a friend. * NEWS, src/roff/troff/troff.man, man/groff.man: Document it. * doc/groff.texinfo: Fix documentation of `lf' request. * src/roff/troff/troff.man, NEWS: Document `writem' request.
Diffstat (limited to 'man')
-rw-r--r--man/groff.man18
1 files changed, 18 insertions, 0 deletions
diff --git a/man/groff.man b/man/groff.man
index 98e8f030..79fdbcd0 100644
--- a/man/groff.man
+++ b/man/groff.man
@@ -892,6 +892,21 @@ Embolden Special Font
when current font is
.argument font .
.
+.REQ .box
+End current diversion.
+.
+.REQ .box macro
+Divert to
+.argument macro ,
+omitting a partially filled line.
+.
+.REQ .boxa
+End current diversion.
+.
+.REQ .boxa macro
+Divert and append to
+.argument macro ,
+omitting a partially filled line.
.REQ .bp
Eject current page and begin new page.
.
@@ -992,6 +1007,9 @@ Continuous underline in nroff, like
.request .ul
in troff.
.
+.REQ .da
+End current diversion.
+.
.REQ .da macro
Divert and append to
.argument macro .