Hello! ...one more question regarding this. As reported, compiling an epub file works with this test file, including generating an index.
However, I also need to be able to generate PDF files from the same .tex files, and when I attempt pdflatex Test.tex I get a ! LaTeX Error: Missing \begin{document}. error. What am I doing wrong? Best regards, - Jürgen > Gesendet: Freitag, 14. Februar 2020 um 17:07 Uhr > Von: "Michal Hoftich" <michal....@gmail.com> > An: "Jürgen Hubert" <jhub...@gmx.de> > Cc: tex4ht <tex4ht@tug.org> > Betreff: Re: Re: [tex4ht] imakeidx index question > > Hi Jürgen, > > > For epub I get the following: > > sorry for the late reply, I was bit exhausted in the last few weeks. > In the meantime, tex4ht make4ht had been updated in both TeX Live and > Miktex, so everything should work now. The attached zip file contains > a TeX file, make4ht build file and generated Epub. It can be compiled > using > > tex4ebook -e mybuild.mk4 -m index Test.tex > > Does it work for you? > > Best regards, > Michal >