From cc58166a76c5921d30981aa91a60f0cc6c040e4f Mon Sep 17 00:00:00 2001 From: Bjarni Ingi Gislason Date: Mon, 30 Apr 2018 21:30:32 +0000 Subject: [PATCH] man pages: Add italic correction before '\c' The italic correction '\/' in the macros 'I', '[BR]I', and 'I[BR] is removed if it is applied after a '\c' escape in an argument. Signed-off-by: Bjarni Ingi Gislason --- contrib/chem/chem.1.man | 4 ++-- contrib/mom/groff_mom.7.man | 2 +- man/groff_font.5.man | 10 +++++----- src/roff/groff/groff.1.man | 2 +- tmac/groff_man.7.man | 2 +- tmac/groff_me.7.man | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/contrib/chem/chem.1.man b/contrib/chem/chem.1.man index f2eb8564..45cbfceb 100644 --- a/contrib/chem/chem.1.man +++ b/contrib/chem/chem.1.man @@ -443,8 +443,8 @@ puts a circle into any kind of ring. .RB [ \%aromatic ] .RB [ put\ Mol\ at\ \fIn\/\fP ] .RB [ \%double\ \c -.IR i , j\ \c -.IR k , l\ \c +.IR i , j\ \/\c +.IR k , l\ \/\c \*(EL .RI [ picstuff ] .YS diff --git a/contrib/mom/groff_mom.7.man b/contrib/mom/groff_mom.7.man index 7c6674f8..eea3bb96 100644 --- a/contrib/mom/groff_mom.7.man +++ b/contrib/mom/groff_mom.7.man @@ -160,7 +160,7 @@ images. Files processed with .B groff \-mom (or -.BI "\-m " mom\c +.BI "\-m " mom\/\c ) produce .I PostScript output by default. diff --git a/man/groff_font.5.man b/man/groff_font.5.man index b016f99a..400325ed 100644 --- a/man/groff_font.5.man +++ b/man/groff_font.5.man @@ -42,7 +42,7 @@ font format. The font files for device .I name are stored in a directory -.BI dev name\c +.BI dev name\/\c \&. . There are two types of file: a device description file called @@ -573,12 +573,12 @@ field has the form (in one line; it is broken here for the sake of readability): . .IP -.I width\c -.RI [\fB, height\c -.RI [\fB, depth\c +.I width\/\c +.RI [\fB, height\/\c +.RI [\fB, depth\/\c .RI [\fB, italic-correction .br -.RI [\fB, left-italic-correction\c +.RI [\fB, left-italic-correction\/\c .RI [\fB, subscript-correction ]]]]] . .LP diff --git a/src/roff/groff/groff.1.man b/src/roff/groff/groff.1.man index 3f82c9f7..26218249 100644 --- a/src/roff/groff/groff.1.man +++ b/src/roff/groff/groff.1.man @@ -711,7 +711,7 @@ Process standard input after the specified input files. Include macro file .IB name .tmac (or -.BI tmac. name\c +.BI tmac. name\/\c ); see also .BR \%groff_tmac (@MAN5EXT@). . diff --git a/tmac/groff_man.7.man b/tmac/groff_man.7.man index 1e91567a..3ae98db4 100644 --- a/tmac/groff_man.7.man +++ b/tmac/groff_man.7.man @@ -852,7 +852,7 @@ running text. . . .TP -.BI .OP " option-name"\c +.BI .OP " option-name"\/\c .RI " [" option-argument ] Indicate an optional command parameter called .IR option-name . diff --git a/tmac/groff_me.7.man b/tmac/groff_me.7.man index f971a685..8ca25c00 100644 --- a/tmac/groff_me.7.man +++ b/tmac/groff_me.7.man @@ -107,7 +107,7 @@ string arguments with uppercase. An optional macro argument such as .I x appears in brackets, -.BI [ x \c +.BI [ x \/\c .BR ] . . Note that arguments to macros generally must be quoted if they contain -- 2.17.0