[tw5] Re: Expandable TOC using list instead of tag

2018-07-23 Thread Mohammad
Thank you Mario!

Cheers
Mohammad

On Monday, July 23, 2018 at 12:25:41 AM UTC+4:30, PMario wrote:
>
> Hi, 
>
> Not 100% what you want, but a different way to create a parrent based TOC.
>
> https://wikilabs.github.io/editions/tocP/
>
> -m
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/207ca651-6def-41b3-8fe8-01ea7d825a20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Expandable TOC using list instead of tag

2018-07-23 Thread PMario
On Monday, July 23, 2018 at 2:41:59 AM UTC+2, TonyM wrote:
>
> In support of tocp and heirachies, I also cloned the newhere button and 
> added the parent field with the value of the tiddler not only the tag.


There is no need to create a new-here button. The plugin contains a 
"new-child-here" button. You just need to activate it!

Open the the tiddler info-area: tools-tab  ... There are 2 elements with 
the same function, but a different icon. 

-m

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cc4eb3fc-4850-498f-964a-ac2ba2268c43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Expandable TOC using list instead of tag

2018-07-22 Thread TonyM
Mario,

In support of tocp and heirachies, I also cloned the newhere button and added 
the parent field with the value of the tiddler not only the tag.

Regards
Tony

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ac2c269b-f24d-4135-a5e7-c8e3f60a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Expandable TOC using list instead of tag

2018-07-22 Thread PMario
Hi, 

Not 100% what you want, but a different way to create a parrent based TOC.

https://wikilabs.github.io/editions/tocP/

-m

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c0ac130a-b9e1-4ee1-8e3b-88c627d45b25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Expandable TOC using list instead of tag

2018-07-22 Thread Mohammad
This teaches me I can use many ways to produce a TOC.

Thanks Mark.


On Sunday, July 22, 2018 at 11:24:13 PM UTC+4:30, Mark S. wrote:
>
> If it's just the long title used as a tag that's a problem, why not use 
> the caption field (or any other short designator field).
>
> e.g.
>
> \define mymacro2(caption) <> 
>
> <$macrocall $name="mymacro2" caption={{!!caption}}/>
>
> -- Mark
>
> On Sunday, July 22, 2018 at 10:24:35 AM UTC-7, Mohammad wrote:
>>
>> Mark,
>>  I use the following code to add tiddlers to the list field of a root 
>> tiddler.
>>
>> <> itemTemplate:"tmplDraggable">>
>>
>> Then I would like to have an expandable toc at the sidebar to have the 
>> root as a toc item and then all tiddler in the list as its children!
>>
>>
>> The problem with current approach is, I have root items with long titles 
>> and it annoying to have such long title as tag for the child tiddler (the 
>> second level items in TOC)
>> What do you think?
>>
>> -Mohammad
>>
>>
>>
>>
>> On Sunday, July 22, 2018 at 8:56:42 PM UTC+4:30, Mark S. wrote:
>>>
>>> How are you imagining that working? How would a list field act like tags?
>>>
>>> -- Mark
>>>
>>> On Sunday, July 22, 2018 at 9:10:42 AM UTC-7, Mohammad wrote:


 Is there any way to have a toc macro to make an expandable table of 
 content using list field instead of tag filed?




-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/23e968a4-e6d9-4383-bd3d-142c7546119c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Expandable TOC using list instead of tag

2018-07-22 Thread 'Mark S.' via TiddlyWiki
If it's just the long title used as a tag that's a problem, why not use the 
caption field (or any other short designator field).

e.g.

\define mymacro2(caption) <> 

<$macrocall $name="mymacro2" caption={{!!caption}}/>

-- Mark

On Sunday, July 22, 2018 at 10:24:35 AM UTC-7, Mohammad wrote:
>
> Mark,
>  I use the following code to add tiddlers to the list field of a root 
> tiddler.
>
> < itemTemplate:"tmplDraggable">>
>
> Then I would like to have an expandable toc at the sidebar to have the 
> root as a toc item and then all tiddler in the list as its children!
>
>
> The problem with current approach is, I have root items with long titles 
> and it annoying to have such long title as tag for the child tiddler (the 
> second level items in TOC)
> What do you think?
>
> -Mohammad
>
>
>
>
> On Sunday, July 22, 2018 at 8:56:42 PM UTC+4:30, Mark S. wrote:
>>
>> How are you imagining that working? How would a list field act like tags?
>>
>> -- Mark
>>
>> On Sunday, July 22, 2018 at 9:10:42 AM UTC-7, Mohammad wrote:
>>>
>>>
>>> Is there any way to have a toc macro to make an expandable table of 
>>> content using list field instead of tag filed?
>>>
>>>
>>>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/21072422-92b4-4e8c-bc09-fd4b64885916%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Expandable TOC using list instead of tag

2018-07-22 Thread Mohammad
Mark,
 I use the following code to add tiddlers to the list field of a root 
tiddler.

<>

Then I would like to have an expandable toc at the sidebar to have the root 
as a toc item and then all tiddler in the list as its children!


The problem with current approach is, I have a root items with long titles 
and it annoying to have such long title as tag for the child tiddler.
What do you think?

-Mohammad




On Sunday, July 22, 2018 at 8:56:42 PM UTC+4:30, Mark S. wrote:
>
> How are you imagining that working? How would a list field act like tags?
>
> -- Mark
>
> On Sunday, July 22, 2018 at 9:10:42 AM UTC-7, Mohammad wrote:
>>
>>
>> Is there any way to have a toc macro to make an expandable table of 
>> content using list field instead of tag filed?
>>
>>
>>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ee77b5ce-68c1-4b59-b13a-a05f8bd308bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Expandable TOC using list instead of tag

2018-07-22 Thread 'Mark S.' via TiddlyWiki
How are you imagining that working? How would a list field act like tags?

-- Mark

On Sunday, July 22, 2018 at 9:10:42 AM UTC-7, Mohammad wrote:
>
>
> Is there any way to have a toc macro to make an expandable table of 
> content using list field instead of tag filed?
>
>
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/537741b5-4b91-4e73-8e75-c6cf72503b7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.