[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 19/30: [man pages]: Fix markup nit.
From: |
G. Branden Robinson |
Subject: |
[groff] 19/30: [man pages]: Fix markup nit. |
Date: |
Wed, 15 Jun 2022 09:59:53 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit c66e7ce030ce764cb02a0267a49e147e15adebfd
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Jun 15 01:41:09 2022 -0500
[man pages]: Fix markup nit.
Add `\&` after a dot followed by multiple spaces in displayed examples,
to keep the rendering consistent even if the reader changes the
supplemental inter-sentence space amount.
---
contrib/hdtbl/groff_hdtbl.7.man | 72 ++++++++++++++++++++---------------------
contrib/mom/groff_mom.7.man | 14 ++++----
man/groff_char.7.man | 36 ++++++++++-----------
man/groff_diff.7.man | 6 ++--
man/roff.7.man | 2 +-
src/preproc/eqn/eqn.1.man | 2 +-
tmac/groff_www.7.man | 2 +-
7 files changed, 68 insertions(+), 66 deletions(-)
diff --git a/contrib/hdtbl/groff_hdtbl.7.man b/contrib/hdtbl/groff_hdtbl.7.man
index 7b284c37..b6120121 100644
--- a/contrib/hdtbl/groff_hdtbl.7.man
+++ b/contrib/hdtbl/groff_hdtbl.7.man
@@ -340,8 +340,8 @@ can be written as
.RS
.EX
\&.TBL cols=2
-\&. TR .TD 1*1 .TD 1*2
-\&. TR .TD 2*1 .TD 2*2
+\&.\& TR .TD 1*1 .TD 1*2
+\&.\& TR .TD 2*1 .TD 2*2
\&.ETB
.EE
.RE
@@ -395,18 +395,18 @@ Note, however, that this table
.RS
.EX
\&.TBL
-\&. TR
-\&. TD
-\&. nop 1*1 1*2
-\&. TR
-\&. TD
-\&. TBL cols=2 border=
-\&. TR
-\&. TD
-\&. nop 2*1
-\&. TD
-\&. nop 2*2
-\&. ETB
+\&.\& TR
+\&.\& TD
+\&.\& nop 1*1 1*2
+\&.\& TR
+\&.\& TD
+\&.\& TBL cols=2 border=
+\&.\& TR
+\&.\& TD
+\&.\& nop 2*1
+\&.\& TD
+\&.\& nop 2*2
+\&.\& ETB
\&.ETB
.EE
.RE
@@ -420,14 +420,14 @@ and this table
.RS
.EX
\&.TBL cols=2
-\&. TR
-\&. TD colspan=2
-\&. nop 1*1 1*2
-\&. TR
-\&. TD
-\&. nop 2*1
-\&. TD
-\&. nop 2*2
+\&.\& TR
+\&.\& TD colspan=2
+\&.\& nop 1*1 1*2
+\&.\& TR
+\&.\& TD
+\&.\& nop 2*1
+\&.\& TD
+\&.\& nop 2*2
\&.ETB
.EE
.RE
@@ -485,7 +485,7 @@ Here is the latter table in a more compact form.
.RS
.EX
\&.TBL cols=2 .TR \[dq].TD colspan=2\[dq] 1*1 1*2
-\&. TR .TD 2*1 .TD 2*2 .ETB
+\&.\& TR .TD 2*1 .TD 2*2 .ETB
.EE
.RE
.
@@ -824,9 +824,9 @@ is
.RS
.EX
\&.TBL cols=3
-\&. TR \[dq].TH colspan=2\[dq] header1+2 .TH header3
-\&. TR .TD 1*1 .TD 1*2 .TD 1*3
-\&. TR .TD 2*1 \[dq].TD colspan=2\[dq] 2*2+3
+\&.\& TR \[dq].TH colspan=2\[dq] header1+2 .TH header3
+\&.\& TR .TD 1*1 .TD 1*2 .TD 1*3
+\&.\& TR .TD 2*1 \[dq].TD colspan=2\[dq] 2*2+3
\&.ETB
.EE
.RE
@@ -863,14 +863,14 @@ is
.RS
.EX
\&.TBL cols=3
-\&. TR
-\&. TD 1*1
-\&. TD rowspan=2 1+2*2
-\&. TD 1*3
-\&.
-\&. TR
-\&. TD 2*1
-\&. TD 2*3
+\&.\& TR
+\&.\& TD 1*1
+\&.\& TD rowspan=2 1+2*2
+\&.\& TD 1*3
+\&.\&
+\&.\& TR
+\&.\& TD 2*1
+\&.\& TD 2*3
\&.ETB
.EE
.RE
@@ -1217,7 +1217,7 @@ For example, say
.RS
.EX
\&.am pg@top
-\&. t*hm
+\&.\& t*hm
\&..
.EE
.RE
@@ -1249,7 +1249,7 @@ try
.RS
.EX
\&.am pg@end\-text
-\&. t*EM
+\&.\& t*EM
\&..
.EE
.RE
diff --git a/contrib/mom/groff_mom.7.man b/contrib/mom/groff_mom.7.man
index 0f0e3e67..ea0b15ce 100644
--- a/contrib/mom/groff_mom.7.man
+++ b/contrib/mom/groff_mom.7.man
@@ -1681,7 +1681,9 @@ is greater than or equal to 1.19.2,
.B mom
will issue a warning and, depending on how you've set up the fallback
font, either continue processing using the fallback font, or abort
-(allowing you to correct the problem). If your
+(allowing you to correct the problem).
+.
+If your
.I groff version
is less than 1.19.2,
.B mom
@@ -1742,7 +1744,7 @@ A hanging indent looks like this:
.EX
The thousand injuries of Fortunato I had borne as best I
could, but when he ventured upon insult, I vowed
- revenge. You who so well know the nature of my soul
+ revenge.\& You who so well know the nature of my soul
will not suppose, however, that I gave utterance to a
threat, at length I would be avenged.\|.\|.
.EE
@@ -1850,13 +1852,13 @@ only.
\&.HI \[rs]w\[aq]\[rs]0\[rs]0.\[aq]
1.\[rs]0The most important point to be considered is whether
the answer to the meaning of Life, the Universe, and
-Everything really is 42. We have no one\[aq]s word on the
+Everything really is 42.\& We have no one\[aq]s word on the
subject except Mr.\& Adams\[aq]s.
\&.HI
2.\[rs]0If the answer to the meaning of Life, the Universe,
and Everything is indeed 42, what impact does this have on
-the politics of representation? 42 is, after all not a
-prime number. Are we to infer that prime numbers don\[aq]t
+the politics of representation?\& 42 is, after all not a
+prime number.\& Are we to infer that prime numbers don\[aq]t
deserve equal rights and equal access in the universe?
\&.HI
3.\[rs]0If 42 is deemed non-exclusionary, how do we present
@@ -3005,7 +3007,7 @@ A line of text in tab 2.
which produces
.RS
.EX
-.B "A line of text in tab 1. A line of text in tab 2."
+.B "A line of text in tab 1.\& A line of text in tab 2."
.EE
.RE
.
diff --git a/man/groff_char.7.man b/man/groff_char.7.man
index ca3979af..45e72c7b 100644
--- a/man/groff_char.7.man
+++ b/man/groff_char.7.man
@@ -1280,24 +1280,24 @@ macro:
\&.\e" The pile is returned in string \[aq]pile\[aq].
\&.eo
\&.de pile\-make
-\&. nr pile\-wd 0
-\&. nr pile\-ht 0
-\&. ds pile\-args
-\&.
-\&. nr pile\-# \en[.$]
-\&. while \en[pile\-#] \e{\e
-\&. nr pile\-wd (\en[pile\-wd] >? \ew\[aq]\e$[\en[pile\-#]]\[aq])
-\&. nr pile\-ht +(\en[rst] \- \en[rsb])
-\&. as pile\-args \ev\[aq]\en[rsb]u\[aq]\e"
-\&. as pile\-args \eZ\[aq]\e$[\en[pile\-#]]\[aq]\e"
-\&. as pile\-args \ev\[aq]\-\en[rst]u\[aq]\e"
-\&. nr pile\-# \-1
-\&. \e}
-\&.
-\&. ds pile \ev\[aq](\-0.5m + (\en[pile\-ht]u / 2u))\[aq]\e"
-\&. as pile \e*[pile\-args]\e"
-\&. as pile \ev\[aq]((\en[pile\-ht]u / 2u) + 0.5m)\[aq]\e"
-\&. as pile \eh\[aq]\en[pile\-wd]u\[aq]\e"
+\&.\& nr pile\-wd 0
+\&.\& nr pile\-ht 0
+\&.\& ds pile\-args
+\&.\&
+\&.\& nr pile\-# \en[.$]
+\&.\& while \en[pile\-#] \e{\e
+\&.\& nr pile\-wd (\en[pile\-wd] >? \ew\[aq]\e$[\en[pile\-#]]\[aq])
+\&.\& nr pile\-ht +(\en[rst] \- \en[rsb])
+\&.\& as pile\-args \ev\[aq]\en[rsb]u\[aq]\e"
+\&.\& as pile\-args \eZ\[aq]\e$[\en[pile\-#]]\[aq]\e"
+\&.\& as pile\-args \ev\[aq]\-\en[rst]u\[aq]\e"
+\&.\& nr pile\-# \-1
+\&.\& \e}
+\&.\&
+\&.\& ds pile \ev\[aq](\-0.5m + (\en[pile\-ht]u / 2u))\[aq]\e"
+\&.\& as pile \e*[pile\-args]\e"
+\&.\& as pile \ev\[aq]((\en[pile\-ht]u / 2u) + 0.5m)\[aq]\e"
+\&.\& as pile \eh\[aq]\en[pile\-wd]u\[aq]\e"
\&..
\&.ec
.EE
diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man
index 09c968ae..d82d3c3e 100644
--- a/man/groff_diff.7.man
+++ b/man/groff_diff.7.man
@@ -4440,9 +4440,9 @@ Example:
.ne 5v+\n(.Vu
.EX
\&.if t \[rs]{\[rs]
-\&. de bar
-\&. nop Hello, I\[aq]m \[aq]bar\[aq].
-\&. .
+\&.\& de bar
+\&.\& nop Hello, I\[aq]m \[aq]bar\[aq].
+\&.\& .
\&.\[rs]}
.EE
.
diff --git a/man/roff.7.man b/man/roff.7.man
index 9387c92b..84a6909b 100644
--- a/man/roff.7.man
+++ b/man/roff.7.man
@@ -2149,7 +2149,7 @@ the theory of space and time.
I shall therefore begin with a brief investigation of
the origin of our ideas of space and time,
although in doing so I know that I introduce a
-controversial subject. \[rs]" remainder of paragraph elided
+controversial subject.\& \[rs]" remainder of paragraph elided
\&.
\&.
\&
diff --git a/src/preproc/eqn/eqn.1.man b/src/preproc/eqn/eqn.1.man
index bc6a6750..b3160932 100644
--- a/src/preproc/eqn/eqn.1.man
+++ b/src/preproc/eqn/eqn.1.man
@@ -612,7 +612,7 @@ drawing a diagonal line through it.
define cancel \[aq]special Ca\[aq]
\&.EN
\&.de Ca
-\&. ds 0s \[rs]
+\&.\& ds 0s \[rs]
\[rs]Z\[aq]\[rs]\[rs]*(0s\[aq]\[rs]
\[rs]v\[aq]\[rs]\[rs]n(0du\[aq]\[rs]
\[rs]D\[aq]l \[rs]\[rs]n(0wu \-\[rs]\[rs]n(0hu-\[rs]\[rs]n(0du\[aq]\[rs]
diff --git a/tmac/groff_www.7.man b/tmac/groff_www.7.man
index 7ff6ed68..872b3b65 100644
--- a/tmac/groff_www.7.man
+++ b/tmac/groff_www.7.man
@@ -585,7 +585,7 @@ macro is defined as
.IP
.EX
\&.de BGIMG
-\&. HTML <body background=\[rs]\[rs]$1>
+\&.\& HTML <body background=\[rs]\[rs]$1>
\&..
.EE
.RE
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 19/30: [man pages]: Fix markup nit.,
G. Branden Robinson <=