Currently I am writing a document. And I have written most in Markdown with some embedded LaTeX.

Example reference

However, now all references are now placed on the page where they are defined. Is it possible to move all references to the last page? So I can have a "sources" section?

  • 1
    Do you mean you want to use endnotes (and not footnotes)? Or that you want to have a bibliography or works cited section?
    – jon
    Apr 13 '16 at 23:59
  • Hi, bibliographies seems to be what I was looking for. I've found this and switched to inline LaTeX. It would be neat if that was possible in MarkDown style, since that is a little less verbose. But it works for now.
    – Matthijn
    Apr 14 '16 at 0:59
  • 1
    Pandoc does bibliographies with its citeproc module. I certainly wouldn't want to do it by hand either....
    – jon
    Apr 14 '16 at 1:40
  • The syntax you used above is for footnotes (not references). For a lot of insight to people new to Pandoc and reference-styling with CSL, see this GitHub repository: github.com/KurtPfeifle/pandoc-csl-testing. May 15 '16 at 17:48

Pandoc can use a number file formats (.bib, .ris, etc.) to generate your bibliography. Have a look at the documentation here. You need to put a header like:

# References #

into your .md document and your references need to look like:

[^ref1]: See @Author1, p. 20.

As noted in the comments, you also need to include --filter pandoc-citeproc to generate the bibliography.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.