groff-commit
[Top][All Lists]
Advanced

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

[groff] 29/39: [docs]: Fix style nit.


From: G. Branden Robinson
Subject: [groff] 29/39: [docs]: Fix style nit.
Date: Sun, 9 Oct 2022 23:53:39 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 398e252277ea913880ce233c1b523d705f67493e
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Oct 9 10:53:26 2022 -0500

    [docs]: Fix style nit.
    
    * doc/groff.texi (Default Units): Express syntactical restriction in a
      more appropriate place.
    
    * man/groff.7.man (Default units): Sync.
---
 doc/groff.texi  | 11 +++++------
 man/groff.7.man |  4 +++-
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/doc/groff.texi b/doc/groff.texi
index a7daaa275..9efbf6dbf 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -5863,11 +5863,11 @@ A general-purpose register (one created or updated with 
the @code{nr}
 request; see @pxref{Registers}) is implicitly dimensionless, or reckoned
 in basic units if interpreted in a measurement context.  But it is
 convenient for many requests and escape sequences to infer a scaling
-unit for an argument if none is specified.  An explicit scaling unit can
-override an undesirable default.  Effectively, the default unit is
-suffixed to the expression if a scaling unit is not already present.
-GNU @code{troff}'s use of integer arithmetic should also be
-kept in mind (@pxref{Numeric Expressions}).
+unit for an argument if none is specified.  An explicit scaling unit
+(not after a closing parenthesis) can override an undesirable default.
+Effectively, the default unit is suffixed to the expression if a scaling
+unit is not already present.  GNU @code{troff}'s use of integer
+arithmetic should also be kept in mind (@pxref{Numeric Expressions}).
 
 The @code{ll} request interprets its argument in ems by default.
 Consider several attempts to set a line length of 3.5@tie{}inches when
@@ -5885,7 +5885,6 @@ expressions become zero; the request clamps them to that 
quantum.
 @endExample
 
 @noindent
-As shown, a scaling unit after a closing parenthesis is ignored.
 @cindex measurements, specifying safely
 The safest way to specify measurements is to attach a scaling unit.  To
 multiply or divide by a dimensionless quantity, use @samp{u} as its
diff --git a/man/groff.7.man b/man/groff.7.man
index 430043b0c..f9c974b37 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -872,7 +872,9 @@ or reckoned in basic units if interpreted in a measurement 
context.
 But it is convenient for many requests and escape sequences to infer a
 scaling unit for an argument if none is specified.
 .
-An explicit scaling unit can override an undesirable default.
+An explicit scaling unit
+(not after a closing parenthesis)
+can override an undesirable default.
 .
 Effectively,
 the default unit is suffixed to the expression if a scaling unit is not



reply via email to

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