Improve ebook generation (toc, ...)