[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Footnotes not working in -me
From: |
G. Branden Robinson |
Subject: |
Re: Footnotes not working in -me |
Date: |
Fri, 17 Dec 2021 18:28:21 +1100 |
User-agent: |
NeoMutt/20180716 |
At 2021-12-16T22:18:27-0500, Robert Goulding wrote:
> Rudimentary file and output attached, run through groff -me with latest
> git. No footnotes appear.
Hi Robert,
Thanks for the report. This problem arose from a late-breaking change
(as they so often do), and I didn't catch it because it (1) doesn't
affect nroff mode and (2) relies upon the value of the new `$x` register
being nonzero, a condition that does not obtain with the *.me documents
we have in the tree.
It's a one-character fix--the minus one needs a "u" after it. Here's an
inline diff.
diff --git a/tmac/e.tmac b/tmac/e.tmac
index 37e263455..4f74a1966 100644
--- a/tmac/e.tmac
+++ b/tmac/e.tmac
@@ -2008,7 +2008,7 @@
.\" pic(1) convention) by the amount in `$x` (a groff 1.23 extension).
.ie t \
\{\
-.ds { \v'-0.4m'\x'\\n(0x=0*-1*\\n($xu'\s-3
+.ds { \v'-0.4m'\x'\\n(0x=0*-1u*\\n($xu'\s-3
.ds } \s+3\v'0.4m'
.\}
.el \
You can edit your e.tmac file in place or add this string definition to
your document as a workaround.
I'll include this fix in my next push.
Please accept my apologies for the breakage.
Regards,
Branden
signature.asc
Description: PGP signature