gbranden pushed a commit to branch master
in repository groff.

commit c4af1d06590bc6be966b83edb29fa911aee01726
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Nov 22 17:32:25 2026 -0600

    [doc,man]: Recast, resync `ftr` req description.
---
 doc/groff.texi.in    | 54 ++++++++++++++++++++++++++++++++++++++++++++--------
 man/groff.7.man.in   | 10 +++++-----
 man/groff_diff.7.man | 52 ++++++++++++++++++++++++++++++++------------------
 3 files changed, 84 insertions(+), 32 deletions(-)

diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index f91eafc94..6ba7fed3f 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -13410,7 +13410,7 @@ as follows.@footnote{@xref{Output Line Annotation}.}
 @endExample
 @endDefreq
 
-@Defreq {ftr, f [@Var{g}]}
+@Defreq {ftr, from-font-id [@Var{to-font-id}]}
 @cindex font translation (@code{ftr})
 @cindex @code{ft} request, and font translations
 @cindex @code{ul} request, and font translations
@@ -13425,15 +13425,53 @@ as follows.@footnote{@xref{Output Line Annotation}.}
 @cindex @code{if} request, and font translations
 @cindex @code{ie} request, and font translations
 @cindex @code{while} request, and font translations
-Translate font name@tie{}@var{f} to@tie{}@var{g}.  Where the @code{\f}
+Translate
+(or remap)
+the font identifier
+@var{from-font-id}
+to
+@var{to-font-id}.
+Each
+@var{font-id}
+can be an abstract style but not a mounting position.
+Where the
+@code{\f}
 escape sequence,
-the @code{F} and @code{S} conditional expression operators,
+the
+@code{F}
+and
+@code{S}
+conditional expression operators,
+and the
+@code{ft},
+@code{ul},
+@code{bd},
+@code{cs},
+@code{tkf},
+@code{special},
+@code{fspecial},
+@code{fp},
+or
+@code{sty}
+requests refer to
+@var{from-font-id},
+GNU
+@command{troff} @c GNU
+uses
+@var{to-font-id}
+instead.
+Omit
+@var{to-font-id}
+or repeat
+@var{from-font-id}
+as
+@var{to-font-id}
+to untranslate
+@var{from-font-id}.
+@var{from-font-id}
 and
-the @code{ft}, @code{ul}, @code{bd}, @code{cs}, @code{tkf},
-@code{special}, @code{fspecial}, @code{fp}, or @code{sty} requests refer
-to@tie{}@var{f}, GNU @command{troff} uses @var{g} instead.  Omit @var{g}
-or repeat @var{f} as@tie{}@var{g} to untranslate @var{f}.  @var{f} and
-@var{g} need not be mounted fonts.
+@var{to-font-id}
+need not be mounted fonts.
 
 Obtain a report of font translations defined by
 @code{ftr}
diff --git a/man/groff.7.man.in b/man/groff.7.man.in
index b994eb6e9..121ca73e6 100644
--- a/man/groff.7.man.in
+++ b/man/groff.7.man.in
@@ -4152,16 +4152,16 @@ Also see
 .esc f .
 .
 .TPx
-.REQ .ftr font
+.REQ .ftr font-id
 Remove translation of font
-.IR font .
+.IR font-id .
 .
 .TPx
-.REQ .ftr "font1 font2"
+.REQ .ftr "from-font-id to-font-id"
 Translate font name
-.I font1
+.I from-font-id
 to
-.IR font2 .
+.I to-font-id.
 .
 .TPx
 .REQ .fzoom f
diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man
index 8491c7e16..7727bb0a4 100644
--- a/man/groff_diff.7.man
+++ b/man/groff_diff.7.man
@@ -3275,23 +3275,28 @@ See
 .
 .
 .TP
-.BI .ftr\~ f\~\c
-.RI [ g ]
+.BI .ftr\~ from-font-id\~\c
+.RI [ to-font-id ]
 Translate
-.RI font\~ f
-.RI to\~ g .
+(or remap)
+the font identifier
+.I from-font-id
+to
+.I to-font-id.
+.
+Each
+.I font-id
+can be an abstract style but not a mounting position.
 .
-Whenever a font
-.RI named\~ f
-is referred to in an
+Where the
 .B \[rs]f
 escape sequence,
-in the
+the
 .B F
 and
 .B S
 conditional expression operators,
-or in the
+and the
 .BR ft ,
 .BR ul ,
 .BR bd ,
@@ -3302,16 +3307,25 @@ or in the
 .BR fp ,
 or
 .B sty
-requests,
-.RI font\~ g
-is used.
-If
-.I g
-is omitted or identical
-.RI to\~ f ,
-then
-.RI font\~ f
-is not translated.
+requests refer to
+.I from-font-id,
+GNU
+.I troff \" GNU
+uses
+.I to-font-id
+instead.
+Omit
+.I to-font-id
+or repeat
+.I from-font-id
+as
+.I to-font-id
+to untranslate
+.I from-font-id.
+.I from-font-id
+and
+.I to-font-id
+need not be mounted fonts.
 .
 .
 .TP

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

Reply via email to