2007/7/1, Jack D. Pond jack.pond@psitex.com:
The table of contents will automatically create heading tags on a page for reference. These tags will be in the form of underscore replacing spaces in headings. For example
== Test Heading ==
Would create a tag:
Test_Heading
So on a page where you have more than 4 headings and/or forced creation of a TOC named Test Page, you could create a reference as
[[Test Page#Test_Heading]]
You don't actually need to convert the spaces to underscores yourself; writing
[[Test Page#Test Heading]]
will also work (and the same's true for other special characters; no need to worry about those).