I'm looking to emulate some of Latex's features in HTML and render to PDFs. So far, I've come very close using Chrome's "save to PDF" print feature.
I've tried wkhtmltopdf (not great), PhantomJS (OK), Safari (pretty good) and Firefox (almost there) but none come close to Chrome's quality.
There are a lot of details that only Chrome gets right, even though most options run off webkit e.g. font rendering soft-hyphens, math symbols with MathJax and specifying page options like A4 and marginless etc.
What is Chrome's "secret sauce" and how can I get hold of it to automate this process?
Many thanks!