groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 07/27: [docs]: Conditional operators don't create things.


From: G. Branden Robinson
Subject: [groff] 07/27: [docs]: Conditional operators don't create things.
Date: Mon, 28 Aug 2023 15:54:44 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit f32b3988425888d35f831d1b609da00b15c06890
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Aug 27 04:05:31 2023 -0500

    [docs]: Conditional operators don't create things.
    
    ...not registers or strings/macros/diversions, at any rate.
    
    Prompted by discussion with Peter Schaffter in
    <https://lists.gnu.org/archive/html/groff/2023-08/msg00142.html>.
    
    Also adjust poor man's keeps for more attractive pagination.
---
 doc/groff.texi  |  3 +++
 man/groff.7.man | 14 ++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/doc/groff.texi b/doc/groff.texi
index 73c79c6f4..9fa6bd913 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -12853,6 +12853,9 @@ true.@footnote{This bizarre behavior maintains 
compatibility with
 The unexpected @samp{r x} in the output is a clue that our conditional
 was not interpreted as we planned, but matters may not always be so
 obvious.
+
+Conditional operators do not create @code{roff} language objects as
+interpolations with @code{\n} and @code{\*} escape sequences do.
 @c END Keep (roughly) parallel with subsection "Conditional expressions"
 @c of groff(7).
 
diff --git a/man/groff.7.man b/man/groff.7.man
index 2fdb5e98b..a6cb0ed1a 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -2210,6 +2210,16 @@ they end the predicate and the conditional evaluates 
true.
 .
 (This bizarre behavior maintains compatibility with AT&T
 .IR troff .)
+.
+.
+.P
+Conditional operators do not create
+.I roff
+language objects as interpolations with
+.B \[rs]n
+and
+.B \[rs]*
+escape sequences do.
 .\" END Keep (roughly) parallel with groff.texi node "Operators in
 .\" Conditionals".
 .
@@ -5765,6 +5775,8 @@ and aliasing
 .request .als).
 .
 .
+.br
+.ne 2v
 .P
 When a request,
 macro,
@@ -6844,6 +6856,8 @@ localization macro files loaded by
 and macro packages often override it.
 .
 .
+.br
+.ne 3v
 .TP
 .B 0
 disables hyphenation.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]