1. David Lovell

    Many thanks Tom for this excellent public service announcement! I’ve just figured I need to move from Rmarkdown to Sweave to make some well-formatted Supplementary Materials. Your post has helped immensely.

  2. Simon Kiss

    Hi this looks really great, but is there *any* way to hack this to make it run Biber? I’ve got a style file that only uses biber

  3. maja

    Hi! Thanks for this, really helpful! I’m having trouble though trying to get it to work with natbib. If I understood you correctly I should be able to simply do


    instead of

    \usepackage[backend=bibtex, sorting=none]{biblatex}

    but this is giving me errors? Any help would be greatly appreciated!

    • tom

      Hi Maja,

      You’ll have to change a couple of more lines, because BibTeX uses a different set of macros to generate the bibliography.

       % replace these lines
      % by these (where the bibliography should be printed)

      Also, I couldn’t get RStudio to automatically generate the bibliography, but had to go to the terminal and type: bibtex xyz, pdflatex xyz, pdflatex xzy (with xyz being the tex filename).

      HTH, Tom

      • maja

        Thanks Tom! Not sure what happened, I was having problems yesterday with the second bit like you, but now it seems to work i.e. directly from RStudio (tjhat is using filecontents to create the file)!?
        Anyway, sees to be working fine, thanks for your quick reply and great blog!

Leave a Reply