[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 03/15: tmac/an-old.tmac: Relocate some initialization.
From: |
G. Branden Robinson |
Subject: |
[groff] 03/15: tmac/an-old.tmac: Relocate some initialization. |
Date: |
Wed, 19 May 2021 11:00:36 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 3219af760482ef039ffa19f72bad74b8f6123bf3
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue May 18 17:26:38 2021 +1000
tmac/an-old.tmac: Relocate some initialization.
* tmac/an-old.tmac: Relocate some initialization logic to be adjacent to
(most of) the rest of it.
---
ChangeLog | 5 +++++
tmac/an-old.tmac | 20 +++++++++++---------
2 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7c780ed..0683e74 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2021-05-18 G. Branden Robinson <g.branden.robinson@gmail.com>
+ * tmac/an-old.tmac (TH): Relocate some initialization logic to
+ be adjacent to (most of) the rest of it.
+
+2021-05-18 G. Branden Robinson <g.branden.robinson@gmail.com>
+
* tmac/an-old.tmac (TH): Remove useless .if. Its condition is
always true now in the wake of the fix for Savannah #60609.
diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac
index 0e50315..a6ebfaf 100644
--- a/tmac/an-old.tmac
+++ b/tmac/an-old.tmac
@@ -56,15 +56,6 @@
. tm \*[an-old]:\\n[.F]:\\n[.c]: style: \\$*
..
.
-.mso devtag.tmac
-.nr need_eo_h 0
-.nr need_col2 0
-.
-.nr an-is-first-page-of-document 1 \" is this a new man(7) document?
-.
-.nr an-is-output-html 0
-.if '\*[.T]'html' .nr an-is-output-html 1
-.
.\" Define alternate requests to handle continuous rendering.
.\"
.\" This .ne replacement avoids page breaks; instead, the page length is
@@ -766,6 +757,17 @@
. char - \N'45'
.\}
.
+.\" === Initialize. ===
+.
+.mso devtag.tmac
+.nr need_eo_h 0 \" need to mark end of a heading?
+.nr need_col2 0 \" need two-column layout?
+.
+.nr an-is-first-page-of-document 1
+.
+.nr an-is-output-html 0
+.if '\*[.T]'html' .nr an-is-output-html 1
+.
.\" Load man macro extensions.
.mso an-ext.tmac
.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 03/15: tmac/an-old.tmac: Relocate some initialization.,
G. Branden Robinson <=