This question about Topic Markup Language and applications: Answered

TOC "table of content" depth with headline 1 and 2, but not 3,4,5,

hy,

I want a table of contents only up to a depth of two, i only found in the dokumentation how to make it from the depth of 2.
I said the other way around:when this ist set: WebPreferences > Toc settings > Set TOC_MIN_DEPTH = 2", then the TOC contains only the chapters with the headline "2" and "3" and so on, but not headline "1", that makes no sense for me. I want to have just the opposite, TOC with the chapters with headline 1 and 2, but not with 3, 4, 5. someone understand me? how to do?

-- KlausMann - 02 Feb 2012

The parameter depth should do it:
%TOC{
depth="2"
}%

Test depth="2"


Test depth="3"


Headline (depth 2)

Another headline (depth 2)

Something interesting (depth 3)

Too deep (depth 4)

Are you still reading? (depth 5)

The end (depth 2)

-- ArthurClemens - 02 Feb 2012

 

QuestionForm edit

Subject Topic Markup Language and applications
Extension
Version
Status Answered
Related Topics
Topic revision: r2 - 02 Feb 2012, ArthurClemens - This page was cached on 12 Nov 2018 - 19:05.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy