On 21 November 2017 at 20:58, Shep <[email protected]> wrote:
> Here's my Asciidoc markdown, minimal-book.adoc:
>
> = The Book Title
>
> == The first chapter
> Nec vitae mus fringilla eu vel pede sed pellentesque. Nascetur fugiat
> nobis. Eu felis id mauris sollicitudin ut. Sem volutpat feugiat.
> Ornare convallis urna vitae.
>
> Nec mauris sed aliquam nam mauris dolor lorem imperdiet.
>
> == The second chapter
> Ut suspendisse nulla. Auctor felis facilisis. Rutrum vivamus nec
> lectus porttitor dui dapibus eu ridiculus tempor sodales et. Sit a
> cras. Id tellus cubilia erat.
>
> Quisque nullam et. Blandit dui tempor. Posuere in elit diam egestas
> sem vivamus vel ac.
>
>
> Here's how I build the book:
>
>
>  a2x -fepub -dbook -atoc minimal-book.adoc
>
>
> Resulting ePub doesn't have a TOC!

As I stated in a previous message, Asciidoc only generates TOCs for
xhtml and HTML5.

To be excessively detailed, actually it doesn't, it inserts javascript
that generates the TOC in the browser, so that won't work with docbook
toolchains, which includes epub.

You need to teach the epub toolchain (which I think is an XSLT
transform) to do it, the Sagehill docs I posted before should provide
that information, see
http://www.sagehill.net/docbookxsl/TOCcontrol.html.

Cheers
Lex

>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/asciidoc.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to