groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/03: tmac/an.tmac: Fix code style nits.


From: G. Branden Robinson
Subject: [groff] 01/03: tmac/an.tmac: Fix code style nits.
Date: Wed, 27 Oct 2021 00:30:30 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit fddb5abf4ba6113af4ac187bd4391208d8933299
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Oct 26 22:48:00 2021 +1100

    tmac/an.tmac: Fix code style nits.
    
    * tmac/an.tmac (TH): Remove extraneous brace escape.  Continues
      commit 2285cbc7.
    
      (an-prepare-inside-footer): Remove `an-mark[12]` registers as soon as
      we're done with them.  Continues commit 8578254c.
---
 tmac/an.tmac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tmac/an.tmac b/tmac/an.tmac
index 7b42e45..ff6fc97 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -231,7 +231,7 @@
 .  el \{ .ie '\\$2'8'  .ds an-extra3 System Manager's Manual\"
 .  el \{ .ie '\\$2'9'  .ds an-extra3 Kernel Developer's Manual\"
 .  el                  .ds an-extra3 \" empty
-.  \}\}\}\}\}\}\}\}\}\}
+.  \}\}\}\}\}\}\}\}\}
 .
 .  ds an-extra1 "\\$3\"
 .  ie (\\n[.$] > 3)    .ds an-extra2 "\\$4\"
@@ -409,6 +409,8 @@
 .  ds an-ifoot-half2 \\*[an-ifoot]\"
 .  substring an-ifoot-half1 0 \\n[an-mark1]
 .  substring an-ifoot-half2 \\n[an-mark2] -1
+.  rr an-mark1
+.  rr an-mark2
 .  \" Reduce the two halves until, when rejoined with each other, the
 .  \" ellipsis, and half of the center footer, they fit the half-title.
 .  nr an-half-footer-width \\w'\\*[an-ifoot-half1]\\*[an-ellipsis]\
@@ -430,8 +432,6 @@
 .  rr an-half2-length
 .  rm an-ifoot-half1
 .  rm an-ifoot-half2
-.  rr an-mark1
-.  rr an-mark2
 .  rr an-half-footer-width
 .  rr an-half-title-width
 .  rm an-ellipsis



reply via email to

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