groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 17/22: [ms]: Clarify register arithmetic in docs.


From: G. Branden Robinson
Subject: [groff] 17/22: [ms]: Clarify register arithmetic in docs.
Date: Tue, 27 Jul 2021 22:34:27 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 1f40e5442fd7b91fbb866a2530ad2d96b7fcd58c
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Jul 28 11:37:43 2021 +1000

    [ms]: Clarify register arithmetic in docs.
    
    Use scale units in arithmetic expressions to serve as a better model for
    the reader.
---
 doc/groff.texi      | 4 ++--
 doc/ms.ms           | 4 ++--
 tmac/groff_ms.7.man | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/groff.texi b/doc/groff.texi
index f24ed0a..cf61618 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -2872,7 +2872,7 @@ GNU extension.
 
 Effective: next footnote.
 
-Default: @math{@code{@\n[PS]} - 2}.
+Default: @math{@code{@\n[PS]} - 2p}.
 @endDefmpreg
 
 @Defmpreg {FVS, ms}
@@ -2882,7 +2882,7 @@ is a GNU extension.
 
 Effective: next footnote.
 
-Default: @math{@code{@\n[FPS]} + 2}.
+Default: @math{@code{@\n[FPS]} + 2p}.
 @endDefmpreg
 
 @Defmpreg {FPD, ms}
diff --git a/doc/ms.ms b/doc/ms.ms
index bce8f06..6802e6a 100644
--- a/doc/ms.ms
+++ b/doc/ms.ms
@@ -349,8 +349,8 @@ Headings    \[rs]n[PSINCR]  Point size increment    next 
heading    1p
 _
 Footnotes      \[rs]n[FI]      Indentation     next footnote   2n
 \^     \[rs]n[FF]      Format  next footnote   0
-\^     \[rs]n[FPS]     Point size      next footnote   \[rs]n[PS]\-2
-\^     \[rs]n[FVS]     Vertical spacing (leading)      next footnote   
\[rs]n[FPS]+2
+\^     \[rs]n[FPS]     Point size      next footnote   \[rs]n[PS]\-2p
+\^     \[rs]n[FVS]     Vertical spacing (leading)      next footnote   
\[rs]n[FPS]+2p
 \^     \[rs]n[FPD]     Paragraph distance (spacing)    next footnote   
\[rs]n[PD]/2
 \^     \[rs]*[FR]      Line length ratio       \f[I]special    11/12
 _
diff --git a/tmac/groff_ms.7.man b/tmac/groff_ms.7.man
index 68f6b29..5b0d213 100644
--- a/tmac/groff_ms.7.man
+++ b/tmac/groff_ms.7.man
@@ -291,8 +291,8 @@ Parameter   Definition      Effective       Default
 _
 \[rs]n[FI]     Indentation     next footnote   2n
 \[rs]n[FF]     Format  next footnote   0
-\[rs]n[FPS]    Point size      next footnote   \[rs]n[PS]\-2
-\[rs]n[FVS]    Vertical spacing (leading)      next footnote   \[rs]n[FPS]+2
+\[rs]n[FPS]    Point size      next footnote   \[rs]n[PS]\-2p
+\[rs]n[FVS]    Vertical spacing (leading)      next footnote   \[rs]n[FPS]+2p
 \[rs]n[FPD]    Paragraph distance (spacing)    next footnote   \[rs]n[PD]/2
 \[rs]*[FR]     Line length ratio       \f[I]special    11/12
 _



reply via email to

[Prev in Thread] Current Thread [Next in Thread]