groff-commit
[Top][All Lists]
Advanced

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

[groff] 07/08: groff_mdoc(7): Fix errors in macro descriptions.


From: G. Branden Robinson
Subject: [groff] 07/08: groff_mdoc(7): Fix errors in macro descriptions.
Date: Sat, 31 Oct 2020 23:48:23 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit f1f46ebb036639e65a3a9e64d723930964ab2654
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Nov 1 13:46:21 2020 +1100

    groff_mdoc(7): Fix errors in macro descriptions.
    
    * tmac/groff_mdoc.7.man (General text domain/Enclosure and Quoting
      Macros): Fix errors in macro descriptions.
    
      <.Dq>: Encloses its arguments in directional double quotes where
      available.
    
      <.Eq>: Misrendered example; say "XstringY" rather than "XXstring".
    
      <.Sq>: Encloses its arguments in directional single quotes where
      available.
    
    Also...
    
      <.Ql>: Use special character escapes instead of legacy strings.
---
 ChangeLog             | 11 +++++++++++
 tmac/groff_mdoc.7.man |  8 ++++----
 2 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index dc8aada..550cdbb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2020-11-01  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/groff_mdoc.7.man (General text domain/Enclosure and
+       Quoting Macros): Fix errors in macro descriptions.
+       <.Dq>: Encloses its arguments in directional double quotes where
+       available.
+       <.Eq>: Misrendered example; say "XstringY" rather than
+       "XXstring".
+       <.Sq>: Encloses its arguments in directional single quotes where
+       available.
+
 2020-10-31  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        Add support for CS and CT registers to mdoc(7), just like in
diff --git a/tmac/groff_mdoc.7.man b/tmac/groff_mdoc.7.man
index b872c32..f86e8fd 100644
--- a/tmac/groff_mdoc.7.man
+++ b/tmac/groff_mdoc.7.man
@@ -2446,12 +2446,12 @@ Quote   Open    Close   Function        Result
 \&.Aq  .Ao     .Ac     Angle Bracket Enclosure <string>
 \&.Bq  .Bo     .Bc     Bracket Enclosure       [string]
 \&.Brq .Bro    .Brc    Brace Enclosure {string}
-\&.Dq  .Do     .Dc     Double Quote    "string"
-\&.Eq  .Eo     .Ec     Enclose String (in XX)  XXstring
+\&.Dq  .Do     .Dc     Double Quote    \[lq]string\[rq]
+\&.Eq  .Eo     .Ec     Enclose String (in XY)  XstringY
 \&.Pq  .Po     .Pc     Parenthesis Enclosure   (string)
-\&.Ql                  Quoted Literal  \*[Lq]string\*[Rq] or string
+\&.Ql                  Quoted Literal  \[lq]string\[rq] or string
 \&.Qq  .Qo     .Qc     Straight Double Quote   "string"
-\&.Sq  .So     .Sc     Single Quote    'string'
+\&.Sq  .So     .Sc     Single Quote    \[oq]string\[cq]
 .TE
 .Pp
 All macros ending with



reply via email to

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