Fix #1831: Check for rst2latex and pdflatex and make the relevant bits of the manual fail to build cleanly if they are missing