This is a follow-up of my previous question here.
It uses the files provided by @Michal.h21. I have modified the input file as below:
\documentclass[ebook,12pt,oneside,openany]{memoir}
\begin{filecontents}{test.bib}
@book{Hiemenz,
author={Hiemenz},
title={Polymer Chemistry}
}
\end{filecontents}
\usepackage{lipsum}
\usepackage[backend=biber,hyperref=auto,backref=true]{biblatex}
\bibliography{test}
\usepackage{imakeidx}
\makeindex[intoc=true,columns=1,noautomatic]
\usepackage[hyperindex=true]{hyperref}
\title{Book}
\author{Author}
\date{}
\begin{document}
\maketitle
\frontmatter
\tableofcontents \newpage
\mainmatter
\chapter{C1}
aword\index{aword}
\lipsum \newpage
Here comes a quotation \cite{Hiemenz}.
\chapter{C2}
bword\index{bword}
\lipsum \newpage
\backmatter
\phantomsection
%\addcontentsline{toc}{chapter}{Bibliography}
\printbibliography \newpage
\phantomsection
\addcontentsline{toc}{chapter}{Index}
\indexprologue{Concepts}
\printindex
\end{document}
The configuration and build files are the same as the previous question and again provided by @Michal.h21.
The main issues are:
- The \indexprologue command is correctly handled in the pdf:
However, it is ignored in the tex4ebook run.
I think there is inconsistent behavior in the intoc option and the \addcontentsline{toc}{chapter}{Index} option. The intoc option is ignored in the tex4ebook run.
The index link in the TOC points to a blank page rather than to where the index header is.
It is correct in the pdf file.
- The use of an automatic option in the makeindex command doesn't produce hyperlinks:
Using the noautomatic option works. This is not a big issue, but it is different to how a normal latex run behaves and it seems strange.
Have others experienced these issues, and are there any suggested fixes or ways to get consistent results?
I suspect this will fall on @Michal.h21 and so I will thank him in advance.