[tw] Re: Convert a list into a row of tags - howto?

2009-04-10 Thread Måns
However - if the script could render a new tiddler with the actual wikilinks as [[text]] it would also solve the case - and at the same time have the function of beeing a real converter. In my specific case - it would be fantastic if I could have a script that could automate the whole process of

[tw] Re: Convert a list into a row of tags - howto?

2009-04-10 Thread Måns
Thanks Eric This is a good script - and I will find some use for it. What I need though is a wikified rendition of the transposed list + the doubled square-brackets.. Can i somehow make the list appear formatted as {{codetext}} ? I need to be able to copy the result into the tagfield as tagnames +

[tw] Re: How to get the tiddler title rendered inside another macro??

2009-04-10 Thread Måns
Hi cmari You solved the problem!!! Cool :-) Awesome - I'm back on the track again.. Morris You should try cmaris solution. It works and you can skip inserting the title twice!! I think it's a major improvement!! YS Måns Mårtensson On 11 Apr., 00:58, cmari wrote: > I experimented with putting:

[tw] Re: Convert a list into a row of tags - howto?

2009-04-10 Thread Eric Shulman
> Yes - exactly - a list of names : > Transposed to a row of wikilinks: if 't' contains the input text (i.e., one name per line), then the following javascript expression will split it into separate lines and then rejoin it using doubled square-brackets: '[['+t.split('\n').join(']] [[')+']]' To

[tw] Re: How to get the tiddler title rendered inside another macro??

2009-04-10 Thread Måns
Thanks for the tip - It works fine :-) I still need the refreshbutton in the topmenu though - very often the iframes keep open on top of other tiddlers if I don't refresh the display.. YS Måns Mårtensson On 11 Apr., 02:17, Morris Gray wrote: > On Apr 11, 6:24 am, Måns wrote > > > For a moment

[tw] Re: Convert a list into a row of tags - howto?

2009-04-10 Thread Måns
Yes - exactly - a list of names : Peter Parker Esther Ashton etc.. Transposed to a row of wikilinks: [[Peter Parker]][[Esther Ashton]][[etc..]] YS Måns Mårtensson On 11 Apr., 01:19, "Mark S." wrote: > I'm trying to understand what you're asking. Are you asking for a way > to convert > > tag1

[tw] Re: How to get the tiddler title rendered inside another macro??

2009-04-10 Thread Morris Gray
On Apr 11, 6:24 am, Måns wrote > For a moment I thought I had a good idea for improvement of the TWTuDu- > concept.. Sadly many times the 'too good to be true' improvements disappoint us. Like most perpetual motion ideas there is always something we are unaware of :-) However here is an impro

[tw] Re: Convert a list into a row of tags - howto?

2009-04-10 Thread Mark S.
I'm trying to understand what you're asking. Are you asking for a way to convert tag1 tag2 tag3 into "tag1 tag2 tag3" ? On Apr 10, 9:56 am, Måns wrote: > Hi > First a little resumé: > I've been fiddling around with calc figuring out my own wikilinkformat > to apply to cells individually - cop

[tw] Re: How to get the tiddler title rendered inside another macro??

2009-04-10 Thread cmari
I experimented with putting: after the final in the ProjectViewTemplate in TiddlyDu3 Then, in the fET in the TabProjects tiddler, I replaced the getFirstLine script (which depends on the tiddler having contents), with: write '"< wrote: > Hi Morris > You are absolutely right. > If You render t

[tw] Re: How to get the tiddler title rendered inside another macro??

2009-04-10 Thread Måns
Hi Morris You are absolutely right. If You render the sliderframe in the text area - then you get the error in the mainmemu. I choose to render it in place of the title - to get a title with an arrow to show projects and tasks (doesm't produce an error in the mainmenu)- and I had to reinsert the

[tw] Re: How to get the tiddler title rendered inside another macro??

2009-04-10 Thread Morris Gray
It seems good on the surface but with a quick check it seems to create an error in the MainMenu. "Unable to evaluate {{tiddler.title}}: TypeError: tiddler is null" When creating a new Project it looks alright as a tiddler but if you look at it in the tabset tiddler TabToDo you will see that it no

[tw] Convert a list into a row of tags - howto?

2009-04-10 Thread Måns
Hi First a little resumé: I've been fiddling around with calc figuring out my own wikilinkformat to apply to cells individually - copying the result to notepad and back to calc again (converting the wikilinkformat into stadard format) linking the cells into one cell - making a csv-file with a row

[tw] Re: h1 margin

2009-04-10 Thread RA
That is very cool, thank you. I only care about Firefox. -- R. On Apr 10, 4:56 am, FND wrote: > > h1 is styled to have 1.2em top margin. I like it, but not when h1 is > > the first thing in a tiddler > > Well, in theory you could use the ":first-child" selector: >      .viewer h1 { >          c

[tw] Re: h1 margin

2009-04-10 Thread FND
> h1 is styled to have 1.2em top margin. I like it, but not when h1 is > the first thing in a tiddler Well, in theory you could use the ":first-child" selector: .viewer h1 { color: green; } .viewer h1:first-child { color: red; } However, that's not very wel