ismayc / thesisdown

An updated R Markdown thesis template using the bookdown package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to split the RMD output per each section?

peranti opened this issue · comments

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.

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.