jimhester / knitrBootstrap

A framework to create bootstrap styled HTML reports from knitr Rmarkdown.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add option to output to PDF?

khughitt opened this issue · comments

I'm not sure how straight-forward this would be, but would it be possible to add an option to output to PDF? This seems like something Pandoc should be able to handle with a little bit of tweaking.

My ultimate goal is to have a documented knitted once, and converted to both PDF and HTML; this way I can easily archive output at various stages as PDF.

Keith,

You can basically accomplish this with rmarkdown now, just specify multiple output types in the YAML frontmatter. I think you may have to do a separate render call for each output type, although they were talking about having it output all the listed output types at one point.