groff-commit
[Top][All Lists]
Advanced

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

[groff] 03/03: man/groff.7.man: Fix rendering nit.


From: G. Branden Robinson
Subject: [groff] 03/03: man/groff.7.man: Fix rendering nit.
Date: Tue, 7 Apr 2020 18:54:21 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 60897332fb73019430d48e51b665b9691866cf7c
Author: G. Branden Robinson <address@hidden>
AuthorDate: Wed Apr 8 08:33:44 2020 +1000

    man/groff.7.man: Fix rendering nit.
    
    The documentation of the '\s±(N', '\s±[N]', and "\s±'N'" syntax forms
    was rendering the '±' in the bold used to indicate literal input instead
    of the italics used for parametric input.  This is because those syntax
    forms are unique to \s and the page-private macros that the page author
    wrote in an apparent effort to "semantically lift" the page contents
    were inadequate to express them.
    
    My preference would be to ditch the page-private macros altogether but
    that is a larger effort.
    
    Note that in PostScript/PDF output, an italicized '±' does not appear in
    italics.  I assume that is because it is drawn from the "symbol font" S,
    which lacks styling.  This is not a regression; none of the existing '±'
    glyphs in italic context render italicized or slanted either.  The
    output now looks correct on terminals, however.
---
 man/groff.7.man | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/man/groff.7.man b/man/groff.7.man
index 33adb79..7043020 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -3322,7 +3322,9 @@ request.
 .TP
 .ESC s( \[+-]N
 .TQ
-.ESC s\[+-]( N
+.fam C
+.BI \es \[+-] ( N
+.fam
 Set/increase/decrease the point size to/by
 .I N
 scaled points;
@@ -3336,11 +3338,15 @@ request.
 .TP
 .ESC[] s \[+-]N
 .TQ
-.ESC[] s\[+-] N
+.fam C
+.BI \es \[+-] [ N ]
+.fam
 .TQ
 .ESCq s \[+-]N
 .TQ
-.ESCq s\[+-] N
+.fam C
+.BI \es \[+-] \[aq] N \[aq]
+.fam
 Set/increase/decrease the point size to/by
 .I N
 scaled points.



reply via email to

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