Render the generated LaTeX file as an attachment