Working latex manual generation.

Edits to the RST so that make latex and make latexpdf work.