Re: [tw5] Re: Tree Macro built in core

2019-06-30 Thread Damon Pritchett
After playing some more, it seems like you're tweak is going to work just fine. The only thing additional that I did was change the sort to sortan since I'm using a lot of numbers. Damon On Friday, June 28, 2019 at 9:06:36 AM UTC-5, Damon Pritchett wrote: > > Thanks again, Mark. That seems to

Re: [tw5] Re: Tree Macro built in core

2019-06-28 Thread Damon Pritchett
Thanks again, Mark. That seems to do the trick with a small amount of testing that I've done. I'll give it a more thorough going through over the next several days. Damon On Thursday, June 27, 2019 at 4:22:14 PM UTC-5, Mark S. wrote: > > You can try this change to tree-node2, which may work

Re: [tw5] Re: Tree Macro built in core

2019-06-27 Thread 'Mark S.' via TiddlyWiki
You can try this change to tree-node2, which may work as long AS you don't have any entries ending in "XXX" or "YYY". (these are end-of-title markers, which could be made more obscure if necessary). \define tree-node2(prefix,separator: "/") <$list

Re: [tw5] Re: Tree Macro built in core

2019-06-27 Thread Damon Pritchett
Hey Mark, et. al., I've been using the modified tree macro for quite a while now and am very happy with it. I would like to make another modification to it, but I haven't been able to figure out how to do it yet so am reaching out for hlep. What I would like to do is to have the folders sorted

Re: [tw5] Re: Tree Macro built in core

2019-06-16 Thread Damon Pritchett
Thanks Mark! That did the trick. I really appreciate the help. I think I understand what you did and why as well. I just wish I could think of those kinds of things on my own. Time and experience will change that I'm sure. Damon On Sunday, June 16, 2019 at 12:13:58 PM UTC-5, Mark S. wrote: > >

Re: [tw5] Re: Tree Macro built in core

2019-06-16 Thread 'Mark S.' via TiddlyWiki
Ok a coupe tweaks to leaf-node2 may do it (until you find another bug) : \define leaf-node2(prefix,chunk) <$list filter="[<__prefix__>addsuffix<__chunk__>]" variable="full-title"> <$list filter="[descriptionis[shadow]] [descriptionis[tiddler]]" variable="tiddler"> <$list

Re: [tw5] Re: Tree Macro built in core

2019-06-16 Thread Damon Pritchett
Hey Mark, Yeah, I didn't explain very well. Hopefully, the following will help. So I have a tiddler titled "Atchison Daily Champion, Sunday, March 8, 1868." I put the following in the description field "Newspapers-Kansas-Atchison-Daily Champion-1868-03-08." The output of the macro looked just

Re: [tw5] Re: Tree Macro built in core

2019-06-16 Thread Pit.W.
Am 13.06.2019 um 09:52 schrieb Jeremy Ruston: I suspect it’s not wildly useful beyond the system tiddlers Some useful use-cases, maybe not wildly so... If I call <> I get a tree of my journal tiddlers; nice. It might be wildly useful in *Biology*: I  want to inventorise my aquarium

Re: [tw5] Re: Tree Macro built in core

2019-06-14 Thread 'Mark S.' via TiddlyWiki
On Friday, June 14, 2019 at 4:56:44 PM UTC-7, Damon Pritchett wrote: > > After playing around with this new macro further, I've found that it only > works as long as the description matches the tiddler title exactly. If not, > then there is an entry in the tree list to a tiddler that doesn't

Re: [tw5] Re: Tree Macro built in core

2019-06-14 Thread Damon Pritchett
After playing around with this new macro further, I've found that it only works as long as the description matches the tiddler title exactly. If not, then there is an entry in the tree list to a tiddler that doesn't exist. What tweak could I make that would fix this? Thanks, Damon On

Re: [tw5] Re: Tree Macro built in core

2019-06-14 Thread Damon Pritchett
Thanks Mark! That worked great. In looking at your code, I can see where I went wrong when I tried to do the same thing. Lack of experience on my part certainly is evident. Damon On Friday, June 14, 2019 at 3:31:45 PM UTC-5, Mark S. wrote: > > Be sure to have a backukp, or use on a disposable

Re: [tw5] Re: Tree Macro built in core

2019-06-14 Thread 'Mark S.' via TiddlyWiki
Be sure to have a backukp, or use on a disposable TW file. Clone the existing $:/core/macros/tree tiddler, rename it to $:/core/macros/tree2, and replace the contents with the code below. Invoke as "tree2" -- this way there will be no confusion when reporting results to the community. This

Re: [tw5] Re: Tree Macro built in core

2019-06-14 Thread Damon Pritchett
All right, it's definitely not that simple. Can what I want to do be done with just modifications or is a whole new macro needed for that? Damon On Friday, June 14, 2019 at 10:44:43 AM UTC-5, Damon Pritchett wrote: > > In looking at the tree macro this morning, I'm wondering if I changed the

Re: [tw5] Re: Tree Macro built in core

2019-06-14 Thread Damon Pritchett
In looking at the tree macro this morning, I'm wondering if I changed the filter lines that contain [ all[shadows+tiddlers] to something that searched for a certain field instead of the title. It's probably not that simple and I thought I'd ask for opinions before I started hacking things.

Re: [tw5] Re: Tree Macro built in core

2019-06-13 Thread Damon Pritchett
The more I look at this, the more I like it and it may be just what I've been needing for a long time. I do have a question. Would it be possible to have the macro, as on option, look at the caption or another field instead of the tiddler title? I ask this because I can see, at least in my

Re: [tw5] Re: Tree Macro built in core

2019-06-13 Thread Damon Pritchett
Great discussion and I like the new option for separator in the tree macro. Looking forward to the next release although I may start using the updated tree macro sooner. Damon On Thursday, June 13, 2019 at 9:40:23 AM UTC-5, @TiddlyTweeter wrote: > > > Jeremy Ruston wrote: >> >> As it turns

Re: [tw5] Re: Tree Macro built in core

2019-06-13 Thread @TiddlyTweeter
Jeremy Ruston wrote: > > As it turns out, I suspect it’s not wildly useful beyond the system > tiddlers. Given the following data tiddlers: > For some use cases, perhaps? For instance a navigator for a novel you want separate from "system" ($:). Say... Great Expectations-Vol 1-Chapter