Is this doable? -- TOC Question

55 views
Skip to first unread message

@TiddlyTweeter

unread,
Feb 9, 2019, 8:28:35 AM2/9/19
to tiddly...@googlegroups.com
I find this simple TOC system for Fountain excellent on docs ... 


I'm  not clear how I'd replicate it in TW. Its jump in river. So river needs to be open I think.

Just thoughts
Josiah

@TiddlyTweeter

unread,
Feb 9, 2019, 8:29:07 AM2/9/19
to TiddlyWikiDev
Repeat for email ...


On Saturday, 9 February 2019 14:28:35 UTC+1, @TiddlyTweeter wrote:
I find this simple TOC system for Fountain excellent on docs ... 


I'm  not clear how I'd replicate it in TW. Its jump in river. so river needs to be open I think.

Just thoughts
Josiah

PMario

unread,
Feb 9, 2019, 9:06:10 AM2/9/19
to TiddlyWikiDev
Hi,

Yes, this is doable ... BUT not with the existing TOC implementation.

The existing TOC macros allow users to create toc-elements, that are part of 2 different paths. So a "branch" can have 2 parent tags, which makes it impossible to auto-select the right element in the TOC tree. Because there are 2 or more of them.

-mario

Mohammad Rahmani

unread,
Feb 9, 2019, 2:58:34 PM2/9/19
to TiddlyWikiDev
Josiah,
 I like the way it highlight the topic under focus. It TW I always lost where I was!
Clicking on TOC item and clicking some other hyperlink and then you forget where you were!
I know breadcrumbs can help, but they are no as semantic as having TOC item highlighted.

--Mohammad

TonyM

unread,
Feb 10, 2019, 1:53:13 AM2/10/19
to TiddlyWikiDev
Josiah,

I am not sure I understand the example you shared but from marios comment I belive your answer lies in a custom toc with the kin opperator. I have shared self made tocs in the past because I like demonstrating recursive macros. The kin opperator lets you compare multiple trees and the relationships between two tiddlers can be established, like sibling, aunts/uncles and cousins to name a few.

This is a continuing project of mine, and if you describe how you want the data to appear I am happy to provide a solution. If you can prepare some test data it would help both of us.

Regards
Tony

Reply all
Reply to author
Forward
0 new messages