groff-commit
[Top][All Lists]
Advanced

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

[groff] 20/33: [me]: Do `.rj 0` when starting new pargraphs.


From: G. Branden Robinson
Subject: [groff] 20/33: [me]: Do `.rj 0` when starting new pargraphs.
Date: Thu, 30 Dec 2021 00:46:48 -0500 (EST)

gbranden pushed a commit to branch temp-mail-fail
in repository groff.

commit 04b82763d27b7cfb7d07dfd0b256d34a1d27afa9
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Dec 25 13:25:35 2021 +1100

    [me]: Do `.rj 0` when starting new pargraphs.
    
    * tmac/e.tmac (@p): Deactivate right alignment (the effect of groff's
      `rj` request) when starting a new paragraph.
    
    * doc/meref.me.in (Paragraphing) <lp>: Document this.
---
 ChangeLog       | 6 ++++++
 doc/meref.me.in | 7 ++++---
 tmac/e.tmac     | 1 +
 3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9c029dd5..6885dcee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-12-25  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/e.tmac (@p): Deactivate right alignment (the effect of
+       groff's `rj` request) when starting a new paragraph.
+       * doc/meref.me.in (Paragraphing) <lp>: Document this.
+
 2021-12-25  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * tmac/e.tmac ()c): Add bounds check to avoid attempting to set
diff --git a/doc/meref.me.in b/doc/meref.me.in
index e1c96d7e..27c10984 100644
--- a/doc/meref.me.in
+++ b/doc/meref.me.in
@@ -237,9 +237,10 @@ should also not be repurposed.
 .b .lp
 .DE
 Begin left-aligned paragraph.
-Any centering and underlining
-are turned off,
-the font is set to
+Centering,
+right-alignment,
+and underlining are canceled.
+The font is set to
 .NR (pf
 [1],
 the type size
diff --git a/tmac/e.tmac b/tmac/e.tmac
index 89447d3f..c24f1efd 100644
--- a/tmac/e.tmac
+++ b/tmac/e.tmac
@@ -796,6 +796,7 @@
 .if \\n(.$ \
 .      in +\\$1n
 .ce 0
+.rj 0
 .fi
 .@F \\n(pf
 .sz \\n(pp



reply via email to

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