groff-commit
[Top][All Lists]
Advanced

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

[groff] 40/49: [mdoc]: Use bold for `Li` on terminal devices.


From: G. Branden Robinson
Subject: [groff] 40/49: [mdoc]: Use bold for `Li` on terminal devices.
Date: Sun, 6 Nov 2022 00:37:23 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit c3ef5d7f3d4032766f6092787b1446d636c61999
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Nov 4 08:00:29 2022 -0500

    [mdoc]: Use bold for `Li` on terminal devices.
    
    * tmac/mdoc/doc-nroff (doc-Li-Font): Switch from roman to bold.  On
      typesetters, the use of Courier (roman) plainly distinguishes unquoted
      literals from their context.  On terminals there was no such visible
      distinction.  Fortunately, in groff_mdoc(7) itself, this does not
      result in a blinding blitz of boldface because the `Ql` (quoted
      literal) macro is so often used, and it maintains the roman style.
      This change further aligns groff mdoc(7) with groff man(7) style
      conventions.  (Also see how we handle literals for typesetters and
      terminals in the "ms.ms" document.)
---
 ChangeLog           | 12 ++++++++++++
 tmac/mdoc/doc-nroff |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 107934ce8..b9471e1b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2022-11-04  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/mdoc/doc-nroff (doc-Li-Font): Switch from roman to bold.
+       On typesetters, the use of Courier (roman) plainly distinguishes
+       unquoted literals from their context.  On terminals there was no
+       such visible distinction.  Fortunately, in groff_mdoc(7) itself,
+       this does not result in a blinding blitz of boldface because the
+       `Ql` (quoted literal) macro is so often used, and it maintains
+       the roman style.  This change further aligns groff mdoc(7) with
+       groff man(7) style conventions.  (Also see how we handle
+       literals for typesetters and terminals in the "ms.ms" document.)
+
 2022-11-03  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [mdoc]: Make `Sx` macro perform quotation, not italicization.
diff --git a/tmac/mdoc/doc-nroff b/tmac/mdoc/doc-nroff
index 35deab386..a23c57b3d 100644
--- a/tmac/mdoc/doc-nroff
+++ b/tmac/mdoc/doc-nroff
@@ -57,7 +57,7 @@
 .ds doc-Fn-font \f[B]
 .ds doc-Ft-font \f[I]
 .ds doc-Ic-font \f[B]
-.ds doc-Li-font \f[R]
+.ds doc-Li-font \f[B]
 .ds doc-Lk-font \f[R]\"
 .ds doc-Me-font \f[B]
 .ds doc-Nm-font \f[B]



reply via email to

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