-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Description
As discussed on the mailing list, it is possible in Word, Open/LibreOffice, LaTeX, and elsewhere to have both footnotes and endnotes in a single document, and publishers (examples from Oxford, Peeters) request that texts be submitted this way for various purposes (e.g. citations plus a glossary; separate textual and source notes in a scholarly edition). The final version might be rendered as footnotes plus endnotes (e.g. a commentary at the end of a text); multiple sets of footnotes or endnotes (often using some sort of differentiated marker system, e.g. letters in addition to numbers or a key to line numbers); or footnotes plus sidenotes.
There have also been requests in the past for sidenotes/margin notes. The consensus on the list seems to be that this could be useful, but isn't as necessary as simply having some ability to have two separate series of notes, especially given that the creation of this in other formats is less clear-cut outside LaTeX (marginpar), DocBook (sidebar; cf. the AsciiDoc implementation), and perhaps HTML (aside). It can be done only awkwardly in LibreOffice and Word, though I have heard of publishers using Word comments as text to be put in the margin. As another approach, Classical Text Editor allows as many as fifty separate series of notes (plus text to be placed in the inner and outer margins), each of which has separately-controlled rendering. This is surely too extreme for Pandoc (cf. the eledmac package in LaTeX), but it's an interesting approach.
It was suggested by @jkr that it could be structured like this:
data NoteType = Footnote | Endnote | Marginnote
data Inline = ...
| Note NoteType [Block]
...
This is a summary of the list's proposals for the Markdown syntax, most of which centre around changing the character used for the footnote:
Written as footnotes
[^1]: footnoteand[#1]: endnoteand[>1]: sidenote[^1]: footnoteand[^^1]: endnoteand[^^^1]: sidenote[^1]: footnoteand[^a]: endnote(i.e. if different identifiers are being consistently used)
Written as inline notes
^[footnote]and^^[endnote]^[^ footnote](the extra caret being optional) and^[# endnote]and^[> sidenote]and^[| inline note]