[pmwiki-users] Largest heading not included in Handy Table Of Content

Daniel Andersson list at daniel-gr-andersson.com
Wed Jan 19 08:04:13 CST 2011


Aha I completely missed that :)

That's weird default behavior to me, but OK.

I updated the config.php with
$HandyTocIgnoreSoleH1 = false;

That solved it. Thank you Gilles.

/Daniel


On 01/19/2011 12:40 PM, ABClf wrote:
> Hello,
>
> Try using ignoreh1=false param (see option paragraph in
> Cookbook/HandyTableOfContents)
> (:toc ignoreh1=false:)
>
> Gilles.
>
> 2011/1/19 Daniel Andersson<list at daniel-gr-andersson.com>:
>>
>>
>> Hi all,
>>
>> The largest heading is not included in the table of content using
>> HandyTableOfContent.
>>
>> http://www.pmwiki.org/wiki/Cookbook/HandyTableOfContents
>>
>>
>>
>> Neither of these wiki code examples work:
>>
>>
>> (:htoc start=1:)
>>
>> !Heading 1
>>
>> !!Heading 2
>>
>> !!!Heading 3
>>
>> (:htoc:)
>>
>> !Heading 1
>>
>> !!Heading 2
>>
>> !!!Heading 3
>>
>>
>> (:htoc start=1:)
>>
>> = Heading 1 =
>>
>> == Heading 2 ==
>>
>> === Heading 3 ===
>>
>> (:htoc:)
>>
>> = Heading 1 =
>>
>> == Heading 2 ==
>>
>> === Heading 3 ===
>>
>>
>>
>>
>>
>> An ugly workaround is to to include an heading before the first one
>> largest heading:
>>
>> (:htoc:)
>>
>> = Heading 1 =
>>
>> = Heading 1 =
>>
>>
>>
>> (:htoc:)
>>
>> = =
>>
>> = Heading 1 =
>>
>>
>>
>> I'm running PmWiki 2.2.22 on Debian 6 Squeeze.
>>
>> It doesn't make any difference if I enable or disable creole or not.
>>
>> Any ideas how to fix this?
>>
>>
>>
>> Thanks in advance
>>
>> Daniel Andersson
>>
>> _______________________________________________
>> pmwiki-users mailing list
>> pmwiki-users at pmichaud.com
>> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>>
>
>
>




More information about the pmwiki-users mailing list