gbranden pushed a commit to branch master
in repository groff.
commit 3517ded51341f5eb87ae4cd19db52dc172502664
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Apr 12 05:54:43 2025 -0500
[doc],groff(7): Update `\N` description.
---
doc/groff.texi.in | 35 +++++++++++++++++++++++++----------
man/groff.7.man | 4 ++--
2 files changed, 27 insertions(+), 12 deletions(-)
diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index 17b2c809c..64bd34e60 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -11301,18 +11301,33 @@ standard error stream with the @code{pcomposite}
request.
@endDefreq
@Defesc {\\N, @code{'}, n, @code{'}}
-@cindex numbered glyph (@code{\N})
-@cindex glyph, numbered (@code{\N})
+@cindex indexed character, formatting (@code{\N})
+@cindex character, indexed, formatting (@code{\N})
+@cindex numbered glyph, accessing (@code{\N})
+@cindex glyph, numbered, accessing (@code{\N})
@cindex @code{char} request, used with @code{\N}
@cindex Unicode
-Typeset the glyph with code@tie{}@var{n} in the current font
-(@code{n}@tie{}is @emph{not} the input character code). The number
-@var{n}@tie{}can be any non-negative decimal integer. Most devices only
-have glyphs with codes between 0 and@tie{}255; the Unicode output device
-uses codes in the range 0--65535. If the current font does not contain
-a glyph with that code, special fonts are @emph{not} searched. The
-@code{\N} escape sequence can be conveniently used in conjunction with
-the @code{char} request:
+Format indexed character numbered
+@var{n}
+in the current font
+(@code{n}@tie{}is
+@emph{not}
+the input character code).
+@var{n}@tie{}can
+be any non-negative decimal integer.
+Most devices number glyphs with codes between 0 and@tie{}255 only;
+the
+@code{utf8}
+output device uses codes in the range 0--65535.
+If the current font does not contain a glyph with that code,
+special fonts are
+@emph{not}
+searched.
+The
+@code{\N}
+escape sequence can be conveniently used in conjunction with the
+@code{char}
+request.
@Example
.char \[phone] \f[ZD]\N'37'
diff --git a/man/groff.7.man b/man/groff.7.man
index 661643094..e53c3cc75 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -5664,8 +5664,8 @@ Interpolate value of register with arbitrarily long
.
.TP
.ESCq N n
-Interpolate glyph of character with
-.RI index\~ n
+Format indexed character numbered
+.I n
in the current font.
.
.TP
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit