[tw5] Re: Creating a Table of Contents using Tag Pills instead of individual tiddlers with the tag filter.

2020-06-05 Thread PMario
Hi,

I did create a personal theme, which is optimized for my preferences. It 
uses something I call tag-map [1], which is a plugin, that inserts a new 
tab to the tiddler info area. 

See this link to my edition. 

  
If you click a tag pill, it will open the map instead of the dropdown. 

If this is similar to your idea, it may be possible to extract something, 
or create a new theme based on slant-01.

Since it is a theme, it can be switched on and off. See the "themes" button 
in the right sidebar, where you can switch themes.

have fun!
mario

[1] https://wikilabs.github.io/editions/info-tagmap/

-- 
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/4cb8d343-1068-464f-b97a-7204d89a1f3do%40googlegroups.com.


[tw5] Re: Creating a Table of Contents using Tag Pills instead of individual tiddlers with the tag filter.

2020-06-04 Thread TonyM
Sorry I edited my last post to use

<$macrocall $name=tag tag=<>/>

And in the below of this email

Regards
Tony

On Friday, June 5, 2020 at 12:21:05 PM UTC+10, TonyM wrote:
>
> Pieter-Michiel,
>
> Have a look at what I did in my prepared codemirror edition  
> it 
> places a tag pill on every tiddler that is acting as a tag, so you can see 
> its children.
>
> If you want a custom toc layout it may be better to build your own 
> recursive macros as discussed in a number of topics.
>
> Here is an example of my own;
>
> \define each-other-level(filter)
> <$link to=<> ><$text 
> text=<>/>
> 
> <$list filter="$filter$">
><>
> 
> 
> \end
> \define first-level(filter)
> 
> <$list filter="$filter$">
><>
> 
> 
> \end
>
> Start in TableOfContents
> <$tiddler tiddler="TableOfContents">
>
> <>
>
> 
>
> Note: It may not be protected from infinite loops.
>
>
> Now where the items are listed in the ` tags` change the line to
>
> <$macrocall $name=tag tag=<>/>
> and I think you have what you are after.
>
>
> You may want to hide the pill for those items with no tags.
>
>
> However in my prepared codemirror edition 
>  the tag 
> pills are useful,  I plan to add a new here feature as well.
>
>
> Regards
>
> Tony
>
>
>
>
> On Friday, June 5, 2020 at 12:03:29 AM UTC+10, Pieter-Michiel Geuze wrote:
>>
>> Friends,
>>
>> I am very happy working with TW and I have been finding many different 
>> ways to use Table of Contents (ToC).
>>
>> What I am looking to do is to create a ToC not of individual Tiddlers but 
>> of Tags, preferabbly Tag Pills.
>>
>> I believe that this will allow me to see all the tag categories within a 
>> tag, click the tag and then see all of the tiddlers from that tag.
>>
>> If there is another way to do this, please let me know.
>>
>>
>>

-- 
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/2333c803-71e9-4ac1-9559-5f850a61ecd6o%40googlegroups.com.


[tw5] Re: Creating a Table of Contents using Tag Pills instead of individual tiddlers with the tag filter.

2020-06-04 Thread TonyM
Pieter-Michiel,

Have a look at what I did in my prepared codemirror edition  
it 
places a tag pill on every tiddler that is acting as a tag, so you can see 
its children.

If you want a custom toc layout it may be better to build your own 
recursive macros as discussed in a number of topics.

Here is an example of my own;

\define each-other-level(filter)
<$link to=<> ><$text text=<>/>

<$list filter="$filter$">
   <>


\end
\define first-level(filter)

<$list filter="$filter$">
   <>


\end

Start in TableOfContents
<$tiddler tiddler="TableOfContents">

<>



Note: It may not be protected from infinite loops.


Now where the items are listed in the ` tags` change the line to

<$link to=<> ><$text text=<>/>
and I think you have what you are after.


You may want to hide the pill for those items with no tags.


However in my prepared codemirror edition 
 the tag 
pills are useful,  I plan to add a new here feature as well.


Regards

Tony




On Friday, June 5, 2020 at 12:03:29 AM UTC+10, Pieter-Michiel Geuze wrote:
>
> Friends,
>
> I am very happy working with TW and I have been finding many different 
> ways to use Table of Contents (ToC).
>
> What I am looking to do is to create a ToC not of individual Tiddlers but 
> of Tags, preferabbly Tag Pills.
>
> I believe that this will allow me to see all the tag categories within a 
> tag, click the tag and then see all of the tiddlers from that tag.
>
> If there is another way to do this, please let me know.
>
>
>

-- 
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/7a8fd8d8-55e2-4696-b6e8-56df05f07d3fo%40googlegroups.com.


[tw5] Re: Creating a Table of Contents using Tag Pills instead of individual tiddlers with the tag filter.

2020-06-04 Thread A Gloom
Something I learned from Tobias-- how he did his Solutions ToC at 
http://tobibeer.github.io/tb5/#Solutions

toc tiddler text field contents:

<$list filter="[tags[]prefix[a]]" template="#index list template">

<-- modify the filter as needed for what ever tag/filtering you're using 
for your toc list, sort and other filter operatiors can be added -->

template tiddler

title:#index list template

text field contents:


<$transclude tiddler="$:/core/ui/TagTemplate"/>
  <$count 
filter="[all[current]tagging[]]"/> pages


-- 
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/a7c7b0d0-27f0-4653-a34d-be168133de49o%40googlegroups.com.


[tw5] Re: Creating a Table of Contents using Tag Pills instead of individual tiddlers with the tag filter.

2020-06-04 Thread Birthe C
Your question send me down memory lane. I remembered that we had an early 
version of a tagmenu. I looked through my old wikies, as the original link 
to a dropbox file is long gone.
I found it and it is dated Nov 9 2013 by aSpex.

I hope I succeeded attaching the file,

Birthe



-- 
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/1cdb1f3c-3617-4eee-a0e6-bcb3ffc18a83%40googlegroups.com.


TagMenu.tid
Description: Binary data