| 1 |
Test footnote and citation rendering |
| 2 |
************************************ |
| 3 |
|
| 4 |
Paragraphs may contain footnote references (manually numbered |
| 5 |
[1]_, anonymous auto-numbered [#]_, labeled auto-numbered [#label]_, or |
| 6 |
symbolic [*]_) or citation references ([CIT2002]_, [DU2015]_). |
| 7 |
|
| 8 |
.. include:: data/standard.rst |
| 9 |
:start-after: Footnotes |
| 10 |
--------- |
| 11 |
:end-before: Citations |
| 12 |
--------- |
| 13 |
|
| 14 |
.. [CIT2002] Citations are text-labeled footnotes. They may be |
| 15 |
rendered separately and differently from footnotes. |
| 16 |
|
| 17 |
.. [DU2015] `Example document`, Hometown: 2015. |
| 18 |
|
| 19 |
|
| 20 |
Body elements in footnotes [#note-note]_ |
| 21 |
---------------------------------------- |
| 22 |
|
| 23 |
Footnotes may contain block elements like lists [#]_ [#list-note]_ [#]_, |
| 24 |
admonitions [#note-note]_, or tables [#]_. |
| 25 |
|
| 26 |
.. [#] #. An ordered list |
| 27 |
#. in a footnote. |
| 28 |
|
| 29 |
.. [#list-note] * An unordered list (bullet list) |
| 30 |
* in a footnote. |
| 31 |
|
| 32 |
And a trailing paragraph. |
| 33 |
|
| 34 |
.. [#] :Field: list |
| 35 |
:with: 2 items. |
| 36 |
|
| 37 |
.. [#note-note] .. note:: This is a note in a note. |
| 38 |
|
| 39 |
.. [#] ===== ========= |
| 40 |
a table |
| 41 |
in a footnote |
| 42 |
===== ========= |
| 43 |
|
| 44 |
.. [5] This footnote is missing in the standard example document. |
| 45 |
|
| 46 |
This [#list-note]_ is a second reference to the footnote containing |
| 47 |
a bullet list. |
| 48 |
|
| 49 |
A second reference to [CIT2002]_. |