summaryrefslogtreecommitdiff
path: root/tmac/groff_ms.man
diff options
context:
space:
mode:
authorwl <wl>2004-09-20 09:08:33 +0000
committerwl <wl>2004-09-20 09:08:33 +0000
commit692b484d3776150a86f0a00ccb6ae482738b8e34 (patch)
tree01474e14b170280396a2988c773f558eb1b56d38 /tmac/groff_ms.man
parentbe1a0310ab8319a8111d34c6a48fbc8586857f26 (diff)
downloadgroff-692b484d3776150a86f0a00ccb6ae482738b8e34.tar.gz
This change implements the following features:
PORPHANS New numeric register: Defines number of lines following LP, PP, QP, IP or XP, which must be kept together, before any automatic page break. If insufficient space remains on the current page, a page break is forced before the new paragraph begins. HORPHANS New numeric register: Sets number of lines of following paragraph which must be kept with a heading, defined by NH or SH, before any automatic page break. If insufficient space remains on the current page, a page break is forced before the heading. GROWPS (Thanks to Joerg van den Hoff, for this idea). New numeric register: Sets the first level of heading (set with NH), which will keep the same point size as body text; e.g. if GROWPS is set to 3, .NH 3, .NH 4, ... will produce headings at the point size specified by \n[PS], but .NH 2 and .NH 1 will have progressively larger point sizes, determined by \n[PSINCR] (see below). PSINCR New numeric register: Sets the point size increment for each level of heading, (set with NH), below the threshold level set by GROWPS; e.g. if \n[PS] = 10, \n[GROWPS] = 3 and \n[PSINCR] = 2.0p, then .NH 1 will produce 14pt headings, .NH 2 will produce 12pt, and all other levels will remain at 10pt, (because \n[PS] = 10). SH Existing macro now accepts a numeric argument, to make heading size match that of NH with same argument value, when the GROWPS/PSINCR feature is enabled. SN-DOT New string, set by NH macro, replaces the existing (undocumented) use of SN, to represent the assigned section number. SN-NO-DOT New string, set by NH macro, represents the assigned section number, but omits the terminal period (periods at intermediate levels are retained). SN String set by NH macro, originally undocumented, now implemented as an alias for SN-DOT (which reproduces original behaviour). * tmac/s.tmac (PORPHANS): New register. (par*start): Use it. (HORPHANS, GROWPS, PSINCR): New registers. (SH-NO-TAG, @SH): Use them. (@NH): Improved. * NEWS, doc/groff.texinfo, tmac/groff_ms.man: Document the deletion of `Ds' and `De' macros.
Diffstat (limited to 'tmac/groff_ms.man')
-rw-r--r--tmac/groff_ms.man11
1 files changed, 8 insertions, 3 deletions
diff --git a/tmac/groff_ms.man b/tmac/groff_ms.man
index 8ce4bb2b..f18150a9 100644
--- a/tmac/groff_ms.man
+++ b/tmac/groff_ms.man
@@ -629,12 +629,17 @@ The macros
.B Ds
and
.B De
-are aliases for
+were formerly provided as aliases for
.B DS
and
.BR DE ,
-respectively.
-.
+respectively, but they have been removed, and should no longer be used.
+X11 documents which actually use
+.B Ds
+and
+.B De
+always load a specific macro file from the X11 distribution (macros.t)
+which provides proper definitions for the two macros.
.PP
To
.I keep