I am using (mac) OS X El Capitan 10.11.6 and when I tried to “build the book”, I got the following error:
xelatex: command not found.
I realized I never installed LaTex on my mac, so I tried to download MacTex 2016 from the main site, but that link did not download the package for me! It just displayed some text response.
There is one more step required though. We need to set the
PATH variable. I edited my
~/.bashrc and added
/Library/TeX/texbin to it. Then I restarted RStudio. I was then able to build the book 🙂