Rafael Santos
Rafael Santos

Reputation: 473

Is it possible to prevent creation of epub and pdf versions of book with bookdown?

I've started to play with bookdown (RStudio, Mac) to write some lecture notes, that I will change a lot during the course. Just for keeping things tidy, I would prefer not to create epub or pdf versions of the notes, or, alternatively, hide the download icon. Is this possible? Thanks.

enter image description here

Upvotes: 3

Views: 209

Answers (1)

Martin C. Arnold
Martin C. Arnold

Reputation: 9668

I think the easiest way to prevent that epub and pdf versions are produced (assuming that you're working in a bookdown RStudio project) is to check bookdown::gitbook in the build pane an then hit Build Book.

enter image description here

You may also hide the download button by setting download: no in the _output.yml file:

bookdown::gitbook:
  config:
    download: no

Upvotes: 1

Related Questions