[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 16/21: tmac/an-ext.tmac: Refactor.
From: |
G. Branden Robinson |
Subject: |
[groff] 16/21: tmac/an-ext.tmac: Refactor. |
Date: |
Tue, 23 Aug 2022 14:18:43 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit dcd60be19f9298fa20f3d0f3efcdb8b9f78e924b
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Aug 23 12:32:10 2022 -0500
tmac/an-ext.tmac: Refactor.
* tmac/an-ext.tmac: Refactor. Rename `mX` to `mZ` so we can use `mX`
for an "in-example" state register in a future commit. Rename `mE` to
`mF` to store the current font's mounting position. Bizarrely, `mF`
was not already used for this purpose.
---
ChangeLog | 8 ++++++++
tmac/an-ext.tmac | 8 ++++----
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6f93d5ceb..94637fbc6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-08-23 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * tmac/an-ext.tmac: Refactor. Rename `mX` to `mZ` so we can use
+ `mX` for an "in-example" state register in a future commit.
+ Rename `mE` to `mF` to store the current font's mounting
+ position. Bizarrely, `mF` was not already used for this
+ purpose.
+
2022-08-22 G. Branden Robinson <g.branden.robinson@gmail.com>
* src/libs/libgroff/error.cpp (do_error_with_file_and_line):
diff --git a/tmac/an-ext.tmac b/tmac/an-ext.tmac
index 805344694..20128f4d9 100644
--- a/tmac/an-ext.tmac
+++ b/tmac/an-ext.tmac
@@ -23,8 +23,8 @@
.
.
.\" Protect against being sourced twice.
-.nr mX +1
-.if \n(mX>1 \
+.nr mZ +1
+.if \n(mZ>1 \
. nx
.
.\" Define this to your implementation's constant-width typeface.
@@ -247,7 +247,7 @@
.\" Start example.
.if \n(.g .ig
.de EX
-. nr mE \\n(.f
+. nr mF \\n(.f
. nr mP \\n(PD
. nr PD 1v
. nf
@@ -258,7 +258,7 @@
.\" End example.
.if \n(.g .ig
.de EE
-. ft \\n(mE
+. ft \\n(mF
. nr PD \\n(mP
. fi
..
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 16/21: tmac/an-ext.tmac: Refactor.,
G. Branden Robinson <=