[tw5] Re: Hierarchical sorting

2021-04-19 Thread TW Tones
Mike, Without being sure, perhaps the sortsub feature in the latest release could help you define a single filter to feed into the table filter? Recursion does not demand a single filter, just your use case, but I understand the problem. The

[tw5] Re: Tiddloid: Any way to create a shortcut to a specific tiddler?

2021-04-19 Thread TW Tones
Si, If the wikis default tiddler is Shopping%20list this should open each time, but do you want multiple links to the same wiki in Tiddloid? Perhaps there is a way to edit the address in the shortcut and add a tiddler, or provide a parameter "?shop", look at the info tiddlers to see if the

[tw5] Re: sorting json data

2021-04-19 Thread TW Tones
In your example there is a field with the value "name" for every entry, they do not need to be sorted. If on the other hand you are referring to values in the second field like "pleiade", now that is a different story. Another approach without the JSON mangler is to parse each line, then parse

[tw5] Re: Trouble with nested lists, variables, prefix operator

2021-04-19 Thread TW Tones
You can also wrap the list with a Wikify, although I like Marks solution better. See how I reuse the variable name; <$wikify name=combo text="<>"> *<> | <$list filter="[tag[Journal]prefix]">{{!!title}}* PS in your Question you refer to YYY not but I doubt its important here. Regards

Re: [tw5] Detecting with wikitext if a plugin is installed and active

2021-04-19 Thread TW Tones
Saq, In this case is there not a message at the top to reload? If not perhaps fix that. If there is a message that suggests a reload, a temporary message tiddler is present, you may be able to test for its existence. Failing that is there something about the plugin you can test?, although

[tw5] Re: More Free Icons/images for Windows 10 Users that work well with TiddlyWiki

2021-04-19 Thread TW Tones
TT, Agreed! My thought was given a library is only a single tiddler with a link, perhaps we could have other libraries of resources under another tab to plugins. Then we submit these just like a documentation change to appear in tiddlywiki.com Or something similar to design a fresh. I will

Re: [tw5] Detecting with wikitext if a plugin is installed and active

2021-04-19 Thread Mohammad
Yep, that is true! the solution is incomplete! On Tuesday, April 20, 2021 at 12:43:19 AM UTC+4:30 saq.i...@gmail.com wrote: > @Mohammad the problem with this filter is that it doesn't exclude the > following situations: > - plugin installed but disabled when the wiki loaded, but later enabled

Re: [tw5] Detecting with wikitext if a plugin is installed and active

2021-04-19 Thread Joshua Fontany
If it is a javascript tiddler, you could check the Modules filter: https://tiddlywiki.com/#modules%20Operator On Monday, April 19, 2021 at 1:13:19 PM UTC-7 saq.i...@gmail.com wrote: > @Mohammad the problem with this filter is that it doesn't exclude the > following situations: > - plugin

[tw5] Re: Trouble with nested lists, variables, prefix operator

2021-04-19 Thread Brian Radspinner
Perfect! That worked. Thank you very much Mark. On Monday, April 19, 2021 at 2:14:30 PM UTC-7 Mark S. wrote: > The combo variable isn't being rendered and then passed to the list filter > as you might imagine. It's being rendered right there in place, and the > filter is getting the literal

Re: [tw5] Help with Comptext Plugin

2021-04-19 Thread Rika Sukenik
Thank you! I read up on plugins, and now it make sense how to remove them. Thank you! On Friday, April 16, 2021 at 9:33:26 AM UTC-7 si wrote: > @rika Although they appear as individual tiddlers in the wiki, the > tiddlers that make up a plugin are actually all stored within the main > plugin

[tw5] Re: sorting json data

2021-04-19 Thread Jean-Pierre Rivière
Thank you Mark. The macro is a nice thing, but it is not a filter. This allow to build the html for a sorted table. But there might be some case where I would need to refine the filter to get a whole list of more complex data out of my filter. BUT this is not true as of now. With your help, I

[tw5] Re: Trouble with nested lists, variables, prefix operator

