Hi Stuart, Thanks for the zippy reply. You make a good point - I also can see the ToC on the asciidoc homepage just fine in FF, Konqy, Opera, etc, but not the ToC on the ones that I generate. When viewing the source of each, my doc has a lot of js functions related to generating the ToC whereas the asciidoc page does not (or at least where I could see them), but it did have a lot of links to css docs:
=== <link rel="stylesheet" href="./xhtml11.css" type="text/css" /> <link rel="stylesheet" href="./xhtml11-quirks.css" type="text/css" /> <link rel="stylesheet" href="./layout1.css" type="text/css" /> <script type="text/javascript"> /*<![CDATA[*/ window.onload = function(){generateToc(2)} /*]]>*/ </script> <script type="text/javascript" src="./toc.js"></script> <title>AsciiDoc User Guide</title> === where mine did not. Is that an indication that I'm running the asciidoc command incorrectly? hjm On Monday 13 August 2007, Stuart Rackham wrote: > Hi Harry > > Harry Mangalam wrote: > > Like some others, I have had problems generating a TOC with the > > command: > > > > asciidoc -a toc -a numbered <input file> > > > > This generates a nicely formatted page, but with a blank Table of > > Contents (just the line 'Table of Contents' with no visible ToC. > > I've tested in Konqueror, Firefox, and Opera, all with Javascript > > as enabled as possible, and no Toc. > > > > I can see that there is considerable ToC Javascript embedded in > > the page, but it's not being rendered. > > Take a look at the home page http://www.methods.co.nz/asciidoc/ you > should see the TOC displayed (I've tested with ff, ie6,7 and > Konqueror 3.5.6) > > One possibility is that if your page is taking a while to load > linked images from other sites the JavaScript won't execute till > they're finished loading or timed out. > > Also if you have a slow PC it may take a few of seconds for the > JavaScript to generate the TOC listing. > > > Is there anything else that can force generation of the Visible > > ToC? > > Cheers, Stuart -- Cheers, Harry Harry J Mangalam - 949 856 2847(o) 949 285 4487(c) (email for fax) [EMAIL PROTECTED] [plain text preferred] _______________________________________________ Asciidoc-discuss mailing list Asciidoc-discuss@metaperl.com http://metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss