On 27 August 2012 00:20, ping <[email protected]> wrote: > hi experts: > I tried FAQ 60 to reposition my toc but it doesn't look work for me... > > .faq60 > ---- > 60. Is it possible to reposition the Table of Contents in HTML outputs? > > By default the xhtml11 and html5 backends auto-position the TOC after the > header. You can manually position the TOC by setting the toc-placement > attribute value to manual and then inserting the toc::[] block macro where > you want the TOC to appear. For example, put this in the document header: > > :toc: > :toc-placement: manual > > The put this where you want the TOC to appear: > > toc::[] > ---- > > .what I tried > ---- > > //put these on header > > = my header > > :numbered: > :toc: > :toc-placement: manual > > == section1 > > == section2 > toc::[] > >
The attached works for me in asciidoc 8.6.8? More information needed. Cheers Lex > ---- > > > I tried quite a few more times to put toc::[] in different other places, no > luck... > am I missing anything here? > > thanks! > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/asciidoc?hl=en. > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
<<< text/html; charset=US-ASCII; name="toc_placement.html": Unrecognized >>>
toc_placement.asciidoc
Description: Binary data