2021-04-19 Thread 'Mark S.' via TiddlyWiki
The combo variable isn't being rendered and then passed to the list filter as you might imagine. It's being rendered right there in place, and the filter is getting the literal text. Try getting rid of the <$set> widget and replacing the text in the middle with: <$vars combo={{{

[tw5] Re: [Plugin] TW5-CodeMirror-Plus - with better formatting and autocompletion

2021-04-19 Thread Adithya B
The TW5-extendedit plugin works well with the default editor. It will not work with CodeMirror, which a different editor the TW5-codemirror-plus project is based on On Monday, April 19, 2021

[tw5] Trouble with nested lists, variables, prefix operator

2021-04-19 Thread Brian Radspinner
Hello all, I am trying to get a nested timeline of Journal entries. Each Journal tiddler title starts with the prefix "YYY-0MM-0DD/" (example: *2021-04-19/Walking*). For each day, there is also an empty tiddler titled with the format "YYY-0MM-0DD" (example: *2021-04-19*). These "day"

[tw5] Re: [Plugin] TW5-CodeMirror-Plus - with better formatting and autocompletion

2021-04-19 Thread Dupui Uis
Thanks for your reply bmad, I am currently using this as my autocomplete. https://snowgoon88.github.io/TW5-extendedit/ On Monday, April 19, 2021 at 12:13:42 PM UTC-4 bmad...@gmail.com wrote: > @dupui...@gmail.com > > It can be done - You can import all the files except the anyword.js file >

Re: [tw5] Detecting with wikitext if a plugin is installed and active

2021-04-19 Thread Saq Imtiaz
@Mohammad the problem with this filter is that it doesn't exclude the following situations: - plugin installed but disabled when the wiki loaded, but later enabled (but still not active). - plugin freshly installed but wiki has not been saved and reloaded. On Monday, April 19, 2021 at 10:01:05

Re: [tw5] Re: Subfilter recursion

2021-04-19 Thread Mohammad Rahmani
Have a look in TW-Script! A solution by Eric Shulman shows how to exclude a tag and how simply prevent a recursion loop! much simpler than the official toc macro! https://kookma.github.io/TW-Scripts/#A%20Simple%20Recursive%20TOC%20Macro Best wishes Mohammad On Mon, Apr 19, 2021 at 10:11 PM

[tw5] Tiddloid: Any way to create a shortcut to a specific tiddler?

2021-04-19 Thread si
This seems unlikely, but I use TiddlyWiki on Android with Tiddloid , and I wondered if there was any way to create a shortcut on the Android home screen that links to a specific tiddler? E.g. Open the wiki directly to mywiki.html#Shopping%20list. I can't use

Re: [tw5] Detecting with wikitext if a plugin is installed and active

2021-04-19 Thread Mohammad Rahmani
On Mon, Apr 19, 2021 at 11:15 PM Saq Imtiaz wrote: > I am wondering if anyone has a better solution for detecting in wikitext > whether a plugin is installed and available. > > For example, for detecting if the codemirror editor is available, I am > using the following filter: > >

[tw5] Re: Subfilter recursion

2021-04-19 Thread 'Mark S.' via TiddlyWiki
If you write your own recursion macro, you can put braces around each item in the output. Then set that output to a name inside a wikify widget. Then use that variable with the enlist operator to create your list that you want to use in an intersection. I just posted some similar code in

[tw5] Detecting with wikitext if a plugin is installed and active

2021-04-19 Thread Saq Imtiaz
I am wondering if anyone has a better solution for detecting in wikitext whether a plugin is installed and available. For example, for detecting if the codemirror editor is available, I am using the following filter: [[$:/plugins/tiddlywiki/codemirror]!is[missing]]

[tw5] Re: Subfilter recursion

2021-04-19 Thread Yaisog Bonegnasher
Yeah, the TOC macros are very clever in avoiding recursion. It's hard to imagine putting all this into a filter expression... On Monday, April 19, 2021 at 8:31:06 PM UTC+2 Yaisog Bonegnasher wrote: > Hi all, > thanks for the comments. > I was careful about tagging, not to create tag loops, but

[tw5] Re: sorting json data

2021-04-19 Thread 'Mark S.' via TiddlyWiki
This is a slightly different approach that I've used before. The names are all fetched in a form where they can be wikified, turned back into a list, and then sorted. Then a lookup is done by name for each item and the project is extracted. I think from this you can see how you would proceed

[tw5] Re: Subfilter recursion

2021-04-19 Thread Yaisog Bonegnasher
Hi all, thanks for the comments. I was careful about tagging, not to create tag loops, but I can see how that would be a problem. You'd have the same problem with the TOC macros – which are recursive – though, wouldn't you (at least with the types that are always fully expanded)? If Mark is

[tw5] Re: Subfilter recursion

2021-04-19 Thread Soren Bjornstad
This is a good point. The built-in table-of-contents macro appears to avoid the issue by excluding the current tiddler at each level, which could be applied to my example above: \define toc-body(tag,sort:"",itemClassFilter,exclude,path) <$list

[tw5] Re: Subfilter recursion

2021-04-19 Thread Jean-Pierre Rivière
About recursive macro, they may be possible, but the problem is how to stop the recursion. Your example works if there is no loop created by tagging. The problem is we don't have a proper <> macro to decide what to do (control recursion call in that case). Or how do you do that? Le dimanche 18

[tw5] Re: [Plugin] TW5-CodeMirror-Plus - with better formatting and autocompletion

2021-04-19 Thread Adithya B
@dupui...@gmail.com It can be done - You can import all the files except the anyword.js file from the plugin to get just the text formatting. Could you share the autocomplete you are using? I would love to switch over if that one's better. On Tuesday, April 6, 2021 at 10:06:08 PM UTC-6

[tw5] sorting json data

2021-04-19 Thread Jean-Pierre Rivière
I have a structured json data tiddler name "projects", which looks like this: [ { "project": "pleiade", "name": "Pléiade v5", "url": "http:pleiade.test.acmeserver.com" }, { "project": "rnvp", "name": "RNVP preprod", "url": "https://rnvp.preprod.acmeserver.com; }, { "project": "ars",

[tw5] Hierarchical sorting

2021-04-19 Thread Michael Wiktowy
Question for those more savvy with using filter/subfilter/subsort operators: I have a hierarchy of tiddlers tagged with their parent tiddlers, for example: A |A.1 ||A.1.a ||A.1.b ... |A.2 ||A.2.a ||A.2.b ... |A.3 B |B.1 ||B.1.a ||B.1.b ... |B.2 ... etc. Typically, I would list the tree via

[tw5] Re: A tour through my Zettelkasten

2021-04-19 Thread ludwa6
Makes sense, Soren, if we couch our TODOs in the form of a single sentence -a good rule to follow in any case- AND if we don't use any of those terminal punctuation marks within that sentence. This would preclude possibility of not only domain names and IP addresses (which by definition must