Hello again! A follow-up on the patches below: > From: Protesilaos Stavrou > Date: Fri, 26 Apr 2024 10:55:50 +0300 > [... 41 lines elided] > Thank you! I just tried it. I encountered two problems with it, which I > am addressing with the two attached patches (feel free to modify as > needed). In short: > > 1. The footnote definitions at the bottom of the file were still using > the ordinal HTML id, which did not correspond to the href with the > label. > > 2. If the file had a mixture of labeled and anonymous/unlabeled > footnotes, then the export would break as it would be passing a nil > value to 'string-to-number'. > > Please let me know how to proceed. Since we are now using labels for the HTML export, I think it makes sense to optionally use those for the anchor tags as well. See the attached patch for a possible way of doing this. As always, you are welcome to make any further changes. -- Protesilaos Stavrou https://protesilaos.com