I am trying to install make4ht on a system running MiKTex. The recommended instructions https://d800fotos.wordpress.com/2015/01/19/create-e-books-from-latex-tex-files-ebook-aus-latex-tex-dateien-erstellen/ are specific to TexLive and so I am looking for some help getting this setup. I believe the root of the problem is either that MiKTeX doesn't have texmf directory or I can't figure out how to run the files themselves.
Instruction summary: I downloaded the zip files and unpacked them in the recommended directory structure:
.../texmf/scripts/lua/make4ht/[root zip extracted]
.../texmf/tex/latex/tex4ebook/[root zip extracted]
I added .../texmf/ to the roots of MikTex settings and when I click apply I see a MiKTeX maintenance dialog box scan the files.
Next to make make4ht runnable (as per the answer below) - C:\Program Files\MiKTeX 2.9\miktex\bin\x64\make4ht.bat only contains
texlua "F:\...\texmf\scripts\lua\make4ht\make4ht" %*
Sample Tex File: eqntests.tex
\documentclass{report}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\text{C~=~}{\frac{a}{b}}
\end{equation}
\end{document}
To compile my tex file using make4ht I run
FOR /R %%A IN (*.tex) DO ("make4ht.bat" "%%~nxA")
But I get an error message as described: [string "Make:htlatex{}..."]:1: attempt to index global 'Make' (a nil value) .../texmf/scripts/lua/make4ht/mkutils.lua:281: assertion failed!
I appear to be missing the Make program. What required program provides the Make command?
Makeis part ofmake4htand it is defined inmake4ht-lib.luafile. is this file missing? – michal.h21 Feb 01 '15 at 18:52...\texmf\scripts\lua\make4ht\make4ht-lib.luado I need to create a build bat file for all*.luafiles? – EngBIRD Feb 01 '15 at 22:10make4ht. doeskpsewhich make4ht-lib.luafind anything? (if you run it from different directory than make4ht is installed) – michal.h21 Feb 01 '15 at 22:24make4ht-lib, maybe it could help (it used method which is deprecated in Lua 5.2). you can try to upgrade make4ht – michal.h21 Feb 01 '15 at 23:41svg, update your previous question with yourmk4and config files, as well with possible error messages from compilation – michal.h21 Feb 02 '15 at 07:29