gbranden pushed a commit to branch master
in repository groff.
commit 009a7efa98b3504003751b3556824dc8f9e49dd0
Author: Dorai Sitaram <[email protected]>
AuthorDate: Sun Dec 20 22:24:15 2020 +0000
[ms]: Fix inter-sentence space in paragraph tags.
* tmac/s.tmac (@IP): Handle inter-sentence space correctly in paragraph
tags by copying \n[.sss] from the enclosing environment to that used
to format the paragraph tag.
Fixes <https://savannah.gnu.org/bugs/?59742>.
---
ChangeLog | 8 ++++++++
tmac/s.tmac | 3 ++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 3b300f3..e71e458 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2020-12-21 Dorai Sitaram <[email protected]>
+
+ * tmac/s.tmac (@IP): Handle inter-sentence space correctly in
+ paragraph tags by copying \n[.sss] from the enclosing
+ environment to that used to format the paragraph tag.
+
+ Fixes <https://savannah.gnu.org/bugs/?59742>.
+
2020-12-21 G. Branden Robinson <[email protected]>
Add regression test for Savannah #59742.
diff --git a/tmac/s.tmac b/tmac/s.tmac
index 6c2a90a..5e7bd99 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -1278,13 +1278,14 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
.nr par*saved-font \\n[.f]
.nr par*saved-size \\n[.s]z
.nr par*saved-ss \\n[.ss]
+.nr par*saved-sss \\n[.sss]
.ds par*saved-fam \\n[.fam]
.ev par
.nf
.TA
.ft \\n[par*saved-font]
.ps \\n[par*saved-size]u
-.ss \\n[par*saved-ss]
+.ss \\n[par*saved-ss] \\n[par*saved-sss]
.fam \\*[par*saved-fam]
..
.de par*pop-tag-env
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit