[tw] Re: How to build a tag list for comsuption by <$action-sendmessage $message="tm-new-tiddler" ... />?

2018-02-20 Thread Stephan Hradek
Do I understand correct, that the main question is, how to concatenate $:/state/project-number with the word "project"? Should it be one tag or 2? For concatenation you usually require a macro. Try this \define projecttags() project $(projectnumber)$ <$set name="projectnumber"

[tw] How to build a tag list for comsuption by <$action-sendmessage $message="tm-new-tiddler" ... />?

2018-02-20 Thread markhylton2
I want to generate a new tiddler from entered data (<$button><$action-sendmessage ... /> /> from <$edit-text ... />). I'm having problems generating a tag list that is to consist of one of the entered values plus a text literal (two tags total). But I can't figure out how to concatenate

[tw] Re: [tw5] three queries. problems adding a checkbox to TOC, how to create a template for checklists that works with any tiddler and creating a checklist that opts for the title when no caption ex

2018-02-20 Thread ceridout3
Jed Thanks for your reply. I will keep a look out for future posts. Charles On Monday, February 19, 2018 at 3:17:33 AM UTC-5, Jed Carty wrote: > > The way that the TOC runs recursively means that it is a bit more complex > to do what you are asking than it may seem. > > I have made another

[tw] Re: Just a little starting help

2018-02-20 Thread 'Surya' via TiddlyWiki
Hi Davide, I am a beginner too (since about 2 months). I downloaded now about 10 or 15 times an empty TW (for several private wikis and for testing purposes). *All of them* had after downloading 1,9MB. And *never* the control panel was empty. I think, you should start again just from the

[tw] Re: [tw5] three queries. problems adding a checkbox to TOC, how to create a template for checklists that works with any tiddler and creating a checklist that opts for the title when no caption ex

2018-02-20 Thread ceridout3
Mark In my attempt to create the hierarchical list of books by author I only concentrated on the my-toc-selective-expandable macro that Jed provided, since that seemed like it would produce the desired outcome. Initially I ignored the other part of his post on the other macros. In trying those

[tw] Re: Just a little starting help

2018-02-20 Thread Paperoga
Hi Simon, (from Germany ?) thanks for the link, the tutorial are good! Yes, I mean that control panel, and I download TW just from there, 4.5 Mb including documentation. Even the empty.html I've downloaded is with ..nothing, in the control panel. I've tried to d (import)

Re: [tw] Presentation ...a little help needed

2018-02-20 Thread Jan
Hi Dave and everybody... Sorry, this is not programmed yet... but it shold be possible: Inducing a transclusion of a $:/slidestyle/ myFieldStyle tiddler which is referred to by a field into the presentationtemplate

[tw] Re: A slider which closes itself when clicking elsewhere or closing tiddler

2018-02-20 Thread stefct4
Hi, On Monday, February 19, 2018 at 7:58:01 PM UTC+1, passingby wrote: > > What I want is that content should be revealed upon a click, preferably a > button. And that it should close itself when I close the tiddler so that > next time I open the tiddler again the content should be hidden by

[tw] Re: Tech Query: Pecularities of Non-Copying Copy!!

2018-02-20 Thread 'Mark S.' via TiddlyWiki
The counters are generated inside pseudo classes, so they can't be selected. I saw a hint that suggested you could use chrome preview to make the text selectable, but it loses all line formatting. I'm not familiar with how your regex tools work. Do they re-iterate until there are no more

[tw] Re: A button to open a random tiddler

2018-02-20 Thread passingby
Guys! Stephan, Mathew Thank you for your efforts. I am always impressed with all that mathematics! Although I did take up math in my high school, i barely passed in it. I remember sine cos theta angles but nothing more than names. But there is always a lurking desire to spend some time on

Re: [tw] Re: Tech Query: Pecularities of Non-Copying Copy!!

2018-02-20 Thread coda coder
On Tuesday, February 20, 2018 at 2:52:23 AM UTC-6, @TiddlyTweeter wrote: > > I read around the issue and then discovered that there are proposals in > CSS to change the behaviour but they somewhat in conflict with existing DOM > approach ...

[tw] Re: A button to open a random tiddler

2018-02-20 Thread Matthew Lauber
I've reworked the shuffle operator to use MAth.random and to use https://github.com/davidbau/seedrandom/ to seed Math.random. So, the issues mentioned earlier should be resolved. On Tuesday, February 20, 2018 at 7:40:02 AM UTC-5, Stephan Hradek wrote: > > > > Am Dienstag, 20. Februar 2018

[tw] Re: A button to open a random tiddler

2018-02-20 Thread Stephan Hradek
Am Dienstag, 20. Februar 2018 13:37:54 UTC+1 schrieb Matthew Lauber: > > Dang! I go to sleep for 8 hour and your guys pick apart my code. > Seriously though, thanks guys. I'll take a look at improving the > randomness of my shuffle operator. I seem to recall not using the > javascript

[tw] Re: A button to open a random tiddler

2018-02-20 Thread Matthew Lauber
Dang! I go to sleep for 8 hour and your guys pick apart my code. Seriously though, thanks guys. I'll take a look at improving the randomness of my shuffle operator. I seem to recall not using the javascript math.random function because I wanted to be able to seed the function and get a

[tw] Re: A button to open a random tiddler

2018-02-20 Thread Stephan Hradek
Am Dienstag, 20. Februar 2018 09:00:13 UTC+1 schrieb passingby: > > But i am seeing that it repeats one or two tiddler a lot. At first i > thought maybe my tiddlers were not enough in numbers but then i have around > 25 tiddlers and it still repeats a couple initial tiddlers it picks up, a >

[tw] Re: A button to open a random tiddler

2018-02-20 Thread Stephan Hradek
Hooray! Issue #1 is mine ;) https://github.com/mklauber/tiddly-shuffle/issues/1 -- 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

[tw] Re: A button to open a random tiddler

2018-02-20 Thread Stephan Hradek
Update: Upon inspecting the code a bit more: seed cannot be a multiple of pi + pi/2 as it's always a 32 bit integer. Still I think randomness of |sin| isn't the best. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this

[tw] Re: [TW5] presenting TWRocketDock

2018-02-20 Thread PMario
On Monday, February 19, 2018 at 10:40:53 PM UTC+1, BurningTreeC wrote: > > Hi, I'm making this little TW companion that let's you edit tiddlers while > browsing on other websites, dragging stuff into your wiki and more > > I hope you like it, and find it useful! > If you would tell potential

[tw] Re: A button to open a random tiddler

2018-02-20 Thread Stephan Hradek
I think there is a big flaw in Matthew's code. Instead of using a real random function there is this code: Math.floor(Math.abs(Math.sin(seed++)) * currentIndex); There are 2 flaws here I think: 1. sin isn't very "random" 2. sin goes from 0 to 1. This will lead to a just shuffled element being

Re: [tw] Re: Tech Query: Pecularities of Non-Copying Copy!!

2018-02-20 Thread @TiddlyTweeter
Ciao Jeremy & all ... This has been an interesting, useful discussion. A footnote ... Jeremy: This is a common issue, I’m afraid. Here’s one of many > StackOverflow answers about it ... > Thanks for that. I read around the issue and then discovered that there are proposals in CSS to change

[tw] Re: Issue: Auto-Enumeration. I have no idea how.

2018-02-20 Thread @TiddlyTweeter
Ciao Stephan & Riz Thank you both! I'm as happy as a sandboy! J, x Riz wrote: > > Expanded to include Stephen's input. If you set $initval as 004 now, it > will add suffixes as 005, 006... > > > plugin and demo. >

[tw] Re: A button to open a random tiddler

2018-02-20 Thread passingby
Matthew I tried the plugin. Its a wonderful code in that it is not a macro but a filter operator, which is very interesting! And it does work as intended. But i am seeing that it repeats one or two tiddler a lot. At first i thought maybe my tiddlers were not enough in numbers but then i have