groff-commit
[Top][All Lists]
Advanced

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

[groff] 05/35: troff(1): Fix typography nits.


From: G. Branden Robinson
Subject: [groff] 05/35: troff(1): Fix typography nits.
Date: Fri, 15 Jul 2022 23:11:56 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 14f027ee01560a3464af1bef84a701e5d1ed9dbb
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Jul 8 00:19:04 2022 -0500

    troff(1): Fix typography nits.
    
    When setting a term (a concept or a metasyntactic variable name) in
    italics, set suffixed punctuation in italics as well, which is better
    (and more idiomatic) dead-tree typography.
    
    However, don't do this for italicized terms like "groff" that are Unix
    command names.  I want to leave room for a semantic macro to capture
    these in the future.
---
 src/roff/troff/troff.1.man | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/roff/troff/troff.1.man b/src/roff/troff/troff.1.man
index f4f7707f..67f5abac 100644
--- a/src/roff/troff/troff.1.man
+++ b/src/roff/troff/troff.1.man
@@ -213,7 +213,7 @@ or
 .I name
 .RI as\~ s
 or
-.IR string ;
+.I string;
 .I c
 must be a one-character name.
 .
@@ -345,17 +345,17 @@ and ordering.
 .TP
 .BI \-n\~ num
 Number the first page
-.IR num .
+.I num.
 .
 .
 .TP
 .BI \-o\~ list
 Output only pages in
-.IR list ,
+.I list,
 which is a comma-separated list of inclusive page ranges;
 .I n
 means page
-.IR n ,
+.I n,
 .IB m \- n
 means every page
 .RI between\~ m
@@ -370,7 +370,7 @@ means every page from
 .
 .I @g@troff
 stops processing and exits after formatting the last page enumerated in
-.IR list .
+.I list.
 .
 .
 .TP
@@ -387,7 +387,7 @@ as
 numeric
 .RI expression\~ n
 or
-.IR expr ;
+.I expr;
 .IR c \~must
 be a one-character name.
 .
@@ -416,7 +416,7 @@ and
 .TP
 .BI \-T\~ dev
 Prepare output for device
-.IR dev ,
+.I dev,
 rather than the default,
 .BR @DEVICE@ ;
 see
@@ -426,7 +426,7 @@ see
 .TP
 .B \-U
 Operate in
-.IR "unsafe mode" ,
+.I unsafe mode,
 enabling the
 .BR open ,
 .BR opena ,
@@ -454,7 +454,7 @@ Enable
 or inhibit
 .RB ( \-W )
 warnings in category
-.IR name .
+.I name.
 .
 See section \[lq]Warnings\[rq] below.
 .
@@ -870,7 +870,7 @@ describes the output device
 describes the font
 .I F
 of device
-.IR name .
+.I name.
 .
 .
 .P



reply via email to

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