From: Matěj C. <mc...@ce...> - 2025-07-25 07:25:54
|
On Fri Jul 25, 2025 at 7:26 AM CEST, Guenter Milde via Docutils-develop wrote: > The example article shows another problem: > > In HTML it is simple to use footnotes as endnotes. In LaTeX, we would > like a different layout for endnotes vs. footnotes. (The current > implementation only works (almost) OK, if the footnotes are placed > immediately after the block-level element with the footnote reference.) I believe it just better to stick with the LaTeX solutions (e. g., [1]) rather than to generate something even more crazy. For HTML, it is IMHO quite enough the current way of having text of notes placed wherever you do so in the source ([2]). I see one more problem. When I put [xetex writer] latex_footnotes=True into ./docutils.conf, it doesn’t make any difference, I have to set `--latex-footnotes` on the command line. Any idea, where I failed to hook into the configuration system properly? > You may need to escape the letter or the dot, see the "Caution" admonition in > https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#enumerated-lists Thank you for that, it helped. Best, Matěj [1] https://tex.stackexchange.com/questions/56145/is-there-a-way-to-move-all-footnotes-to-the-end-of-the-document [2] https://matej.ceplovi.cz/blog/harry-potter-poznamky-jako-odpoved.html (source https://git.sr.ht/~mcepl/blog-source/tree/master/item/literature/harry-potter-odpoved-brachovi.rst) -- http://matej.ceplovi.cz/blog/, @mc...@en...wn GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 This is a signature anti-virus. Please stop the spread of signature viruses! |