Skip to content
Discussion options

You must be logged in to vote

When rendering a book, is it possible to have other output formats outputted for each .qmd file as specified in the format argument?

That's not possible. It's unlikely to be possible in the near-future as well, because the single-file output is a quite different code path, and the intermediate file that's passed to knitr in book format will in general be different for books and individual files. What knitr produces is also different depending on the format: consider image formats supported in PDF vs HTML (or the fact that some packages emit interactive widgets in HTML vs static images in PDF books).

From what I understand, you want to do this to accelerate your rendering ("These files t…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@mcanouil
Comment options

mcanouil Dec 7, 2023
Collaborator

@mcanouil
Comment options

mcanouil Dec 7, 2023
Collaborator

@kylebutts
Comment options

@mcanouil
Comment options

mcanouil Dec 7, 2023
Collaborator

Comment options

You must be logged in to vote
1 reply
@mcanouil
Comment options

mcanouil Dec 7, 2023
Collaborator

Answer selected by mcanouil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants