[tw5] Checkbox Widget: A bit of appreciation for the "tag" attribute

2021-06-16 Thread Charlie Veniot
I just noticed today the "tag" attribute for Checkbox Widgets.

That is a huge help putting together a custom interface for managing tags 
on any tiddler.

So thanks to whoever worked on that little gem.

Snapshot below of a work-in-progress (part of a modal window for editing 
tiddlers).

*aside*: Not noticeable in the screenshot, each of the "fieldset" elements 
have vertically scrollable content, just to take a less real estate.

Cheers!

[image: Screenshot 2021-06-17 1.19.46 AM.png]

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cee7ec3b-e3a4-48c5-becf-b75d188a13a6n%40googlegroups.com.


[tw5] Re: Filter question: get caption else use title

2021-06-16 Thread PMario
On Thursday, June 17, 2021 at 1:45:51 AM UTC+2 TW Tones wrote:

as far as I can see I can replicate you filter with [tag[Widgets]sort[]] 
> +[get[caption]else[{!!title}]] while neither this or your filter provides 
> links to the original tiddler.
>

That doesn't produce the same results. Your filter returns 48 elements and 
Saqs filter returns 52. 

[tag[Widgets]] also returns 52 elements.

+[get[caption]else[{!!title}]] ... doesn't work the way as it seems. It 
doesn't use the title of the input it uses the title of the tiddler where 
the filter is used. 

reduce has some special "internal" variables. See: 
https://tiddlywiki.com/prerelease/#reduce%20Operator

-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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/aebe945a-46cf-4398-b470-70ef67286bb0n%40googlegroups.com.


Re: [tw5] Re: Artwork for v5.2.0

2021-06-16 Thread springer
Entries -- including through this most recent one submitted by James -- are 
all posted for easy comparison at 

https://tw-logo-contest.tiddlyhost.com/

Currently I haven't removed any entries except where authors have withdrawn 
them or indicated that one image is to replace another. So, Frank B 
currently has 5 entries, and others have 1-3 each. 

If anyone has requests in the next couple days (such as "I'd love to see a 
variation on this with xyz font or xyz colors), I would be happy to give it 
a go (and am guessing the same holds for many of us who enjoy this kind of 
tinkering).

-Springer
On Wednesday, June 16, 2021 at 6:26:59 PM UTC-4 james.w@gmail.com wrote:

> something really basic:
>
> [image: キャプチャ.PNG]
>
> [image: 名称未設定.png]
>
> something about breaking things apart and putting them back together :)
>
>
>
>
>
>
> On Wednesday, 16 June 2021 at 22:22:18 UTC+1 f.brunsb...@gmail.com wrote:
>
>> Hi,
>>
>> I have something more...
>> [image: entw5.png]
>>
>> TiddlyTweeter schrieb am Mittwoch, 16. Juni 2021 um 00:10:22 UTC+2:
>>
>>>  iamdar...@gmail.com wrote:
>>>
 Ok, modified 3rd attempt ...
>>>
>>>
 Author: IAmDarthMole
 Name: Drag n Drop JSON LG

 [image: Logo4.png]

>>>
>>> I PERSONALLY THINK that is neat and semantic.
>>> It kinda grasps that 5.2.0 up is a change.
>>> Just saying, TT 
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ac916ea4-fa6b-43b6-a53f-8d12b4a9a9edn%40googlegroups.com.


[tw5] Re: Get maximum number of tiddlers created a day

2021-06-16 Thread TW Tones
Euthymious,

What do you mean by "*But is it possible to pick one maximum number?"*

Do you mean limit the output?
<$list filter="[!is[system]eachday[created]get[created]*limit[20]*]">
On  {{{ []}}}
{{{ [samedaycount[]] }}}  tiddlers were created


Tones
On Wednesday, 16 June 2021 at 18:31:11 UTC+10 Euthymious wrote:

> Hello!
> I got stuck on this seemingly simle question.
> It is rather easy to count tiddlers created each day:
>
> <$list filter="[!is[system]eachday[created]get[created]]">
> On  {{{ []}}}
> {{{ [samedaycount[]] }}}  tiddlers were created
> 
>
> But is it possible to pick one maximum number?
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ae8d63cf-2192-46cc-b960-a41c19be6560n%40googlegroups.com.


[tw5] Re: empty.html should start with a "Centered story, fixed sidebar" setting.

2021-06-16 Thread TW Tones
Brian,

That would be useful but I am not sure if we can use var() as its a 
function. Changing  $:/themes/tiddlywiki/vanilla/metrics/sidebarwidth is 
sufficient.

Regards
Tones

On Thursday, 17 June 2021 at 10:55:08 UTC+10 Brian Radspinner wrote:

> @Tones, I don't know if you can make a tool out of it but you can use CSS 
> variables to get a start with one element's width effecting another's...
>
> *body.tc-body* {
>--sidebarWidth: 33.33%;
> } 
>
> *.tc-sidebar-scrollable* {
>width: var(--sidebarWidth);
> } 
>
> *.tc-story-river* {
>width: calc(100% - var(--sidebarWidth) - 10px);
> } 
>
>
> Adjusting the *--sidebarWidth* variable will cause both the sidebar and 
> story river widths to change.
> On Wednesday, June 16, 2021 at 5:01:15 PM UTC-7 TW Tones wrote:
>
>> Some thoughts;
>>
>> In a related need I created a sidebar width tool - attached. If you look 
>> at how it works I have to concatenate the N with px wide. This value 
>> permits one number to change the relationship using fluid story and fixed 
>> sidebar. I would like to see the number and units stored separately to 
>> allow such manipulation. There should be css values that the user can set 
>> and save including in a layout, to manipulate the whole layout. This would 
>> include locations for a left sidebar, or settings centred story etc ...
>>
>> As we present custom layouts we should be incorporating hidden elements 
>> that can be made active by the wiki designer.
>>
>> I am a strong believer that the layout should be a layer which can be 
>> replaced. Kind of making tiddlywiki and engine layer, a layout layer and a 
>> customised UI elements layer.
>>
>> Regards
>> Tones
>>
>> Regards
>> Tones
>>
>> On Thursday, 17 June 2021 at 05:56:42 UTC+10 f.brunsb...@gmail.com wrote:
>>
>>> Hello everybody,
>>>
>>> I think a "simple tool" like TiddlyTweeter wants is already there. It is 
>>> the basic settings. The community shows that for people who play a bit with 
>>> it (and know CSS), many different designs are possible even without such a 
>>> tool.
>>> You can still wish for it, of course :-)
>>>
>>> But perhaps a different presentation of the setting options would be 
>>> useful. For example, instead of the typical table (property on the left, 
>>> input field on the right), a simplified representation of the boxes and 
>>> margins, as used in TiddlyWikki, might be useful. This might also save 
>>> translation texts, because it would then be largely self-explanatory.
>>>
>>> ... and because it is used so often here...  Just thoughts ;-)
>>>
>>> » FBB
>>> TiddlyTweeter schrieb am Mittwoch, 16. Juni 2021 um 18:00:36 UTC+2:
>>>
 PMario wrote ...

> ... "simple tool" ... I think you meant "simple to use tool" ... The 
> backend side of this tool imo is complex and will need a lot of thought. 
> As 
> I wrote in my last post.
>

 HaHa! I love your semantic appreciation of English!

 Right! I did not really mean making it is easy. I am not a programmer 
 by either craft or orientation. 
 WHAT am I saying? Merely that interactive tools for CSS WILL WORK in TW 
 since it is a full-on dynamic system.
 AND I do suspect that we might be able to make a much better job of 
 providing simple "CSS use tools" than is currently the case.

 Just thoughts
 TT

>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5ce3765c-2218-42a5-8d7f-cd1e39d1d9d9n%40googlegroups.com.


[tw5] Re: Unrestricted field names... an implied use case

2021-06-16 Thread TW Tones
Mart,

I am execited about this too, see and vote for my Idea here  


Which reads;

*is/all operators to include fields and new system fields! V5.2.0*

*Folks,*

*Would it be possible to add to the next version is[field] and all[fields]] 
such that a title can be tested to see if it is a fieldname?*


*The following filter can already determine 
this;[fields[]match[test-field]then[yes]else[no]] equivalent would 
be [[test-field]is[field]]*

*However since fields are a important element of tiddlywiki, it would be 
helpful and make readable a range of field handling designs.*

*An extended feature would be to have virtual tiddlers for such fields like 
tags currently have a virtual tiddler, you can open and create if desired. 
This will be even more appealing with the new expanded tiddler naming rules 
because one could arguably have system fields ie those beginning with $:/ 
which are optionally hidden from view and edit templates, but certainly 
will not come up in the sidebar search.*

*An added feature of the extended field naming in 5.2.0 is designers and 
developers can use fieldnames with their own prefix eg I use 
$:/psat/tiddlername I can also use $:/psat/tagname so it would be nice to 
use $:/psat/fieldname*

I also had a previous request that I thought was being implemented, that 
resulted in this https://github.com/Jermolene/TiddlyWiki5/pull/5315

I hope it can proceed.

This may also be 
related https://github.com/Jermolene/TiddlyWiki5/issues/1324

Regards
Tones
On Thursday, 17 June 2021 at 01:12:19 UTC+10 Mat wrote:

> Just thinking out loud...
>
> As you may know, the coming v5.2.0 will feature unrestricted field names. 
> This is very big news! This will push fields to a substantially more 
> prominent position because *fields can then be directly mapped to 
> tiddlers*. I mean, just look at this:
>
> *"In the current tiddler, get the values of the fields with names that 
> match a filtered set of tiddler titles." *
>
> \define getdata() {{$(curr)$!!$(field)$}}
> <$vars curr=<>>
> <$list filter="...filteredtiddlers..." variable=field>
> <>
> etc
>
> So, the field values could be a relationship between the current tiddler 
> and those other tiddlers. For example:
>
> title: Adam
> Barbara:mother
> Caesar:father
> David:friend
>
> ...or from the other direction, i.e *"In a filtered tiddler list, get the 
> values from the field(s) named as current tiddler"*:
>
> <$vars curr=<>>
> <$list filter="...filteredtiddlers..." variable=field>
> <$transclude field=<>/>
> etc
>
> Another use: *"Transclude the content of a filtered set of tiddlers using 
> templates. But which specific template is used depends on the relation the 
> tiddler has with the current tiddler"*
>
> \define getdata() {{$(tid)$||$(template)$}}
> <$vars curr=<>>
> <$list filter="..." variable=tid>
> <$vars template={{{ [get] }}}>
> <>
> etc
>
> ...so, for example, if the relationship with current is "closest family" 
> then apply the template that also shows a photograph.
>
> Here the "getdata" macro only does a template transclusion but if the 
> field values contain complex data such as "Queen Elizabeth: sister queen 
> [[pole dancer]]" the macro could of course do much more complex stuff 
> treating such values as flags or variables etc.
>
>
> IMO the next bottleneck related this matter, are tools for controlling 
> field values. One such discussion is CheckboxWidget - generalize to also 
> toggle individual items #5613 
> 
>
> <:-)
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/18be46dd-6383-4574-ac1a-db11dbeba713n%40googlegroups.com.


[tw5] Re: empty.html should start with a "Centered story, fixed sidebar" setting.

2021-06-16 Thread Brian Radspinner
@Tones, I don't know if you can make a tool out of it but you can use CSS 
variables to get a start with one element's width effecting another's...

*body.tc-body* {
   --sidebarWidth: 33.33%;
} 

*.tc-sidebar-scrollable* {
   width: var(--sidebarWidth);
} 

*.tc-story-river* {
   width: calc(100% - var(--sidebarWidth) - 10px);
} 


Adjusting the *--sidebarWidth* variable will cause both the sidebar and 
story river widths to change.
On Wednesday, June 16, 2021 at 5:01:15 PM UTC-7 TW Tones wrote:

> Some thoughts;
>
> In a related need I created a sidebar width tool - attached. If you look 
> at how it works I have to concatenate the N with px wide. This value 
> permits one number to change the relationship using fluid story and fixed 
> sidebar. I would like to see the number and units stored separately to 
> allow such manipulation. There should be css values that the user can set 
> and save including in a layout, to manipulate the whole layout. This would 
> include locations for a left sidebar, or settings centred story etc ...
>
> As we present custom layouts we should be incorporating hidden elements 
> that can be made active by the wiki designer.
>
> I am a strong believer that the layout should be a layer which can be 
> replaced. Kind of making tiddlywiki and engine layer, a layout layer and a 
> customised UI elements layer.
>
> Regards
> Tones
>
> Regards
> Tones
>
> On Thursday, 17 June 2021 at 05:56:42 UTC+10 f.brunsb...@gmail.com wrote:
>
>> Hello everybody,
>>
>> I think a "simple tool" like TiddlyTweeter wants is already there. It is 
>> the basic settings. The community shows that for people who play a bit with 
>> it (and know CSS), many different designs are possible even without such a 
>> tool.
>> You can still wish for it, of course :-)
>>
>> But perhaps a different presentation of the setting options would be 
>> useful. For example, instead of the typical table (property on the left, 
>> input field on the right), a simplified representation of the boxes and 
>> margins, as used in TiddlyWikki, might be useful. This might also save 
>> translation texts, because it would then be largely self-explanatory.
>>
>> ... and because it is used so often here...  Just thoughts ;-)
>>
>> » FBB
>> TiddlyTweeter schrieb am Mittwoch, 16. Juni 2021 um 18:00:36 UTC+2:
>>
>>> PMario wrote ...
>>>
 ... "simple tool" ... I think you meant "simple to use tool" ... The 
 backend side of this tool imo is complex and will need a lot of thought. 
 As 
 I wrote in my last post.

>>>
>>> HaHa! I love your semantic appreciation of English!
>>>
>>> Right! I did not really mean making it is easy. I am not a programmer by 
>>> either craft or orientation. 
>>> WHAT am I saying? Merely that interactive tools for CSS WILL WORK in TW 
>>> since it is a full-on dynamic system.
>>> AND I do suspect that we might be able to make a much better job of 
>>> providing simple "CSS use tools" than is currently the case.
>>>
>>> Just thoughts
>>> TT
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f756c791-1e21-45c8-a62a-cdbe765663b9n%40googlegroups.com.


Re: [tw5] Re: Unable to run TiddlyDesktop on Linux

2021-06-16 Thread strikke...@gmail.com
Timimi is an extension for the browser and an added part to download and 
set up - and then of course in the extension settings in you browser, you 
set up the backup part. What it does is saving and creating backup. 

You can use your tiddlywiki as you please with the addons you would like.

Beaker Browser is absolutely interesting. I tried it for a short time - and 
it for sure is different. I stopped using it for now, finding it a little 
much with yet another browser just to use my tiddlywiki.
I don't think we have discussed Beaker Browser much since a much earlier 
version.

Birthe

On Wednesday, June 16, 2021 at 10:01:08 PM UTC+2 LinuxNoob wrote:

> Do either Beaker Browser or Timimi allow for TW addons such as TiddlyGraph?
>
> On Monday, June 14, 2021 at 11:12:11 AM UTC-4 Em Heppler wrote:
>
>> I have found Beaker Browser works really well on Linux/Ubuntu for 
>> tiddlywiki.
>>
>> https://tiddlywiki.com/static/Saving%2520on%2520Beaker%2520Browser.html
>>
>> On Sunday, June 13, 2021 at 2:57:32 PM UTC-4 LinuxNoob wrote:
>>
>>> Birthe, I'll be looking at this solution as it may be exactly what I 
>>> need in place of TiddlyDesktop. Thanks!
>>>
>>> On Sun, Jun 13, 2021 at 4:33 AM strikke...@gmail.com <
>>> strikke...@gmail.com> wrote:
>>>
 Maybe it is time to stop using TiddlyDesktop for now. It seems there 
 are some problems with this version of it. Wait for a new version if you 
 still want Tiddlydesktop.

 Download empty tiddlywiki from Tiddlywiki.com and use a saver. I love 
 Timimi by Riz. It is kind of a fairy godmother - save and creates backups.
 It is all about setting it up right. Luckily Riz explains everything 
 here: https://ibnishak.github.io/Timimi/
 I love using Tiddlywiki in the browser. Easy to make notes from stuff I 
 read, saving linksand best - to drag and drop plugins and other things 
 from the Tiddlywikis other people show us.

 I have one of my tiddlywikies pinned in the browser - and thus always 
 ready. This one is used for tips and tricks tested and written in my own 
 language Danish. (After many years this is really the one TW5 I am using 
 all the time). That is due to the fact, that to create it I must have 
 understood something at the time of creating.

 Also by now I have far more tiddlywikis than I would want to have 
 listed in Tiddlydesktop. 


 I really hope you get to enjoy the tiddlywiki experience soon,

 Birthe


 On Saturday, June 12, 2021 at 10:45:11 PM UTC+2 LinuxNoob wrote:

> Yeah I'm still getting the same error message: 
>
> [9629:9629:0603/160810.303573:ERROR:sandbox.cc(376)] 
> InitializeSandbox() called with multiple threads in process gpu-process. 
>
> I figured that I can still edit the html files after creating them by 
> opening the file manually (not using TiddlyDesktop)
>
> I can use TiddlyDesktop to create the new HTML files, then shut down 
> TD by exiting the terminal, and then editing teh html file by clicking on 
> the file where it's stored.
>
> I'm wondering, besides making saving files a breeze and managing 
> backups, are there any other benefits to TiddlyDesktop? The error I'm 
> having just stops me
> from using TD to open/manage the files. I think can deal with having 
> to manually back up the files.
>
> If anyone has any questions regarding this problem I'd be happy to 
> answer. Or any possible solutions. 
>
> Thanks for continuing to look into this, I appreciate any help I can 
> get because I'd like to use TiddlyWiki for work.
>
>
>
>
> On Thursday, June 10, 2021 at 11:30:25 PM UTC-4 iamdar...@gmail.com 
> wrote:
>
>> Is still giving the same exact error as before?
>>
>> On Thursday, June 10, 2021 at 2:08:32 AM UTC-4 LinuxNoob wrote:
>>
>>> Ok I followed the instructions and I've successfully installed 
>>> libgconf2-4 but unfortunately the problem persists.
>>>
>>> Frustrating!
>>>
>>> On Thu, Jun 10, 2021 at 12:37 AM Darth Mole  
>>> wrote:
>>>
 The instructions seem legit.

 Try checking out the instructions on this site as well: 
 https://itsfoss.com/unable-to-locate-package-error-ubuntu/

 itsfoss.com, imo, is a great website and I've found many of 
 solutions on there.

 On Thursday, June 10, 2021 at 12:19:42 AM UTC-4 LinuxNoob wrote:

> Thanks for the advice, but it didn't work. I got this message:
>
> ~& sudo apt install libconf2-4
> [sudo] password for user:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package libconf2-4
>
> This website doesn't look reputable, which is why I'm not just 
> trying 

[tw5] Re: empty.html should start with a "Centered story, fixed sidebar" setting.

2021-06-16 Thread TW Tones
Some thoughts;

In a related need I created a sidebar width tool - attached. If you look at 
how it works I have to concatenate the N with px wide. This value permits 
one number to change the relationship using fluid story and fixed sidebar. 
I would like to see the number and units stored separately to allow such 
manipulation. There should be css values that the user can set and save 
including in a layout, to manipulate the whole layout. This would include 
locations for a left sidebar, or settings centred story etc ...

As we present custom layouts we should be incorporating hidden elements 
that can be made active by the wiki designer.

I am a strong believer that the layout should be a layer which can be 
replaced. Kind of making tiddlywiki and engine layer, a layout layer and a 
customised UI elements layer.

Regards
Tones

Regards
Tones

On Thursday, 17 June 2021 at 05:56:42 UTC+10 f.brunsb...@gmail.com wrote:

> Hello everybody,
>
> I think a "simple tool" like TiddlyTweeter wants is already there. It is 
> the basic settings. The community shows that for people who play a bit with 
> it (and know CSS), many different designs are possible even without such a 
> tool.
> You can still wish for it, of course :-)
>
> But perhaps a different presentation of the setting options would be 
> useful. For example, instead of the typical table (property on the left, 
> input field on the right), a simplified representation of the boxes and 
> margins, as used in TiddlyWikki, might be useful. This might also save 
> translation texts, because it would then be largely self-explanatory.
>
> ... and because it is used so often here...  Just thoughts ;-)
>
> » FBB
> TiddlyTweeter schrieb am Mittwoch, 16. Juni 2021 um 18:00:36 UTC+2:
>
>> PMario wrote ...
>>
>>> ... "simple tool" ... I think you meant "simple to use tool" ... The 
>>> backend side of this tool imo is complex and will need a lot of thought. As 
>>> I wrote in my last post.
>>>
>>
>> HaHa! I love your semantic appreciation of English!
>>
>> Right! I did not really mean making it is easy. I am not a programmer by 
>> either craft or orientation. 
>> WHAT am I saying? Merely that interactive tools for CSS WILL WORK in TW 
>> since it is a full-on dynamic system.
>> AND I do suspect that we might be able to make a much better job of 
>> providing simple "CSS use tools" than is currently the case.
>>
>> Just thoughts
>> TT
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/23999598-2c90-4b9f-86d6-eee7ae99bf32n%40googlegroups.com.


sideBar-width.json
Description: application/json


[tw5] Re: Filter question: get caption else use title

2021-06-16 Thread TW Tones
Saq,

Well then either I don't understand what you are saying and/or you don't 
understand what I am saying (or both).

as far as I can see I can replicate you filter with [tag[Widgets]sort[]] 
+[get[caption]else[{!!title}]] while neither this or your filter provides 
links to the original tiddler.

Your question was how to get a similar result to your filter that you give 
an example for?, but you do not specifically state what result you are 
looking for. As a Result I speculated and came to think you want an 
intermediate result while retaining the currentTiddler. I then go on to 
talk about how this may be achieved in the future, in a simplified form of 
your filter which while an impressive use of the new filters it is hardly 
readable for most.

Perhaps I have not answered your question, but I did my best and put in 
some though and effort. Always with a view to improving tiddlywiki.

Regards
Tones



On Wednesday, 16 June 2021 at 17:03:14 UTC+10 Saq Imtiaz wrote:

> @pmario thank you for taking a look. Oddly enough, this came up now as I 
> was trying to see if I could replace a custom filter with the new filter 
> capabilities in the core.
>
> There are actually multiple ways that we could address this with a new 
> filter but I haven't had the chance to think through them and figure out 
> which would have the most universal utility. I'll post something on Github 
> when I get the chance. 
>
> Thank you.
>
>
> On Wednesday, June 16, 2021 at 8:39:24 AM UTC+2 PMario wrote:
>
>> Hi Saq,
>> That's a tricky filter. You use the capability of the "reduce" filter, 
>> that it has access to the "currentTiddler" inside the filter run. 
>>
>> If "elseXX" would have the same info it would be as simple as this. 
>>
>> [tag[Widgets]] +[get[caption]elseXX{!!title}]
>>
>> I think, the usecase is "generic" enough, to discuss a new elseX 
>> operator, that has this info.
>>
>> Just a thought
>> -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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e8aeaa32-cd59-4e10-a83c-cfcc1b57687bn%40googlegroups.com.


[tw5] Re: Edit While Scrolling Content CSS

2021-06-16 Thread Darth Mole
Thanks TiddlyTweeter! My idea came from a personal workflow preference, so 
it is rather unique in that sense.

I also understand where you are coming from regarding a CSS Manipulator, 
however, I can also see the major issue there having a background with web 
development.

Having a CSS manipulator macro isn't the issue, it is having the underlying 
code available to support it.

All the CSS changes in my script above, as well as the script it is based 
off of, is simply changing existing elements and their behaviors. It isn't 
creating new elements. CSS can't do that. I'm pretty sure that Stroll, as a 
plugin, adds a new element completely, that is how it can have two columns.

I also think that Muuri Storyview does something similar. 

I don't think it is realistic to expect TiddlyWiki to include that type of 
functionality in its base form due to the level of adjustments needed. It 
took the basic of forms because it was a solid decision from a broadly 
supported view point. I'm assuming that is why no one has created a "be all 
end all" customization plug-in because the effort would be massive. 

IE: If I had my way with my original two row design wish, I would have had 
at least two scroll bars, one for the top row and one for the bottom, and 
then possibly a third if the two rows together had a height higher than the 
user's resolution, or, if they had an index or lots of tags on display. 
Then it comes down to; do you want the rows to remain there while the rest 
of the page scrolls or do you want the rows to scroll up when you go down 
the page. If the height of the two rows is more than the resolution then 
you have to consider that you'll be moving the page if you scroll in the 
wrong area versus one of the rows. 

The ability to do what we want with TiddlyWiki is definitely there, as it 
has been customized by so many already. I just don't think some kind of 
blank canvas customization option is possible. Perhaps some kind of layout 
picker, where you have two adjustable columns like in Stroll, or two 
adjustable rows that work like the columns due in Stroll, or two rows with 
the top row being two columns, or two rows with the bottom row being two 
columns. Then you could have a keyboard+mouse combination (like Stroll's 
Shift+Left Click) to force linked Tiddlers to load inside whichever section 
of the layout they are in so you could create a menu/interface type 
solution.

I just think the expectations and goals in what you suggest is similar to a 
new type of personal application, versus a fancy or beefed up TiddlyWiki.

Just my thoughts of course, and I hope I didn't make any offensive 
assumptions with your knowledge. I was just trying to cover all my bases in 
the examples and reasons.

Thanks again!

DM

On Wednesday, June 16, 2021 at 2:29:16 PM UTC-4 TiddlyTweeter wrote:

> iamdar...@gmail.com wrote:
>
>> The below CSS is a slightly modified submission by Soren over on a 
>> different thread: https://groups.google.com/g/tiddlywiki/c/AbBmtgL7s74
>>
>> When a Tiddler is edited it drops to the bottom of the screen and stays 
>> there until it is saved. While locked at the bottom of the screen you can 
>> still open and scroll through other Tiddlers. When scrolling the Tiddlers 
>> being viewed go behind the one being edited. Also, the edit Tiddler is set 
>> to 500px height so if the Tiddler has a lot of content a scrollbar will 
>> appear vs it pushing up the screen and covering more of the stream. I 
>> wanted to post it here because the above thread was getting very long and I 
>> wanted to share the below code in case it was helpful for anyone else.
>>
>> div.tc-tiddler-frame { max-width: 60em; margin-left: auto; margin-right: 
>> auto; } 
>> div.tc-tiddler-edit-frame { max-width: 90em; margin-left: auto; 
>> margin-right: auto; max-height: 500px; overflow:auto; position: fixed; 
>> bottom: 0; z-index:2; } 
>> div.tc-tiddler-body { max-width: 50em; margin: auto; }  
>> .tc-tiddler-frame .tc-tiddler-preview .tc-edit-texteditor { width: 69%; } 
>> div.tc-tiddler-preview-preview { width: 29%; }
>>
>
> Very good stuff! It is clever!
> But, would it not be better if we could collectively produce such 
> mini-style-sheets dynamically in TW??? 
>
> What I find OFF is any idea there is some "optimal" solution to these 
> issues.
> PERSONALLY I simply find the needed solution will often be variable by 
> Application???
> As I mentioned elsewhere, I kinda think that some kind of "CSS 
> Manipulator" macro is really the way to go???
>
> Just thoughts
> TT
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5ed5507f-4479-49c8-8ac7-7e440c810c75n%40googlegroups.com.


Re: [tw5] Re: Artwork for v5.2.0

2021-06-16 Thread Darth Mole
I really like that design f.brunsb!

On Wednesday, June 16, 2021 at 5:22:18 PM UTC-4 f.brunsb...@gmail.com wrote:

> Hi,
>
> I have something more...
> [image: entw5.png]
>
> TiddlyTweeter schrieb am Mittwoch, 16. Juni 2021 um 00:10:22 UTC+2:
>
>>  iamdar...@gmail.com wrote:
>>
>>> Ok, modified 3rd attempt ...
>>
>>
>>> Author: IAmDarthMole
>>> Name: Drag n Drop JSON LG
>>>
>>> [image: Logo4.png]
>>>
>>
>> I PERSONALLY THINK that is neat and semantic.
>> It kinda grasps that 5.2.0 up is a change.
>> Just saying, TT 
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8b4c8bf5-83a9-4182-a4f0-590c2ac368a7n%40googlegroups.com.


Re: [tw5] Re: Artwork for v5.2.0

2021-06-16 Thread James Anderson
something really basic:

[image: キャプチャ.PNG]

[image: 名称未設定.png]

something about breaking things apart and putting them back together :)






On Wednesday, 16 June 2021 at 22:22:18 UTC+1 f.brunsb...@gmail.com wrote:

> Hi,
>
> I have something more...
> [image: entw5.png]
>
> TiddlyTweeter schrieb am Mittwoch, 16. Juni 2021 um 00:10:22 UTC+2:
>
>>  iamdar...@gmail.com wrote:
>>
>>> Ok, modified 3rd attempt ...
>>
>>
>>> Author: IAmDarthMole
>>> Name: Drag n Drop JSON LG
>>>
>>> [image: Logo4.png]
>>>
>>
>> I PERSONALLY THINK that is neat and semantic.
>> It kinda grasps that 5.2.0 up is a change.
>> Just saying, TT 
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b29f1aef-1096-43ac-8039-e29eb3abc27en%40googlegroups.com.


[tw5] Re: Filter request: "except those transcluded in the" current tiddler

2021-06-16 Thread Soren Bjornstad
I'd like to draw attention to this PR that's been sitting for about a year 
due to needed improvements:
https://github.com/Jermolene/TiddlyWiki5/pull/4766

By making transclusion into a first-class citizen that TiddlyWiki keeps 
track of, it would produce an elegant solution for this problem and many 
others. 

On Wednesday, June 16, 2021 at 11:20:37 AM UTC-5 David Gifford wrote:

> I added this to my "documenting.tw" file:  
> https://giffmex.org/gifts/documenting.tw.html#Filter%3A%20All%20tagging%20except%20those%20transcluded%20here
>
> On Wednesday, June 16, 2021 at 9:27:16 AM UTC-5 Si wrote:
>
>> Hi David,
>>
>> I've been planning to do something similar in my own wiki. I can't think 
>> of a way to do it with a single filter expression, but here is a very 
>> clunky approach:
>>
>> <$list filter="[tag] [tag{!!draft.of}]" 
>> variable=tagged-tiddler>
>> <$vars search-term={{{ [addprefix[{{]addsuffix[}}]] 
>> }}}>
>> <$list filter="[!search]">
>> <$link to=<>><>
>> 
>> 
>> 
>> 
>>
>> This should work in both edit and view mode, but you can easily simplify 
>> the first filter expression if you only need it to work in edit mode.
>>
>> There's probably a more elegant approach out there but this seems to work.
>>
>> On Tuesday, 15 June 2021 at 15:36:39 UTC+1 David Gifford wrote:
>>
>>> Hi all
>>>
>>> I need another list filter:
>>>
>>> ...minus any tiddlers transcluded in the" current tiddler.
>>>
>>> Use case: I plan to use transclusions to build long "article" tiddlers, 
>>> with section headers and specific ordering of the transclusions. But as I 
>>> take notes, I want to tag note tiddlers with the article(s) they will be 
>>> transcluded in. 
>>>
>>> So in edit template, I want a list at the bottom of the tiddlers tagged 
>>> to the current tiddler [all[current]tagging[]], minus the tiddlers I have 
>>> already transcluded in the current tiddler. That way I can see which 
>>> tiddlers still need transcluding.
>>>
>>> Thanks for any help with this. It doesn't look very straightforward. 
>>> There doesn't seem to be a way to do -[all[current]transcluding[]] yet. 
>>> Maybe in 5.1.25?
>>>
>>> Blessings,
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8ca8ae51-49c6-4674-8a2b-0cd11e6bee0fn%40googlegroups.com.


Re: [tw5] Re: .tid file format

2021-06-16 Thread Soren Bjornstad
Aha, you've accidentally solved the mystery of why I have two tiddlers 
stored as JSON in my Zettelkasten wiki! They have newlines in fields. 
Thanks. :-)

On Wednesday, June 16, 2021 at 9:32:37 AM UTC-5 jeremy...@gmail.com wrote:

> Just to add that the .tid file format really is as simple as it looks, 
> with the constraints implied by that simplicity:
>
> * Field names cannot contain colons
> * Field values (apart from the "text" field) cannot contain newlines
>
> The core works around these limitations by saving tiddlers in JSON format 
> if they don't meet the criteria for .tid files.
>
> Best wishes
>
> Jeremy
>
> --
> Jeremy Ruston
> jer...@jermolene.com
> https://jermolene.com
>
> On 16 Jun 2021, at 13:31, Soren Bjornstad  wrote:
>
> To be clear since it sounds like you might be trying to create them from 
> scratch without any reference to look off, you probably want to include at 
> least the fields *created*, *modified*, *tags*, *title*, and *type. *Type 
> is *text/vnd.tiddlywiki* for standard wikitext, and created/modified are 
> MMDDHHMMSSXXX timestamps (normalized to UTC).
>
> On Wednesday, June 16, 2021 at 7:29:11 AM UTC-5 Soren Bjornstad wrote:
>
>> David,
>>
>> I parse them all the time and there's not really much to it – most of the 
>> fields are at the top separated from their values by a colon and a space, 
>> and then after the first blank line is the *text* field.
>>
>> I imagine this may change slightly in the upcoming version 5.2 since 
>> field names are going to be allowed to contain more characters than they 
>> currently do (not sure what would happen if you put a colon in a field name 
>> in 5.2, for instance).
>>
>> On Wednesday, June 16, 2021 at 3:12:56 AM UTC-5 David Shaw wrote:
>>
>>> Is the format of a .tid file available anywhere?
>>>
>>> I ask because I am using Python to pull information from the Web, which 
>>> I then want to get into a Tiddlywiki and, for reasons that are far too 
>>> long, complicated and boring to go into here, I am having to do all this on 
>>> an Android device and can't get JSON import to work in Tiddloid. 
>>>
>>> Many thanks,
>>>
>>> David Shaw
>>>
>> -- 
> 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+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/c0a69b7a-3d77-479e-af4a-98722feb3d85n%40googlegroups.com
>  
> 
> .
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7197e295-7719-41f6-8f57-2accfa23f190n%40googlegroups.com.


Re: [tw5] Re: Artwork for v5.2.0

2021-06-16 Thread Frank Bruns-Ballhausen
Hi,

I have something more...
[image: entw5.png]

TiddlyTweeter schrieb am Mittwoch, 16. Juni 2021 um 00:10:22 UTC+2:

>  iamdar...@gmail.com wrote:
>
>> Ok, modified 3rd attempt ...
>
>
>> Author: IAmDarthMole
>> Name: Drag n Drop JSON LG
>>
>> [image: Logo4.png]
>>
>
> I PERSONALLY THINK that is neat and semantic.
> It kinda grasps that 5.2.0 up is a change.
> Just saying, TT 
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ba36b30d-ae37-4946-8885-050fdd823a73n%40googlegroups.com.


Re: [tw5] Re: Unable to run TiddlyDesktop on Linux

2021-06-16 Thread LinuxNoob
Do either Beaker Browser or Timimi allow for TW addons such as TiddlyGraph?

On Monday, June 14, 2021 at 11:12:11 AM UTC-4 Em Heppler wrote:

> I have found Beaker Browser works really well on Linux/Ubuntu for 
> tiddlywiki.
>
> https://tiddlywiki.com/static/Saving%2520on%2520Beaker%2520Browser.html
>
> On Sunday, June 13, 2021 at 2:57:32 PM UTC-4 LinuxNoob wrote:
>
>> Birthe, I'll be looking at this solution as it may be exactly what I need 
>> in place of TiddlyDesktop. Thanks!
>>
>> On Sun, Jun 13, 2021 at 4:33 AM strikke...@gmail.com <
>> strikke...@gmail.com> wrote:
>>
>>> Maybe it is time to stop using TiddlyDesktop for now. It seems there are 
>>> some problems with this version of it. Wait for a new version if you still 
>>> want Tiddlydesktop.
>>>
>>> Download empty tiddlywiki from Tiddlywiki.com and use a saver. I love 
>>> Timimi by Riz. It is kind of a fairy godmother - save and creates backups.
>>> It is all about setting it up right. Luckily Riz explains everything 
>>> here: https://ibnishak.github.io/Timimi/
>>> I love using Tiddlywiki in the browser. Easy to make notes from stuff I 
>>> read, saving linksand best - to drag and drop plugins and other things 
>>> from the Tiddlywikis other people show us.
>>>
>>> I have one of my tiddlywikies pinned in the browser - and thus always 
>>> ready. This one is used for tips and tricks tested and written in my own 
>>> language Danish. (After many years this is really the one TW5 I am using 
>>> all the time). That is due to the fact, that to create it I must have 
>>> understood something at the time of creating.
>>>
>>> Also by now I have far more tiddlywikis than I would want to have listed 
>>> in Tiddlydesktop. 
>>>
>>>
>>> I really hope you get to enjoy the tiddlywiki experience soon,
>>>
>>> Birthe
>>>
>>>
>>> On Saturday, June 12, 2021 at 10:45:11 PM UTC+2 LinuxNoob wrote:
>>>
 Yeah I'm still getting the same error message: 

 [9629:9629:0603/160810.303573:ERROR:sandbox.cc(376)] 
 InitializeSandbox() called with multiple threads in process gpu-process. 

 I figured that I can still edit the html files after creating them by 
 opening the file manually (not using TiddlyDesktop)

 I can use TiddlyDesktop to create the new HTML files, then shut down TD 
 by exiting the terminal, and then editing teh html file by clicking on the 
 file where it's stored.

 I'm wondering, besides making saving files a breeze and managing 
 backups, are there any other benefits to TiddlyDesktop? The error I'm 
 having just stops me
 from using TD to open/manage the files. I think can deal with having to 
 manually back up the files.

 If anyone has any questions regarding this problem I'd be happy to 
 answer. Or any possible solutions. 

 Thanks for continuing to look into this, I appreciate any help I can 
 get because I'd like to use TiddlyWiki for work.




 On Thursday, June 10, 2021 at 11:30:25 PM UTC-4 iamdar...@gmail.com 
 wrote:

> Is still giving the same exact error as before?
>
> On Thursday, June 10, 2021 at 2:08:32 AM UTC-4 LinuxNoob wrote:
>
>> Ok I followed the instructions and I've successfully installed 
>> libgconf2-4 but unfortunately the problem persists.
>>
>> Frustrating!
>>
>> On Thu, Jun 10, 2021 at 12:37 AM Darth Mole  
>> wrote:
>>
>>> The instructions seem legit.
>>>
>>> Try checking out the instructions on this site as well: 
>>> https://itsfoss.com/unable-to-locate-package-error-ubuntu/
>>>
>>> itsfoss.com, imo, is a great website and I've found many of 
>>> solutions on there.
>>>
>>> On Thursday, June 10, 2021 at 12:19:42 AM UTC-4 LinuxNoob wrote:
>>>
 Thanks for the advice, but it didn't work. I got this message:

 ~& sudo apt install libconf2-4
 [sudo] password for user:
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 E: Unable to locate package libconf2-4

 This website doesn't look reputable, which is why I'm not just 
 trying out what it recommends.
 https://zoomadmin.com/HowToInstall/UbuntuPackage/libgconf-2-4

 But the website suggests that to install libconf2-4 I have to write:

 sudo apt-get update -y
 sudo apt-get install -y libgconf-2-4 

 Can anyone confirm that this would be the way to go?

 On Wednesday, June 9, 2021 at 8:36:26 PM UTC-4 iamdar...@gmail.com 
 wrote:

> I preface what I'm about to write with: 
>
> I'm very new to linux as well and probably just know enough to be 
> dangerous. However, given the wording of the error, and that you 
> still get 
> it after following the linked steps, I would personally try the 
> 

[tw5] Re: empty.html should start with a "Centered story, fixed sidebar" setting.

2021-06-16 Thread Frank Bruns-Ballhausen
Hello everybody,

I think a "simple tool" like TiddlyTweeter wants is already there. It is 
the basic settings. The community shows that for people who play a bit with 
it (and know CSS), many different designs are possible even without such a 
tool.
You can still wish for it, of course :-)

But perhaps a different presentation of the setting options would be 
useful. For example, instead of the typical table (property on the left, 
input field on the right), a simplified representation of the boxes and 
margins, as used in TiddlyWikki, might be useful. This might also save 
translation texts, because it would then be largely self-explanatory.

... and because it is used so often here...  Just thoughts ;-)

» FBB
TiddlyTweeter schrieb am Mittwoch, 16. Juni 2021 um 18:00:36 UTC+2:

> PMario wrote ...
>
>> ... "simple tool" ... I think you meant "simple to use tool" ... The 
>> backend side of this tool imo is complex and will need a lot of thought. As 
>> I wrote in my last post.
>>
>
> HaHa! I love your semantic appreciation of English!
>
> Right! I did not really mean making it is easy. I am not a programmer by 
> either craft or orientation. 
> WHAT am I saying? Merely that interactive tools for CSS WILL WORK in TW 
> since it is a full-on dynamic system.
> AND I do suspect that we might be able to make a much better job of 
> providing simple "CSS use tools" than is currently the case.
>
> Just thoughts
> TT
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b26b65e9-00c6-4896-a849-d93439e41b98n%40googlegroups.com.


[tw5] Re: Edit While Scrolling Content CSS

2021-06-16 Thread TiddlyTweeter
iamdar...@gmail.com wrote:

> The below CSS is a slightly modified submission by Soren over on a 
> different thread: https://groups.google.com/g/tiddlywiki/c/AbBmtgL7s74
>
> When a Tiddler is edited it drops to the bottom of the screen and stays 
> there until it is saved. While locked at the bottom of the screen you can 
> still open and scroll through other Tiddlers. When scrolling the Tiddlers 
> being viewed go behind the one being edited. Also, the edit Tiddler is set 
> to 500px height so if the Tiddler has a lot of content a scrollbar will 
> appear vs it pushing up the screen and covering more of the stream. I 
> wanted to post it here because the above thread was getting very long and I 
> wanted to share the below code in case it was helpful for anyone else.
>
> div.tc-tiddler-frame { max-width: 60em; margin-left: auto; margin-right: 
> auto; } 
> div.tc-tiddler-edit-frame { max-width: 90em; margin-left: auto; 
> margin-right: auto; max-height: 500px; overflow:auto; position: fixed; 
> bottom: 0; z-index:2; } 
> div.tc-tiddler-body { max-width: 50em; margin: auto; }  
> .tc-tiddler-frame .tc-tiddler-preview .tc-edit-texteditor { width: 69%; } 
> div.tc-tiddler-preview-preview { width: 29%; }
>

Very good stuff! It is clever!
But, would it not be better if we could collectively produce such 
mini-style-sheets dynamically in TW??? 

What I find OFF is any idea there is some "optimal" solution to these 
issues.
PERSONALLY I simply find the needed solution will often be variable by 
Application???
As I mentioned elsewhere, I kinda think that some kind of "CSS Manipulator" 
macro is really the way to go???

Just thoughts
TT

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f04a1058-dce9-4d69-92bc-a5b2ee957909n%40googlegroups.com.


[tw5] Edit While Scrolling Content CSS

2021-06-16 Thread Darth Mole
Hello,

The below CSS is a slightly modified submission by Soren over on a 
different thread: https://groups.google.com/g/tiddlywiki/c/AbBmtgL7s74

When a Tiddler is edited it drops to the bottom of the screen and stays 
there until it is saved. While locked at the bottom of the screen you can 
still open and scroll through other Tiddlers. When scrolling the Tiddlers 
being viewed go behind the one being edited. Also, the edit Tiddler is set 
to 500px height so if the Tiddler has a lot of content a scrollbar will 
appear vs it pushing up the screen and covering more of the stream. I 
wanted to post it here because the above thread was getting very long and I 
wanted to share the below code in case it was helpful for anyone else.

div.tc-tiddler-frame { max-width: 60em; margin-left: auto; margin-right: 
auto; } 
div.tc-tiddler-edit-frame { max-width: 90em; margin-left: auto; 
margin-right: auto; max-height: 500px; overflow:auto; position: fixed; 
bottom: 0; z-index:2; } 
div.tc-tiddler-body { max-width: 50em; margin: auto; }  
.tc-tiddler-frame .tc-tiddler-preview .tc-edit-texteditor { width: 69%; } 
div.tc-tiddler-preview-preview { width: 29%; }


Some things to consider:

1) If you Edit more than one tiddler at a time they will overlap each other.
2) If you use a plugin like Stroll, specifically its two column view, while 
the edit tiddler will move to the bottom and allow scrolling, the alignment 
is based on which column the tiddler was in prior to selecting edit.
3) This is new code so any unintended effects it may have on other areas of 
TiddlyWiki are unknown.

Thanks!


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0fde9f3b-f7a4-4ac7-983f-3f1b51aa3d18n%40googlegroups.com.


[tw5] Re: Filter request: "except those transcluded in the" current tiddler

2021-06-16 Thread David Gifford
I added this to my "documenting.tw" file:  
https://giffmex.org/gifts/documenting.tw.html#Filter%3A%20All%20tagging%20except%20those%20transcluded%20here

On Wednesday, June 16, 2021 at 9:27:16 AM UTC-5 Si wrote:

> Hi David,
>
> I've been planning to do something similar in my own wiki. I can't think 
> of a way to do it with a single filter expression, but here is a very 
> clunky approach:
>
> <$list filter="[tag] [tag{!!draft.of}]" 
> variable=tagged-tiddler>
> <$vars search-term={{{ [addprefix[{{]addsuffix[}}]] 
> }}}>
> <$list filter="[!search]">
> <$link to=<>><>
> 
> 
> 
> 
>
> This should work in both edit and view mode, but you can easily simplify 
> the first filter expression if you only need it to work in edit mode.
>
> There's probably a more elegant approach out there but this seems to work.
>
> On Tuesday, 15 June 2021 at 15:36:39 UTC+1 David Gifford wrote:
>
>> Hi all
>>
>> I need another list filter:
>>
>> ...minus any tiddlers transcluded in the" current tiddler.
>>
>> Use case: I plan to use transclusions to build long "article" tiddlers, 
>> with section headers and specific ordering of the transclusions. But as I 
>> take notes, I want to tag note tiddlers with the article(s) they will be 
>> transcluded in. 
>>
>> So in edit template, I want a list at the bottom of the tiddlers tagged 
>> to the current tiddler [all[current]tagging[]], minus the tiddlers I have 
>> already transcluded in the current tiddler. That way I can see which 
>> tiddlers still need transcluding.
>>
>> Thanks for any help with this. It doesn't look very straightforward. 
>> There doesn't seem to be a way to do -[all[current]transcluding[]] yet. 
>> Maybe in 5.1.25?
>>
>> Blessings,
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1bb93689-4995-4b24-aa89-bd7312a4cff3n%40googlegroups.com.


[tw5] Re: .tid file format

2021-06-16 Thread David Shaw
Thanks to all for your replies; that was exactly the information I was
looking for. Now to get Pythoning.

David Shaw

On Wed, 16 Jun 2021, 09:12 David Shaw,  wrote:

> Is the format of a .tid file available anywhere?
>
> I ask because I am using Python to pull information from the Web, which I
> then want to get into a Tiddlywiki and, for reasons that are far too long,
> complicated and boring to go into here, I am having to do all this on an
> Android device and can't get JSON import to work in Tiddloid.
>
> Many thanks,
>
> David Shaw
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAHODQvzO_Pcd-Jxc9vFP2GSobne29FnkrshVfcw_C83EydRe8g%40mail.gmail.com.


[tw5] Re: empty.html should start with a "Centered story, fixed sidebar" setting.

2021-06-16 Thread TiddlyTweeter
PMario wrote ...

> ... "simple tool" ... I think you meant "simple to use tool" ... The 
> backend side of this tool imo is complex and will need a lot of thought. As 
> I wrote in my last post.
>

HaHa! I love your semantic appreciation of English!

Right! I did not really mean making it is easy. I am not a programmer by 
either craft or orientation. 
WHAT am I saying? Merely that interactive tools for CSS WILL WORK in TW 
since it is a full-on dynamic system.
AND I do suspect that we might be able to make a much better job of 
providing simple "CSS use tools" than is currently the case.

Just thoughts
TT

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2709136a-620b-4b8a-8270-48c89def76d4n%40googlegroups.com.


[tw5] Re: empty.html should start with a "Centered story, fixed sidebar" setting.

2021-06-16 Thread TiddlyTweeter
PMario wrote...

> ... vanilla CSS atm is close to 2500 lines of code.
>

Right! It is a major achievement! It is pretty astonishing!

The end-use issues partly arise from* "HOW do you know?"  *what directives 
in that vast stylesheet(s) system are active where and when?
The developer tools will *retro*-supply answers, but the sheer complexity 
of the cascade can, sometimes, make it hard to fathom out EXACTLY what to 
do to change the UI in a consistent fashion.

Just a comment
TT

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2ec340a5-a2bd-4c08-b533-42497dee579en%40googlegroups.com.


[tw5] Re: empty.html should start with a "Centered story, fixed sidebar" setting.

2021-06-16 Thread PMario
On Wednesday, June 16, 2021 at 5:04:07 PM UTC+2 TiddlyTweeter wrote:

PMario's "fits my personal needs" is a kinda understatement :-) ... I agree 
> with him that ...
> I do think it is true that DIFFERENT APPS (end-usages) often need 
> DIFFERENT FACES (end-looks / UI).
>

Yea, .. Most of the time I start to build new things, that are primarily 
useful for me. ... The second step is collecting feedback. Maybe someone 
else also likes it. ... 

In this special case. Franks suggestion is ascetically more pleasing, than 
my initial configuration. 

 - Franks suggestion imo makes more sense as an initial experience for new 
users.
 - My configuration still makes _some_ sense in a development environment.  
 

> In a sense, at the moment, I think we making a saga where actually a 
> simple tool might solve anyone's problem pretty easily???
>

"simple tool" ... I think you meant "simple to use tool" ... The backend 
side of this tool imo is complex and will need a lot of thought. As I wrote 
in my last post.

-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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/239045a4-77b3-43f9-b019-843c8895dbafn%40googlegroups.com.


[tw5] Re: empty.html should start with a "Centered story, fixed sidebar" setting.

2021-06-16 Thread PMario
On Wednesday, June 16, 2021 at 4:48:48 PM UTC+2 TiddlyTweeter wrote:

It really strikes me that one of the TW gurus who understand it's CSS/HTML 
> and the cascade that binds the two ...
> ... could probably give us a better TOOL to PLAY with layout dynamically???
>

This basically means to create the PageTemplate and the /vanilla CSS from 
scratch with a completely new concept in mind. ... 

The existing layout and the CSS have been started prior to 2012 ... more 
than 10 years ago. .. 

So having a closer look to eg: the CSS calc()  
function. FireFox started to implement it March 2011 and Chrome started 
March 2012. 
Mobile browsers implemented the feature MAY *2021* ... Which basically 
means the feature can *now* be used safely. ...

The same thing is true for flexbox,  and grid 
which are major improvements that _can_ make layout styling more 
consistent. .. 

So now we are at a position to create a new and more dynamic layout. ... 
BUT we pretty much need to start from scratch, since grid and flexbox are 
fundamentally different philosophies. 

vanilla CSS atm is close to 2500 lines of code.

-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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/be76f959-22ef-4050-bbdb-8b2d61c9651bn%40googlegroups.com.


[tw5] Filter expression for date field in the past and today

2021-06-16 Thread JJ
Hi!
I'm trying to figure out a filter expression to show me the tiddlers with a 
custom date-field, which is populated by the date-picker plugin, that is 
either matching today's date or any past dates (or the last 100 days or 
so). I want to show those tiddlers in a table using TiddlyTables or Dynamic 
tables by Shiraz.

I've looked into the days operator but had no luck.
[days:field[0]] gave me correctly only the tiddlers matching today's date. 
But if I input any number, for example [days:field[3]], I still get the 
tiddler with the timestamp of yesterdays date, or [days:field[-3]], I also 
get the tiddler with the timestamp of tomorrows tiddler. Combining days 
filter runs also didn't bring success .

How can I achieve this?
Thank you!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a276c488-d29f-4199-9a00-804833994714n%40googlegroups.com.


[tw5] Unrestricted field names... an implied use case

2021-06-16 Thread Mat
Just thinking out loud...

As you may know, the coming v5.2.0 will feature unrestricted field names. 
This is very big news! This will push fields to a substantially more 
prominent position because *fields can then be directly mapped to tiddlers*. 
I mean, just look at this:

*"In the current tiddler, get the values of the fields with names that 
match a filtered set of tiddler titles." *

\define getdata() {{$(curr)$!!$(field)$}}
<$vars curr=<>>
<$list filter="...filteredtiddlers..." variable=field>
<>
etc

So, the field values could be a relationship between the current tiddler 
and those other tiddlers. For example:

title: Adam
Barbara:mother
Caesar:father
David:friend

...or from the other direction, i.e *"In a filtered tiddler list, get the 
values from the field(s) named as current tiddler"*:

<$vars curr=<>>
<$list filter="...filteredtiddlers..." variable=field>
<$transclude field=<>/>
etc

Another use: *"Transclude the content of a filtered set of tiddlers using 
templates. But which specific template is used depends on the relation the 
tiddler has with the current tiddler"*

\define getdata() {{$(tid)$||$(template)$}}
<$vars curr=<>>
<$list filter="..." variable=tid>
<$vars template={{{ [get] }}}>
<>
etc

...so, for example, if the relationship with current is "closest family" 
then apply the template that also shows a photograph.

Here the "getdata" macro only does a template transclusion but if the field 
values contain complex data such as "Queen Elizabeth: sister queen [[pole 
dancer]]" the macro could of course do much more complex stuff treating 
such values as flags or variables etc.


IMO the next bottleneck related this matter, are tools for controlling 
field values. One such discussion is CheckboxWidget - generalize to also 
toggle individual items #5613 


<:-)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7ca9b287-83e4-4213-83e0-cb0591f864f9n%40googlegroups.com.


Re: [tw5] Re: Filter request: "except those transcluded in the" current tiddler

2021-06-16 Thread David Gifford
Yes! A big "¡Sí!" to si! Thanks, works great!




On Wed, Jun 16, 2021 at 9:27 AM Si  wrote:

> Hi David,
>
> I've been planning to do something similar in my own wiki. I can't think
> of a way to do it with a single filter expression, but here is a very
> clunky approach:
>
> <$list filter="[tag] [tag{!!draft.of}]"
> variable=tagged-tiddler>
> <$vars search-term={{{ [addprefix[{{]addsuffix[}}]]
> }}}>
> <$list filter="[!search]">
> <$link to=<>><>
> 
> 
> 
> 
>
> This should work in both edit and view mode, but you can easily simplify
> the first filter expression if you only need it to work in edit mode.
>
> There's probably a more elegant approach out there but this seems to work.
>
> On Tuesday, 15 June 2021 at 15:36:39 UTC+1 David Gifford wrote:
>
>> Hi all
>>
>> I need another list filter:
>>
>> ...minus any tiddlers transcluded in the" current tiddler.
>>
>> Use case: I plan to use transclusions to build long "article" tiddlers,
>> with section headers and specific ordering of the transclusions. But as I
>> take notes, I want to tag note tiddlers with the article(s) they will be
>> transcluded in.
>>
>> So in edit template, I want a list at the bottom of the tiddlers tagged
>> to the current tiddler [all[current]tagging[]], minus the tiddlers I have
>> already transcluded in the current tiddler. That way I can see which
>> tiddlers still need transcluding.
>>
>> Thanks for any help with this. It doesn't look very straightforward.
>> There doesn't seem to be a way to do -[all[current]transcluding[]] yet.
>> Maybe in 5.1.25?
>>
>> Blessings,
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/EnyDD7GseG0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/d70cb040-fa23-407b-9dcd-c9edf4b36210n%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CANE%3DBF%2B4-i30-6nuCm%2BFNED_XauwvwMs1x1ewv5K-FSY2MrZ%3DQ%40mail.gmail.com.


[tw5] Re: empty.html should start with a "Centered story, fixed sidebar" setting.

2021-06-16 Thread TiddlyTweeter
Ciao PMario & Frank

*Very interesting thread! *
Real end-looks/end-usage are the stakes.

PMario's "fits my personal needs" is a kinda understatement :-) ... I agree 
with him that ...
I do think it is true that DIFFERENT APPS (end-usages) often need DIFFERENT 
FACES (end-looks / UI).

My own PERSONAL thought on this in TW is we should try collectively to 
develop a methodology/tools so that it is EASIER to create new interfaces.
In a sense, at the moment, I think we making a saga where actually a simple 
tool might solve anyone's problem pretty easily???

Just thoughts
TT

 PMario wrote:

> Hi Frank,
> You are right. That looks nicer as a default. ... The setting I created 
> fits my personal needs ;). .. 
> IMO it should be possible to define your setting that way ...
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2e45d728-f0e0-4ea0-a108-62d3155b8a3dn%40googlegroups.com.


[tw5] Re: empty.html should start with a "Centered story, fixed sidebar" setting.

2021-06-16 Thread PMario
On Wednesday, June 16, 2021 at 2:24:04 PM UTC+2 Soren Bjornstad wrote:

> Absolute positioning strikes me as likely to confuse TiddlyWiki's layout, 
> but I'm mostly a “guess and check” CSS user so I can't explain why, except 
> that I've tried to do it in the past and it hasn't worked very well. But 
> your situation may be different.


Yea, the initial positioning is done with absolute positioning and margins 
to "push" the DIVs to the right position. ... As TW5 was created, there 
where no possibilities to use CSS calc(). Now every major browser supports 
it  with about 98% browser coverage. 

This makes things easier. 
 

> Also, wouldn't that be applying the same absolute positioning to *every* 
> tiddler 
> in the story river,
>

Centering is done with margin-left and margin-right both set to auto. and a 
max-width to the page container. 
 

> which could include both the details and the entry/chapter?
>

I don't understand this.
 

> You might be able to use data-tags 
>  to apply the 
> special positioning/sizing only to one of the items.
>

data-tags can be used to apply special formats depending an tags. .. That' 
not what we need here. ... We need a very generic way to center the 
story-river.

I'll try to publish a "kitchensink" version soon. So you can play with it. 

-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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e8b7114d-fec6-4c80-b0bb-8978dbfc559bn%40googlegroups.com.


[tw5] Re: empty.html should start with a "Centered story, fixed sidebar" setting.

2021-06-16 Thread TiddlyTweeter
Ciao Soren & all

It really strikes me that one of the TW gurus who understand it's CSS/HTML 
and the cascade that binds the two ...
... could probably give us a better TOOL to PLAY with layout dynamically???

TW is *exceptionally good* at dynamic recursion.
The layout is infinitely tweak-able. 
Some macro/tool that can dynamically make test-tweaking more intuitive I 
think would be good???

Just thoughts
TT

Soren Bjornstad wrote:

> Absolute positioning strikes me as likely to confuse TiddlyWiki's layout, 
> but I'm mostly a “guess and check” CSS user so I can't explain why, except 
> that I've tried to do it in the past and it hasn't worked very well.


 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/00442e00-369e-437d-bce6-f426cb3fb2ccn%40googlegroups.com.


[tw5] Re: Filter request: "except those transcluded in the" current tiddler

2021-06-16 Thread Si
Just realized the search filter should probably be more like this: 
[!search:text:literal,casesensitive]

On Wednesday, 16 June 2021 at 15:27:16 UTC+1 Si wrote:

> Hi David,
>
> I've been planning to do something similar in my own wiki. I can't think 
> of a way to do it with a single filter expression, but here is a very 
> clunky approach:
>
> <$list filter="[tag] [tag{!!draft.of}]" 
> variable=tagged-tiddler>
> <$vars search-term={{{ [addprefix[{{]addsuffix[}}]] 
> }}}>
> <$list filter="[!search]">
> <$link to=<>><>
> 
> 
> 
> 
>
> This should work in both edit and view mode, but you can easily simplify 
> the first filter expression if you only need it to work in edit mode.
>
> There's probably a more elegant approach out there but this seems to work.
>
> On Tuesday, 15 June 2021 at 15:36:39 UTC+1 David Gifford wrote:
>
>> Hi all
>>
>> I need another list filter:
>>
>> ...minus any tiddlers transcluded in the" current tiddler.
>>
>> Use case: I plan to use transclusions to build long "article" tiddlers, 
>> with section headers and specific ordering of the transclusions. But as I 
>> take notes, I want to tag note tiddlers with the article(s) they will be 
>> transcluded in. 
>>
>> So in edit template, I want a list at the bottom of the tiddlers tagged 
>> to the current tiddler [all[current]tagging[]], minus the tiddlers I have 
>> already transcluded in the current tiddler. That way I can see which 
>> tiddlers still need transcluding.
>>
>> Thanks for any help with this. It doesn't look very straightforward. 
>> There doesn't seem to be a way to do -[all[current]transcluding[]] yet. 
>> Maybe in 5.1.25?
>>
>> Blessings,
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d71adc8d-d455-402a-b404-7cd6a50e0428n%40googlegroups.com.


[tw5] Re: Filter request: "except those transcluded in the" current tiddler

2021-06-16 Thread Si
Just realised the search should be literal and case sensitive: 
[!search::literal,casesensitive]
On Wednesday, 16 June 2021 at 15:27:16 UTC+1 Si wrote:

> Hi David,
>
> I've been planning to do something similar in my own wiki. I can't think 
> of a way to do it with a single filter expression, but here is a very 
> clunky approach:
>
> <$list filter="[tag] [tag{!!draft.of}]" 
> variable=tagged-tiddler>
> <$vars search-term={{{ [addprefix[{{]addsuffix[}}]] 
> }}}>
> <$list filter="[!search]">
> <$link to=<>><>
> 
> 
> 
> 
>
> This should work in both edit and view mode, but you can easily simplify 
> the first filter expression if you only need it to work in edit mode.
>
> There's probably a more elegant approach out there but this seems to work.
>
> On Tuesday, 15 June 2021 at 15:36:39 UTC+1 David Gifford wrote:
>
>> Hi all
>>
>> I need another list filter:
>>
>> ...minus any tiddlers transcluded in the" current tiddler.
>>
>> Use case: I plan to use transclusions to build long "article" tiddlers, 
>> with section headers and specific ordering of the transclusions. But as I 
>> take notes, I want to tag note tiddlers with the article(s) they will be 
>> transcluded in. 
>>
>> So in edit template, I want a list at the bottom of the tiddlers tagged 
>> to the current tiddler [all[current]tagging[]], minus the tiddlers I have 
>> already transcluded in the current tiddler. That way I can see which 
>> tiddlers still need transcluding.
>>
>> Thanks for any help with this. It doesn't look very straightforward. 
>> There doesn't seem to be a way to do -[all[current]transcluding[]] yet. 
>> Maybe in 5.1.25?
>>
>> Blessings,
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e3d14bdf-ced2-455e-b2a1-aecc6745bf4dn%40googlegroups.com.


Re: [tw5] Re: .tid file format

2021-06-16 Thread Jeremy Ruston
Just to add that the .tid file format really is as simple as it looks, with the 
constraints implied by that simplicity:

* Field names cannot contain colons
* Field values (apart from the "text" field) cannot contain newlines

The core works around these limitations by saving tiddlers in JSON format if 
they don't meet the criteria for .tid files.

Best wishes

Jeremy

--
Jeremy Ruston
jer...@jermolene.com
https://jermolene.com

> On 16 Jun 2021, at 13:31, Soren Bjornstad  wrote:
> To be clear since it sounds like you might be trying to create them from 
> scratch without any reference to look off, you probably want to include at 
> least the fields created, modified, tags, title, and type. Type is 
> text/vnd.tiddlywiki for standard wikitext, and created/modified are 
> MMDDHHMMSSXXX timestamps (normalized to UTC).
> 
>> On Wednesday, June 16, 2021 at 7:29:11 AM UTC-5 Soren Bjornstad wrote:
>> David,
>> 
>> I parse them all the time and there's not really much to it – most of the 
>> fields are at the top separated from their values by a colon and a space, 
>> and then after the first blank line is the text field.
>> 
>> I imagine this may change slightly in the upcoming version 5.2 since field 
>> names are going to be allowed to contain more characters than they currently 
>> do (not sure what would happen if you put a colon in a field name in 5.2, 
>> for instance).
>> 
>>> On Wednesday, June 16, 2021 at 3:12:56 AM UTC-5 David Shaw wrote:
>>> Is the format of a .tid file available anywhere?
>>> 
>>> I ask because I am using Python to pull information from the Web, which I 
>>> then want to get into a Tiddlywiki and, for reasons that are far too long, 
>>> complicated and boring to go into here, I am having to do all this on an 
>>> Android device and can't get JSON import to work in Tiddloid. 
>>> 
>>> Many thanks,
>>> 
>>> David Shaw
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/c0a69b7a-3d77-479e-af4a-98722feb3d85n%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/AB9CA16B-44BC-4E58-9C91-231CEFE81359%40gmail.com.


[tw5] Re: Filter request: "except those transcluded in the" current tiddler

2021-06-16 Thread Si
Hi David,

I've been planning to do something similar in my own wiki. I can't think of 
a way to do it with a single filter expression, but here is a very clunky 
approach:

<$list filter="[tag] [tag{!!draft.of}]" 
variable=tagged-tiddler>
<$vars search-term={{{ [addprefix[{{]addsuffix[}}]] }}}>
<$list filter="[!search]">
<$link to=<>><>





This should work in both edit and view mode, but you can easily simplify 
the first filter expression if you only need it to work in edit mode.

There's probably a more elegant approach out there but this seems to work.

On Tuesday, 15 June 2021 at 15:36:39 UTC+1 David Gifford wrote:

> Hi all
>
> I need another list filter:
>
> ...minus any tiddlers transcluded in the" current tiddler.
>
> Use case: I plan to use transclusions to build long "article" tiddlers, 
> with section headers and specific ordering of the transclusions. But as I 
> take notes, I want to tag note tiddlers with the article(s) they will be 
> transcluded in. 
>
> So in edit template, I want a list at the bottom of the tiddlers tagged to 
> the current tiddler [all[current]tagging[]], minus the tiddlers I have 
> already transcluded in the current tiddler. That way I can see which 
> tiddlers still need transcluding.
>
> Thanks for any help with this. It doesn't look very straightforward. There 
> doesn't seem to be a way to do -[all[current]transcluding[]] yet. Maybe in 
> 5.1.25?
>
> Blessings,
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d70cb040-fa23-407b-9dcd-c9edf4b36210n%40googlegroups.com.


Re: [tw5] Re: Building a book/blog webpage -- is TW5 right for it?

2021-06-16 Thread Kosmaton
Hello folks,

 

Thank you for all your answers. A lot of helpful elements. I also bumped into the Text-Slicer Edition which seems eminently useful for the book conversion part. Looks like this is actually integrated in the book browser/annotator that Télumire linked to.

 

It's still far from clear to me how I would integrate the various elements. Or get something like a numbered ToC going. That should become clearer by actually trying.

 

I may also try WordPress, as I have a bit of experience with it, and it seems easier in some ways. There appears to be a straightforward-looking ToC plugin, for instance.

 

On the other hand, tiddlers and transclusion feel like the way to go for e.g. referring to a book section from within a blog post -- as opposed to copying and pasting the text. The vague wish here is that if I at some later point e.g. add a book section so that other sections are shifted in the hierarchy, any links or transclusions to the sections involved would still point to the appropriate destinations. I need to think through wat that means in practice.

 

David mentioned a user comments section. Ideally there would be something of the kind, both for the blog posts and for every book section. But I'm not sure how to implement it, and whether I actually want Disqus-style comments. Comments-as-tiddlers might be nice... barring a sleek, curation-ready plugin for that, I might stick to "Questions? Comments? Drop an e-mail!"

 

Thanks again, all.

 

K.

 
 

Enviar: domingo 13 de junio de 2021 a las 18:06
De: "James Anderson" 
Para: "TiddlyWiki" 
Asunto: Re: [tw5] Re: Building a book/blog webpage -- is TW5 right for it?

I might do, I've not really found a short version of what will stop working when 5.2 is released. but i'd like to keep all my plugins up to date.
 

On Sunday, 13 June 2021 at 16:42:41 UTC+1 Mohammad wrote:




Hi James,

Your workflow is popular, if you look at the forum you will find many posts about it!

So, I may propose with the advent of many new features in 5.1.2x it is worth updating the workflow!

 

Best wishes

Mohammad

 

 

 




On Sun, Jun 13, 2021 at 6:08 PM James Anderson  wrote:





I wrote a static blog exporter several years back for TW
 

explanation of it here: http://welford.github.io/twstaticblog/example/example.html

which itself exports to:

http://welford.github.io/twstaticblog/example/blog-styled/index.html

and 

http://welford.github.io/twstaticblog/example/blog-basic/index.html

 

i also use it for my personal blog here http://www.phasersonkill.com/ 

 

The thing is pretty flexible once you have it setup, most of what you want could be achieved. " a sort of carousel widget with single sections from the book, with arrows left and right to flip through them." might require a little extra work though.
 


On Saturday, 12 June 2021 at 14:45:19 UTC+1 TW Tones wrote:

As much as I value WordPress my personal belief is tiddlywiki would  be ideal, I would start with others book style wikis to get going. 
 

I understand the value of static websites for search may be valuable however the interactive wiki offers much more. The compromise would be a static site on which every page link opens  the interactive wiki, add a splash screen to inform them you are loading the whole book for easy search.

 

I started building a template to support this but not completed it yet. Hopefully someone has done it and can share a revised template for its export. 

If you can serve a node implementation securely on the internet would be better and it can automatically serve both static and interactive content. 

 

By the way 70,000 words with an average length 490,000 characters, Not even half a Megabyte is trivial, I have happily used 6-12Mb single file wikis without any concern.

 

Tones
 


On Friday, 11 June 2021 at 23:03:06 UTC+10 iamdar...@gmail.com wrote:

Hello!
 

As much as I love TiddlyWiki and think it could work for your use cases, I feel I would be remiss to not point out another option: WordPress

 

 

 


On Friday, June 11, 2021 at 7:37:42 AM UTC-4 David Gifford wrote:


Hi Kosmaton

 

You could use TiddlyWiki in node.js, and export and upload tiddlers to your free webhosting service as static htmls, no database needed. With some CSS, you could design it as you wish, in a way that it doesn't look TiddlyWiki-ish, and there are plugins to make the layout mobile-friendly. The book page, home page and news page are all doable. The book page could be handled with details elements (HTML, not the details widget plugin) and transclusions. So yes, everything you mentioned can be done.

 

Alternately, you could do the same with a regular standalone TW uploaded to your free webhosting service. Doing it as a standalone means the opening page would not load as quickly as a small static html page, but most people wouldn't notice the difference, and it would give you many more options for how to handle the book page, for example the table 

Re: [tw5] Re: [TW5] group by field

2021-06-16 Thread scot
Glad it helped.
Thanks goes to Mark S. for all his work.
Regards,
Scot

On Wednesday, 16 June 2021 at 03:45:39 UTC+1 Boazter wrote:

> Very nice! There are some good things for me to explore here. It's 
> interesting to see the similarities and the very different paths we took. 
> Of course, my skill isn't up to par but it is fun learning with an actual 
> project. I still have some tweaking to do but perhaps I'll share mine once 
> I've got something halfway decent. Thank you for sharing this.
>
> On Tue, Jun 15, 2021 at 1:43 PM scot  wrote:
>
>> Hello Boazter 
>> I think this discussion may interest you - It includes a groceries TW 
>> from Mark S.
>>
>> https://groups.google.com/g/tiddlywiki/c/JmlvsBQz8TQ/m/wOUm5uE4CAAJ
>>
>> groceries tw here
>> https://marxsal.github.io/various/groceries.html
>>
>> Scot
>>
>> On Tuesday, 15 June 2021 at 16:11:01 UTC+1 Boazter wrote:
>>
>>> All,
>>>
>>> Just wanted to follow up on this since I appear to have stumbled across 
>>> the solution. My problem appears to have been the order in which I placed 
>>> the tag filter. I had noted:
>>>
>>> "I thought I could fix this by adding "tag[$purchase]" to the first 
 filter but doing so caused my list to completely disappear."
>>>
>>>
>>> I mulled it over and decided to play around with that again. I found 
>>> that by placing it at the front of the filter I was able to get the results 
>>> I wanted, before I had placed it _*after*_ the aisle tags. 
>>>
>>> The following code worked for me:
>>>
>>> <$list filter="[tag[$purchase]has[aisle]each[aisle]sort[aisle]]">
>>> 
>>> <$view field="aisle"/>
>>> 
>>> <$list 
>>> filter="[!tag[$purchased]tag[$purchase]aisle{!!aisle}sort[title]]">
>>> 
>>> <$button class="tc-btn-invisible">
>>> 
>>> <$action-listops $tags="$purchased"/>
>>>  <$link to={{!!title}}><$view field="title"/> 
>>> 
>>>
>>> This dropped the "frozen" category from my list in the example. 
>>>
>>> Best regards, 
>>>
>>> mr
>>>
>>> On Sun, Jun 13, 2021 at 2:06 PM Boazter  wrote:
>>>
 I have a question about taking this one step further, but first, I just 
 want to say thank you, thank you, thank you for this thread (original 
 poster and everyone who helped). 

 I was able to take this code and incorporate it into a grocery list 
 that I'd developed years ago and which I've been wanting to tweak. This 
 code allowed me to group my list by the aisle. (In actuality it's more 
 like 
 general areas of the store.) It works great and I'm absolutely over the 
 moon about it as I had gone down many rabbit holes before I found what I 
 was looking for! 

 Now I'm wondering about tweaking it further so that it doesn't show the 
 name of an aisle when there are no items on the list for that particular 
 trip.

 Let me 'splain:

 I have dozens of tiddlers of various grocery items, each with a field 
 called "aisle" with values like "bakery", "dairy", "frozen", "meats." I 
 have a full list to choose from of potential grocery items and clicking an 
 item tags them with "$purchase" (meaning "to be purchased") and they move 
 to the current shopping list. 

 With help from this thread I developed the code below to show the 
 current shopping list grouped by aisle. As I shop, checking an item on 
 that 
 list tags it as "$purchased" (not to be confused with "$purchase" above!) 
 and drops it from the list.

 Here is the code:

 <$list filter="[has[aisle]each[aisle]sort[aisle]]">
 
 <$view field="aisle"/>
 
 <$list 
 filter="[!tag[$purchased]tag[$purchase]aisle{!!aisle}sort[title]]">
 
 <$button class="tc-btn-invisible">
 
 <$action-listops $tags="$purchased"/>
  <$link to={{!!title}}><$view field="title"/> 
 

 The above might produce a list something like this:

 bakery
   bread
   cookies
 dairy
   milk
   cream
 frozen
 meats
   chicken
   sausage
 etc.

 As you can see, there are items under the "aisle" headers for "bakery", 
 "dairy" and "meats"; but none under "frozen". What I want is, if there are 
 no items from the frozen aisle (aisle="frozen") tagged with "$purchase", 
 then suppress the header (in this case "frozen") from appearing on the 
 list. That is, only show the header for "aisles" that contain items tagged 
 with "$purchase". 

 I thought I could fix this by adding "tag[$purchase]" to the first 
 filter but doing so caused my list to completely disappear.

 My skill level is pretty basic but improving. Is there an easy fix for 
 this? Am I missing something obvious? 

 Best regards and thank you for any help.

 mr

 On Tuesday, March 4, 2014 at 1:03:14 PM UTC-8 Scott Kingery wrote:

> Well, I'm almost there.
>
> Example wiki: 
> 

[tw5] Re: [question] plugin that turn a transclusion into a clickable link in edit mode ?

2021-06-16 Thread Télumire
Hello Saq,

This is exactly what I wanted, thank you so much !

Since TW 5.2.0 is around the corner (?) I will wait a bit to upgrade my 
wiki, but your demo is perfect for my needs :) 

In my opinion, from a UX POV it's best to use a popup, or even better no 
popup at all (just click on the link to open the tiddler, maybe with an 
underline and a cursor:pointer when hovering the link to keep consistency) 
to avoid cluttering in the editor.
This is because if the user want to use emojis, the icons could get 
confusing.

Great work !
Le dimanche 13 juin 2021 à 19:58:21 UTC+2, saq.i...@gmail.com a écrit :

> @si @Telumire
>
> Here is a very simplistic, quick and rough proof of concept for adding 
> some helpful popups in codemirror:
> https://saqimtiaz.github.io/sq-tw/temp/cm-plus-tweaks.html
> (Needs current pre-release of TW)
>
> Try ctrl+click on different parts of tiddler links and transclusions.
> The popup itself is entirely wikitext based so can be easily customized.
>
> [image: Screenshot 2021-06-13 195609.png]
>
> [image: Screenshot 2021-06-13 195705.png]
>
> Note that cmplus does not distinguish between simple transclusions, 
> transclusions with templates and filtered templates. While you can work 
> around this in wikitext, adding support in cmplus would make life a lot 
> easier.
>
> Another approach would be to embed clickable elements in the editor next 
> to links and transclusions. Rapid tiddler uses this approach so if someone 
> wants to take that route, the code pattern there is probably helpful for 
> follow:
> https://github.com/MeneDev/RapidTiddler
>
> Cheers,
> Saq
>
> On Saturday, June 12, 2021 at 8:22:24 PM UTC+2 si wrote:
>
>> >>> CodeMirror is able to parse links, so maybe someone made an addon 
>> build upon it allowing this functionnality ? I searched but ultimately 
>> found nothing .. 
>>
>> I'm not aware of any currently existing plugin, but CodeMirrorPlus has an 
>> open ticket for adding clickable links in edit mode: 
>> https://github.com/adithya-badidey/TW5-codemirror-plus/issues/6
>>
>> On Friday, 11 June 2021 at 00:33:53 UTC+1 Télumire wrote:
>>
>>> Hello everyone!
>>>
>>> Does anyone know if there is a plugin that turn a transclusion into a 
>>> clickable link to the tiddler transcluded, in edit mode?
>>>
>>> The process would be as follows: 
>>>
>>> I want to edit a tiddler (A). When the editor opens, I see that I have 
>>> transcluded another tiddler (e.g. {{B}}) inside the tiddler A. 
>>>
>>> I want to edit what is in B, so rather than copy/paste the title of 
>>> tiddler B into the search bar, click on the relevant tiddler in the search 
>>> result, then edit the tiddler B, this plugin would allow me to simply click 
>>> on {{B}}, which open the tiddler B, ideally already in edit mode. This 
>>> would save a lot of time !
>>>
>>> CodeMirror is able to parse links, so maybe someone made an addon build 
>>> upon it allowing this functionnality ? I searched but ultimately found 
>>> nothing ..
>>>
>>> PS : I know that it's possible to use a macro instead of a standard 
>>> transclusion (like discussed here 
>>> https://tiddlywiki.narkive.com/dxOiR2Vn/tw-tw5-including-a-link-when-transcluding)
>>>  
>>> but I dont want to change the way the tiddler is displayed in view mode.
>>>
>>>
>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/baa81aa6-88c2-4827-a8c4-39d5febdb30bn%40googlegroups.com.


[tw5] Re: .tid file format

2021-06-16 Thread Soren Bjornstad
To be clear since it sounds like you might be trying to create them from 
scratch without any reference to look off, you probably want to include at 
least the fields *created*, *modified*, *tags*, *title*, and *type. *Type 
is *text/vnd.tiddlywiki* for standard wikitext, and created/modified are 
MMDDHHMMSSXXX timestamps (normalized to UTC).

On Wednesday, June 16, 2021 at 7:29:11 AM UTC-5 Soren Bjornstad wrote:

> David,
>
> I parse them all the time and there's not really much to it – most of the 
> fields are at the top separated from their values by a colon and a space, 
> and then after the first blank line is the *text* field.
>
> I imagine this may change slightly in the upcoming version 5.2 since field 
> names are going to be allowed to contain more characters than they 
> currently do (not sure what would happen if you put a colon in a field name 
> in 5.2, for instance).
>
> On Wednesday, June 16, 2021 at 3:12:56 AM UTC-5 David Shaw wrote:
>
>> Is the format of a .tid file available anywhere?
>>
>> I ask because I am using Python to pull information from the Web, which I 
>> then want to get into a Tiddlywiki and, for reasons that are far too long, 
>> complicated and boring to go into here, I am having to do all this on an 
>> Android device and can't get JSON import to work in Tiddloid. 
>>
>> Many thanks,
>>
>> David Shaw
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c0a69b7a-3d77-479e-af4a-98722feb3d85n%40googlegroups.com.


[tw5] Re: .tid file format

2021-06-16 Thread Soren Bjornstad
David,

I parse them all the time and there's not really much to it – most of the 
fields are at the top separated from their values by a colon and a space, 
and then after the first blank line is the *text* field.

I imagine this may change slightly in the upcoming version 5.2 since field 
names are going to be allowed to contain more characters than they 
currently do (not sure what would happen if you put a colon in a field name 
in 5.2, for instance).

On Wednesday, June 16, 2021 at 3:12:56 AM UTC-5 David Shaw wrote:

> Is the format of a .tid file available anywhere?
>
> I ask because I am using Python to pull information from the Web, which I 
> then want to get into a Tiddlywiki and, for reasons that are far too long, 
> complicated and boring to go into here, I am having to do all this on an 
> Android device and can't get JSON import to work in Tiddloid. 
>
> Many thanks,
>
> David Shaw
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d8b79596-679a-4c4d-a8c4-41da0e26069dn%40googlegroups.com.


[tw5] Re: empty.html should start with a "Centered story, fixed sidebar" setting.

2021-06-16 Thread Soren Bjornstad
Absolute positioning strikes me as likely to confuse TiddlyWiki's layout, 
but I'm mostly a “guess and check” CSS user so I can't explain why, except 
that I've tried to do it in the past and it hasn't worked very well. But 
your situation may be different.

Also, wouldn't that be applying the same absolute positioning to *every* 
tiddler 
in the story river, which could include both the details and the 
entry/chapter? You might be able to use data-tags 
 to apply the 
special positioning/sizing only to one of the items.

On Tuesday, June 15, 2021 at 11:01:32 PM UTC-5 iamdar...@gmail.com wrote:

> @Soren,
>
> I have been trying to make a two column view for my World Building 
> project. The idea was that someone could be editing a Tiddler (entry) or 
> writing a chapter (again a Tiddler) and then have the world details above 
> in an isolated row that scrolled. Kind of like Stroll but instead of two 
> columns it would have two rows to switch the Tiddlers between. 
>
> However, your CSS gave me an idea and my question is, as I sit here 
> shaking and jittering like I have wy too much sugar, can you tell 
> me if my changes to the edit-frame css breaks anything in your mind? 
>
> I think I figured out how I can, and now want to, have the edit and 
> viewing breakdown. Again, I just want to make sure I'm not butchering 
> something else without realizing it. Thank you so much if you can and for 
> your CSS/idea!
>
> div.tc-tiddler-frame { max-width: 60em; margin-left: auto; margin-right: 
> auto; } 
> div.tc-tiddler-edit-frame { max-width: 90em; margin-left: auto; 
> margin-right: auto; max-height: 500px; overflow:auto; position: fixed; 
> bottom: 0; z-index:2; } 
> div.tc-tiddler-body { max-width: 50em; margin: auto; }  
> .tc-tiddler-frame .tc-tiddler-preview .tc-edit-texteditor { width: 69%; } 
> div.tc-tiddler-preview-preview { width: 29%; }
>
> On Tuesday, June 15, 2021 at 10:44:00 PM UTC-4 Soren Bjornstad wrote:
>
>> While we're discussing story river layouts, I've been playing with the 
>> following odd-looking but surprisingly functional layout for a couple of 
>> days, in an attempt to make optimal use of the 24" monitors where I do most 
>> of my editing:
>>
>> [image: widening.png]
>>
>> As you can see, the story river is centered, but tiddlers get wider when 
>> you go into edit mode, so there's additional space for a side-by-side 
>> preview when editing but lines don't get too long to comfortably read when 
>> viewing. I also changed the division between the editor and the preview to 
>> 70/30 instead of 50/50, which usually gets the paragraphs on the left and 
>> right to almost exactly line up, rather than the wikitext rapidly getting 
>> longer than the preview (a smaller difference like 60/40 might be a better 
>> compromise if you edit with a lot of images or transclusions).
>>
>> CSS on top of the default theme and fluid-fixed layout:
>>
>> div.tc-tiddler-frame { max-width: 60em; margin-left: auto; margin-right: 
>> auto; }
>> div.tc-tiddler-edit-frame { max-width: 90em; margin-left: auto; 
>> margin-right: auto; }
>> div.tc-tiddler-body { max-width: 50em; margin: auto; }
>> .tc-tiddler-frame .tc-tiddler-preview .tc-edit-texteditor { width: 69%; }
>> div.tc-tiddler-preview-preview { width: 29%; }
>>
>> Still in alpha stages, and probably much too odd to implement in core, 
>> but maybe interesting to somebody. :-)
>>
>> On Tuesday, June 15, 2021 at 4:39:02 PM UTC-5 f.brunsb...@gmail.com 
>> wrote:
>>
>>> Hi Mario, we just had the pleasure, but others are welcome to read my 
>>> opinion as well.
>>>
>>> Not a bad idea as far as it goes. Better than the original alignment of 
>>> the empty.html.
>>> But I would like to see another variant "All centered". Of course, both 
>>> side by side but shown together in the center. 
>>> [image: Eg_centered.png]
>>>
>>> PMario schrieb am Dienstag, 15. Juni 2021 um 21:28:21 UTC+2:
>>>

 Hi folks, 
 According to the feedback from empty.html should start with 
 "fluid-fixed" layout 
  
 I did create a new setting in the ControlPanel : Appearance : Theeme Tweaks

  - Centered story, fixed sidebar

 If the option is set, the metrics elements, that can't be used are 
 "grayd out". 

 The PR is at: https://github.com/Jermolene/TiddlyWiki5/pull/5800

 [image: centered-fixed-01.gif]

 Feedback is welcome.
 -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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e136e8df-a009-4cd8-95ac-5dc278203defn%40googlegroups.com.


[tw5] Re: logical AND for filter runs

2021-06-16 Thread Soren Bjornstad
I think you may be looking for :intersection?

   - named prefix :intersection replaces all filter output so far with 
   titles that are present in the output of this run, as well as the output 
   from previous runs. Forms the input for the next run.  NEW IN: 5.1.23

See the examples for filter runs 
 for a full 
explanation of the difference.

On Wednesday, June 16, 2021 at 3:36:47 AM UTC-5 jn.pierr...@gmail.com wrote:

> I've been into toying with run prefixes for my filters, to see what I can 
> now do with them.
>
> I've been able to have an equivalent of "if not A then B" but I've not 
> been able to get "if A then B". the + or :and prefix is not a logical AND 
> at all but just a way to replace all currents stuff in the pipe with new 
> contents.
>
> Part of the problem is I can't produce NOT A. I mean, see this example:
>
> {{{
> cobalt great gaz :filter[split[]match[r]] 
> +[!is[blank]then[]else["great" void]]
> ~Expected
> }}}
>
> {{{
> cobalt fox gaz :filter[split[]match[r]] 
> +[!is[blank]then[]else["fox" void]]
> ~Unexpected
> }}}
>
> The only output is "fox" void. I expected that the first filter output be 
> Expected.
>
> As a kind of check with
>
> {{{
> cobalt great gaz :filter[split[]match[r]] 
> ~Expected
> }}}
>
> {{{
> cobalt fox gaz :filter[split[]match[r]] 
> ~Unexpected
> }}}
>
> the output is
> great
> Unexpected
> which is totally what we thought we should have.
>
> The same also happens with
>
> cobalt great gaz :filter[split[]match[r]]
> +[!is[blank]]
> ~Expected
> }}}
>
> {{{
> cobalt fox gaz :filter[split[]match[r]]
> +[!is[blank]]
> ~Unexpected
> }}}
>
> Again, that's OK. Maybe that's because [] is not a blank input? But 
>
>
> {{{ [[]] +[!is[blank]then[Full]else[Empty]] }}}
>
> does indeed output Empty as expected so I'm really confused now...
>
> BTW, in real life, in "if A then B" my B is not a constant, in which case 
> I would have used [A]!is[blank]then[B] but a complex run. I know I can have 
> a function or variable as my B to get around the difficulty, but that is 
> not what I want to do here.
>
> -- 
> Jean-Pierre
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/438fc0c3-4fd7-4f15-8c5d-03440ce66fffn%40googlegroups.com.


[tw5] Re: empty.html should start with a "Centered story, fixed sidebar" setting.

2021-06-16 Thread Télumire
Hello Mario,

In your preview the main story is off-centered when the side menu panel is 
open. Personally I think it would maybe be better if it stayed perfectly 
centered as long as there is space for it, to reduce distraction (the text 
moving around) :)
Otherwise, I love the centered story view, it's much more comfortable for 
reading long tiddlers !
Le mardi 15 juin 2021 à 21:28:21 UTC+2, PMario a écrit :

>
> Hi folks, 
> According to the feedback from empty.html should start with "fluid-fixed" 
> layout 
>  I 
> did create a new setting in the ControlPanel : Appearance : Theeme Tweaks
>
>  - Centered story, fixed sidebar
>
> If the option is set, the metrics elements, that can't be used are "grayd 
> out". 
>
> The PR is at: https://github.com/Jermolene/TiddlyWiki5/pull/5800
>
> [image: centered-fixed-01.gif]
>
> Feedback is welcome.
> -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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/854bb67d-37f5-45cc-8134-0737213fe15cn%40googlegroups.com.


[tw5] Re: appending to external links

2021-06-16 Thread James Anderson
perfect, thanks Eric!

On Wednesday, 16 June 2021 at 11:19:25 UTC+1 Eric Shulman wrote:

> On Wednesday, June 16, 2021 at 2:50:58 AM UTC-7 james.w@gmail.com 
> wrote:
>
>> lets say I have a tiddler called Search which contains:
>> www.google
>> then in another tiddler i want to use this to create external links to 
>> different sites e.g. 
>> {{Search}}.com -> www.google.com
>> {{Search}}.co.uk -> www.google.co.uk
>> {{Search}}.fr -> www.google.fr
>>
>> the following doesn't work:
>>  link 1
>> what is the right syntax to achieve this?
>>
>  
> To construct a parameter value (i.e., the value following the "href=" 
> syntax), you need to use a "filtered transclusion", like this:
>
>  link 1
>  link 2
>  link 3
>
> Notes:
> 1) The filtered transclusion syntax is contained within tripled curly 
> braces: {{{ filter }}}
> 2) The filter syntax itself is contained inside a matched pair of single 
> square brackets: [...]
> 3) To reference the text content of a tiddler within a filter, use 
> *single* curly braces: {TiddlerName}
> 4) To append the desired literal text (i.e., ".com", ".co.uk", etc.) use 
> the addsuffix[...] operator
>
> enjoy,
> -e
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9acea6aa-e5db-4629-bb07-f0f59fee81ecn%40googlegroups.com.


[tw5] Re: appending to external links

2021-06-16 Thread Eric Shulman
On Wednesday, June 16, 2021 at 2:50:58 AM UTC-7 james.w@gmail.com wrote:

> lets say I have a tiddler called Search which contains:
> www.google
> then in another tiddler i want to use this to create external links to 
> different sites e.g. 
> {{Search}}.com -> www.google.com
> {{Search}}.co.uk -> www.google.co.uk
> {{Search}}.fr -> www.google.fr
>
> the following doesn't work:
>  link 1
> what is the right syntax to achieve this?
>
 
To construct a parameter value (i.e., the value following the "href=" 
syntax), you need to use a "filtered transclusion", like this:

 link 1
 link 2
 link 3

Notes:
1) The filtered transclusion syntax is contained within tripled curly 
braces: {{{ filter }}}
2) The filter syntax itself is contained inside a matched pair of single 
square brackets: [...]
3) To reference the text content of a tiddler within a filter, use *single* 
curly braces: {TiddlerName}
4) To append the desired literal text (i.e., ".com", ".co.uk", etc.) use 
the addsuffix[...] operator

enjoy,
-e

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6e2a7daa-5488-4d00-904a-36a7b7e97c76n%40googlegroups.com.


[tw5] appending to external links

2021-06-16 Thread James Anderson
Hello, 

wondering how i can achieve the following (admittedly contrived) example:

lets say I have a tiddler called Search which contains:

www.google

then in another tiddler i want to use this to create external links to 
different sites e.g. 

{{Search}}.com -> www.google.com
{{Search}}.co.uk -> www.google.co.uk
{{Search}}.fr -> www.google.fr

the following doesn't work:
 link 1

what is the right syntax to achieve this?

Thanks,
James

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/69e28f53-072d-4829-a3b2-c23622d95e6cn%40googlegroups.com.


[tw5] Re: empty.html should start with a "Centered story, fixed sidebar" setting.

2021-06-16 Thread PMario
I think I found something

On Wednesday, June 16, 2021 at 10:55:47 AM UTC+2 PMario wrote:

> Hi Frank,
>
> You are right. That looks nicer as a default. ... The setting I created 
> fits my personal needs ;). .. 
>
> IMO it should be possible to define your setting that way: 
>
>  - Body width ... in pixel, em or % of the max-width ... which contains 
> the story-river + the sidebar
>  - Body / Sidebar ... ratio where only 1 width will be set. The other will 
> be calculated. eg: 60% / (40% is calculated)
>
> BUT .. It seems this will completely clash with the existing PageTemplate 
> + CSS
> Whatever I do - it always looks like this.
>
> [image: Clipboard01.gif]
>
> just some thoughts. 
> -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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ea2e4584-68a3-475d-a769-b63279cfb37dn%40googlegroups.com.


[tw5] Re: empty.html should start with a "Centered story, fixed sidebar" setting.

2021-06-16 Thread PMario
Hi Frank,

You are right. That looks nicer as a default. ... The setting I created 
fits my personal needs ;). .. 

IMO it should be possible to define your setting that way: 

 - Body width ... in pixel, em or % of the max-width ... which contains the 
story-river + the sidebar
 - Body / Sidebar ... ratio where only 1 width will be set. The other will 
be calculated. eg: 60% / (40% is calculated)

BUT .. It seems this will completely clash with the existing PageTemplate + 
CSS
Whatever I do - it always looks like this.

[image: Clipboard01.gif]

just some thoughts. 
-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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a71d828e-e00e-4a73-a3da-80baff538051n%40googlegroups.com.


[tw5] logical AND for filter runs

2021-06-16 Thread Jean-Pierre Rivière
I've been into toying with run prefixes for my filters, to see what I can 
now do with them.

I've been able to have an equivalent of "if not A then B" but I've not been 
able to get "if A then B". the + or :and prefix is not a logical AND at all 
but just a way to replace all currents stuff in the pipe with new contents.

Part of the problem is I can't produce NOT A. I mean, see this example:

{{{
cobalt great gaz :filter[split[]match[r]] 
+[!is[blank]then[]else["great" void]]
~Expected
}}}

{{{
cobalt fox gaz :filter[split[]match[r]] 
+[!is[blank]then[]else["fox" void]]
~Unexpected
}}}

The only output is "fox" void. I expected that the first filter output be 
Expected.

As a kind of check with

{{{
cobalt great gaz :filter[split[]match[r]] 
~Expected
}}}

{{{
cobalt fox gaz :filter[split[]match[r]] 
~Unexpected
}}}

the output is
great
Unexpected
which is totally what we thought we should have.

The same also happens with

cobalt great gaz :filter[split[]match[r]]
+[!is[blank]]
~Expected
}}}

{{{
cobalt fox gaz :filter[split[]match[r]]
+[!is[blank]]
~Unexpected
}}}

Again, that's OK. Maybe that's because [] is not a blank input? But 


{{{ [[]] +[!is[blank]then[Full]else[Empty]] }}}

does indeed output Empty as expected so I'm really confused now...

BTW, in real life, in "if A then B" my B is not a constant, in which case I 
would have used [A]!is[blank]then[B] but a complex run. I know I can have a 
function or variable as my B to get around the difficulty, but that is not 
what I want to do here.

-- 
Jean-Pierre


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e0f75d55-b7bb-4478-bc5c-8b38b56baea8n%40googlegroups.com.


[tw5] Get maximum number of tiddlers created a day

2021-06-16 Thread Euthymious
Hello!
I got stuck on this seemingly simle question.
It is rather easy to count tiddlers created each day:

<$list filter="[!is[system]eachday[created]get[created]]">
On  {{{ []}}}
{{{ [samedaycount[]] }}}  tiddlers were created


But is it possible to pick one maximum number?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/44b10860-d3f3-424a-8663-40b6d0b551c2n%40googlegroups.com.


[tw5] .tid file format

2021-06-16 Thread David Shaw
Is the format of a .tid file available anywhere?

I ask because I am using Python to pull information from the Web, which I
then want to get into a Tiddlywiki and, for reasons that are far too long,
complicated and boring to go into here, I am having to do all this on an
Android device and can't get JSON import to work in Tiddloid.

Many thanks,

David Shaw

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAHODQvxC0r7AGKmRvGNnd7kqZkEqae-8t8NFFrcTUwPiV9tyJA%40mail.gmail.com.


[tw5] Re: empty.html should start with a "Centered story, fixed sidebar" setting.

2021-06-16 Thread PMario
Hi Soren,

That's an interesting approach and I think it looks good. ... IMO it would 
be a very easy to create a theme on top of my new "Centered story, fixed 
sidebar" option. 

It would need to add a new setting for "Editor width" in addition to the 
existing "Tiddler width" and there would be a new setting for the "Preview 
width".

I did experiment with a "slider-like" functionality in the middle of the 
edit-area and the preview-area but it looked ugly and didn't work. The 
wikitext complexity got out of control. ...

-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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3ddd0324-83d8-44cb-8d6b-fc0df26c074en%40googlegroups.com.


[tw5] Re: Filter question: get caption else use title

2021-06-16 Thread Saq Imtiaz
@pmario thank you for taking a look. Oddly enough, this came up now as I 
was trying to see if I could replace a custom filter with the new filter 
capabilities in the core.

There are actually multiple ways that we could address this with a new 
filter but I haven't had the chance to think through them and figure out 
which would have the most universal utility. I'll post something on Github 
when I get the chance. 

Thank you.


On Wednesday, June 16, 2021 at 8:39:24 AM UTC+2 PMario wrote:

> Hi Saq,
> That's a tricky filter. You use the capability of the "reduce" filter, 
> that it has access to the "currentTiddler" inside the filter run. 
>
> If "elseXX" would have the same info it would be as simple as this. 
>
> [tag[Widgets]] +[get[caption]elseXX{!!title}]
>
> I think, the usecase is "generic" enough, to discuss a new elseX operator, 
> that has this info.
>
> Just a thought
> -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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3ef8a992-d0e3-442b-aefa-ca2ec65ba2bfn%40googlegroups.com.


[tw5] Re: Filter question: get caption else use title

2021-06-16 Thread Saq Imtiaz
 

> Am I correct ? I think this is behind the problem you have of 
> simplification. Otherwise this would be sufficient 
> [tag[Widgets]get[caption]else[title]]
>

I am at a loss as to what you are trying to say here. The filter you 
provide however would not under any circumstance return the desired result, 
even if you changed [title] to {!!title}.
 

> If you are prepared to split selection and display (in your case no) or 
> nest lists there is not problem. We could write a macro with two filters, 
> one selection one display and this would not be an issue.
>

I believe I have explained quite clearly that it isn't always a matter of 
choice to split things, or even as simple as demarcating things into just 
selection and display.  Furthermore, there isn't any problem to start with. 
My first post already contains a filter expression that returns the desired 
result. I wanted to see if someone could spot a simpler filter that might 
do the same trick. I would welcome any input along those lines within the 
stated constraints, otherwise I don't see any reason to continue this 
discussion. 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1c3f4f95-fa6d-47e3-a5b3-b2f6f17a250an%40googlegroups.com.


[tw5] Re: Filter question: get caption else use title

2021-06-16 Thread PMario
Hi Saq,
That's a tricky filter. You use the capability of the "reduce" filter, that 
it has access to the "currentTiddler" inside the filter run. 

If "elseXX" would have the same info it would be as simple as this. 

[tag[Widgets]] +[get[caption]elseXX{!!title}]

I think, the usecase is "generic" enough, to discuss a new elseX operator, 
that has this info.

Just a thought
-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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/78db5c54-bfbb-41da-9122-5b3da7be2285n%40googlegroups.com.