bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 049/177] man/{curs_initscr.3x,infocmp.1m}: Fix style nit.


From: G. Branden Robinson
Subject: [PATCH 049/177] man/{curs_initscr.3x,infocmp.1m}: Fix style nit.
Date: Mon, 13 Jan 2025 11:22:20 -0600

Italicized words in subsection headings can render in the wrong font
family when using contemporary groff.

* Switch to regular italics, not bold italics, to set the word "TERM" in
  a subsection heading.  This way it stops presuming that the weight of
  the font used to render the heading is heavy (bold).  A sufficiently
  intelligent `SS` macro can remap the italic face to one that is
  bold-italic if the weight of the heading font is bold, as groff 1.23
  does (groff 1.23 also permits the heading font to be customized at
  rendering time).

https://git.savannah.gnu.org/cgit/groff.git/tree/tmac/an.tmac?h=1.23.0#n704
https://git.savannah.gnu.org/cgit/groff.git/tree/tmac/an.tmac?h=1.23.0#n1528
---
 man/curs_initscr.3x | 2 +-
 man/infocmp.1m      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/man/curs_initscr.3x b/man/curs_initscr.3x
index ec589a861..5f224d21a 100644
--- a/man/curs_initscr.3x
+++ b/man/curs_initscr.3x
@@ -392,7 +392,7 @@ .SS "High-level versus Low-level"
 \fB\%def_shell_mode\fP(3X),
 \fB\%def_prog_mode\fP(3X).
 SVr4 curses uses the descriptor in \fISCREEN\fP.
-.SS "Unset \f(BITERM\fP Variable"
+.SS "Unset \fITERM\fP Variable"
 If the \fITERM\fP variable is missing or empty, \fB\%initscr\fP uses the
 value \*(``unknown\*('',
 which normally corresponds to a terminal entry with the
diff --git a/man/infocmp.1m b/man/infocmp.1m
index c9928df38..6dcf2cdf2 100644
--- a/man/infocmp.1m
+++ b/man/infocmp.1m
@@ -352,7 +352,7 @@ .SS "Use= Option [\-u]"
 superfluous.
 \fB@INFOCMP@\fP will flag any other \fIterminal-type use=\fP fields that
 were not needed.
-.SS "Changing Databases [\-A \f(BIdirectory\fP] [\-B \f(BIdirectory\fP]"
+.SS "Changing Databases [\-A \fIdirectory\fP] [\-B \fIdirectory\fP]"
 Like other \fI\%ncurses\fP utilities,
 \fB@INFOCMP@\fP looks for the terminal descriptions in several places.
 You can use the \fI\%TERMINFO\fP and \fI\%TERMINFO_DIRS\fP environment
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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