groff-commit
[Top][All Lists]
Advanced

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

[groff] 03/09: groff_char(7): Add plain characters to tables.


From: G. Branden Robinson
Subject: [groff] 03/09: groff_char(7): Add plain characters to tables.
Date: Sun, 24 Jan 2021 01:19:29 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit dc55374054d85292a25938daf7f410143a91aedb
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Jan 22 13:28:49 2021 +1100

    groff_char(7): Add plain characters to tables.
    
    In the handful of cases where a regular input character is a synonym for
    a special character escape, add it to the glyph tables.  This was
    already done in part.
    
    Add paragraph to subsection "Quotation marks" emphasizing the neutral
    double quote's domain of application as being areas like programming
    languages, implying its inadequacy for traditional typographical
    purposes.
---
 man/groff_char.7.man | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/man/groff_char.7.man b/man/groff_char.7.man
index c689beb..bfc23d4 100644
--- a/man/groff_char.7.man
+++ b/man/groff_char.7.man
@@ -1086,6 +1086,12 @@ _
 .SS "Quotation marks"
 .\" ====================================================================
 .
+The neutral double quote,
+often useful when documenting programming languages,
+is also available as a special character for convenience when including
+it in macro arguments;
+see subsection \[lq]Fundamental character set\[rq] above.
+.
 .TS
 l l l lx.
 Output Input   Unicode Notes
@@ -1097,6 +1103,7 @@ _
 \[oq]  \e[oq]  u2018   single opening (left) quote
 \[cq]  \e[cq]  u2019   single closing (right) quote
 \[aq]  \e[aq]  u0027   apostrophe, neutral single quote
+\[dq]  "       u0022   neutral double quote
 \[dq]  \e[dq]  u0022   neutral double quote
 \[Fo]  \e[Fo]  u00AB   left double chevron
 \[Fc]  \e[Fc]  u00BB   right double chevron
@@ -1224,9 +1231,13 @@ devices\[em]provided those glyphs exist.
 l l l lx.
 Output Input   Unicode Notes
 _
+\[lB]  [       u005B   left square bracket
 \[lB]  \e[lB]  u005B   left square bracket
+\[rB]  ]       u005D   right square bracket
 \[rB]  \e[rB]  u005D   right square bracket
+\[lC]  {       u007B   left brace
 \[lC]  \e[lC]  u007B   left brace
+\[rC]  }       u007D   right brace
 \[rC]  \e[rC]  u007D   right brace
 \[la]  \e[la]  u27E8   left angle bracket
 \[ra]  \e[ra]  u27E9   right angle bracket
@@ -1341,10 +1352,12 @@ _
 |      |       u007C   bar
 \[ba]  \e[ba]  u007C   bar
 \[br]  \e[br]  u2502   box rule +
+\[ul]  \&_     u005F   underscore, low line +
 \[ul]  \e[ul]  u005F   underscore, low line +
 \[rn]  \e[rn]  u203E   overline +
 \[ru]  \e[ru]  ---     baseline rule +
 \[bb]  \e[bb]  u00A6   broken bar
+\[sl]  /       u002F   slash, solidus +
 \[sl]  \e[sl]  u002F   slash, solidus +
 \[rs]  \e[rs]  u005C   reverse solidus
 .TE
@@ -1369,7 +1382,9 @@ _
 \[sc]  \e[sc]  u00A7   section sign +
 \[lh]  \e[lh]  u261C   hand pointing left +
 \[rh]  \e[rh]  u261E   hand pointing right +
+\[at]  @       u0040   at sign
 \[at]  \e[at]  u0040   at sign
+\[sh]  #       u0023   number sign
 \[sh]  \e[sh]  u0023   number sign
 \[CR]  \e[CR]  u21B5   carriage return
 \[OK]  \e[OK]  u2713   check mark
@@ -1401,6 +1416,7 @@ _
 l l l lx.
 Output Input   Unicode Notes
 _
+\[Do]  $       u0024   dollar sign
 \[Do]  \e[Do]  u0024   dollar sign
 \[ct]  \e[ct]  u00A2   cent sign +
 \[eu]  \e[eu]  u20AC   Euro sign
@@ -1449,6 +1465,7 @@ _
 \[st]  \e[st]  u220B   such that
 \[3d]  \e[3d]  u2234   therefore
 \[tf]  \e[tf]  u2234   therefore
+\[or]  |       u007C   bitwise or +
 \[or]  \e[or]  u007C   bitwise or +
 .TE
 .



reply via email to

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