thesisdown
thesisdown copied to clipboard
Is it possible to split the RMD output per each section?
This is not a bug but a query.
Is it possible to direct multiple sections of the same Rmarkdwon file into multiple word_document
files (one each per section)? Currently, the output is only one, which contains all sections in one file.
I'm not so sure on that. It seems like maybe bookdown
has some ways to do this and so it might work with thesisdown
too:
- https://stackoverflow.com/questions/46814182/bookdown-is-it-possible-to-split-by-at-the-subsection-level
- https://community.rstudio.com/t/bookdown-how-to-break-chapters-into-multiple-rmd-files/14412
Thanks @ismayc for the links.
output:
thesisdown::thesis_word:
split_by: section
It did not work for me.
Hmm, it might not work as an out of the box solution. I asked ChatGPT, and it provided some guidance here. You might just have to manually create the Word files from your chapter file Doc outputs, or write an R script like suggested to create section files that you then knit separately.