Automatic generation of footnote symbols

When automatically generating footnote symbols, a symbol is assigned to each footnote.

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 asterisk "*".

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 number of footnote references must correspond to the number of footnotes.
  • A symbol footnote may not be referenced more than once.
  • A transformation inserts symbols as labels in the corresponding footnotes and footnote references. The following symbols are used for the footnotes:
    • Asterisk/star ("*")
    • Dagger ("†")
    • Double dagger ("‡")
    • Paragraph symbol ("§")
    • Paragraph mark ("¶")
    • Number sign ("#")
    • Spades ("♠")
    • Hearts ("♥")
    • Diamonds ("♦")
    • Clubs ("♣")
  • If more than ten symbols are needed, the same order is reused, doubled and then tripled, etc. ("**" etc.).

Sample

The following sample shows the automatic generation of footnote symbols and their representation in the Library Manager.
(In sample project: B_DocuElements\Hyperlinks\Footnotes\FB_Libdoc_AutomaticallySymbolFootnotes)

(*
Here is a symbolic 
footnote reference: [*]_ footnote reference: [*]_
footnote reference: [*]_ footnote reference: [*]_
footnote reference: [*]_ footnote reference: [*]_
footnote reference: [*]_ footnote reference: [*]_
footnote reference: [*]_ footnote reference: [*]_
footnote reference: [*]_

.. [*] This is the first footnote.
.. [*] This is the second footnote.
.. [*] This is the third footnote.
.. [*] This is the fourth footnote.
.. [*] This is the fifth footnote.
.. [*] This is the sixth footnote.
.. [*] This is the seventh footnote.
.. [*] This is the eighth footnote.
.. [*] This is the ninth footnote.
.. [*] This is the tenth footnote.
.. [*] This is the eleventh footnote.
*)

Automatic generation of footnote symbols 1: