bookdown::gitbook:
  css: style.css
  config:
    toc:
      before: |
        <li><a href="./">Open Forensic Science in R</a></li>
      after: |
        <li><a href="https://github.com/rstudio/bookdown" target="blank">Published with bookdown</a></li>
    sharing:
      github: yes
      facebook: no
    # edit: https://github.com/sctyner/OpenForSciR/edit/master/content/%s
    # download: "pdf"
    
bookdown::pdf_book:
  includes:
    in_header: preamble.tex
  latex_engine: xelatex
  citation_package: natbib
  keep_tex: yes
# bookdown::epub_book: default
