Differentiation

157 views
Skip to first unread message

vinvi...@gmail.com

unread,
Oct 23, 2020, 10:19:14 AM10/23/20
to TiddlyWiki
Hello,

I've used code to be able to visualize it somewhat, but I can't get it to work.

I hope I can clarify it with an image:

Differentiation.png
Thank you,

TW Tones

unread,
Oct 23, 2020, 5:10:21 PM10/23/20
to TiddlyWiki
First thing to note is you are misusing the checkbox, read and use the syntax here

I believe someone else was building a indicator disease or syndrome solution in the recent past.

Perhaps you would be better designing and sharing the logic with any form of pseudocode then letting the community show you the code to do it? 

I would give you a solution now except it would be some work to reverse engineer your attempt, to establish your intent then show you how.

If you make it easy for me, I will make it easy for you.

Tones

vinvi...@gmail.com

unread,
Oct 24, 2020, 9:16:44 AM10/24/20
to TiddlyWiki
Hi TW Tones,

I've read that page regarding the checkbox before. I don't understand anything about it. Something I have no feeling for is coding. Sorry.

I believe someone else has built a solution for an indicator disease or syndrome in the recent past? That was me. I'm still working on it.
I did my best to make it as clear as possible by visualizing it. I won't get any further than that. I am a complete dummy when it comes to coding.

I try not to get rid of it easily, I've been working with it for 10 weeks. But I can't get it done. So if there is someone who can help me with this ..

As for your advice on the GenTags Plugin earlier: That was very useful advice. I haven't needed it so far by handily designing the hierarchy. 
I'm definitely going to need it in the future.

Thanks,

Op vrijdag 23 oktober 2020 om 23:10:21 UTC+2 schreef TW Tones:

TW Tones

unread,
Oct 24, 2020, 8:29:56 PM10/24/20
to TiddlyWiki
Ok,
Here is a bit of a code dump that you can work through to answer your questions and learn along the way.
\define custom-tags() (i) (li) (ld) (lp) (lpc) (lt) (D) (B) (C) (E) (F) (H) (N) (P) (S) (T)
\define show-tags() (i) (li) (D) (ld) (lp)

;List all custom-tags
<$list filter=<<custom-tags>> ></$list>

;List all custom-tags with tagpill and count of in use
<$list filter=<<custom-tags>> > {{{ [all[current]tagging[]count[]] }}} {{||$:/core/ui/TagTemplate}}, </$list>

;Tag current tiddler with any of the "custom-tags"
<$list filter=<<custom-tags>> variable=tagname>
   <$checkbox tag=<<tagname>> ></
$checkbox> <<tagname>>,
</$list>


;Tag any of the "custom-tags" with another tag <<tag  show-tags>>
:ie select a custom tag to show
<$list filter=<<show-tags>> variable=tagname>
   <$checkbox tiddler=<<tagname>> tag="show-tags" ></
$checkbox> <<tagname>>,
</$list>


;List custom-tags selected with [[show-tags]]
<$list filter="[[show-tags]tagging[]]">


</
$list>


;List items tagged with [[(i)]] also `[all[]tag[(i)]]`
<$list filter="[[(i)]tagging[]]">


</$list>


;List all custom-tags one per line as link to create them as a tiddler, eg to give them a description
<$list filter=<<custom-tags>> >


</
$list>

Regards
Tones

vinvi...@gmail.com

unread,
Oct 26, 2020, 12:33:38 PM10/26/20
to TiddlyWiki
This is very close to what I'm looking for. 
I'm going to study it. 
Thank you. :)

Op zondag 25 oktober 2020 om 02:29:56 UTC+2 schreef TW Tones:
Reply all
Reply to author
Forward
0 new messages