[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 11/30: [ms]: In docs, demote fractional type size topic.
From: |
G. Branden Robinson |
Subject: |
[groff] 11/30: [ms]: In docs, demote fractional type size topic. |
Date: |
Wed, 15 Jun 2022 09:59:52 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 026ee647bde98f7c2f49ab1929abd4fdb1547c48
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Jun 13 23:02:17 2022 -0500
[ms]: In docs, demote fractional type size topic.
Demote it from its own subsection to an item under "Differences from
AT&T ms".
---
doc/groff.texi | 27 +++++++++-------------
doc/ms.ms | 65 ++++++++++++++++++++++++-----------------------------
tmac/groff_ms.7.man | 53 +++++++++++++++++++++----------------------
3 files changed, 65 insertions(+), 80 deletions(-)
diff --git a/doc/groff.texi b/doc/groff.texi
index 716b3ca1..40c84aff 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -2446,7 +2446,6 @@ and Tenth Edition Research Unix have been recreated.
* ms Introduction::
* ms Document Structure::
* ms Document Control Settings::
-* Fractional type sizes in ms::
* ms Document Description Macros::
* ms Body Text::
* ms Page Layout::
@@ -2941,21 +2940,7 @@ Default: @code{\w'000'}
@c ---------------------------------------------------------------------
-@node Fractional type sizes in ms, ms Document Description Macros, ms Document
Control Settings, ms
-@subsection Fractional type sizes
-@cindex fractional type sizes in @file{ms} macros
-@cindex @file{ms} macros, fractional type sizes in
-
-@acronym{AT&T} @file{ms} supported only integer values for the type size
-and vertical spacing. To overcome this restriction, for the registers
-@code{PS}, @code{VS}, @code{FPS}, and @code{FVS}, @code{groff} @file{ms}
-interprets values equal to or larger than 1000 as decimal fractions
-multiplied by 1000. See the @code{PS} register in @ref{ms Document
-Control Settings}.
-
-@c ---------------------------------------------------------------------
-
-@node ms Document Description Macros, ms Body Text, Fractional type sizes in
ms, ms
+@node ms Document Description Macros, ms Body Text, ms Document Control
Settings, ms
@subsection Document Description Macros
@cindex @file{ms} macros, document description
@cindex document description macros, [@file{ms}]
@@ -4334,6 +4319,16 @@ for documents that define additional macros of their own
that try to
manipulate indentation. The solution is to use, not the @code{in}
request, but the @file{ms} @code{RS} and @code{RE} macros.
+@item
+@cindex fractional type sizes in @file{ms} macros
+@cindex @file{ms} macros, fractional type sizes in
+@acronym{AT&T} @file{ms} supported only integer values for the type size
+and vertical spacing. To overcome this restriction, for the registers
+@code{PS}, @code{VS}, @code{FPS}, and @code{FVS}, @code{groff} @file{ms}
+interprets values equal to or larger than 1000 as decimal fractions
+multiplied by 1000. See the @code{PS} register in @ref{ms Document
+Control Settings}.
+
@item
Right-aligned displays are available. The @acronym{AT&T} @file{ms}
manual observes that ``it is tempting to assume that @samp{.DS R} will
diff --git a/doc/ms.ms b/doc/ms.ms
index 6a13e8ef..492a01e6 100644
--- a/doc/ms.ms
+++ b/doc/ms.ms
@@ -408,42 +408,6 @@ usually,
this is the case only for output to terminals and emulators thereof.
.
.
-.NH 2
-Fractional type sizes
-.XS
- Fractional type sizes
-.XE
-.
-.
-.LP
-AT&T
-.I ms
-supported only integer values for the type size and vertical spacing.
-.
-To overcome this restriction,
-for the registers
-.CW PS ,
-.CW VS ,
-.CW FPS ,
-and
-.CW FVS ,
-.I "groff ms"
-interprets values equal to or larger than\~1000 as decimal fractions
-multiplied by\~1000.
-.
-For example,
-.CW ".nr PS 10500" \[rq] \[lq]
-sets the document's type size to 10.5\~points.
-.
-In
-.I ms
-documents that don't need to be portable to other implementations,
-using a scaling indicator,
-as in
-.CW ".nr PS 10.5p" \[rq], \[lq]
-is preferable.
-.
-.
.\" ------------------------
.if t .bp
.NH 1
@@ -3417,6 +3381,35 @@ and
.
.
.PP
+AT&T
+.I ms
+supported only integer values for the type size and vertical spacing.
+.
+To overcome this restriction,
+for the registers
+.CW PS ,
+.CW VS ,
+.CW FPS ,
+and
+.CW FVS ,
+.I "groff ms"
+interprets values equal to or larger than\~1000 as decimal fractions
+multiplied by\~1000.
+.
+For example,
+.CW ".nr PS 10500" \[rq] \[lq]
+sets the document's type size to 10.5\~points.
+.
+In
+.I ms
+documents that don't need to be portable to other implementations,
+using a scaling indicator,
+as in
+.CW ".nr PS 10.5p" \[rq], \[lq]
+is preferable.
+.
+.
+.PP
Right-aligned displays are available.
.
The AT&T
diff --git a/tmac/groff_ms.7.man b/tmac/groff_ms.7.man
index 6cbb4df7..b2ee2ed1 100644
--- a/tmac/groff_ms.7.man
+++ b/tmac/groff_ms.7.man
@@ -412,34 +412,6 @@ macros.
.
.
.\" ====================================================================
-.SS "Fractional type sizes"
-.\" ====================================================================
-.
-AT&T
-.I ms
-supported only integer values for the type size and vertical spacing.
-.
-To overcome this restriction,
-for the registers
-.BR PS ,
-.BR VS ,
-.BR FPS ,
-and
-.BR FVS ,
-.I groff ms
-interprets values equal to or larger than\~1000 as decimal fractions
-multiplied by\~1000.
-.
-In
-.I ms
-documents that don't need to be portable to other implementations,
-use of a scaling indicator,
-as in
-.RB \[lq] ".nr PS 10.5p" \[rq],
-is preferable.
-.
-.
-.\" ====================================================================
.SS "Document description macros"
.\" ====================================================================
.
@@ -2401,6 +2373,31 @@ and
.
.
.IP \[bu]
+AT&T
+.I ms
+supported only integer values for the type size and vertical spacing.
+.
+To overcome this restriction,
+for the registers
+.BR PS ,
+.BR VS ,
+.BR FPS ,
+and
+.BR FVS ,
+.I groff ms
+interprets values equal to or larger than\~1000 as decimal fractions
+multiplied by\~1000.
+.
+In
+.I ms
+documents that don't need to be portable to other implementations,
+use of a scaling indicator,
+as in
+.RB \[lq] ".nr PS 10.5p" \[rq],
+is preferable.
+.
+.
+.IP \[bu]
To make
.I groff ms
use the default page offset
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 11/30: [ms]: In docs, demote fractional type size topic.,
G. Branden Robinson <=