3 ms·
As noted, pandoc. Using pandoc-markdown(5), you have footnotes/endnotes, and can export directly to latex and PDF: pandoc -f markdown -t latex -o foo.pdf
by dredmorbius 10y ago
As noted, pandoc. Using pandoc-markdown(5), you have footnotes/endnotes, and can export directly to latex and PDF:
pandoc -f markdown -t latex -o foo.pdf foo.txt
A footnote is indicated in text as [^tag], say [^1].
[^tag]: Is the footnote denoted by the corresponding tag.
[^1]: Is the footnote '1' above.
Multi-line footnotes may be designated by indenting subsequent paragraphs 1 or more spaces.
I've created long (70+ page) documents using only these elements.
At other times, exporting to LaTeX and adding additional structure or elements may prove useful.
https://en.m.wikipedia.org/wiki/Pandoc https://en.m.wikipedia.org/wiki/Pandoc
Example: a markup of Dugald Stewart's "Account of the Life and Times of Adam Smith, LLD" I did a few days ago:
http://pastebin.com/LdKXpHdR http://pastebin.com/LdKXpHdR