[tw5] Re: How to transclude a list and modify its indentation level automatically to match the destination tiddler indentation level

2022-03-23 Thread Eric N
Foo > * Bar > * Baz > ** Mumble > ** Frotz <$transclude tiddler="A" mode=block/> > ** Gronk > ``` > > The result should look like this: > >- Foo >- Bar >- Baz > - Mumble > - Frotz > - this > - tha

[tw5] How to transclude a list and modify its indentation level automatically to match the destination tiddler indentation level

2022-03-23 Thread Eric N
Hi, I have a list in a tiddler A, and I want to transclude it into a tiddler B while adapting the list indentation to the level where it is inserted in B. Say A is: ** this* ** that* And B is: ** 1* ** 2* ** 3* *** 3.1* *** 3.2* Then I want to type a command in B: ** 1* ** 2* ** 3* ***

[tw5] Re: Tiddlywiki file suddently corrupted on save (commas missing in TW inner JSON file)

2021-10-30 Thread Eric N
ort toc tiddler from http://tidtoc.tiddlyspot.com/#GettingStarted 6/ replace match by matcheucaly in the imported toc tiddler 7/ save, restart 8/ and tada! The TOC per tiddler by Tobias Beer is working again :) Thanks for all the help, Eric On Saturday, October 30, 2021 at 5:33:02 PM UTC+4 Eric N wr

[tw5] Re: Tiddlywiki file suddently corrupted on save (commas missing in TW inner JSON file)

2021-10-30 Thread Eric N
Thanks Mario, I understand better why it wasn't working. And indeed, I am very happy I could save my data !! On Saturday, October 30, 2021 at 5:25:15 PM UTC+4 PMario wrote: > It's probably the "match" filter operator that causes the problems. TW > implemented it's own "match" with V5.1.20 and

[tw5] Re: Tiddlywiki file suddently corrupted on save (commas missing in TW inner JSON file)

2021-10-30 Thread Eric N
ms that that logic has got corrupted, but > it's not immediately obvious how. > > Are you using any TW plugins? Does the wiki include any JavaScript modules > (ie tiddlers with type "application/javascript")? > > Best wishes > > Jeremy > > > On Friday, Octobe

[tw5] Tiddlywiki file suddently corrupted on save (commas missing in TW inner JSON file)

2021-10-29 Thread Eric N
Hi all, Today I opened my TW file to work on it, and it was blank. Last time I used it it was perfect. I tried to import that broken file into a fresh empty TW: error message saying that the JSON file was broken, "missing , or ]". So I checked the file and I had approx 100 instances of "}{"

[tw5] Re: returning all the tiddlers that contain at least the same tags as the current tiddler

2021-10-17 Thread Eric N
ic On Sunday, October 17, 2021 at 6:22:31 PM UTC+4 cj.v...@gmail.com wrote: > Hello Eric, > > Download the attached and drag it into TiddlyWiki.com. > > Cheers ! > > > > On Sunday, October 17, 2021 at 7:32:35 AM UTC-3 Eric N wrote: > >> Hi all, >> >> I

[tw5] returning all the tiddlers that contain at least the same tags as the current tiddler

2021-10-17 Thread Eric N
Hi all, I am looking for a way to select all the tiddlers that contain *at least the same tags* as the current tiddler. Say the current tiddler contains tags A & B, and other tiddlers contain: - C D E - A D E - B D E - A B - A B C D E, the filter expression would return only the last two

[tw5] Re: Making recursive + if-then-else based macro code simpler ?

2020-05-22 Thread Eric N.
> > Bimlases Kin filter is good at turning hierarchies into a flat list of > titles (among other things) so this can simplify code. > > I think using filters can make recursion easy in TiddlyWiki because it > naturally limits the iterations, but if you look in my example above, in &g

[tw5] Re: Making recursive + if-then-else based macro code simpler ?

2020-05-20 Thread Eric N.
Hi Tony, Sorry for the late answer... You are right, I am sometimes confusing this google group with a Tiddlywiki FAQ + code review + ideas box + many other things ;-) My main question was not really about how to solve my specific problem, but the generic problem of using recursive macros and

[tw5] Making recursive + if-then-else based macro code simpler ?

2020-05-14 Thread Eric N.
quot; > N.A. <$list filter="[<__note_title__>!prefix[so ]first[]]" > <$set name=new_list filter="[<__note_title__>tags[]prefix[no ]] [<__note_title__>tags[]prefix[so ]]" select="0"> <$macrocall

[tw5] Re: Eventually managed to compute the intersection of two filters outputs !

2020-05-07 Thread Eric N.
: <$wikify name=result text="""<>""" > 3/ using the result in various ways : <> <$text text=<>/> and in a list, my initial intent: <$list filter=<> > ;{{!!title}} :{{!!tags}} Works perfectly, thanks again ! Eric N. On

[tw5] Re: Eventually managed to compute the intersection of two filters outputs !

2020-05-06 Thread Eric N.
unclear to me) Cheers ! On Thursday, May 7, 2020 at 8:38:23 AM UTC+4, TonyM wrote: > > Eric N > > Thanks for sharing, I thought I would turn it into a macro because it is a > general type of solution. > > \define intersect(filter1 filter2) > <$set name="filterA&

[tw5] Re: Eventually managed to compute the intersection of two filters outputs !

2020-05-06 Thread Eric N.
> These are three wonderful sources for learning filters and of course the > holly TW-Scripts :-) :-) > > --Mohammad > > > On Wednesday, May 6, 2020 at 3:44:52 PM UTC+4:30, Eric N. wrote: >> >> I was stuck in my dev >> <https://groups.google.com/forum/#!top

[tw5] Re: Eventually managed to compute the intersection of two filters outputs !

2020-05-06 Thread Eric N.
:52 PM UTC+4, Eric N. wrote: > > I was stuck in my dev > <https://groups.google.com/forum/#!topic/tiddlywiki/H90XO43PblE> because > I couldn't output the intersection of two filters, each made of several > runs. I didn't find a built-in function to do so, and I couldn't

[tw5] Re: Find the downwards recursive titles and tags two notes have in common

2020-05-06 Thread Eric N.
This topic can be closed, solution posted here : https://groups.google.com/forum/#!topic/tiddlywiki/HgWJhMbWLTY On Tuesday, May 5, 2020 at 1:12:39 PM UTC+4, Eric N. wrote: > > Hi everyone, > > gentle reminder about this question :) > > How can I compute the intersection of

[tw5] Eventually managed to compute the intersection of two filters outputs !

2020-05-06 Thread Eric N.
I was stuck in my dev because I couldn't output the intersection of two filters, each made of several runs. I didn't find a built-in function to do so, and I couldn't find a satisfying solution online. But I eventually found my

[tw5] Re: Find the downwards recursive titles and tags two notes have in common

2020-05-05 Thread Eric N.
Hi everyone, gentle reminder about this question :) How can I compute the intersection of the output of two filters ? Best Eric On Sunday, May 3, 2020 at 2:37:04 PM UTC+4, Eric N. wrote: > > Hey, > > I'd like to find the "downwards recursive titles and tags" that two n

[tw5] Find the downwards recursive titles and tags two notes have in common

2020-05-03 Thread Eric N.
Hey, I'd like to find the "downwards recursive titles and tags" that two notes have in common. But I didn't find a way to do so. I can properly find what I call "downwards recursive titles and tags" of a note A with: [kin::to[A]tags[]] [kin::to[A]] -[[A]] Same for note B. But how do write a

[tw5] Re: About the "no compound tiddler title" recommandation

2020-04-30 Thread Eric N.
On Wednesday, April 29, 2020 at 9:47:14 PM UTC+4, Mark S. wrote: > > However, your first problem is that you have tagged source tiddlers with 3 > other kinds of tagging. One workaround would be to tag your sources as > "Sources". Then use the "sort" parameter of your TOC macro to exclude >

[tw5] Re: About the "no compound tiddler title" recommandation

2020-04-30 Thread Eric N.
Thanks Mat, and sorry for the wrong quote attribution :) On Wednesday, April 29, 2020 at 9:46:21 PM UTC+4, Mat wrote: > > Eric N. wrote: >> >> Reacting to a recent message from Mat stating : >> >>> good elemental best practices in tiddlywiki, like t

[tw5] About the "no compound tiddler title" recommandation

2020-04-29 Thread Eric N.
. *So* Are there any TW benefits I am missing with these prefixes and lack of main tags categories (no Topic, no Source, ...) ? And could I have dealt with my issue in a better way ? Best, Eric N. -- You received this message because you are subscribed to the Google Groups "

[tw5] About the "no compound toddler title" recommandation

2020-04-29 Thread Eric N.
tagged by its parent domain, and the top Domain being "do Domain" With <>, I could have the table of content display I was looking for : domains and subdomains. *So* Are there any TW benefits I am using with these prefixes and lack of main tags categories ? And could I h