diff options
author | wlemb <wlemb> | 2001-05-05 14:25:54 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2001-05-05 14:25:54 +0000 |
commit | b220dc79895f16624214933e02f4b4c2fe5e0a21 (patch) | |
tree | 770eeae7977f6824238f5a1c56761792c132d04e | |
parent | c16c00ada1460d9e62dbda93ee793be219bc2b2a (diff) | |
download | groff-b220dc79895f16624214933e02f4b4c2fe5e0a21.tar.gz |
Rename register .q to .ns
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | doc/groff.texinfo | 6 | ||||
-rw-r--r-- | man/groff.man | 6 | ||||
-rw-r--r-- | src/roff/troff/div.cc | 2 | ||||
-rw-r--r-- | src/roff/troff/troff.man | 12 |
6 files changed, 15 insertions, 15 deletions
@@ -1,6 +1,6 @@ 2001-05-05 Werner LEMBERG <wl@gnu.org> - Added `.q' number register: Returns 1 if in no-space mode (if in + Added `.ns' number register: Returns 1 in no-space mode (if in top-level diversion), 0 otherwise. * src/roff/troff/div.cc (no_space_mode_reg): New class. @@ -12,7 +12,7 @@ Troff o Added request `brp'. This is the same as `\p'. -o New read-only number register `.q'. Returns 1 in no-space mode (if in +o New read-only number register `.ns'. Returns 1 in no-space mode (if in top-level diversion), 0 otherwise. Nroff diff --git a/doc/groff.texinfo b/doc/groff.texinfo index 91fa2638..dbcda089 100644 --- a/doc/groff.texinfo +++ b/doc/groff.texinfo @@ -4655,13 +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} +@Defregx {.ns} 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. The read-only number register @code{.q} is set to@w{ }1. +encountered. The read-only number register @code{.ns} is set to@w{ }1. @cindex top-level diversion @cindex diversion, top-level @@ -7410,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.75 2001/05/05 08:41:38 wlemb Exp $ +.vl $Id: groff.texinfo,v 1.76 2001/05/05 14:25:55 wlemb Exp $ @endExample @endDefesc diff --git a/man/groff.man b/man/groff.man index a3321fc4..d5d38768 100644 --- a/man/groff.man +++ b/man/groff.man @@ -2418,13 +2418,13 @@ The amount of space that was needed in the last request that caused a trap to be sprung. Useful in conjunction with .register .trunc . -.REG .o Current page offset. -.REG .p Current page length. -.REG .q +.REG .ns .number 1 in no-space mode (if in top-level diversion), .number 0 otherwise. +.REG .o Current page offset. +.REG .p Current page length. .REG .pn The number of the next page: either the value set by a .request .pn diff --git a/src/roff/troff/div.cc b/src/roff/troff/div.cc index 4abd27af..a2e80d55 100644 --- a/src/roff/troff/div.cc +++ b/src/roff/troff/div.cc @@ -1166,7 +1166,7 @@ void init_div_requests() number_reg_dictionary.define(".z", new diversion_name_reg); number_reg_dictionary.define(".o", new page_offset_reg); number_reg_dictionary.define(".p", new page_length_reg); - number_reg_dictionary.define(".q", new no_space_mode_reg); + number_reg_dictionary.define(".ns", new no_space_mode_reg); number_reg_dictionary.define(".d", new vertical_position_reg); number_reg_dictionary.define(".h", new high_water_mark_reg); number_reg_dictionary.define(".t", new distance_to_next_trap_reg); diff --git a/src/roff/troff/troff.man b/src/roff/troff/troff.man index fff107ca..c4830821 100644 --- a/src/roff/troff/troff.man +++ b/src/roff/troff/troff.man @@ -1861,6 +1861,12 @@ Useful in conjunction with the .B \en[.trunc] register. .TP +.B \en[.ns] +.B 1 +if no-space mode is active (if in top-level diversion), +.B 0 +otherwise. +.TP .B \en[.pn] The number of the next page: either the value set by a @@ -1873,12 +1879,6 @@ The current pointsize in scaled points. .B \en[.psr] The last-requested pointsize in scaled points. .TP -.B \en[.q] -.B 1 -if no-space mode is active (if in top-level diversion), -.B 0 -otherwise. -.TP .B \en[.rj] The number of lines to be right-justified as set by the .B rj |