Right I’m a bit tired, mainly due to a thunderstorm rather than the baby!
Thanks for the PR @jlmitch5, I’ve commented a bit there, but I thought I’d discuss the Latex issues here.
If you’re trying to diagnose Latex errors it can be much easier to manually run the (Xe)Latex step, like so:
cd <your teletype dir>
cd docs
../utils/docs.py teletype.tex
xelatex teletype.tex
xelatex teletype.tex # if the first step has no errors
If you get errors xelatex will inform you interactively (type X at the interactive prompt to exit).
Paste the errors somewhere (gist?) along with info about your Python version, Pandoc version and you Tex distro and I will try and help diagnose.
You will also end up with a large quantity of build artefacts, I find a quick rm teletype.* in the docs directory sorts things out once you’ve finished.
Once my life calms down a bit… and I’m in a masochistic mood, I will try and get PDF generation tested in our Travis CI script.