gbranden pushed a commit to branch master
in repository groff.

commit 2a5c3bdf13b1bf3a6ed14c1c3ce8c1e98aafecd1
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Jan 19 12:54:45 2026 -0600

    groff_diff(7): Speak more precisely of \n[.[xy]].
    
    GNU troff didn't _invent_ the `.x` and `.y` registers, but _did_ apply
    semantics to that which AT&T troff "reserved".
    
    Thanks to Dave Kemper for the report.
    
    https://lists.gnu.org/archive/html/groff/2026-01/msg00069.html
---
 man/groff_diff.7.man | 72 +++++++++++++++++++++++++++++++++-------------------
 1 file changed, 46 insertions(+), 26 deletions(-)

diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man
index 0269fc64b..8593cc64a 100644
--- a/man/groff_diff.7.man
+++ b/man/groff_diff.7.man
@@ -4764,6 +4764,16 @@ in copy mode.
 .SS "Altered registers"
 .\" ====================================================================
 .
+GNU
+.I troff \" GNU
+alters the semantics of two
+AT&T
+.I troff \" AT&T
+registers
+and imparts semantics to two others
+that CSTR\~#54 documented as \[lq]reserved\[rq].
+.
+.
 .TP
 .B \[rs]n[.R]
 Because GNU
@@ -4789,6 +4799,36 @@ it interpolates the type size in typographical points,
 which can be represented as a decimal fraction.
 .
 .
+.TP
+.B \[rs]n[.x]
+Interpolate major version number of the running
+.I @g@troff
+formatter.
+.
+For example,
+if the version number is 1.23.0,
+then
+.B \[rs]n[.x]
+contains\~1.
+.
+.
+.TP
+.B \[rs]n[.y]
+Interpolate minor version number of the running
+.I @g@troff
+formatter.
+.
+For example,
+if the version number is 1.23.0,
+then
+.B \[rs]n[.y]
+contains\~23.
+.
+Also see
+.B \[rs]n[.Y]
+below.
+.
+.
 .\" ====================================================================
 .SS "New registers"
 .\" ====================================================================
@@ -5229,32 +5269,6 @@ See section \[lq]Warnings\[rq] of
 .
 .
 .TP
-.B \[rs]n[.x]
-Interpolate major version number of the running
-.I @g@troff
-formatter.
-.
-For example,
-if the version number is 1.23.0,
-then
-.B \[rs]n[.x]
-contains\~1.
-.
-.
-.TP
-.B \[rs]n[.y]
-Interpolate minor version number of the running
-.I @g@troff
-formatter.
-.
-For example,
-if the version number is 1.23.0,
-then
-.B \[rs]n[.y]
-contains\~23.
-.
-.
-.TP
 .B \[rs]n[.Y]
 Interpolate revision number of the running
 .I @g@troff
@@ -5266,6 +5280,12 @@ then
 .B \[rs]n[.Y]
 contains\~0.
 .
+Also see
+.B \[rs]n[.x]
+and
+.B \[rs]n[.y]
+above.
+.
 .
 .TP
 .B \[rs]n[.zoom]

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

Reply via email to