gbranden pushed a commit to branch master
in repository groff.

commit dd03715961f3b24fc060960fe009bdb1ef3522e3
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Jul 20 05:50:50 2025 -0500

    tmac/an.tmac: Rationalize.
    
    * tmac/an.tmac (TH): Organize register and string initialization before
      macro calls and requests that alter formatting parameters.
---
 ChangeLog    |  6 ++++++
 tmac/an.tmac | 17 +++++++----------
 2 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 083bd0a7c..f881f4bbb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-07-20  G. Branden Robinson <[email protected]>
+
+       * tmac/an.tmac (TH): Rationalize; organize register and string
+       initialization before macro calls and requests that alter
+       formatting parameters.
+
 2025-07-20  G. Branden Robinson <[email protected]>
 
        * tmac/an.tmac: Slightly refactor.
diff --git a/tmac/an.tmac b/tmac/an.tmac
index 2538cdb6b..7b87c8103 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -241,14 +241,10 @@
 .  \" Set up rendering parameters.  We do this in TH instead of only
 .  \" once when initializing the package because when rendering multiple
 .  \" pages, a previous page might have changed them.
-.
-.  fam \\*[an*body-family]
-.  ft R
-.
 .  nr PS    10z \" default type size
+.  nr VS    12p \" default vertical spacing
 .  nr PS-SS 10z
 .  nr PS-SH 10.95z
-.  nr VS    12p
 .
 .  \" use sizes similar to LaTeX
 .  if t \{\
@@ -272,11 +268,6 @@
 .  \" different language.
 .  if '\\*[locale]'english' .an*localize-strings
 .
-.  ps \\n[PS]u
-.  vs \\n[VS]u
-.  ad \\*[AD]
-.  ll \\n[LL]u
-.
 .  \" Reset any lingering state from extensions in an-ext.tmac.
 .  nr mE 0
 .  nr mS 0
@@ -286,6 +277,12 @@
 .  nr an-was-tbl-failure-reported 0
 .
 .  an*reset-section-parameters
+.  fam \\*[an*body-family]
+.  ft R
+.  ps \\n[PS]u
+.  vs \\n[VS]u
+.  ad \\*[AD]
+.  ll \\n[LL]u
 .  an*reset-hyphenation-mode
 .  an*reset-tab-stops
 .  an*reset-paragraph-spacing

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to