bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 33/43] man/ncurses.3x: Fix markup nits.


From: G. Branden Robinson
Subject: [PATCH 33/43] man/ncurses.3x: Fix markup nits.
Date: Mon, 9 Sep 2024 09:18:18 -0500

* Protect "configure" option names from hyphenation.
* Favor man(7) font style macros over *roff font selection escape
  sequences, except for man page cross references (because
  man/make_sed.sh recognizes only certain patterns when rewriting such
  cross references) and terms in the "NAME" section (because the
  generated edit_man.sh script expects font selection escape sequences
  when scraping terms thence to gather names for man page aliases).
---
 man/ncurses.3x | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/man/ncurses.3x b/man/ncurses.3x
index 2c6b24614..5d2b25e87 100644
--- a/man/ncurses.3x
+++ b/man/ncurses.3x
@@ -1725,7 +1725,7 @@ .SH "ALTERNATE CONFIGURATIONS"
 .I \%configure
 script when building the library.
 Run the script with the
-.B \-\-help
+.B \%\-\-help
 option to peruse them all.
 A few are of particular significance to the application developer
 employing
@@ -1765,7 +1765,7 @@ .SH "ALTERNATE CONFIGURATIONS"
 .RE
 .PP
 Installation also omits a symbolic link that would cause the compiler's
-.B \-lcurses
+.B \%\-lcurses
 option to link object files with
 .I \%ncurses
 instead of the system
@@ -1779,7 +1779,9 @@ .SH "ALTERNATE CONFIGURATIONS"
 .TP 5
 .B \-\-enable\-widec
 The configure script renames the library and
-(if the \fB\-\-disable\-overwrite\fP option is used)
+(if the
+.B \%\-\-disable\-overwrite
+option is used)
 puts the header files in a different subdirectory.
 All of the library names have a \*(``w\*('' appended to them,
 i.e., instead of
@@ -1787,7 +1789,7 @@ .SH "ALTERNATE CONFIGURATIONS"
 .PP
 .RS 4
 .EX
-\fB\-lncurses\fP
+.B \-lncurses
 .EE
 .RE
 .PP
@@ -1795,7 +1797,7 @@ .SH "ALTERNATE CONFIGURATIONS"
 .PP
 .RS 4
 .EX
-\fB\-lncursesw\fP
+.B \-lncursesw
 .EE
 .RE
 .PP
@@ -1835,7 +1837,8 @@ .SH "ALTERNATE CONFIGURATIONS"
 .B \-\-with\-pthread
 The configure script renames the library.
 All of the library names have a \*(``t\*('' appended to them
-(before any \*(``w\*('' added by \fB\-\-enable\-widec\fP).
+(before any \*(``w\*('' added by
+.BR \%\-\-enable\-widec ).
 .IP
 The global variables such as \fBLINES\fP are replaced by macros to
 allow read-only access.
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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