[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 04/24: [doc,man]: Clarify delimiter validity.
From: |
G. Branden Robinson |
Subject: |
[groff] 04/24: [doc,man]: Clarify delimiter validity. |
Date: |
Sun, 10 Nov 2024 14:56:19 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit 1f082e186048ed657623ded1b80a2f5424c1e78d
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Nov 8 08:57:21 2024 -0600
[doc,man]: Clarify delimiter validity.
---
doc/groff.texi.in | 11 ++++++-----
man/groff.7.man | 20 ++++++++++++--------
2 files changed, 18 insertions(+), 13 deletions(-)
diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index 3d1f18b06..f2518ddd0 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -7270,11 +7270,12 @@ read.
@cindex @code{\S}, delimiters allowed by
@cindex @code{\v}, delimiters allowed by
@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 delimiters that are meaningful in
-numeric expressions, because they accept such expressions as (or within)
-arguments.
+Conditional expressions@footnote{@xref{Operators in Conditionals}.}
+prohibit delimiters that are meaningful in numeric expressions, because
+the latter are a subset of the former. 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} similarly prohibit them
+because they accept numeric expressions as (or within) their arguments.
@itemize @bullet
@item
diff --git a/man/groff.7.man b/man/groff.7.man
index 7858b38e8..4c8d155c5 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -1748,7 +1748,7 @@ see below.
.
.
.br
-.ne 2v
+.ne 3v
.P
The following escape sequences don't take arguments and thus are allowed
as delimiters:
@@ -1789,10 +1789,13 @@ they can make the input confusing to read.
.
.
.br
-.ne 2v
+.ne 3v
.P
-Finally,
-the escape sequences
+Conditional expressions prohibit delimiters
+that are meaningful in numeric expressions,
+because the latter are a subset of the former.
+.
+The escape sequences
.BR \[rs]D ,
.BR \[rs]h ,
.BR \[rs]H ,
@@ -1805,10 +1808,10 @@ the escape sequences
.BR \[rs]v ,
and
.B \[rs]x
-prohibit delimiters that are meaningful in numeric expressions,
-because they accept such expressions as
+similarly prohibit them
+because they accept numeric expressions as
(or within)
-arguments.
+their arguments.
.
.
.RS
@@ -2124,7 +2127,8 @@ and
.I s2
produces the same output commands.
.
-Other delimiters can be used in place of the neutral apostrophes.
+Other delimiters can be used in place of the neutral apostrophes;
+see section \[lq]Delimiters\[rq] above.
.
.I @g@troff
formats
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 04/24: [doc,man]: Clarify delimiter validity.,
G. Branden Robinson <=