gbranden pushed a commit to branch master
in repository groff.
commit f9665543bfd0a6cdb923447c91534ff5da834397
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Aug 26 23:52:21 2026 -0500
pic(1): Fix markup nits.
Practice what we (now) preach in groff_man_style(7): favor font
selection macros over font selection escape sequences.
---
src/preproc/pic/pic.1.man | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/preproc/pic/pic.1.man b/src/preproc/pic/pic.1.man
index 37addc277..525cb3619 100644
--- a/src/preproc/pic/pic.1.man
+++ b/src/preproc/pic/pic.1.man
@@ -487,8 +487,10 @@ such strings may contain the delimiter character or
unbalanced braces.
.
.
.TP
-\fBfor\fR \fIvariable\fR \fB=\fR \fIexpr1\fR \fBto\fR \fIexpr2\fR \
-[\fBby\fR [\fB*\fR]\,\fIexpr3\/\fR] \fBdo\fR \fIX\fR \fIbody\fR \fIX\fR
+.BI for\~ variable \~=\~ expr1 " to " expr2\~\c
+.RB [ by \~[ * ]\c
+.IR expr3 ]\~\c
+.BI do\~ "X body X"
Set
.I variable
to
@@ -537,8 +539,10 @@ can be any character not in
.IR body .
.
.TP
-\fBif\fR \fIexpr\fR \fBthen\fR \fIX\fR \fIif-true\fR \fIX\fR \
-[\fBelse\fR \fIY\fR \fIif-false\fR \fIY\fR]
+.BI if\~ expr \~then\~\c
+.IR "X if-true X" \~[\c
+.BI else\~ "Y if-false Y\c"
+]
Evaluate
.IR expr ;
if it is non-zero then do
@@ -614,7 +618,7 @@ when formatted with
.
.
.TP
-\fBsh\fR \fIX\fR \fIcommand\fR \fIX\fR
+.BI sh\~ "X command X"
Pass
.I command
to a shell via
@@ -626,7 +630,7 @@ option not specified.
.
.
.TP
-\fBcopy\fR \fB"\,\fIfilename\/\fB"\fR
+.BI "copy \[dq]" filename \[dq]
Include
.I filename
at this point in the file.
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit