[tw5] Re: toc enhancement help needed

2019-07-10 Thread PMario

On Wednesday, July 10, 2019 at 4:52:10 PM UTC+2, Laurent Bonet wrote:
>
> Works perfectly !!! :-)
> Thank you so much.
> The support you are providing is just ... awesome!
>

Thx.
 

> Is there a risk of some side effect on classical toc macros? Will try to 
> spend a little bit of time understanding css.
>

It shouldn't. The CSS is very specific assigned to tc-*tabbed*
-table-of-contents and children. ...  
 

> Is there a place to submit tiddlywiki enhancement proposals: 
>

The problem is, that the TOC is already a very complex piece of wikitext. 
... You could have modified / overwritten the toc-caption() macro, without 
modifying the all of them (maybe). 

 

> I think this idea of template for toc deserves to be implemented in a 
> clean manner by knowledgeable people (an not by a newbie like me).
>

As I wrote: replacing toc-caption() macro would be an easier option. ... 
BUT if you hide the number (0) IMO you need to modify all the macros. :/

IMO there is a lot of room for plugins in the TOC area. We'll see in the 
future. 

have fun!
mario


-- 
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/ce98de07-01bd-4b31-9fa7-fc7ad1db71cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: toc enhancement help needed

2019-07-10 Thread Laurent Bonet
Works perfectly !!! :-)
Thank you so much.
The support you are providing is just ... awesome!

Is there a risk of some side effect on classical toc macros? Will try to 
spend a little bit of time understanding css.

Is there a place to submit tiddlywiki enhancement proposals: I think this 
idea of template for toc deserves to be implemented in a clean manner by 
knowledgeable people (an not by a newbie like me).

Again thank you so much. 



Le mercredi 10 juillet 2019 10:16:30 UTC+2, PMario a écrit :
>
> Hi, 
>
> It's a CSS problem. try the attachment. 
>
> -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/172a037e-62d9-44b1-a308-9b0cdcd9360c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: toc enhancement help needed

2019-07-10 Thread PMario
Hi, 
I think element counters with (0) shouldn't be shown. 
-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/f79610ec-2176-4f8b-af74-8d1458695d1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: toc enhancement help needed

2019-07-10 Thread PMario
Hi, 

It's a CSS problem. try the attachment. 

-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/a006cf04-7d6a-45b3-8048-92de6d733b6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


xtoc-styles.json
Description: application/json


[tw5] Re: toc enhancement help needed

2019-07-10 Thread PMario
Hi, 
your attachment doesn't contain the template. 
-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/71ec47ae-1c90-41b9-bf93-ffc5b4c3430b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: toc enhancement help needed

2019-07-10 Thread Stephan Hradek
Hi Laurent.

I do not completely understand your issue and I also haven't looked into 
your macro.

Is the issue the linebreak before the numbers?

In that case I'd suggest you try to get rid of all linebreaks in your macro 
and the call of your macro. My experience with TW is that this whitespace 
is important. Just give it a try. maybe it works.

-- 
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/2a6211de-3d3f-48a7-bbd2-497ae1a4f2da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.