Skip to content

ashander/rmarkdown-polyglot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rmarkdown-polyglot

A simple demo of rmarkdown's versatility for academic publishing. (Thanks to pandoc.)

To get this running you just need to install rstudio and pandoc-crossref, and make sure the rmarkdown package is installed in R.

If you have make, you can use the Makefile, otherwise you can run the commands in it from the shell. (Just replace $(SOURCE) with demo_paper). So, to make a tex file, do Rscript -e 'rmarkdown::render("demo_paper.Rmd", "pdf_document")'

Building this will fail unless you install pandoc-crossref, which you need to make equation and figure refs work, anyway. The options eqnPrefix and figPrefix specified above can be changed to your liking. If you don't want to deal with it, just delete the line - pandoc-crossref and the --filter above it.

More Resources

Thanks

To Jon Craton for the document on which apa_styles.docx was based, Rintze Zelle for ecology.csl, Rstudio for rmarkdown, and John MacFarlane for pandoc!

About

demo of rmarkdown's versatility for academic publishing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published