[tw] Re: [TW5] Applying nth[] to an explicit list

2015-08-12 Thread FrD
Hi Eric, Thanks a lot for your answer ! It's much simpler and no need to define a new filter. I would never have imagined defining such a macro (myFilter) without matching "[". FrD Le mercredi 12 août 2015 20:47:09 UTC+2, Eric Shulman a écrit : > > On Wednesday, August 12, 2015 at 10:39:01 AM U

[tw] Table layout containing tiddlers with specific tag

2015-08-12 Thread Jed Carty
For TW5 you use a list widget and html tables like this: Title Author Date <$list filter='[tag[Wiki Examples]]'> {{!!title}} {{!!modifier}} {{!!created}} It's not the same layout as your code gives, but it should show how to make tables like that. -- You received this messag

[tw] Re: TW5 How to save code? TW5

2015-08-12 Thread PMario
Hi Jørn , try this ``` def factorial(n): result = n for i in range(1,n): result *= i return result ``` see: http://tiddlywiki.com/#Code%20Blocks%20in%20WikiText -mario -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To

[tw] Re: [TW5] Transclusion of the tiddler caption as a description for a link

2015-08-12 Thread PMario
Good question :) Change to code to: <$link to="$tiddler$" ... and try to call the following tiddler name: [[asdf"asdf]] <> or <> -mario -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving email

[tw] Re: [TW5] Applying nth[] to an explicit list

2015-08-12 Thread Eric Shulman
On Wednesday, August 12, 2015 at 10:39:01 AM UTC-7, FrD wrote: > > \define myMacro() >> one two three >> \end >> >> <$set name="test" filter="[explicitnth[2]]"> >> test with variable : <> >> >> >> This should also work, without needing to define a custom filter: \define myMacro() one two three \de

[tw] Re: TW5 How to save code? TW5

2015-08-12 Thread Jørn Madsen
Den onsdag den 12. august 2015 kl. 17.49.17 UTC+2 skrev Jørn Madsen: > > Hi > > I've been using TW5 for a year now, mostly for notes concerning Network > configuration and Python programming. > > I haven't been able to find a workaround to save code I can save directly. > A simple example: > >

[tw] Re: TW5 How to save code? TW5

2015-08-12 Thread Greg Davis
As Andreas said, you could change the tiddler type. Though if you are adding descriptions or annotating, your short example seems to work with the back-ticks. Did you try HTML pre or code tags? Test sample attached. Greg -- You received this message because you are subscribed to the Google Gro

[tw] Re: [TW5] Applying nth[] to an explicit list

2015-08-12 Thread FrD
Hi, I've found my error : filter="[explicitnth[2]]" instead of : filter="[explicit[]nth[2]]" The correct code is below : \define myMacro() > one two three > \end > > <$set name="test" filter="[explicitnth[2]]"> > test with variable : <> > > > > > FrD > > -- You received this message because

[tw] Re: TW5 How to save code? TW5

2015-08-12 Thread Jørn Madsen
Den onsdag den 12. august 2015 kl. 17.49.17 UTC+2 skrev Jørn Madsen: > > Hi > > I've been using TW5 for a year now, mostly for notes concerning Network > configuration and Python programming. > > I haven't been able to find a workaround to save code I can save directly. > A simple example: > >

[tw] Re: [TW5] Transclusion of the tiddler caption as a description for a link

2015-08-12 Thread Łukasz Hirt
Hi, Thank you for your answer :) that makes sense, good to know that there are some limitations, well I am aware that there are always some limitations, but good to learn a new thing. PS. I understand the code you provided, but I am curious why you enclose parameters with """ """ ? The only pu

Re: [tw] TW5 How to save code? TW5

2015-08-12 Thread 'Andreas Hahn' via TiddlyWiki
Am 12.08.2015 um 17:49 schrieb Jørn Madsen: When saving the tiddler, the indentation and new lines is often lost,- I've tried the tripple quotes to "freeze" the text without any luck. You can always change the type of the tiddler to either "text/plain" or "application/x-python", so that the

[tw] Re: [TW5] How big can a tiddlywiki file be?

2015-08-12 Thread 'Mark S.' via TiddlyWiki
Some of the answer is going to depend on the type of machine you are running. I notice definite lags with my 5meg TW's on a netbook. Not so much on a desktop. In the past we could depend on hardware to constantly improve in terms of speed. In the last half decade that has not been quite as true

[tw] Re: [TW5] Inline javascript for private wiki

2015-08-12 Thread 'Mark S.' via TiddlyWiki
Thanks for the tip*, Eric ! >From my perspective, TW has done away with JS. I have created a couple of widgets, but wasn't very happy with the process. Mostly cut and paste prior widgets, alter, and hope that it works. There's stuff going on in the DOM, and basically you have to take it on fait

[tw] TW5 How to save code? TW5

2015-08-12 Thread Jørn Madsen
Hi I've been using TW5 for a year now, mostly for notes concerning Network configuration and Python programming. I haven't been able to find a workaround to save code I can save directly. A simple example: def factorial(n): result = n for i in range(1,n): result *= i retu

[tw] Re: Lists functionality demo

2015-08-12 Thread Alex V
Beautiful! I love being able to keep up with tasks like this without having to use all of gsd5. On Tuesday, August 11, 2015 at 8:45:23 PM UTC+2, c pa wrote: > > I have created a tiddlyspot site to display where I've gotten in list > management > > The code is fairly robust but needs some more wo

[tw] Table layout containing tiddlers with specific tag

2015-08-12 Thread roger
I've been utilizing TWc for several years, but am looking at possibly updating to TW5. A feature I use in TWc is to generate a list of prior tiddlers in a table format, with the tiddler creation date, tiddler title, tiddler body and tiddler author. The desired outcome is produced in TWc using

[tw] Re: [TW5] Applying nth[] to an explicit list

2015-08-12 Thread FrD
Hi, I've tried to solve my problem with a new filter which transforms a string of space separated values into something suitable for operators like nth[]. I've called it 'explicit'. Note that I'm not familiar with the internals of filters ! /*\ title: explicit.js type: application/javascript mod

[tw] Re: [TW5] How big can a tiddlywiki file be?

2015-08-12 Thread PMario
Hi John, As long as you don't include too many binary files. eg: large images, pdfs, ... you should be fine. -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

[tw] Re: Announcing MultiView

2015-08-12 Thread PMario
On Wednesday, August 12, 2015 at 9:47:35 AM UTC+2, TiddlyWiker wrote: > > MutliView, a simple minded but versatile "program" for viewing mutliple > files, multiple websites, or mutiple tiddlywikis at once. > Congratulations! Simple and powerful. Thanks for sharing. -mario -- You received this

[tw] Re: [TW5] Transclusion of the tiddler caption as a description for a link

2015-08-12 Thread PMario
On Tuesday, August 11, 2015 at 9:40:55 PM UTC+2, Łukasz Hirt wrote: > > Hello guys, > > First of all, this is my first post here. I think TW is a great piece of > tool, but since I am still beginner I would liek to ask you a question: > Hi Lukasz, Welcome to the club :) > > I would like to u

[tw] [TW5] How big can a tiddlywiki file be?

2015-08-12 Thread magev958
Hi, I have a TW5 with more than 27000 tiddlers, most of of them empty. The TW is ~10Mb and it is a little slow. Saving can take up to 30sec in Firefox without any addon But it is still usable -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To un

[tw] Announcing MultiView

2015-08-12 Thread TiddlyWiker
MutliView, a simple minded but versatile "program" for viewing mutliple files, multiple websites, or mutiple tiddlywikis at once. Simply drop the file below into any folder to view its contents in multiple windows. Of course it can be adapted to show any collection of files or websites.