[tw] Re: [TW5] How to automate Table of Content?

2014-08-17 Thread James
Hi Mathew, Thanks for your response to this. But the code doesn't seem helping. It appeared as blank tidder. I did replace the "Game" tag to my own tag. On Sunday, 17 August 2014 08:51:09 UTC+8, Matthew DeAbreu wrote: > > Using the table of contents from tiddlywiki.com as a starting point you

[tw] Re: [TW5] How to automate Table of Content?

2014-08-17 Thread Matthew DeAbreu
Make sure you include the macro definition so the full code would look something like this: \define toc-heading(caption,body) <$reveal type="nomatch" state=<> text="show"> <$button set=<> setTo="show" class="btn-invisible">{{$:/core/images/right-arrow}} $caption$ <$reveal type="match" state=<>

[tw] Re: [TW5] How to automate Table of Content?

2014-08-17 Thread Ken Gray
wow this works great. I made a little tweak to the last part of the code to straighten out the numbers. I just open up the tiddlywiki site and made a new tiddler. < <$list filter='[!is[system]tag[examples]]'> <$link><$view field='title'/> ">> On Sunday, August 17, 2014 10:18:09 PM UTC-5, M

[tw] Re: [TW5] How to automate Table of Content?

2014-08-17 Thread James
Hi Matthew, It works now. The macro definition was what I missed out.. :) Thanks On Monday, 18 August 2014 11:18:09 UTC+8, Matthew DeAbreu wrote: > > Make sure you include the macro definition so the full code would look > something like this: > > \define toc-heading(caption,body) > <$reveal ty

[tw] Re: [TW5] How to automate Table of Content?

2014-08-17 Thread Jon
Hi, this is really useful. I'm trying to adjust it to remove the numbered list but I can't get the resulting tiddlers on a separate line (without double spacing). Any ideas? Thanks, Jon. On Saturday, 16 August 2014 02:20:10 UTC+1, James wrote: > > Hi All, > > I would like to automate my Table o

[tw] Re: [TW5] How to automate Table of Content?

2014-08-18 Thread Ken Gray
this is really awesome. I was wondering if there was a way of making netsted categories based on tags. for instance, if a tiddler was tagged as a "Meeting" and had a tag "Scrum" it would go there. This would have the benefit of making it easier to skim through all the notes and I wouldn't ha

[tw] Re: [TW5] How to automate Table of Content?

2014-08-19 Thread Danielo Rodríguez
The problem is, how do you determine which tag should be the parent and which should be the child? El lunes, 18 de agosto de 2014 18:14:15 UTC+2, Ken Gray escribió: > > this is really awesome. I was wondering if there was a way of making > netsted categories based on tags. for instance, if a t

[tw] Re: [TW5] How to automate Table of Content?

2014-08-21 Thread Ken Gray
note as of 5.0.15 beta you can use the tableofcontentsmacro to do thisyeah! On Monday, August 18, 2014 11:14:15 AM UTC-5, Ken Gray wrote: > > this is really awesome. I was wondering if there was a way of making > netsted categories based on tags. for instance, if a tiddler was tagged as >

[tw] Re: [TW5] How to automate Table of Content?

2014-08-22 Thread Danielo Rodríguez
Amazing. But this is still no useful for my purposes. It is cool if you have a topic and subtopics, which is nice. But the way I use tiddlywiki I prefer to tag a tiddler with linux and snippets rather than a single tag called linux-snippets. Does anyone have a clue of how to do what I want? El

[tw] Re: [TW5] How to automate Table of Content?

2014-08-22 Thread PMario
On Friday, August 22, 2014 12:06:41 PM UTC+2, Danielo Rodríguez wrote: > > But this is still no useful for my purposes. > It is cool if you have a topic and subtopics, which is nice. But the way I > use tiddlywiki I prefer to tag a tiddler with linux and snippets rather > than a single tag called

[tw] Re: [TW5] How to automate Table of Content?

2014-08-22 Thread Danielo Rodríguez
> > On Friday, August 22, 2014 12:06:41 PM UTC+2, Danielo Rodríguez wrote: >> >> But this is still no useful for my purposes. >> It is cool if you have a topic and subtopics, which is nice. But the way >> I use tiddlywiki I prefer to tag a tiddler with linux and snippets rather >> than a single

[tw] Re: [TW5] How to automate Table of Content?

2014-08-23 Thread PMario
On Friday, August 22, 2014 3:58:42 PM UTC+2, Danielo Rodríguez wrote: > > Let me explain the problem well. > > I want a toc like this: > > * Linux > ** Snippets > *** tiddlerA > > With the current setup you have to tag snippets as linux, and the third > level as snippets. The problem is that ther

[tw] Re: [TW5] How to automate Table of Content?

2014-08-23 Thread Danielo Rodríguez
> > > Tag the tiddlerA with *snippets *and *linux* and you'r done. > > * tiddlerA will be shown if you search for "linux" related content > * tiddlerA will be shown if you search for "snippets" ... > * tiddlerA doesn't loose information if you export it and forget to export > related tiddlers..

[tw] Re: [TW5] How to automate Table of Content?

2014-08-24 Thread PMario
On Saturday, August 23, 2014 5:56:05 PM UTC+2, Danielo Rodríguez wrote: > > I don't understand how is your answer related with the toc. I have those > tiddlers already tagged that way, and I find them with no problem. The > problem is to organice them in a TOC in an hicherachical way. > You are

[tw] Re: [TW5] How to automate Table of Content?

2014-08-24 Thread PMario
I think the and-tag-toc structure, combined with a "+" button, that creates a new tiddler that inherits all the tags would be very nice :) -mario -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving em

[tw] Re: [TW5] How to automate Table of Content?

2014-08-25 Thread Danielo Rodríguez
Your solution seems to be very cool with the limited options that tags provides. The problem here is the shorting method, the redundant results and that you have to tag every tag with all the possible parent topics related to it. I think the best approach is to use fields. I never said that I d

[tw] Re: [TW5] How to automate Table of Content?

2014-08-25 Thread PMario
I knew, that you don't like, that some tiddlers are listed twice. ... But for me this is a feature ;) I did play a little bit with the macro. I did create a brainstorming tree. ... I found out, that after some refactoring one "child" tiddler had many "childs" itself ... So it actually should

[tw] Re: [TW5] How to automate Table of Content?

2014-08-25 Thread Danielo Rodríguez
Hello Mario, Thank you for your advise. I think I'm not using your macros correctly. Could you post a working example so I can analyze it closely? Thank you! El lunes, 25 de agosto de 2014 14:16:48 UTC+2, PMario escribió: > > I knew, that you don't like, that some tiddlers are listed twice. ...

[tw] Re: [TW5] How to automate Table of Content?

2014-08-26 Thread Danielo Rodríguez
I have an approach that is very close to be functional. The problem is that for every combination of tags, I got the same combination in the opposite order. Just with a couple of tiddlers and tags, you will get a very long list. I don't know how to improve it. Here it is: \define my-toc(tag,exc

Re: [tw] Re: [TW5] How to automate Table of Content?

2014-08-17 Thread Daniel Baird
Double check you have the right angle brackets and quotes. If that doesn't fix it, can you show us what you have? Like, share your wiki on tiddlyspot.com or something? On 18 August 2014 12:58, James wrote: > Hi Mathew, > Thanks for your response to this. But the code doesn't seem helping. I

Re: [tw] Re: [TW5] How to automate Table of Content?

2014-08-19 Thread Ken Gray
could you do it in the order it's coded? the first being the parent and then the children would just fall into place after that? Ken On Tue, Aug 19, 2014 at 8:43 AM, Danielo Rodríguez wrote: > The problem is, how do you determine which tag should be the parent and > which should be the chil

Re: [tw] Re: [TW5] How to automate Table of Content?

2014-08-19 Thread Danielo Rodríguez
What do you mean with: *could you do it in the order it's coded?* El martes, 19 de agosto de 2014 16:16:24 UTC+2, Ken Gray escribió: > > could you do it in the order it's coded? the first being the parent and > then the children would just fall into place after that? > > > > Ken > > > On Tu

Re: [tw] Re: [TW5] How to automate Table of Content?

2014-08-19 Thread Ken Gray
in the same what you assign levels in non-ordered lists. if you have 3 tids with 'parent' tag assigned and each of them have one tag with 'child0', 'child1', 'child2' respectively but the 1st tid has 'child2' AND 'child3' like this. - parent - child0 - tid0 - child1

Re: [tw] Re: [TW5] How to automate Table of Content?

2014-08-19 Thread Ken Gray
the html would look likej this parentchild0tid0child1tid1child2tid2child3tid0 On Tuesday, August 19, 2014 10:51:19 AM UTC-5, Ken Gray wrote: > > in the same what you assign levels in non-ordered lists. if you have 3 > tids with 'parent' tag assigned and each of them have one tag with > 'chil

Re: [tw] Re: [TW5] How to automate Table of Content?

2014-08-20 Thread Danielo Rodríguez
As you can see, you described a hierarchy. There is no hierarchy in tags tag1,tag2,tag3 The only way you can define that should be tag1, tag1-2,tag1-3 El martes, 19 de agosto de 2014 17:52:47 UTC+2, Ken Gray escribió: > > the html would look likej this > > parentchild0tid0child1tid1child2tid2chi