-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pandoc_args in tutorial #67
Comments
@BruceKendall Thanks for the bug report; rmarkdown has been evolving quickly since the tutorial was posted and it looks like my tutorial is out of date (Now that rmarkdown is on CRAN, I think we can expect RStudio will keep it more stable). You shouldn't need I should update the documentation here too. |
Thanks, that worked. While you are updating the documentation, you might also note that the On Oct 6, 2014, at 10:26 AM, Carl Boettiger <notifications@github.commailto:notifications@github.com> wrote: @BruceKendallhttps://github.com/BruceKendall Thanks for the bug report; rmarkdown has been evolving quickly since the tutorial was posted and it looks like my tutorial is out of date (Now that rmarkdown is on CRAN, I think we can expect RStudio will keep it more stable). You shouldn't need pandoc_args any more, but just declare the bibliography and csl style as 'top-level' items in the yaml, like this: https://raw.githubusercontent.com/cboettig/template/master/manuscripts/manuscript.Rmd Let me know if that's unclear or unsuccessful. I should update the documentation here too. — Bruce Kendall |
I'm trying to use knitcitations in a "clean" install of Rstudio for mac (0.98.1062) and R (3.1.1), and I can't get the bibliography handling using Pandoc (as recommended in your tutorial) to work. I have tried this using both the CRAN version and the development version of knitcitations.
I should note that I am a YAML newbie.
When I paste your YAML header into my Rmd document as is, I get compilation errors; I can fix these by eliminating the whitespace before "pandoc_args". However, the bibliography is not generated. In the call to pandoc displayed in the R Markdown window, it is clear that the options associated with pandoc_args are not actually being passed by Rstudio.
I realize that this is really an Rstudio problem, but I didn't find anything about pandoc_args on the Rstudio support site, and you clearly have been able to get this working. Do you have any suggestions?
I should note that
bibliography()
does generate the bibliography in the default format; I'd just like to be able to get the clean output as suggested by your tutorial.The text was updated successfully, but these errors were encountered: