Bookdown PDF generation

bookdown

#1

I'm having a problem getting my bookdown to output a pdf file. I've followed this thread and installed tinytex and most everything else.

My YML files are:

index.Rmd

--- 
title: "Qualifying exam"
author: "Niklas Lollo"
date: "`r Sys.Date()`"
description: ''
documentclass: book
github-repo: niklaslollo/quals
bibliography: [quals.bib, packages.bib]
biblio-style: apalike
link-citations: true
colorlinks: true
knit: "bookdown::render_book"
site: bookdown::bookdown_site
subtitle: Literature Review & Prospectus
cover-image: images/mushroom.jpg
---

_output.yml

bookdown::gitbook:
  split_by: rmd
  split_bib: TRUE
  highlight: tango
  config:
    download: [pdf]
    edit: 
        link: https://github.com/niklaslollo/quals/edit/master/%s
    sharing:
      facebook: no
      github: yes
    toc:
      collapse: section
      scroll_highlight: yes
      before: |
             <p>Niklas Lollo's Qualifying Exam </p>
      after: |
              <li><a href="https://github.com/rstudio/bookdown" target="blank">Published with bookdown</a></li>
    toolbar:
      position: static
      search: yes
      fontsettings:
        theme: white
        family: sans
        size: 2
bookdown::pdf_book:
  latex_engine: xelatex
  citation_package: natbib
  keep_tex: yes

_bookdown.yml

book_filename: quals
output_dir: docs
delete_merged_file: true
repo: https://github.com/niklaslollo/quals/
language:
  ui:
    chapter_name: "Chapter "
rmd_files: ["index.Rmd",
            "01-introduction.Rmd",
           "02-prospectus.Rmd",
           "03-sts.Rmd",
           "04-governance.Rmd",
           "05-business.Rmd",
           "06-methods.Rmd",
           "07-references.Rmd"]

When I click on the download PDF link of the bookdown site I receive this error:
Error - The requested URL was not found on this server. http://..../rmd_output/2/quals.pdf

This means (to me) there is no pdf generated when I render the book, which is confirmed when I look through my output directory. What do I need to change?

Thanks!


No pdf output in bookdown-demo