I want to emulate some of the latex functions in HTML and render to PDF files. So far, I have used the Print Save to PDF feature of Chrome very closely.
I tried wkhtmltopdf (not big), PhantomJS (OK), Safari (pretty good) and Firefox (almost there), but no one is close to Chrome quality.
There are many details that only Chrome becomes right, even if most of the options start webkit, for example. font, rendering soft hyphens, mathematical symbols with MathJax and specifying page parameters such as A4 and borderless, etc.
What is Chrome’s secret sauce and how to get it to automate this process?
Thank you very much!
source share