From f1a747ad72b57044af3e8df9e4315eaaa78a40a4 Mon Sep 17 00:00:00 2001
From: Niklas Fasching
-anonymous inline footnotes are also supported via 3. +anonymous inline footnotes are also supported via 4.
Footnote definitions are not printed where they appear. -Rather, they are gathered and exported at the end of the document in the footnote section. 4 +Rather, they are gathered and exported at the end of the document in the footnote section. 5
-Please note that the footnotes section is not automatically excluded from the export like in emacs. 5 +Please note that the footnotes section is not automatically excluded from the export like in emacs. 6
-this is not part of 5 anymore as there are 2 blank lines in between! +this is not part of 6 anymore as there are 2 blank lines in between!
-the inline footnote definition +yolo
-the anonymous inline footnote definition +the inline footnote definition
+the anonymous inline footnote definition +
+so this definition will not be at the end of this section in the exported document. Rather, it will be somewhere down below in the footnotes section.
There's multiple reasons for that. Among others, doing so requires i18n (to recognize the section) and silently diff --git a/org/testdata/footnotes.org b/org/testdata/footnotes.org index cdb32d1..b613bdc 100644 --- a/org/testdata/footnotes.org +++ b/org/testdata/footnotes.org @@ -1,5 +1,5 @@ * Using some footnotes -- normal footnote reference [fn:1] [fn:6] +- normal footnote reference [fn:1] [fn:6] [fn:foo-bar] (footnote names can be anything in the format =[\w-]=) - further references to the same footnote should not [fn:1] render duplicates in the footnote list - inline footnotes are also supported via [fn:2:the inline footnote definition]. - anonymous inline footnotes are also supported via [fn::the anonymous inline footnote definition]. @@ -14,6 +14,8 @@ of the same name later on in the document. That will log a warning but carry on * Footnotes Please note that the footnotes section is not automatically excluded from the export like in emacs. [fn:7] +[fn:foo-bar] yolo + [fn:1] https://www.example.com - footnotes can contain *markup* - and other elements diff --git a/org/testdata/footnotes.pretty_org b/org/testdata/footnotes.pretty_org index cdb32d1..b613bdc 100644 --- a/org/testdata/footnotes.pretty_org +++ b/org/testdata/footnotes.pretty_org @@ -1,5 +1,5 @@ * Using some footnotes -- normal footnote reference [fn:1] [fn:6] +- normal footnote reference [fn:1] [fn:6] [fn:foo-bar] (footnote names can be anything in the format =[\w-]=) - further references to the same footnote should not [fn:1] render duplicates in the footnote list - inline footnotes are also supported via [fn:2:the inline footnote definition]. - anonymous inline footnotes are also supported via [fn::the anonymous inline footnote definition]. @@ -14,6 +14,8 @@ of the same name later on in the document. That will log a warning but carry on * Footnotes Please note that the footnotes section is not automatically excluded from the export like in emacs. [fn:7] +[fn:foo-bar] yolo + [fn:1] https://www.example.com - footnotes can contain *markup* - and other elements