Thank you. I see the change in the code, and your explanation helps me 
understand how the code works with the changes that you recommended.

On Thursday, October 1, 2020 at 7:08:57 AM UTC-4 TW Tones wrote:

> Pieter-Michiel,
>
> You are using the macro $name="toc-tabbed-internal-nav", search with the 
> advanced search shadows and you find it defined in $:/core/macros/toc
>
> At the bottom you can see the definition of toc-tabbed-internal-nav
>
> \define toc-tabbed-internal-nav(tag,sort:"",selectedTiddler:
> "$:/temp/toc/selectedTiddler",unselectedText,missingText,template:"")
> <$linkcatcher to=<<__selectedTiddler__>>>
>   <$macrocall $name="toc-tabbed-external-nav" tag=<<__tag__>> sort=<<
> __sort__>> selectedTiddler=<<__selectedTiddler__>> unselectedText=<<
> __unselectedText__>> missingText=<<__missingText__>> template=<<
> __template__>>/>
> </$linkcatcher>
> \end
>
>
>    1. This macro calls toc-tabbed-external-nav
>    2. But we see in toc-tabbed-external-nav that it appears the heading 
>    is displayed using 
>    <h1><<toc-caption>></h1>
>    
>    3. This toc-caption macro is defined at the top and does not give a 
>    link, just the title.
>    4. Lets add a link here (2) <$link to=<<currentTiddler>> >Open</$link>
>    5. You will soon discover clickin Open seems to do nothing, but that 
>    is because you are using toc-tabbed-internal-nav
>    6. Use toc-tabbed-external-nav macro instead to open links in the 
>    story and this will work if you add this link after toc-caption in 
>    toc-tabbed-external-nav.
>    7. <h1><<toc-caption>></h1> BECOMES <h1><<toc-caption>> <$link 
>    to=<<currentTiddler>> >Open</$link></h1>
>    
> Regards
> Tony
>
> On Thursday, 1 October 2020 20:11:21 UTC+10, Pieter-Michiel Geuze wrote:
>>
>> I am looking at using the toc-tabbed-external-nav table of contents but I 
>> have not been able to make the the internal tab tiddler title a link. I 
>> would like the title to be a link so I can open the tiddler as external so 
>> I can then make edits.
>>
>> Please let me know what I am missing?
>>
>> Thank you.
>>
>>
>> [image: 2020-10-01 05_24_17-My TiddlyWiki —.jpg]
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/90b68196-6bbf-427e-a084-71d970e569e2n%40googlegroups.com.

Reply via email to