summaryrefslogtreecommitdiff
path: root/tmac/groff_mdoc.7.man
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2022-12-14 19:28:07 -0600
committerG. Branden Robinson <g.branden.robinson@gmail.com>2022-12-14 19:48:52 -0600
commit88e89ebe9ce3931b49fb3cbd7fa20eacb03bf69f (patch)
tree785e847468b40250ea58dcc7fa26378ecb519c21 /tmac/groff_mdoc.7.man
parent01bde8101550c9c56e690fe046b0c4bedb5fb6e0 (diff)
downloadgroff-git-88e89ebe9ce3931b49fb3cbd7fa20eacb03bf69f.tar.gz
[doc]: Support `X` register.
* tmac/doc.tmac (initialization): Add logic supporting `X` register just as our man(7) implementation does. * tmac/groff_mdoc.7.man (Options): Document it. * NEWS: Update item. Fixes part of <https://savannah.gnu.org/bugs/?63046>.
Diffstat (limited to 'tmac/groff_mdoc.7.man')
-rw-r--r--tmac/groff_mdoc.7.man23
1 files changed, 20 insertions, 3 deletions
diff --git a/tmac/groff_mdoc.7.man b/tmac/groff_mdoc.7.man
index 4266d3485..a0b738a1c 100644
--- a/tmac/groff_mdoc.7.man
+++ b/tmac/groff_mdoc.7.man
@@ -5027,14 +5027,31 @@ is ignored when formatting for terminal devices.
.
.
.Pp
+Setting the
+.Ql X
+register to a page number
+.Ar p
+causes subsequent pages to be numbered as
+.Ar p Ns Li a ,
+.Ar p Ns Li b ,
+.Ar p Ns Li c ,
+and so forth.
+.
+The register tracking the suffixed page letter uses format
+.Ql a
+(see the
+.Ql af
+request in
+.Xr groff @MAN7EXT@ ) .
+.
+.
+.Pp
The
.Ql HF
string
and
.Ql FT
-and
-.Ql X
-registers
+register
are reserved for potential future compatibility with
.Xr groff_man @MAN7EXT@
page rendering options.