gbranden pushed a commit to branch branden-2023-05-06
in repository groff.
commit aa7ecfb3c11e5f82ddbc77992e52da4774ebee6b
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon May 1 05:14:26 2023 -0500
[man]: Stop `HP` producing excess vertical space.
* tmac/an.tmac (HP): Fix thinko/typo when expanding macro as string to
call `an-deprecation-warn`. Thanks to Alex Colomar for the report.
Problem introduced by me in commit aea1dfb11b, 6 March 2022.
https://lists.gnu.org/archive/html/groff/2023-04/msg00369.html
---
ChangeLog | 9 +++++++++
tmac/an.tmac | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 9276310fb..fc76f89dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2023-05-01 G. Branden Robinson <[email protected]>
+
+ [man]: Stop `HP` producing excess vertical space.
+
+ * tmac/an.tmac (HP): Fix thinko/typo when expanding macro as
+ string to call `an-deprecation-warn`. Thanks to Alex Colomar
+ for the report. Problem introduced by me in commit aea1dfb11b,
+ 6 March 2022.
+
2023-04-28 G. Branden Robinson <[email protected]>
[ms]: Default vertical spacing to 120% of type size, not 2
diff --git a/tmac/an.tmac b/tmac/an.tmac
index 9e38ba569..dff0297fe 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -805,7 +805,7 @@ contains unsupported escape sequence
.\" Set a paragraph with a hanging indentation.
.\" .HP [indent]
.de1 HP
-. if !\\n[mS] \\*[an-deprecation-warn]\c
+. if !\\n[mS] \\*[an-deprecation-warn]\\
. an-break-paragraph
. ne (1v + 1u)
. if \\n[.$] .nr an-prevailing-indent (n;\\$1)
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit