groff-commit
[Top][All Lists]
Advanced

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

[groff] 44/45: [man pages]: Fix markup nits.


From: G. Branden Robinson
Subject: [groff] 44/45: [man pages]: Fix markup nits.
Date: Thu, 20 Jan 2022 10:17:59 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 482d3e1975537973a869d932df496dc5eb5914a2
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Jan 21 00:50:11 2022 +1100

    [man pages]: Fix markup nits.
    
    * Use \[ha] special character for basic Latin circumflex accent.
    * Use \[ti] special character for basic Latin tilde.
---
 man/groff_char.7.man       | 6 +++---
 man/groff_diff.7.man       | 2 +-
 src/preproc/pic/pic.1.man  | 4 ++--
 src/roff/groff/groff.1.man | 8 +++++---
 tmac/groff_mdoc.7.man      | 6 +++---
 5 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/man/groff_char.7.man b/man/groff_char.7.man
index 41147856..75e79552 100644
--- a/man/groff_char.7.man
+++ b/man/groff_char.7.man
@@ -1608,11 +1608,11 @@ _
 \[!=]  \e[!=]  u003D_0338      not equals +
 \[==]  \e[==]  u2261   equivalent +
 \[ne]  \e[ne]  u2261_0338      not equivalent
-\[=~]  \e[=~]  u2245   approximately equal to
+\[=~]  \e[=\[ti]]      u2245   approximately equal to
 \[|=]  \e[|=]  u2243   asymptotically equal to +
 \[ap]  \e[ap]  u223C   similar to, tilde operator +
-\[~~]  \e[~~]  u2248   almost equal to
-\[~=]  \e[~=]  u2248   almost equal to
+\[~~]  \e[\[ti]\[ti]]  u2248   almost equal to
+\[~=]  \e[\[ti]=]      u2248   almost equal to
 \[pt]  \e[pt]  u221D   proportional to +
 
 \[es]  \e[es]  u2205   empty set +
diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man
index 7a2df4a7..b15c8d65 100644
--- a/man/groff_diff.7.man
+++ b/man/groff_diff.7.man
@@ -762,7 +762,7 @@ In a macro or string, the concatenation of all the 
arguments with each
 surrounded by double quotes, and separated by spaces.
 .
 .TP
-.B \[rs]$^
+.B \[rs]$\[ha]
 In a macro, the representation of all parameters as if they were an
 argument to the
 .B ds
diff --git a/src/preproc/pic/pic.1.man b/src/preproc/pic/pic.1.man
index 2a0ad9c3..526f352e 100644
--- a/src/preproc/pic/pic.1.man
+++ b/src/preproc/pic/pic.1.man
@@ -785,7 +785,7 @@ The syntax for expressions has been significantly extended:
 .
 .
 .LP
-.IB  x\  ^\  y
+.IB  x\  \[ha]\  y
 (exponentiation)
 .br
 .BI sin( x )
@@ -800,7 +800,7 @@ The syntax for expressions has been significantly extended:
 .BI exp( x )
 (base 10, i.e.\&
 .ie t 10\v'-.4m'\fIx\*(ic\fR\v'.4m')
-.el   10^\fIx\fR)
+.el   10\[ha]\fIx\fR)
 .br
 .BI sqrt( x )
 .br
diff --git a/src/roff/groff/groff.1.man b/src/roff/groff/groff.1.man
index 0ffea81a..eb8838a7 100644
--- a/src/roff/groff/groff.1.man
+++ b/src/roff/groff/groff.1.man
@@ -629,13 +629,14 @@ information.
 .
 Those who prefer to learn by experimenting or are desirous of rapid
 feedback from the system may wish to start with a \[lq]Hello,
-world!\[rq]\& document.
+world!\&\[rq] document.
 .
 .
 .P
 .EX
 $ \c
-.B echo \[dq]Hello, world!\[dq] | groff \-Tascii | sed \[aq]/^$/d\[aq]
+.B echo \[dq]Hello, world!\[dq] | groff \-Tascii \
+| sed \[aq]/\[ha]$/d\[aq]
 Hello, world!
 .EE
 .
@@ -658,7 +659,8 @@ Today's users may prefer output to a UTF-8-capable terminal.
 .P
 .EX
 $ \c
-.B echo \[dq]Hello, world!\[dq] | groff \-Tutf8 | sed \[aq]/^$/d\[aq]
+.B echo \[dq]Hello, world!\[dq] | groff \-Tutf8 \
+| sed \[aq]/\[ha]$/d\[aq]
 .EE
 .
 .
diff --git a/tmac/groff_mdoc.7.man b/tmac/groff_mdoc.7.man
index a5724d97..c16bde5c 100644
--- a/tmac/groff_mdoc.7.man
+++ b/tmac/groff_mdoc.7.man
@@ -2850,8 +2850,8 @@ Examples of quoting:
 .Dq
 .It Li ".Dq string abc ."
 .Dq string abc .
-.It Li ".Dq \'^[A\-Z]\'"
-.Dq \'^[A-Z]\'
+.It Li ".Dq \[aq]\[rs][ha][A\-Z]\[aq]"
+.Dq '\[ha][A-Z]'
 .It Li ".Ql man mdoc"
 .Ql man mdoc
 .It Li .Qq
@@ -4600,7 +4600,7 @@ String    7-bit   8-bit   UCS     Prefer  Meaning
 >=     >=      >=      \*[>=]  \[rs](>=        greater than or equal to
 Rq     "       "       \*[Rq]  \[rs](rq        right double quote
 Lq     "       "       \*[Lq]  \[rs](lq        left double quote
-ua     ^       ^       \*[ua]  \[rs](ua        vertical arrow up
+ua     \[ha]   \[ha]   \*[ua]  \[rs](ua        vertical arrow up
 aa     \[aq]   \'      \*[aa]  \[rs](aa        acute accent
 ga     \`      \`      \*[ga]  \[rs](ga        grave accent
 q      \&"     \&"     \*[q]   \[rs](dq        neutral double quote



reply via email to

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