Resolves the paths a manual's build script works in, so each one does not
repeat the same root-finding and _bookdown.yml parsing.
Arguments
- prjDir
the manual's root. Defaults to the enclosing RStudio project or git repository, found from
getwd().- bookdownYML
the book's
_bookdown.yml, relative toprjDir. Itsoutput_dirgives the rendered book directory.- create
whether to create the
citationsandfiguresdirectories. The rendered book directory is left to bookdown.