groff-commit
[Top][All Lists]
Advanced

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

[groff] 13/16: tmac/doc.tmac: Don't set `Ar` ellipsis in italics.


From: G. Branden Robinson
Subject: [groff] 13/16: tmac/doc.tmac: Don't set `Ar` ellipsis in italics.
Date: Mon, 4 Sep 2023 13:31:28 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit df1fc139af57e947f038c52b3753dda411c3fc2e
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Sep 3 20:58:42 2023 -0500

    tmac/doc.tmac: Don't set `Ar` ellipsis in italics.
    
    * tmac/doc.tmac (doc-str-Ar-default, Ar): Stop setting ellipsis in
      italics.
    
    * tmac/groff_mdoc.7.man (Arguments): De-document apology for former
      behavior.
---
 ChangeLog             |  7 +++++++
 tmac/doc.tmac         |  4 ++--
 tmac/groff_mdoc.7.man | 11 -----------
 3 files changed, 9 insertions(+), 13 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 61e2de4b6..357a48f7a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2023-09-03  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/doc.tmac (doc-str-Ar-default, Ar): Stop setting ellipsis
+       in italics.
+       * tmac/groff_mdoc.7.man (Arguments): De-document apology for
+       former behavior.
+
 2023-09-01  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * src/devices/grotty/tests/osc8_works.sh: Port test to newer
diff --git a/tmac/doc.tmac b/tmac/doc.tmac
index 52ed73714..8bbcca8a7 100644
--- a/tmac/doc.tmac
+++ b/tmac/doc.tmac
@@ -789,7 +789,7 @@
 .\" NS
 .\" NS width register 'Ar' set in doc-common
 .
-.ds doc-str-Ar-default "file\ .\|.\|.
+.ds doc-str-Ar-default file \f[].\|.\|.\"
 .
 .eo
 .de Ar
@@ -802,7 +802,7 @@
 .
 .    \" no argument
 .    if !\n[.$] \
-.      nop \)\*[doc-str-Ar-default]\&\f[]
+.      nop \)\*[doc-str-Ar-default]\&
 .  \}
 .
 .  if !\n[doc-arg-count] \
diff --git a/tmac/groff_mdoc.7.man b/tmac/groff_mdoc.7.man
index ac0145e69..f37a1546a 100644
--- a/tmac/groff_mdoc.7.man
+++ b/tmac/groff_mdoc.7.man
@@ -1572,15 +1572,6 @@ If called without arguments,
 .Sq Ar
 is output.
 .
-This places the ellipsis in italics,
-which is ugly and incorrect,
-and will be noticed on terminals that underline text instead of using an
-oblique typeface.
-.
-We recommend using
-.Ql ".Ar file \&No ..."
-instead.
-.
 .
 .Pp
 .Dl Usage: .Ar Oo Ao argument Ac Oc No ...
@@ -1590,8 +1581,6 @@ instead.
 .Bl -tag -width ".Li .Ar\ file1\ file2" -compact -offset 15n
 .It Li .Ar
 .Ar
-.It Li .Ar file \&No ...
-.Ar file No ...
 .It Li ".Ar file1"
 .Ar file1
 .It Li ".Ar file1 ."



reply via email to

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