gbranden pushed a commit to branch master
in repository groff.
commit 03b83a7eaf3a53052f7238836faf580be1ee9dbf
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Aug 19 14:25:44 2024 -0500
[docs]: Motivate a point of syntax.
Explain why certain escape sequences are more picky about delimiters.
---
doc/groff.texi.in | 4 +++-
man/groff.7.man | 5 ++++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index c2cc7a958..43d93f33d 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -7293,7 +7293,9 @@ Use of newlines as delimiters in escape sequences is also
discouraged.
@cindex @code{\x}, delimiters allowed by
Finally, the escape sequences @code{\D}, @code{\h}, @code{\H},
@code{\l}, @code{\L}, @code{\N}, @code{\R}, @code{\s}, @code{\S},
-@code{\v}, and @code{\x} prohibit many delimiters.
+@code{\v}, and @code{\x} prohibit delimiters that are meaningful in
+numeric expressions, because they accept such expressions as (or within)
+arguments.
@itemize @bullet
@item
diff --git a/man/groff.7.man b/man/groff.7.man
index 4c66acff1..c36b89f1a 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -1812,7 +1812,10 @@ the escape sequences
.BR \[rs]v ,
and
.B \[rs]x
-prohibit many delimiters.
+prohibit delimiters that are meaningful in numeric expressions,
+because they accept such expressions as
+(or within)
+arguments.
.
.
.RS
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit