summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-05-05 08:41:32 +0000
committerwlemb <wlemb>2001-05-05 08:41:32 +0000
commitc16c00ada1460d9e62dbda93ee793be219bc2b2a (patch)
tree11e8ed3b647834c433844125e43ac4765f7535bb /man
parent90bf5fed3b356f5f2d5d8d7b1bd82a526d8717d5 (diff)
downloadgroff-c16c00ada1460d9e62dbda93ee793be219bc2b2a.tar.gz
Added `.q' number register: Returns 1 if in no-space mode (if in
top-level diversion), 0 otherwise. * src/roff/troff/div.cc (no_space_mode_reg): New class. (init_div_requests): Updated. * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo: Document it.
Diffstat (limited to 'man')
-rw-r--r--man/groff.man5
1 files changed, 5 insertions, 0 deletions
diff --git a/man/groff.man b/man/groff.man
index 6c3daad1..a3321fc4 100644
--- a/man/groff.man
+++ b/man/groff.man
@@ -2420,6 +2420,11 @@ Useful in conjunction with
.register .trunc .
.REG .o Current page offset.
.REG .p Current page length.
+.REG .q
+.number 1
+in no-space mode (if in top-level diversion),
+.number 0
+otherwise.
.REG .pn
The number of the next page: either the value set by a
.request .pn