gbranden pushed a commit to branch master
in repository groff.
commit e92e9d52a2da1d4c1212d7edf9a5851a85b31966
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Jan 3 20:47:56 2026 -0600
[doc,man]: Migrate .nop to "input" term.
Also break input lines consistently between Texinfo and man pages.
Continues the long process of fixing Savannah #65976.
---
doc/groff.texi.in | 29 +++++++++++++++++++++--------
man/groff.7.man | 4 ++--
man/groff_diff.7.man | 6 +++---
3 files changed, 26 insertions(+), 13 deletions(-)
diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index 75330eae5..9d8123504 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -15153,12 +15153,21 @@ tanker
@endExample
@endDefreq
-@Defreq {nop, [@Var{anything}]}
-Interpret @var{anything} as if it were an input line. @code{nop}
-resembles @samp{.if 1}; it puts a break on the output if @code{anything}
-is empty. Unlike @code{if}, it cannot govern conditional blocks. Its
-application is to maintain consistent indentation within macro
-definitions even when formatting output.
+@Defreq {nop, [@Var{input}]}
+Interpret
+@var{input}
+as if it were an input line.
+@code{nop}
+resembles
+@samp{.if 1};
+it puts a break on the output if
+@var{input}
+is empty.
+Unlike
+@code{if},
+it cannot govern conditional blocks.
+Its application is to maintain consistent indentation
+within macro definitions even when formatting output.
@Example
.als real-MAC MAC
@@ -15171,8 +15180,12 @@ definitions even when formatting output.
.als MAC real-MAC
@endExample
-In the above, we've used aliasing, @code{nop}, and the interpolation of
-a macro as a string to interpose a wrapper around the macro @samp{MAC}
+In the above,
+we've used aliasing,
+@code{nop},
+and the interpolation of a macro as a string
+to interpose a wrapper around the macro
+@samp{MAC}
(perhaps to debug it).
@endDefreq
diff --git a/man/groff.7.man b/man/groff.7.man
index b2c39fe18..708012a16 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -4355,9 +4355,9 @@ cancel suppression.
Interpolate a newline.
.
.TPx
-.REQ .nop anything
+.REQ .nop input
Interpret
-.I anything
+.I input
as if it were an input line.
.
.TPx
diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man
index 6325c6c01..82fea8c0c 100644
--- a/man/groff_diff.7.man
+++ b/man/groff_diff.7.man
@@ -3720,16 +3720,16 @@ does not exist.
.
.TP
.BR .nop \~[\c
-.IR anything ]
+.IR input ]
Interpret
-.I anything
+.I input
as if it were an input line.
.
.B nop
resembles
.RB \[lq] ".if 1" \[rq];
it puts a break on the output if
-.I anything
+.I input
is empty.
.
Unlike
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit