| 1 |
<nav> |
| 2 |
<ul> |
| 3 |
<li><a href="#headline-1">Using some footnotes</a> |
| 4 |
</li> |
| 5 |
<li><a href="#headline-2">Footnotes</a> |
| 6 |
</li> |
| 7 |
</ul> |
| 8 |
</nav> |
| 9 |
<div id="outline-container-headline-1" class="outline-2"> |
| 10 |
<h2 id="headline-1"> |
| 11 |
Using some footnotes |
| 12 |
</h2> |
| 13 |
<div id="outline-text-headline-1" class="outline-text-2"> |
| 14 |
<ul> |
| 15 |
<li>normal footnote reference <sup class="footnote-reference"><a id="footnote-reference-1" href="#footnote-1">1</a></sup> <sup class="footnote-reference"><a id="footnote-reference-2" href="#footnote-2">2</a></sup> <sup class="footnote-reference"><a id="footnote-reference-3" href="#footnote-3">3</a></sup> (footnote names can be anything in the format <code class="verbatim">[\w-]</code>)</li> |
| 16 |
<li>further references to the same footnote should not <sup class="footnote-reference"><a id="footnote-reference-1" href="#footnote-1">1</a></sup> render duplicates in the footnote list</li> |
| 17 |
<li>inline footnotes are also supported via <sup class="footnote-reference"><a id="footnote-reference-4" href="#footnote-4">4</a></sup>.</li> |
| 18 |
<li>anonymous inline footnotes are also supported via <sup class="footnote-reference"><a id="footnote-reference-5" href="#footnote-5">5</a></sup>.</li> |
| 19 |
<li>Footnote definitions are not printed where they appear. |
| 20 |
Rather, they are gathered and exported at the end of the document in the footnote section. <sup class="footnote-reference"><a id="footnote-reference-6" href="#footnote-6">6</a></sup></li> |
| 21 |
<li>footnotes that reference a non-existant definition are rendered but log a warning <sup class="footnote-reference"><a id="footnote-reference-7" href="#footnote-7">7</a></sup></li> |
| 22 |
</ul> |
| 23 |
</div> |
| 24 |
</div> |
| 25 |
<div id="outline-container-headline-2" class="outline-2"> |
| 26 |
<h2 id="headline-2"> |
| 27 |
Footnotes |
| 28 |
</h2> |
| 29 |
<div id="outline-text-headline-2" class="outline-text-2"> |
| 30 |
<p>Please note that the footnotes section is not automatically excluded from the export like in emacs. <sup class="footnote-reference"><a id="footnote-reference-8" href="#footnote-8">8</a></sup></p> |
| 31 |
<p> |
| 32 |
this is not part of <sup class="footnote-reference"><a id="footnote-reference-8" href="#footnote-8">8</a></sup> anymore as there are 2 blank lines in between!</p> |
| 33 |
</div> |
| 34 |
</div> |
| 35 |
<div class="footnotes"> |
| 36 |
<hr class="footnotes-separatator"/> |
| 37 |
<div class="footnote-definitions"> |
| 38 |
<div class="footnote-definition"> |
| 39 |
<sup id="footnote-1"><a href="#footnote-reference-1">1</a></sup> |
| 40 |
<div class="footnote-body"> |
| 41 |
<p><a href="https://www.example.com">https://www.example.com</a></p> |
| 42 |
<ul> |
| 43 |
<li>footnotes can contain <strong>markup</strong></li> |
| 44 |
<li> |
| 45 |
<p>and other elements</p> |
| 46 |
<ul> |
| 47 |
<li> |
| 48 |
<p>like blocks</p> |
| 49 |
<div class="src src-text"> |
| 50 |
<div class="highlight"> |
| 51 |
<pre> |
| 52 |
other non-plain |
| 53 |
</pre> |
| 54 |
</div> |
| 55 |
</div> |
| 56 |
</li> |
| 57 |
<li> |
| 58 |
<p>and tables</p> |
| 59 |
<table> |
| 60 |
<tbody> |
| 61 |
<tr> |
| 62 |
<td class="align-right">1</td> |
| 63 |
<td>a</td> |
| 64 |
</tr> |
| 65 |
<tr> |
| 66 |
<td class="align-right">2</td> |
| 67 |
<td>b</td> |
| 68 |
</tr> |
| 69 |
<tr> |
| 70 |
<td class="align-right">3</td> |
| 71 |
<td>c</td> |
| 72 |
</tr> |
| 73 |
</tbody> |
| 74 |
</table> |
| 75 |
</li> |
| 76 |
</ul> |
| 77 |
</li> |
| 78 |
</ul> |
| 79 |
</div> |
| 80 |
</div> |
| 81 |
<div class="footnote-definition"> |
| 82 |
<sup id="footnote-2"><a href="#footnote-reference-2">2</a></sup> |
| 83 |
<div class="footnote-body"> |
| 84 |
<p> |
| 85 |
Footnotes break after two consecutive empty lines - just like paragraphs - see <a href="https://orgmode.org/worg/dev/org-syntax.html.">https://orgmode.org/worg/dev/org-syntax.html.</a> |
| 86 |
This shouldn't happen when the definition line and the line after that are empty.</p> |
| 87 |
</div> |
| 88 |
</div> |
| 89 |
<div class="footnote-definition"> |
| 90 |
<sup id="footnote-3"><a href="#footnote-reference-3">3</a></sup> |
| 91 |
<div class="footnote-body"> |
| 92 |
<p>yolo</p> |
| 93 |
</div> |
| 94 |
</div> |
| 95 |
<div class="footnote-definition"> |
| 96 |
<sup id="footnote-4"><a href="#footnote-reference-4">4</a></sup> |
| 97 |
<div class="footnote-body"> |
| 98 |
<p>the inline footnote definition</p> |
| 99 |
</div> |
| 100 |
</div> |
| 101 |
<div class="footnote-definition"> |
| 102 |
<sup id="footnote-5"><a href="#footnote-reference-5">5</a></sup> |
| 103 |
<div class="footnote-body"> |
| 104 |
<p>the anonymous inline footnote definition</p> |
| 105 |
</div> |
| 106 |
</div> |
| 107 |
<div class="footnote-definition"> |
| 108 |
<sup id="footnote-6"><a href="#footnote-reference-6">6</a></sup> |
| 109 |
<div class="footnote-body"> |
| 110 |
<p>so this definition will not be at the end of this section in the exported document. |
| 111 |
Rather, it will be somewhere down below in the footnotes section.</p> |
| 112 |
</div> |
| 113 |
</div> |
| 114 |
<div class="footnote-definition"> |
| 115 |
<sup id="footnote-8"><a href="#footnote-reference-8">8</a></sup> |
| 116 |
<div class="footnote-body"> |
| 117 |
<p> |
| 118 |
There's multiple reasons for that. Among others, doing so requires i18n (to recognize the section) and silently |
| 119 |
hides content before and after the footnotes<sup class="footnote-reference"><a id="footnote-reference-9" href="#footnote-9">9</a></sup>.</p> |
| 120 |
</div> |
| 121 |
</div> |
| 122 |
<div class="footnote-definition"> |
| 123 |
<sup id="footnote-9"><a href="#footnote-reference-9">9</a></sup> |
| 124 |
<div class="footnote-body"> |
| 125 |
<p>Footnotes can be linked from another footnote's definition.</p> |
| 126 |
</div> |
| 127 |
</div> |
| 128 |
</div> |
| 129 |
</div> |