Skip to content
Prev 9613 / 21307 Next

[Bioc-devel] Is it OK for Rmd package vignettes to be rendered as PDF?

R CMD build, which is what triggers vignette  building, only supports one
output file (HTML or PDF) per vignette. It will basically ignore duplicate
output formats. This is by design / legacy reasons. Technically it wouldn't
be hard to add support for multiple output formats, but that would require
changes to R itself - I think it could be a useful feature.

A related question is where some prefer to have access to also the
intermediate plain Markdown / TeX rather than the final HTML / PDF product,
e.g. because they work better with screen readers.

The only way I see you can have a PDF and a HTML version at the same time
is to create to identical vignettes each outputting a specific format.

Henrik
On Aug 17, 2016 12:17, "Ramon Diaz-Uriarte" <rdiaz02 at gmail.com> wrote: