From 1e39a21c46aff535777411d44998cf4c98794952 Mon Sep 17 00:00:00 2001 From: "G. Branden Robinson" Date: Fri, 2 Dec 2022 02:49:36 -0600 Subject: [docs]: Sync "Registers" and "Strings" sections. ...between our Texinfo manual and groff(7). --- man/groff.7.man | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) (limited to 'man') diff --git a/man/groff.7.man b/man/groff.7.man index 83d851496..5aebe5ff5 100644 --- a/man/groff.7.man +++ b/man/groff.7.man @@ -5149,20 +5149,27 @@ the effect of a newline. .SH Registers .\" ==================================================================== . -Most registers store numeric values -(see section \[lq]Numeric expressions\[rq] above), -but some interpolate text; -see subsection \[lq]Read-only registers\[rq] below. +.\" BEGIN Keep (roughly) parallel with groff.texi node "Registers". +In the +.I roff +language, +numbers can be stored in +.I registers. . -Each register has a name. +Many built-in registers exist, +supplying anything from the date to details of formatting parameters. . -A register is defined and assigned with the -.request .nr +You can also define your own. +. +See section \[lq]Identifiers\[rq] above for information on constructing +a valid name for a register. +. +. +.P +Define registers and update their values with the +.B nr request or the -.esc R -escape sequence; -its value is interpolated with the -.esc n +.B \[rs]R escape sequence. . . @@ -5207,6 +5214,7 @@ Bear in mind that the symbols are .I not part of the register name. +.\" END Keep (roughly) parallel with groff.texi node "Registers". . . .\" ==================================================================== -- cgit v1.2.1