Bibliography/Footnotes/Comments Listed in TOC
Description
By default elements such as Bibliography/Footnotes/Comments are not listed in Table Of Contents (TOC) created by the [[toc]] tag. You can fix it ;-)
The problem is that these elements do not create headings that are part of the headings structure but rather display their own "titles". They however accept custom strings to act as titles. The trick is to set titles to empty strings ("") and create valid headings "by hand".
Below such structure will be created.
Code
Text1[[footnote]]footnote1[[/footnote]]. Text2[[footnote]]footnote2[[/footnote]].
Text3 [((bibcite label1))]. Text4 [((bibcite label2))].
+ Bibliography
[[bibliography title=""]]
: label1 : full source reference1
: label2 : full source reference2
[[/bibliography]]
+ Footnotes
[[footnoteblock title=""]]
In action
(note: TOC includes all heading in this page)
Text11. Text22.
Text3 [1]. Text4 [2].
Bibliography
1. full source reference1
2. full source reference2
Footnotes
The same can be done with the coments module using
[[module Comments title=""]]
Rate this solution
If you think this solution is useful — rate it up! Or dump it otherwise.
page_revision: 2, last_edited: 1217319051|%e %b %Y, %H:%M %Z (%O ago)





Comments
And here comes the comment line with some words.