I would like to make the example I have written in this question to work in Pandoc. When run using pandoc input-tex-file -o output-epub-file
, pandoc produces a nice ebook using this tex file. However, the ebook lacks the indexes. How can I get the indexes in the output ebook?
[Tex/LaTex] Making index in Pandoc generated ebook
ebookindexingpandocpolyglossia
Best Answer
You can add index to you Pandoc generated ebook using the two steps:
{#foo}
syntax added the identifierfor
to the headingMy heading
,we assume the file name was
chap01.md
.we assume the file name was
index.md
.Finally, your can generate the ebook with index using: