[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 15/22: [ms]: Relocate, tweak fractional point size docs.
From: |
G. Branden Robinson |
Subject: |
[groff] 15/22: [ms]: Relocate, tweak fractional point size docs. |
Date: |
Tue, 27 Jul 2021 22:34:26 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 9b4148237b05e13fbc1be2917a71b99647ad1f0f
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Jul 27 20:46:10 2021 +1000
[ms]: Relocate, tweak fractional point size docs.
This material seems to sit much more comfortably adjacent to the
document configuration registers and strings.
---
doc/groff.texi | 17 ++++++++++++++++-
doc/ms.ms | 28 ++++++++++++++++++++++++++++
tmac/groff_ms.7.man | 45 +++++++++++++++++++++++----------------------
3 files changed, 67 insertions(+), 23 deletions(-)
diff --git a/doc/groff.texi b/doc/groff.texi
index e0fc975..e1bde81 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -2466,6 +2466,7 @@ and Version@tie{}10 Research Unix have been recreated.
* ms Introduction::
* ms Document Structure::
* ms Document Control Settings::
+* Fractional point sizes in ms::
* ms Document Description Macros::
* ms Body Text::
* ms Page Layout::
@@ -2939,7 +2940,21 @@ Default: 2@dmn{n}.
@c ---------------------------------------------------------------------
-@node ms Document Description Macros, ms Body Text, ms Document Control
Settings, ms
+@node Fractional point sizes in ms, ms Document Description Macros, ms
Document Control Settings, ms
+@subsection Fractional point sizes
+@cindex fractional point sizes in @code{ms} macros
+@cindex @code{ms} macros, fractional point sizes in
+
+@acronym{AT&T} @file{ms} supported only integer values for the type size
+and vertical spacing. To overcome this restriction, for certain
+registers @code{groff} @file{ms} interprets values equal to or larger
+than 1000 as decimal fractions multiplied by 1000. The registers
+@code{PS}, @code{VS}, @code{FPS}, and @code{FVS} accept fractional point
+sizes.
+
+@c ---------------------------------------------------------------------
+
+@node ms Document Description Macros, ms Body Text, Fractional point sizes in
ms, ms
@subsection Document Description Macros
@cindex @code{ms} macros, document description
@cindex document description macros, [@code{ms}]
diff --git a/doc/ms.ms b/doc/ms.ms
index a789175..e4308c1 100644
--- a/doc/ms.ms
+++ b/doc/ms.ms
@@ -383,6 +383,34 @@ this is the case only for output to terminals and
emulators thereof.
.
.
.\" ------------------------
+.NH 2
+Fractional point sizes
+.XS
+ Fractional point sizes
+.XE
+.
+.
+.LP
+AT&T
+.I ms
+supported only integer values for the type size and vertical spacing.
+.
+To overcome this restriction,
+for certain registers
+.I "groff ms"
+interprets values equal to or larger than\~1000 as decimal fractions
+multiplied by\~1000.
+.
+The registers
+.CW PS ,
+.CW VS ,
+.CW FPS ,
+and
+.CW FVS
+accept fractional point sizes.
+.
+.
+.\" ------------------------
.bp
.NH 1
Document description macros
diff --git a/tmac/groff_ms.7.man b/tmac/groff_ms.7.man
index f8f1d26..fa7529b 100644
--- a/tmac/groff_ms.7.man
+++ b/tmac/groff_ms.7.man
@@ -350,6 +350,29 @@ is the gap between columns in multiple-column page
arrangements.
.
.
.\" ====================================================================
+.SS "Fractional point sizes"
+.\" ====================================================================
+.
+AT&T
+.I ms
+supported only integer values for the type size and vertical spacing.
+.
+To overcome this restriction,
+for certain registers
+.I groff ms
+interprets values equal to or larger than\~1000 as decimal fractions
+multiplied by\~1000.
+.
+The registers
+.BR PS ,
+.BR VS ,
+.BR FPS ,
+and
+.B FVS
+accept fractional point sizes.
+.
+.
+.\" ====================================================================
.SS "Document description macros"
.\" ====================================================================
.
@@ -1690,28 +1713,6 @@ string.
.
.
.\" ====================================================================
-.SS "Fractional point sizes"
-.\" ====================================================================
-.
-Traditionally, the
-.I ms
-macros only support integer values for the document's font size
-and vertical spacing.
-.
-To overcome this restriction, values larger than or equal to 1000 are
-taken as fractional values, multiplied by 1000.
-.
-.
-.LP
-The following four registers accept fractional point sizes:
-.BR PS ,
-.BR VS ,
-.BR FPS ,
-and
-.BR FVS .
-.
-.
-.\" ====================================================================
.SH "Differences from AT&T \f[I]ms\f[]"
.\" ====================================================================
.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 15/22: [ms]: Relocate, tweak fractional point size docs.,
G. Branden Robinson <=