[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 08/30: [ms]: Relocate material in docs.
From: |
G. Branden Robinson |
Subject: |
[groff] 08/30: [ms]: Relocate material in docs. |
Date: |
Wed, 15 Jun 2022 09:59:51 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit eb4b5efab2d6e3534e9a6b3e2a7f402f6df86b30
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Jun 11 21:22:45 2022 -0500
[ms]: Relocate material in docs.
Move discussion of `TC-MARGIN` and `TC-LEADER` to follow the discussion
of the new groff ms macros for table of contents production (which
presently only exists in the man page--but that will change). These
settings apply to either style of TOC entry.
---
doc/groff.texi | 14 +++++++-------
doc/ms.ms | 36 ++++++++++++++++++------------------
tmac/groff_ms.7.man | 36 ++++++++++++++++++------------------
3 files changed, 43 insertions(+), 43 deletions(-)
diff --git a/doc/groff.texi b/doc/groff.texi
index 630f2282..3a9145c2 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -4239,13 +4239,6 @@ Set the page number to@tie{}1, the page number format to
lowercase Roman
numerals, and call @code{PX} (with a @code{no} argument, if present).
@endDefmac
-You can customize the style of the leader that bridges each table of
-contents entry with its page number; define the @code{TC-LEADER} special
-character by using the @code{char} request. A typical leader combines
-the dot glyph @samp{.} with a horizontal space escape sequence to spread
-the dots. The width of the page number field is stored in the
-@code{TC-MARGIN} register.
-
Here's an example of typical @file{ms} table of contents preparation.
@CartoucheExample
@@ -4279,6 +4272,13 @@ in a document. Altering the @code{NH} macro to
automatically build the
table of contents is perhaps initially more difficult, but could save a
great deal of time in the long run if you use @file{ms} regularly.
+You can customize the style of the leader that bridges each table of
+contents entry with its page number; define the @code{TC-LEADER} special
+character by using the @code{char} request. A typical leader combines
+the dot glyph @samp{.} with a horizontal space escape sequence to spread
+the dots. The width of the page number field is stored in the
+@code{TC-MARGIN} register.
+
@c ---------------------------------------------------------------------
@node ms Strings and Special Characters, , ms TOC, ms Page Layout
diff --git a/doc/ms.ms b/doc/ms.ms
index aaef0422..71749f01 100644
--- a/doc/ms.ms
+++ b/doc/ms.ms
@@ -3180,24 +3180,6 @@ T}
.TE
.
.
-.PP
-You can customize the style of the leader that bridges each table of
-contents entry with its page number;
-define the
-.CW TC\-LEADER
-special character by using the
-.CW char
-request.
-.
-A typical leader combines the dot glyph
-.CW .\& \[rq] \[lq]
-with a horizontal space escape sequence to spread the dots.
-.
-The width of the page number field is stored in the
-.CW TC\-MARGIN
-register.
-.
-.
.KS
.PP
Here's an example of typical
@@ -3312,6 +3294,24 @@ but could save a great deal of time in the long run if
you use
regularly.
.
.
+.PP
+You can customize the style of the leader that bridges each table of
+contents entry with its page number;
+define the
+.CW TC\-LEADER
+special character by using the
+.CW char
+request.
+.
+A typical leader combines the dot glyph
+.CW .\& \[rq] \[lq]
+with a horizontal space escape sequence to spread the dots.
+.
+The width of the page number field is stored in the
+.CW TC\-MARGIN
+register.
+.
+.
.\" ------------------------
.if t .bp
.NH 1
diff --git a/tmac/groff_ms.7.man b/tmac/groff_ms.7.man
index 99e22562..aa367f61 100644
--- a/tmac/groff_ms.7.man
+++ b/tmac/groff_ms.7.man
@@ -2100,24 +2100,6 @@ if present).
.
.
.P
-You can customize the style of the leader that bridges each table of
-contents entry with its page number;
-define the
-.B TC\-LEADER
-special character by using the
-.B char
-request.
-.
-A typical leader combines the dot glyph
-.RB \[lq] .\& \[rq]
-with a horizontal space escape sequence to spread the dots.
-.
-The width of the page number field is stored in the
-.B TC\-MARGIN
-register.
-.
-.
-.P
When creating a table of contents,
incorporating content derived from headings specified by
.B .NH
@@ -2274,6 +2256,24 @@ in which use of
is permitted.
.
.
+.P
+You can customize the style of the leader that bridges each table of
+contents entry with its page number;
+define the
+.B TC\-LEADER
+special character by using the
+.B char
+request.
+.
+A typical leader combines the dot glyph
+.RB \[lq] .\& \[rq]
+with a horizontal space escape sequence to spread the dots.
+.
+The width of the page number field is stored in the
+.B TC\-MARGIN
+register.
+.
+.
.\" ====================================================================
.SH "Differences from AT&T \f[I]ms\f[]"
.\" ====================================================================
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 08/30: [ms]: Relocate material in docs.,
G. Branden Robinson <=