gbranden pushed a commit to branch master
in repository groff.

commit 9c4e174e901e60da4c5e035fd708de7cceffbf36
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Jul 23 12:31:14 2025 -0500

    doc/*,man/*: Note portability of ".ps 10z".
---
 doc/groff.texi.in    | 23 +++++++++++++++++++----
 man/groff_diff.7.man | 12 +++++++++---
 2 files changed, 28 insertions(+), 7 deletions(-)

diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index a70101af9..cfc3abc43 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -19866,10 +19866,25 @@ using any valid identifiers for their names
 @cindex type sizes, fractional
 @cindex sizes, fractional
 @cindex @code{ps} request, incompatibilities with @acronym{AT&T} @code{troff}
-Fractional type size support causes an incompatibility.  In
-@acronym{AT&T} @code{troff}, the @code{ps} request ignores scaling units
-and thus @samp{.ps 10u} sets the type size to 10@tie{}points, whereas in
-GNU @code{troff} it sets the type size to 10@tie{}@emph{scaled} points.
+Fractional type size support causes an incompatibility.
+In @acronym{AT&T}
+@command{troff}, @c AT&T
+@code{ps}
+ignores scaling units
+and thus
+@samp{.ps 10u}
+sets the type size to 10@tie{}points,
+whereas in GNU
+@command{troff} @c GNU
+it sets the type size to
+10@tie{}@emph{scaled}
+points,
+possibly a much smaller measurement.
+@acronym{AT&T}'s behavior also means that
+@samp{.ps 10p}
+and
+@samp{.ps 10z}
+are portable.
 @xref{Using Fractional Type Sizes}.
 
 @cindex @code{ab} request, incompatibilities with @acronym{AT&T} @code{troff}
diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man
index eeefb8f16..e514edf9b 100644
--- a/man/groff_diff.7.man
+++ b/man/groff_diff.7.man
@@ -6524,9 +6524,9 @@ Fractional type size support causes an incompatibility.
 .
 In AT&T
 .IR troff , \" AT&T
-the
 .B ps
-request ignores scaling units and thus
+ignores scaling units
+and thus
 .RB \[lq] .ps\~10u \[rq]
 sets the type size to 10\~points,
 whereas in GNU
@@ -6534,7 +6534,13 @@ whereas in GNU
 it sets the type size to
 .RI 10\~ scaled
 points,
-which may be a much smaller measurement.
+possibly a much smaller measurement.
+.
+AT&T's behavior also means that
+.RB \[lq] .ps\~10p \[rq]
+and
+.RB \[lq] .ps\~10z \[rq]
+are portable.
 .
 See subsection \[lq]Fractional type sizes and new scaling units\[rq]
 above.

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to