We use LaTeX to generate the PDF. You could try pandoc if you're going from HTML (or markdown) to PDF.
We use LaTeX to generate the PDF. You could try pandoc if you're going from HTML (or markdown) to PDF.