Testing HTML Export with make4ht
2 years ago
Creative Commons CC BY 4.0
An experimental hackety hack to export HTML from LaTeX on Overleaf, using
- Math is exported as MathML and will be rendered using MathJax;
- EPS and PDF graphics are converted to PNG;
- JPG and PNG graphics are used as-is;
- TikZ drawings are exported as SVG.
This is provided 'as is' and is not officially supported by Overleaf.
In this sample set-up, the HTML export will only be triggered if the project is set to compile with pdfLaTeX. It'll take longer than usual to compile your project; so probably a good idea to only add the
latexmkrc file that triggers the HTML export when you're quite down with writing.
You can download the generated files using the steps described here.
make4ht does not work well with
fontspec and possibly other packages. This is an experimental hackety hack!