gbranden pushed a commit to branch master
in repository groff.
commit e89b7b32234fa9148dec26a61e782e62a7ba84a7
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Jan 5 03:51:19 2025 -0600
[man]: Fix Savannah #66640 (`SH` w/o arguments).
* tmac/an.tmac (SH): Restore closing brace escape sequence.
This caused the package to stop formatting the document if `SH` was
called without any arguments, a valid but uncommon usage. Problem
introduced by me in commit f3944d6305, 3 March.
Fixes <https://savannah.gnu.org/bugs/?66640>.
---
ChangeLog | 10 ++++++++++
tmac/an.tmac | 1 +
2 files changed, 11 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index d505e8979..9e8d5d2b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2025-01-05 G. Branden Robinson <[email protected]>
+
+ * tmac/an.tmac (SH): Restore closing brace escape sequence.
+
+ This caused the package to stop formatting the document if `SH`
+ was called without any arguments, a valid but uncommon usage.
+ Problem introduced by me in commit f3944d6305, 3 March.
+
+ Fixes <https://savannah.gnu.org/bugs/?66640>.
+
2025-01-05 G. Branden Robinson <[email protected]>
[man]: Test argumentless `SH`, `SS` calls.
diff --git a/tmac/an.tmac b/tmac/an.tmac
index 4b9f51eb8..d9a297a7c 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -748,6 +748,7 @@ contains unsupported escape sequence
. nr an*bookmark-level (\\n[an*bookmark-base-level] + 2)
. an*bookmark \\n[an*bookmark-level] "\\*[an-section-heading]"
. nop \&\\*[an-section-heading]
+. \}
. if \\n[an-remap-I-style-in-headings] .ftr I I
..
.
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit