pull knitr pdf options out of function
Merge branch 'master' of github.com:rstudio/rmarkdown