[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 02/04: tmac/an-ext.tmac: Rename environment & diversion.
From: |
G. Branden Robinson |
Subject: |
[groff] 02/04: tmac/an-ext.tmac: Rename environment & diversion. |
Date: |
Fri, 21 May 2021 23:05:13 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit d8214d14142f9370d7ab8af56743c6896f43a861
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat May 22 10:04:39 2021 +1000
tmac/an-ext.tmac: Rename environment & diversion.
* tmac/an-ext.tmac (UR, UE, MT, ME): Rename environment and diversion
for clarity; they apply to the link text, not the URL {or email
address}. The latter might not visibly appear, depending on the
output driver.
---
ChangeLog | 7 +++++++
tmac/an-ext.tmac | 16 ++++++++--------
2 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 31b6f8b..2dda565 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2021-05-22 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * tmac/an-ext.tmac (UR, UE, MT, ME): Rename environment and
+ diversion for clarity; they apply to the link text, not the URL
+ {or email address}. The latter might not visibly appear,
+ depending on the output driver.
+
2021-05-20 G. Branden Robinson <g.branden.robinson@gmail.com>
* tmac/an-old.tmac (TH): Remove extraneous right-brace escape.
diff --git a/tmac/an-ext.tmac b/tmac/an-ext.tmac
index ff9c782..f8a6089 100644
--- a/tmac/an-ext.tmac
+++ b/tmac/an-ext.tmac
@@ -99,8 +99,8 @@
. ds m1 \\$1\"
. if \\n(mH \{\
. \" Start diversion in a new environment.
-. do ev URL-div
-. do di URL-div
+. do ev link-text-env
+. do di link-text-div
. \}
..
.
@@ -116,8 +116,8 @@
. ie \\n(dn \{\
. do HTML-NS "<a href=""\\*(m1"">"
. \" Yes, strip off final newline of diversion and emit it.
-. do chop URL-div
-. do URL-div
+. do chop link-text-div
+. do link-text-div
\c
. do HTML-NS </a>
. \}
@@ -140,8 +140,8 @@
. ds m1 \\$1\"
. if \\n(mH \{\
. \" Start diversion in a new environment.
-. do ev URL-div
-. do di URL-div
+. do ev link-text-env
+. do di link-text-div
. \}
..
.
@@ -157,8 +157,8 @@
. ie \\n(dn \{\
. do HTML-NS "<a href=""mailto:\\*(m1"">"
. \" Yes, strip off final newline of diversion and emit it.
-. do chop URL-div
-. do URL-div
+. do chop link-text-div
+. do link-text-div
\c
. do HTML-NS </a>
. \}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 02/04: tmac/an-ext.tmac: Rename environment & diversion.,
G. Branden Robinson <=