gbranden pushed a commit to branch master in repository groff. commit 9dc194c3435649329c22218d5e55f4ba53243722 Author: G. Branden Robinson <g.branden.robin...@gmail.com> AuthorDate: Wed Mar 19 23:40:08 2025 -0500
[doc,man]: Document new `pchar` behavior. --- doc/groff.texi.in | 8 ++++++++ man/groff.7.man | 9 +++++++++ man/groff_diff.7.man | 9 +++++++++ 3 files changed, 26 insertions(+) diff --git a/doc/groff.texi.in b/doc/groff.texi.in index 692f7567b..6116219ce 100644 --- a/doc/groff.texi.in +++ b/doc/groff.texi.in @@ -17692,6 +17692,14 @@ information about each ordinary, special, or indexed character@tie{}@var{c}. +A character defined by a request +(@code{char}, +@code{fchar}, +@code{fschar}, +or +@code{schar}), +reports its contents as a @acronym{JSON}-encoded string, +but the output is not otherwise in @acronym{JSON} format. @endDefreq @Defreq {pcolor, [@Var{col} @r{@dots{}}]} diff --git a/man/groff.7.man b/man/groff.7.man index 0421225ab..adb04bacb 100644 --- a/man/groff.7.man +++ b/man/groff.7.man @@ -4099,6 +4099,15 @@ to the standard error stream, information about each ordinary or special .RI character\~ c . . +A character defined by a request +.RB ( char , +.BR \%fchar , +.BR \%fschar , +or +.BR \%schar ), +reports its contents as a JSON-encoded string, +but the output is not otherwise in JSON format. +. .TPx .REQ .pcolor Report, diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man index 516ad4b11..78ecab57e 100644 --- a/man/groff_diff.7.man +++ b/man/groff_diff.7.man @@ -3351,6 +3351,15 @@ special, or indexed .RI character\~ c . . +A character defined by a request +.RB ( char , +.BR \%fchar , +.BR \%fschar , +or +.BR \%schar ), +reports its contents as a JSON-encoded string, +but the output is not otherwise in JSON format. +. . .TP .BR .pcolor \~[\c _______________________________________________ groff-commit mailing list groff-commit@gnu.org https://lists.gnu.org/mailman/listinfo/groff-commit