I am trying to download the Feynman lectures using wkhtmltopdf. This is the command line that I use:
wkhtmltopdf.exe http://www.feynmanlectures.caltech.edu/I_44.html --javascript-delay 20000 --no-stop-slow-scripts ./out/I_44.pdf
However the MathJAX formula are rendered too small. Here is a picture:
How I can enlarge the rendered equations?
In this topic the suggested solution (as I understand it) would be to add
MathJax.Hub.Config({
CommonHTML: {
minScaleAdjust: 100,
}
});
to the HTML.
But of course downloading the HTML file and modify it before passing it to wkhtmltopdf would be too cumbersome. I would prefer an easier solution if possible.