Got it. Thanks.

On Wednesday, November 15, 2017 at 7:25:52 AM UTC-6, Lex Trotman wrote:
>
> Hi, 
>
> As defined here http://asciidoc.org/userguide.html#X88 the 
> toc-placement and toc::[] macro only apply to HTML5 and xhtml11 
> backends because Asciidoc generates the output directly, the placement 
> and provision of tocs for docbook based toolchains is toolchain 
> dependent.  Docbook does not have any way of passing that information 
> to the toolchain so asciidoc can't control it.  So PDF puts it where 
> it wants to, and I'm sure the ebub xslt can turn it on, but I don't 
> know how, try http://sagehill.net/docbookxsl/TOCcontrol.html might 
> help. 
>
> Cheers 
> Lex 
>
> 2017-11-15 23:00 GMT+10:00 Shep <[email protected] <javascript:>>: 
> > Here is my Asciidoc: 
> > 
> > 
> > = The Book Title 
> > :numbered: 
> > :toc: 
> > :toc-placement: manual 
> > 
> > 
> > Some text. 
> > 
> > toc::[] 
> > 
> > 
> > == 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. 
> > 
> > 
> > I build using these commands: 
> > 
> > a2x -fpdf -dbook toc_placement.txt 
> > 
> > a2x -fepub -dbook toc_placement.txt 
> > 
> > 
> > For the PDF I get: title page, then revision history, then TOC, "some 
> text" 
> > page, followed by the chapters. 
> > 
> > For the epub I get: title page, "some text" page, chapter 1, chapter 2. 
> No 
> > TOC! 
> > 
> > I'm using Asciidoc version 8.6.9. 
> > 
> > -- 
> > 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] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > 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