> If somebody else has done/knows how to do this, please jump in and
> say :)
Well, I'd be happy to. After some testing, I found out how. I hope
this encourages young innocent minds to break the bounds that strand
them.
You just need to put this text in the [header] section of your
configuration file
# Put this bloc inside <head></head>
ifdef::toc[]
<script language='javascript'>
# Escape as CDATA to pass validators.
/*<![CDATA[*/
window.onload = function()\{asciidoc.footnotes();{toc?
asciidoc.toc({toclevels});}\}
include::../scripts/asciidoc-xhtml11.js[]
/*]]>*/
</script>
endif::toc[]
# Put this block inside <body></body>
ifdef::toc[]
<div id='header'>
<div id='toc'>
<div id='toctitle'>{toc-title}</div>
<noscript>Necesita habilitar *javascript* para ver bien esta
página.</noscript>
</div>
</div>
endif::toc[]
<div id='content'>
And put this in your [footer] section
</div>
# The above closes the 'content' div opened in the [header] section so
that all your content is enclosed by it.
--
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.