Closed sgaichas closed 4 years ago
The pdf is built by travis using the code below in the .travis.yml. PDF can be downloaded here so there is no need to build local.
script:
- Rscript -e "bookdown::render_book('index.Rmd', 'bookdown::gitbook')"
- Rscript -e "bookdown::render_book('index.Rmd', 'bookdown::pdf_book')"
Options for pdf book do not correctly assign the bookdown link to the pdf in repository (it should be in the _book directory, but link points to master directory, and still doesn't work when the _main.pdf is placed there). Current code at the end of _output.yml:
Online suggestions address the issue when implementing from a docs folder but we are implementing from a gh-pages branch via Travis so our situation is different.
When solved, document in how-to vignette (issue #56)