[tex4ht] imakeidx index question

"Jürgen Hubert" jhubert at gmx.de
Mon Jan 27 19:32:47 CET 2020


Hello Michal

> Von: "Michal Hoftich" <michal.h21 at gmail.com>

>
> Hi Jürgen,
> 
> > It does do that. Unfortunately, while both .ind files exist, the index entries have a value of "0" instead of the proper subsubsection...
> >
> > https://drive.google.com/open?id=131oXr_4-VTni1VKwkjUXuiu9AdORvu7E
> >
> > But maybe we should wait until the updated package becomes available before we try to solve this - it's probably not the best use of your time to try and come up with temporary fixes for an issue that isn't all that urgent right now.   ;)
> 
> The updated make4ht is included in TeX Live now. But the zero pages
> seems like an issue on TeX side.
> 
> 
> > While it is not necessary for compiling the epub file, pdflatex doesn't work without it (and I need to compile PDFs as well from the base .tex files). Is it okay if I just leave it in (it's not included in these test files right now), or does it interfere with the epub compiling process?
> >
> 
> the build file shouldn't be used by pdflatex at all, what kind of
> error do you get? You definitely shouldn't use this build file now, as
> it overwrites xindy command from make4ht.

For epub I get the following:

-------------------
C:\Users\Computer\Google Drive\Writing\LaTeXTest\Test1>tex4ebook -lm index -e mybuild.mk4 Test.tex
[STATUS]  tex4ebook: Conversion started
[STATUS]  tex4ebook: Input file: Test.tex
This is LuaTeX, Version 1.11.2 (MiKTeX 2.9.7250 64-bit)
 restricted system commands enabled.

luaotfload | main : initialization completed in 1.070 seconds
This is LuaTeX, Version 1.11.2 (MiKTeX 2.9.7250 64-bit)
 restricted system commands enabled.

luaotfload | main : initialization completed in 1.081 seconds
This is LuaTeX, Version 1.11.2 (MiKTeX 2.9.7250 64-bit)
 restricted system commands enabled.

luaotfload | main : initialization completed in 1.089 seconds
This is LuaTeX, Version 1.11.2 (MiKTeX 2.9.7250 64-bit)
 restricted system commands enabled.

luaotfload | main : initialization completed in 1.094 seconds
        1 Datei(en) kopiert.
        1 Datei(en) kopiert.
        1 Datei(en) kopiert.
        1 Datei(en) kopiert.
        1 Datei(en) kopiert.
        1 Datei(en) kopiert.
        1 Datei(en) kopiert.
        1 Datei(en) kopiert.
HTML Tidy for Windows released on 25 March 2009
Der Befehl "zip" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
        1 Datei(en) kopiert.
[STATUS]  tex4ebook: Conversion finished
------------------------

For the PDF I get the following:

------------------------
C:\Users\Computer\Google Drive\Writing\LaTeXTest\Test1>pdflatex Test.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7250 64-bit)
entering extended mode
(Test.tex
LaTeX2e <2019-10-01> patch level 3
("C:\Program Files\MiKTeX 2.9\tex/latex/koma-script\scrbook.cls"
Document Class: scrbook 2019/12/23 v3.28 KOMA-Script document class (book)
("C:\Program Files\MiKTeX 2.9\tex/latex/koma-script\scrkbase.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/koma-script\scrbase.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/graphics\keyval.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/koma-script\scrlfile.sty")))
("C:\Program Files\MiKTeX 2.9\tex/latex/koma-script\tocbasic.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/koma-script\scrsize11pt.clo")
("C:\Program Files\MiKTeX 2.9\tex/latex/koma-script\typearea.sty"))
("C:\Program Files\MiKTeX 2.9\tex/latex/chngcntr\chngcntr.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/lipsum\lipsum.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/l3kernel\expl3.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/l3kernel\expl3-code.tex"
("C:\Program Files\MiKTeX 2.9\tex/latex/l3kernel\l3deprecation.def"))
("C:\Program Files\MiKTeX 2.9\tex/latex/l3backend\l3backend-pdfmode.def"))
("C:\Program Files\MiKTeX 2.9\tex/latex/l3packages/xparse\xparse.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/lipsum\lipsum.ltd.tex"))
("C:\Program Files\MiKTeX 2.9\tex/latex/base\makeidx.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/xcolor\xcolor.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/graphics-cfg\color.cfg")
("C:\Program Files\MiKTeX 2.9\tex/latex/graphics-def\pdftex.def"))
("C:\Program Files\MiKTeX 2.9\tex/latex/hyperref\hyperref.sty"
("C:\Program Files\MiKTeX 2.9\tex/generic/ltxcmds\ltxcmds.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/iftex\iftex.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/pdftexcmds\pdftexcmds.sty"
("C:\Program Files\MiKTeX 2.9\tex/generic/infwarerr\infwarerr.sty"))
("C:\Program Files\MiKTeX 2.9\tex/generic/kvsetkeys\kvsetkeys.sty")
("C:\Program Files\MiKTeX 2.9\tex/generic/kvdefinekeys\kvdefinekeys.sty")
("C:\Program Files\MiKTeX 2.9\tex/generic/pdfescape\pdfescape.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/hycolor\hycolor.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/hycolor\xcolor-patch.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/oberdiek\hopatch.sty")))
("C:\Program Files\MiKTeX 2.9\tex/latex/letltxmacro\letltxmacro.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/auxhook\auxhook.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/kvoptions\kvoptions.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/hyperref\pd1enc.def")
("C:\Program Files\MiKTeX 2.9\tex/generic/intcalc\intcalc.sty")
("C:\Program Files\MiKTeX 2.9\tex/generic/etexcmds\etexcmds.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/url\url.sty")
("C:\Program Files\MiKTeX 2.9\tex/generic/bitset\bitset.sty"
("C:\Program Files\MiKTeX 2.9\tex/generic/bigintcalc\bigintcalc.sty"))
("C:\Program Files\MiKTeX 2.9\tex/generic/atbegshi\atbegshi.sty"))
("C:\Program Files\MiKTeX 2.9\tex/latex/hyperref\hpdftex.def"
("C:\Program Files\MiKTeX 2.9\tex/latex/atveryend\atveryend.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/rerunfilecheck\rerunfilecheck.sty"
("C:\Program Files\MiKTeX 2.9\tex/generic/uniquecounter\uniquecounter.sty")))
("C:\Program Files\MiKTeX 2.9\tex/latex/graphics\graphicx.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/graphics\graphics.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/graphics\trig.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/graphics-cfg\graphics.cfg")))
Writing index file Test.idx

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.18 \makeindex[
                intoc=true,name=topic,title=Topics]
---------------------------------------------------

Best regards,

- Jürgen



More information about the tex4ht mailing list.