Hi Jürgen,

> So, any thoughts on my problem?

sorry for the late reply, work keeps me abnormally busy. The indexing
support in TeX4ht was redone last year, it is now possible to use
Imakeidx package without any indexing4ht. I also found that it is much
more robust to use links to each index entry instead of sections. Here
are test files  that seems to work. The build file uses Xindy, but it
is possible to use Makeindex or Xindex instead.

Best regards,
Michal

Attachment: mybuild.mk4
Description: Binary data

\documentclass[oneside]{scrbook}

%\usepackage[utf8]{inputenc}
\usepackage{chngcntr}% http://ctan.org/pkg/chngcntr
\usepackage{lipsum}
\counterwithout{subsubsection}{subsection}

\ifdefined\HCode
\usepackage[noautomatic]{imakeidx}
\else
\usepackage[]{makeidx}
\fi
% \usepackage{tex4ebook}
\usepackage{xcolor}
\usepackage[hyperindex=true]{hyperref}
\usepackage{graphicx}

\makeindex[intoc=true,name=topic,title=Topics]
\makeindex[intoc=true,name=place,title=Places]

\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}

\begin{document}

\chapter{Testchapter}

\section{Testsection}

\subsection{Testsubsection}

\subsubsection{Story}

Test\index[topic]{Test}

\chapter{Testchapter 2}

\section{Testsection 2}

\subsubsection{Story 2}

Test\index[topic]{Test}

\printindex[topic]
\printindex[place]

\end{document}

Reply via email to