gbranden pushed a commit to branch master
in repository groff.
commit 88c81fca02fd4ba45391576223ac348f33aab846
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Jan 4 06:57:03 2026 -0600
[doc,man]: Tweak "Default units" material.
* Tighten wording.
* Break input lines consistently between Texinfo and man pages.
---
doc/groff.texi.in | 27 ++++++++++++++++++---------
man/groff.7.man | 4 ++--
2 files changed, 20 insertions(+), 11 deletions(-)
diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index ab6c2aa18..10dd53ff1 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -6917,15 +6917,24 @@ follows. @xref{Drawing Geometric Objects}.
@c BEGIN Keep (roughly) parallel with subsection "Default units" of
@c groff(7).
-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
-(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}).
+A general-purpose register
+(one created or updated with the
+@code{nr}
+request@footnote{@xref{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
+(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
+@command{troff}'s @c GNU
+use of integer arithmetic
+should also be kept in mind.@footnote{@xref{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
diff --git a/man/groff.7.man b/man/groff.7.man
index 501afff16..a1d31c992 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -1035,8 +1035,8 @@ already present.
.
GNU
.IR troff 's \" GNU
-use of integer arithmetic should also be kept in mind;
-see below.
+use of integer arithmetic in numeric expressions
+should also be kept in mind.
.\" END Keep (roughly) parallel with groff.texi node "Default Units".
.
.
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit