From: Reini U. <ru...@x-...> - 2004-03-09 13:11:46
|
> Joby Walker schrieb: >> Nice catch. >> This could be resolved by appending an (invisible) index number to >> every TOC link/anchor. Reini Urban schrieb: > yes, CreateToc is not quite stable enough. > I'll have more time on sunday for this and more. CreateToc is now finished. Instead of "x20." I used "_" for spaces. This is not reversible, but anchors doesn't need to be reversed. >> Whit Blauvelt wrote: >> >>> On Tue, Mar 02, 2004 at 07:24:12PM +0100, Reini Urban wrote: >>> >>>> I fixed now CreateToc to link to the headers and >>>> optionally link back to the TOC. >>> >>> >>> >>> >>> Nice addition. >>> >>> One thing the current scheme misses is when two different headings >>> have the >>> same subheading. So if you have a page with sections like: >>> >>> Category One >>> Examples >>> >>> Categore Two >>> Examples >>> >>> - the two Examples subcategories try to set up links to the headers >>> like: >>> >>> <li><a href="InPage#Categoryx20.1" class="named-wiki" >>> title="InPage">Category 1</a></li> >>> <li><a href="InPage#Examples" class="named-wiki" >>> title="InPage">Examples</a></li> >>> <li><a href="InPage#Categoryx20.2" class="named-wiki" >>> title="InPage">Category 2</a></li> >>> <li><a href="InPage#Examples" class="named-wiki" >>> title="InPage">Examples</a></li> -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |