Automatically numbered footnotes

For automatically numbered footnotes, each footnote is automatically assigned a name.

Footnote reference

Description

The footnote reference consists of a footnote label in square brackets followed by an underscore at the end.

The footnote label is a single "#".

Start and end characters

Start character = "[", end character = "]_"

(See also: Inline markup)

Footnote

Description

Each footnote (footnote label) consists of an explicit markup start (".. "), the footnote label enclosed in square brackets, and a space followed by indented body elements (footnote content).

(See also: Explicit markup blocks)

Principle

+-----+-------------------+
|".. "|"["#"]" footnote   |
+-----+                   |
      |(body elements)    |
      +-------------------+

Properties

  • The first footnote to request automatic numbering is assigned the label "1", the second the label "2", etc. (if there are no manually numbered footnotes). A footnote that has automatically received a label "1" creates an implicit hyperlink target with the name "1", as if the label was explicitly specified.
  • Numbering is determined by the order of the footnotes, not by the order of the footnote references. For automatically numbered footnotes ([#]_), the footnotes and footnote references must be in the same relative order but do not have to be linked.

Sample:

[#]_ is a reference to footnote 1, and [#]_ is a reference to
footnote 2.

.. [#] This is footnote 1.
.. [#] This is footnote 2.
.. [#] This is footnote 3.

[#]_ is a reference to footnote 3.

Automatically numbered footnotes 1:

Special caution is required if footnotes themselves contain auto-numbered footnote references or if several references are made in the immediate vicinity. Footnotes and references are noted in the order in which they appear in the comment, which does not necessarily correspond to the order in which a person would read them.

(See also: Named automatically numbered footnotes)

Sample

The following sample automatically shows numbered footnotes with and without an additional footnote label.
(In sample project: B_DocuElements\Hyperlinks\Footnotes\FB_Libdoc_AutomaticallyNumberedFootnotes)

(*
**Autonumbered footnotes**

Autonumbered footnotes are possible, like using [#]_ and [#]_. 

--------

.. [#] This is the first one. 

.. [#] This is the second one.
*)

Automatically numbered footnotes 2: