I was wondering if it was possible to render a single chapter (a single .qmd file) of my quarto book as a standalone word doc (.docx). I have tried adding to the YAML of the individual quarto doc to read:
but when rendering that document (whether rendering with the render button in Rstudio or in the CLI using quarto render proposal.qmd). I also tried specifying the rendering of just the docx with quarto render proposal.qmd --to docx and all it does is render out the entire book in the output directory rather than just that one chapter.
I believe you would need to use a Quarto profile (Quarto - Project Profiles) to change the project type to default instead of Book.
That way each document would be seen as independent and not part of the book. Though some Book specific feature would not work.
Otherwise, you need to still use a profile, but maybe filter the Render target to only have your docx version the chapter you want ? Quarto - Project Basics