summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-05-07 13:36:23 +0000
committerwlemb <wlemb>2001-05-07 13:36:23 +0000
commitb655be22360e0275e96d7307fc2b06c66ebbc6ee (patch)
treee919600932d6a29c9dd0750d4a9f8871fec444a2 /man
parent2cb0df330838a0f76209415679eae40517857968 (diff)
downloadgroff-b655be22360e0275e96d7307fc2b06c66ebbc6ee.tar.gz
The .ns and .rs requests are now honoured not only in the top-level
but in all diversions (similar to UNIX troff). This change is based on a patch from Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>. * src/roff/troff/div.h (diversion): Add `no_space_mode' member. (top_level_diversion): Remove `no_space_mode' member. * src/roff/troff/div.cc (diversion::diversion, top_level_diversion::top_level_diversion): Updated. (macro_diversion::output): Reset `no_space_mode'. (no_space, restore_spacing): Use `curdiv' unconditionally. (space_request, blank_line): Check `curdiv->no_space_mode'. (no_space_mode_reg::get_value, no_space_mode_reg::get_string): Use `curdiv' unconditionally. * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo: Updated.
Diffstat (limited to 'man')
-rw-r--r--man/groff.man2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/groff.man b/man/groff.man
index c2a66661..2b79604a 100644
--- a/man/groff.man
+++ b/man/groff.man
@@ -2445,7 +2445,7 @@ Useful in conjunction with
.register .trunc .
.REG .ns
.number 1
-in no-space mode (if in top-level diversion),
+if in no-space mode,
.number 0
otherwise.
.REG .o Current page offset.