# Start a new discussion

## Not signed in

Want to take part in these discussions? Sign in if you have an account, or apply for one below

## Site Tag Cloud

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

• CommentRowNumber1.
• CommentAuthorJonAwbrey
• CommentTimeOct 6th 2009
• (edited Oct 6th 2009)

Added a budget of links from the FAQ to the Eunuch-Code Data-Bank.

For some odd reason, the TOC generator is not picking up the first heading — ???

• CommentRowNumber2.
• CommentAuthorAndrew Stacey
• CommentTimeOct 6th 2009

I'm not sure why the TOC isn't picking up the first heading (does it on other pages), but from a page layout point of view, the TOC should come after the title. In this case, the first heading (Frequently Asked Questions) should be viewed as the title and thus not something that occurs in the TOC.

Can't be bothered to slurp back through the history to see who complained about the lack of mathlap and its friends, but it's installed now.

• CommentRowNumber3.
• CommentAuthorTobyBartels
• CommentTimeOct 6th 2009

does it on other pages

No, it doesn't, which is why Urs writes a # Contents # header for it to eat.

• CommentRowNumber4.
• CommentAuthorAndrew Stacey
• CommentTimeOct 6th 2009

Looking at the HowTo where the first header is included in the table of contents, I suspect that the TOC command does not include top level headers. Some experimentation needed here, I deem.

• CommentRowNumber5.
• CommentAuthorMike Shulman
• CommentTimeOct 6th 2009

I think that it doesn't include a # header if there is only one such header on the page. If there are multiple # headers, then it includes all of them (eg SEAR), but probably if there is only one # header it assumes that to be a page title and thus not necessary to include in the contents.

• CommentRowNumber6.
• CommentAuthorJonAwbrey
• CommentTimeOct 6th 2009

Maybe it has something to do with Russell's ParaTocs …

• CommentRowNumber7.
• CommentAuthorTobyBartels
• CommentTimeOct 6th 2009

OK, so we included a contents header why? Ah, because the contents won't show up at all if there is no header before them!

So is this an argument for making our headers start with ## instead of #, with a header # Contents to be ignored?

So contents are included with:

# Contents
* tic
{: toc}

• CommentRowNumber8.
• CommentAuthorMike Shulman
• CommentTimeOct 7th 2009

I've gotten tables of contents without a header before them.

• CommentRowNumber9.
• CommentAuthorTobyBartels
• CommentTimeOct 7th 2009

I'm thoroughy confused then. Do you know an example?

• CommentRowNumber10.
• CommentAuthorJonAwbrey
• CommentTimeOct 7th 2009
• CommentRowNumber11.
• CommentAuthorTobyBartels
• CommentTimeOct 7th 2009

Thanks, Jon. That doesn't match my experiments at the Sandbox; I'm officially confounded.

• CommentRowNumber12.
• CommentAuthorAndrew Stacey
• CommentTimeOct 7th 2009

Use the source, Luke:

# If there is only one big header, then assume
# it is the master
if s.section_children.size == 1
s = s.section_children.first
end

• CommentRowNumber13.
• CommentAuthorJonAwbrey
• CommentTimeOct 14th 2009
• (edited Oct 14th 2009)

The WebTeX link on the itex reference card is broken and I couldn't find a WebArchive copy — is there a replacement link?

• CommentRowNumber14.
• CommentAuthorMike Shulman
• CommentTimeApr 24th 2018

Mention new “Cite” links in FAQ entry on citing the nLab.