[ adding Org ML back to CC ] contrapunctus <contrapunc...@disroot.org> writes:
> It seems it's not just org-publish, but the Org HTML exporter which does not > obey org-footnote-section. > >> Please provide more details about how to reproduce the issue. >> May you attach a small example file and details steps demonstrating the >> issue? See https://orgmode.org/manual/Feedback.html#Feedback > > Steps - > 1. emacs -q > 2. (setq org-footnote-section nil) > 3. Export the attached Org file to HTML buffer or file > > Observation - the HTML buffer/file has a "Footnotes" heading > > Expectation - there should be no "Footnotes" heading, and footnotes should be > placed at the end of each section in the exported HTML, to be consistent with > the behaviour of org-footnote-section. Ok. I see what happens now. Org behaves as expected. Setting org-footnote-section to nil only makes export ignore existing "Footnotes" heading, if it is present in Org. You don't have any in your example file, so Org ignores nothing. Then, ox-html specifically exports footnotes into a separate section at the end of the html document by its design. See `org-html-footnotes-section'. Not a bug. Canceled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>