For the Kindle book I'm producing, I would like to have the .ncx ebook table of contents and an html table of contents as part of the book.
However, TeX4ebook doesn't include the html TOC (in this example, toctestli1.html) in the epub. Is there a way to get it to do so?
Here is my MWE:
\documentclass[]{book}
\begin{document}
\tableofcontents
\chapter{One}
This is one\par
tra la la\par
\chapter{Two}
This is two\par
boodledy-boodledy\par
\end{document}
Using this config file:
\Preamble{xhtml}
\CutAt{chapter}
\begin{document}
\EndPreamble
(Incidentally, tex4ebook seems to just discard the html toc, because it will include subsections in the .ncx toc, even when they are excluded from the html toc)
Also, I do not have enough reputation to add TeX4ebook as a tag, but perhaps someone else could do so? I think I will have a number of other questions related to it. Thanks!
\section*{Test1}Test1followed by\section{Test2}Test2will lead to this (tex4ebook -f mobi foo). I see files fooli*.html including these unnumbered sections. tex4ebook version 0.1d – Yai0Phah Jan 16 '19 at 17:24tex4ebook -f mobi. (it is very weird that the option-f mobialso changes the output epub) – Yai0Phah Jan 17 '19 at 09:56tex4ebookversion to CTAN last week, it is inclued in TeX Live already. – michal.h21 Jan 17 '19 at 10:05