diff options
author | keithmarshall <keithmarshall> | 2007-04-08 18:50:42 +0000 |
---|---|---|
committer | keithmarshall <keithmarshall> | 2007-04-08 18:50:42 +0000 |
commit | b2a1f56aae5b54ea16ec720c8c5261f26578eded (patch) | |
tree | 4636fc80ee40253adfe68030352cc5ebfe69b075 /tmac/groff_ms.man | |
parent | 9c69cededab2639d986d56850dc846dbff99ab8c (diff) | |
download | groff-b2a1f56aae5b54ea16ec720c8c5261f26578eded.tar.gz |
* tmac/s.tmac (SN): Define unconditionally.
(SN-STYLE): New string; define.
* NEWS, tmac/groff_ms.man, doc/groff.texinfo (SN-STYLE): Document it.
Diffstat (limited to 'tmac/groff_ms.man')
-rw-r--r-- | tmac/groff_ms.man | 65 |
1 files changed, 48 insertions, 17 deletions
diff --git a/tmac/groff_ms.man b/tmac/groff_ms.man index 9ec359eb..00891139 100644 --- a/tmac/groff_ms.man +++ b/tmac/groff_ms.man @@ -528,14 +528,57 @@ scaling factor should be employed, when assigning a value specified in points. . .IP +The style used to represent the section number, +within a numbered heading, +is controlled by the +.B SN-STYLE +string; +this may be set to either the +.B SN-DOT +or the +.B SN-NO-DOT +style, +(described below), +by aliasing +.B SN-STYLE +accordingly. +By default, +.B SN-STYLE +is initialised by defining the alias +.RS +.nf +.IP +\&.als SN-STYLE SN-DOT +.fi +.RE +.IP +it may be changed to the +.B SN-NO-DOT +style, +if preferred, +by defining the alternative alias +.RS +.nf +.IP +\&.als SN-STYLE SN-NO-DOT +.fi +.RE +.IP +Any such change becomes effective with the first use of +.BR .NH , +.I after +the new alias is defined. +. +.IP After invoking .BR .NH , the assigned heading number is available in the strings .B SN-DOT -(exactly as it appears in the formatted heading), +(as it appears in the default formatting style for numbered headings, +with a terminating period following the number), and .B SN-NO-DOT -(with its final period omitted). +(with this terminating period omitted). The string .B SN is also defined, @@ -550,28 +593,16 @@ by including the initialisation: .RS .nf .IP -\&.ds SN-NO-DOT \&.als SN SN-NO-DOT .fi .RE . .IP -.I before -the first use of +at any time; +the change becomes effective with the next use of .BR .NH , -or simply: -. -.RS -.nf -.IP -\&.als SN SN-NO-DOT -.fi -.RE -. -.IP .I after -the first use of -.BR .NH . +the new alias is defined. . .TP .BI .SH\ [ xx ] |