bookdown::gitbook:
  config:
    toc:
      collapse: section
    fontsettings:
      family: serif
      size: 2
bookdown::pdf_book:
  latex_engine: xelatex

bookdown::gitbook:
  config:
    toc:
      collapse: section
    fontsettings:
      family: serif
      size: 2
    edit: https://github.com/jolars/TSAsolutions/edit/master/%s
    download: ["pdf", "epub"]
bookdown::pdf_book:
  latex_engine: xelatex
  keep_tex: yes
bookdown::epub_book: default

Add pdf and epub formats.
Add pdf and epub formats.
