gbranden pushed a commit to branch master
in repository groff.
commit f66cd8444ebd1531f81f69530ac7bc2f0c740a97
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon May 13 13:02:27 2024 -0500
[man]: Fix Savannah #65729 (`de1 EE`).
* tmac/an.tmac (EE): Define macro with `de1` request, not `de`.
Fixes <https://savannah.gnu.org/bugs/?65729>. Thanks to Bjarni Ingi
Gislason for the report. Problem introduced by me in commit 15f8188656,
21 February 2022.
As a comment in the file notes:
Macros that are part of the external interface (TH, SH, P, etc.) or that
are called by traps of any kind must be defined with `de1` because they
might be called from a context where compatibility mode is enabled. For
other macros, `de` suffices.
---
ChangeLog | 8 ++++++++
tmac/an.tmac | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 0d321594e..aa8814703 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-05-13 G. Branden Robinson <[email protected]>
+
+ * tmac/an.tmac (EE): Define macro with `de1` request, not `de`.
+
+ Fixes <https://savannah.gnu.org/bugs/?65729>. Thanks to Bjarni
+ Ingi Gislason for the report. Problem introduced by me in
+ commit 15f8188656, 21 February 2022.
+
2024-05-11 G. Branden Robinson <[email protected]>
[tmac]: Perform actual string comparisons.
diff --git a/tmac/an.tmac b/tmac/an.tmac
index e17ba1758..03ea55524 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -1122,7 +1122,7 @@ contains unsupported escape sequence
..
.
.\" End example.
-.de EE
+.de1 EE
. br
. if !\\n[an*is-in-example] \{\
. an-style-warn ignoring .\\$0 while not in example
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit