added initial support for producing a PDF through LaTeX