summaryrefslogtreecommitdiff
path: root/doc
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 /doc
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 'doc')
-rw-r--r--doc/groff.texinfo5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/groff.texinfo b/doc/groff.texinfo
index b537d1ac..91fa2638 100644
--- a/doc/groff.texinfo
+++ b/doc/groff.texinfo
@@ -4655,12 +4655,13 @@ The @code{.a} read-only number register contains the most recent
@cindex blank lines, disabling
@cindex lines, blank, disabling
@Defreq {ns, }
+@Defregx {.q}
Enable @dfn{no-space mode}. In this mode, spacing (either via
@code{sp} or via blank lines) is disabled. The @code{bp} request to
advance to the next page is also disabled, except if it is accompanied
by a page number (see @ref{Page Control}, for more information). This
mode ends when actual text is output or the @code{rs} request is
-encountered.
+encountered. The read-only number register @code{.q} is set to@w{ }1.
@cindex top-level diversion
@cindex diversion, top-level
@@ -7409,7 +7410,7 @@ The @code{als} request can make a macro have more than one name.
This would be called as
@Example
-.vl $Id: groff.texinfo,v 1.74 2001/04/16 14:47:18 wlemb Exp $
+.vl $Id: groff.texinfo,v 1.75 2001/05/05 08:41:38 wlemb Exp $
@endExample
@endDefesc