From: Matěj C. <mc...@ce...> - 2025-07-22 00:16:16
|
Hi, I have used rST for reconstruction of the ancient theological text and with the scholarly version I got plenty of footnotes (which I would like to print on the bottom of the page with per-page numbering) [1], and I found to my unpleasant surprise that rst2xetex doesn’t produce correct LaTeX footnotes, but something weird, which certainly cannot be controlled by the standard LaTeX tools. I have found this patch, and decided to at least rebase it against the current master branch. I needed to fix tests, but otherwise the test suite now seems to pass. What do you think? Best, Matěj [1] https://git.sr.ht/~mcepl/justin_susil/tree/master/item/p_just_2_apol.rst John Thorvald Wodder II (1): An implementation of --latex-footnotes Matěj Cepl (1): Fix tests to work with --latex-footnotes option. docutils/docutils/writers/latex2e/__init__.py | 93 +++-- docutils/test/data/help/rst2latex.rst | 3 +- docutils/test/test_writers/test_latex2e.py | 322 +++++++++++++++++- 3 files changed, 386 insertions(+), 32 deletions(-) -- 2.50.1 |