MoinMoin TableOfContents

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 30, 2007 9:51 AM, Dag Wieers <dag@xxxxxxxxxx> wrote:
>
> I constantly find myself fighting the wiki syntax. Today the problem is
> that I want a TableOfContents that does NOT include the page title.
>
> To be honest, I do not understand why the page title (level 1) is included
> in the TOC, and why it does not appear in the head-title (<head><title>).
>
> I found with Google that there is a syntax like:
>
>         [[TableOfContents(4,2)]]
>
> instead of
>
>         [[TableOfContents(2)]]
>
> Probably I am using it wrong, can some one help me with:
>
>         http://wiki.centos.org/HowTos/Laptops/IBM/Thinkpad-T43

I've fixed it on that page. The number for the TableOfContents macro
is the number of levels shown in the TOC, not the start level. (As far
as I understand it).

The start the TOC on a lower level add this to the page : #pragma
section-numbers 2

This apparently means that the TOC starts from level 2.

Regards,
Tim

-- 
Tim Verhoeven - tim.verhoeven.be@xxxxxxxxx - 0479 / 88 11 83

Hoping the problem  magically goes away  by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Users]     [CentOS Virtualization]     [Linux Media]     [Asterisk]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]     [Project Hail Cloud Computing]

  Powered by Linux