I need to HTMLize several largeish, complex LaTeX documents. Looking around, I see praise for make4ht. But there are several snags, that the documentation states can be sidestepped by a .mk4 configuration file for the file. Reading the documentation bundled with it in TeXlive I wrote a test configuration file poly-zero.mk4 for poly-zero.tex like the documentation seems to suggest:
Make:latexmk
(I fully intend to add more to this). But I just get:
Output dir:
Compiler: latex
Latex options: -jobname=poly-zero
tex4ht.sty : xhtml,
tex4ht
build_file poly-zero.mk4
Output format html5
Using build file poly-zero.mk4
[string "Make:latexmk_build..."]:2: function arguments expected near <eof>
/usr/share/texlive/texmf-dist/scripts/make4ht/mkutils.lua:417: assertion failed!
So the documentation-mandated Make:latexmk is dead wrong.
Any reliable (hopefully also complete) source on how to configure make4ht? I'm completely ignorant of lua, BTW.
-umean?) How to invoke extensions (what istidy? How do I get it to decompose ligatures -- here they just diissapear? The list is long. The examples given have no explanation of what they do (it seems they are silly uses of the machinery, not anything remotely realistic). Get rid of all the talk abouthtlatexproblems (or move that to an appendix), I want to usemake4htprecisely because I don't want to meddle with those. Give some configurations for realistic tasks (want HTML + MathML, UTF-8, images in e.g. SVG, in directory so-and-so). – vonbrand Aug 24 '20 at 22:25README.mdfile is a huge step in the right direction, the documentation shipped with TeXlive seems outdated. – vonbrand Aug 24 '20 at 22:45