|
From: Günter M. <mi...@us...> - 2026-05-01 18:12:03
|
- **status**: open --> open-accepted - **Comment**: The patch is commited in [r10314]. The commits up to [r10322] take care of 99% of the remaining 1% problematic cases and document the changes and limitations. --- **[patches:#182] An implementation of --latex-footnotes** **Status:** open-accepted **Group:** None **Created:** Fri Jun 18, 2021 11:39 PM UTC by John Thorvald Wodder II **Last Updated:** Sat Jun 26, 2021 10:28 PM UTC **Owner:** nobody **Attachments:** - [latex-footnotes.patch](https://sourceforge.net/p/docutils/patches/182/attachment/latex-footnotes.patch) (9.4 kB; application/octet-stream) Attached is a patch that implements the `--latex-footnotes` option for 99% of use cases. I don't know whether you'd find it satisfactory enough to accept, but I thought I'd at least try. Shortcomings of this implementation: - Footnotes aren't hyperlinked back to their references. I am not aware of a way to solve this without basically reimplemeting docutils-footnotes. - Recursive footnotes are not supported and will cause a recursion error. Support would require tracking and referencing (à la <https://tex.stackexchange.com/a/23158/>) the number that LaTeX assigns to each footnote, which normally resets on chapters and would be broken by packages like footmisc and perpage. - If the same footnote is referenced multiple times, it will be treated as a new footnote each time. I believe this has the same solution as the above. - If a footnote contains two or more nested footnotes, the numbering will be messed up; see <https://tex.stackexchange.com/q/38643/> for a way to address this. --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/patches/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |