Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
peranti opened this issue Jan 31, 2024 · 3 comments
Open

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

peranti opened this issue Jan 31, 2024 · 3 comments
Assignees

Comments

@peranti
Copy link

peranti commented Jan 31, 2024

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.

@ismayc
Copy link
Owner

ismayc commented Jan 31, 2024

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:

@peranti
Copy link
Author

peranti commented Feb 1, 2024

Thanks @ismayc for the links.

output:
  thesisdown::thesis_word:
    split_by: section

It did not work for me.

@ismayc
Copy link
Owner

ismayc commented Feb 1, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants