A use case story: reading a text, annotating with questions, filtering with sufix

323 views
Skip to first unread message

Alex Hough

unread,
Nov 5, 2014, 5:16:02 PM11/5/14
to TiddlyWiki
Dear All,

I thought I'd share a minor personal break though.

I cut and pasted a document into my TW. I then refactored it into tiddlers. I find this process is helped a close reading of the document. I took comma separated lists in the text and made them into bullet points. I summarised paragraphs using headings and links.

The preview pane came in useful. I created a link, then was able to click on the link in the preview to make that tiddler. I then removed text from the original and put it in the new tiddler.

When something in the text raised a question, I wrote that question into the text as a link: like this [[What does this mean?]]

I then realised that I could use the sufix filters to extract my questions;

<<list-links filter:"[suffix[?]]">>

<<list-links filter:"[all[missing]] +[suffix[?]]">>




Alex

Sylvain Naudin

unread,
Nov 5, 2014, 7:20:52 PM11/5/14
to tiddl...@googlegroups.com, Tiddl...@googlegroups.com
Thanks for sharing this use case, it's interesting.

I'm not yet comfortable with filter, so it's a short and good example for me :)

Maybe I'll add an exclamation point (!) on my missing tiddler [[Why this !?]] & ([suffix[!?]]) so it will leave from filter tiddlers which are ok with an interrogation point ^^'.


Thanks,
Sylvain

Danielo Rodríguez

unread,
Nov 6, 2014, 5:00:52 AM11/6/14
to tiddl...@googlegroups.com, Tiddl...@googlegroups.com
Maybe I'll add an exclamation point (!) on my missing tiddler [[Why this !?]] & ([suffix[!?]]) so it will leave from filter tiddlers which are ok with an interrogation point ^^'.


What if you limit the list to the links that goes out of the current tiddler?
Or this is for a global use case?

Anyway, thank you Alex for sharing this. Very nice idea.

Alex Hough

unread,
Nov 6, 2014, 8:40:40 AM11/6/14
to TiddlyWiki
On the next iteration, when i added text to the question tiddlers, I think i'll add a tag, then filter questions by tag.

I like the prefix and suffix filters. They offer alternatives to tagging.

The clone button is good for working up prefix lists. 

Alex

--
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 post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Jeremy Ruston

unread,
Nov 6, 2014, 12:09:16 PM11/6/14
to TiddlyWiki
Hi Alex

> The preview pane came in useful. I created a link, then was able to click on the link in the preview to make that tiddler. I then removed text from the original and put it in the new tiddler.

Very interesting.

By the way, your second example can be simplified a little by directly chaining the two operators:

<<list-links filter:"[all[missing]suffix[?]]">>

Best wishes

Jeremy.

--
Jeremy Ruston
mailto:jeremy...@gmail.com

Evolena

unread,
Nov 6, 2014, 1:07:43 PM11/6/14
to tiddl...@googlegroups.com, jeremy...@gmail.com
> The preview pane came in useful. I created a link, then was able to click on the link in the preview to make that tiddler. I then removed text from the original and put it in the new tiddler.

Very interesting.

I've already used the preview pane this way too.

Mat

unread,
Nov 6, 2014, 6:11:45 PM11/6/14
to tiddl...@googlegroups.com, Tiddl...@googlegroups.com
Thank you Alex! This was very valuable for me.


I then removed text from the original and put it in the new tiddler.

TiddlyTools.com (for TWC) has a very nice feature for this in the QuickEditPackage called Split. It cuts out a selected text and creates a new tiddler where it is placed, and leaves a link, or comparable, in the original location. BTW one such "comparable" is a slider so that you can create a document with multiple levels of depth. I'm really fond of this idea; have a very brief text but let the user "dive in" if there are parts he want's to know more about.

Hoping for something like Split for TW5, some day. Very much in line with the whole concept of making tiddlers be the smallest information units.

BTW, does anyone have a suggestion on how to "synthesize" the resulting tiddlers into one linear text again? I.e to put the tiddlers in the correct sequence? I can think of manually chosing titles so they are sequential or to manually compose a list field that forces you to manually write the title of every tiddler.

<:-)

Richard Smith

unread,
Nov 14, 2014, 9:21:59 PM11/14/14
to tiddl...@googlegroups.com, Tiddl...@googlegroups.com
I cut and pasted a document into my TW. I then refactored it into tiddlers.

Hi Alex,

I have been doing similar things to this. I love the TiddlyClip plugin that BJ made (thanks BJ!). With it I can make 3 kinds of clips from wikipedia pages (for example) - I can clip text, pictures or equations (I have this one set up to add the katex tags).

If I bring in a whole piece of text from a document then I find it quite useful to be able to select a piece of text from the tiddler (in read mode, not edit mode) and drop it to create it as a new tiddler for 'import'. I can read through a piece, breaking it up as I go, whilst retaining the original til the end. (I think this 'feature' is actually annoying to some people and might be removed, but I have been using it :) )

I used to go mad for making links but now I am trying to do as much as possible with tags instead because it makes things easier to maintain.

I love of using the filter suffixes, thanks very much for sharing this.

Regards,
Richard

Tobias Beer

unread,
Nov 15, 2014, 4:11:28 AM11/15/14
to tiddl...@googlegroups.com, Tiddl...@googlegroups.com
If I bring in a whole piece of text from a document then I find it quite useful to be able to select a piece of text from the tiddler (in read mode, not edit mode) and drop it to create it as a new tiddler for 'import'.

That doesn't seem to work well at all. When I DnD text like that in view-mode so as to drop it in the same tw I get a bunch of ugly formatted html within the thus created tiddler...

<p style="box-sizing: border-box; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15.3333330154419px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">This is a sandbox for testing different concepts around<span class="Apple-converted-space"> </span><a href="http://tiddlywiki.com/" class="tc-tiddlylink-external" target="_blank" style="box-sizing: border-box; text-decoration: underline; color: rgb(0, 0, 170); background-image: initial; background-attachment: initial; background-color: inherit; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">TiddlyWiki 5</a>.</p><dl style="box-sizing: border-box; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15.3333330154419px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 22px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><dt style="box-sizing: border-box; font-weight: bold; margin-top: 6px;"><a class="tc-tiddlylink tc-tiddlylink-resolves" href="http://tb5.tiddlyspot.com/#Solutions" style="box-sizing: border-box; text-decoration: none; font-weight: normal; color: rgb(87, 120, 216); -webkit-user-select: inherit; background: transparent;">Solutions</a></dt><dd style="box-sizing: border-box;">setting up TW5 to achieve certain ends</dd></dl>

only to yield....

———————————————————————————————————————

This is a sandbox for testing different concepts around TiddlyWiki 5.

Solutions
setting up TW5 to achieve certain ends
———————————————————————————————————————

Best wishes, Tobias.

Tobias Beer

unread,
Nov 15, 2014, 4:15:36 AM11/15/14
to tiddl...@googlegroups.com, Tiddl...@googlegroups.com
Hi Alex, thanks for sharing a very interesing workflow...

1) @Jeremy: I would love to not only see what references matching that filter exist but also within which tiddler! Any way to do that?

2) If you wanted to see both existing and missing tiddlers in the same list, you can use this filter expression:

<<list-links filter:"[all[tiddlers+missing]]suffix[?]]">>

See it working here...

Best wishes, Tobias.

Jeremy Ruston

unread,
Nov 15, 2014, 4:49:43 AM11/15/14
to TiddlyWiki
Hi Tobias

> I would love to not only see what references matching that filter exist but also within which tiddler! Any way to do that?

Try:

<<list-links filter:"[all[tiddlers+missing]]suffix[?]backlinks[]]">>

Best wishes

Jeremy


--
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 post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Richard Smith

unread,
Nov 15, 2014, 4:51:37 AM11/15/14
to tiddl...@googlegroups.com, Tiddl...@googlegroups.com
I didn't say it was pretty :)

I was using it to break up text as I read it, in pretty much the way Alex described and then the bits I wanted to edit further, I would grab the text from the view and paste it over all the garbage in the edit window. It would only work for plain text. I know it's not classy - it's quick and dirty but sometimes dirty solutions are sufficient ;)

Tobias Beer

unread,
Nov 15, 2014, 6:14:49 AM11/15/14
to tiddl...@googlegroups.com, jeremy...@gmail.com
Hi Jeremy,
 
Try 
<<list-links filter:"[all[tiddlers+missing]]suffix[?]backlinks[]]">>

Tried...

http://tb5.tiddlyspot.com/#Managing%20Review%20Items%3F

But, I'm not quite sure what I am seeing here compared to the exact same example without backlinks.
Also, I would probably need some custom output so as to separate the actual links from the backlinks.
Is it thinkable for the core to render this as a definition list?

;linkA
:backlink1
:backlink2
:linkB
:backlink3
:backlink4

If not for the core, if and how is it possible to define the output for the list-links macro?
Would that be exatly equivalent to the list macro?

In that regard, I find the documentation at...

http://tiddlywiki.com/#ListMacro

...a bit confusing. What exactly distinguishes the list macro from the list-links macro?

Thanks for all the great work...


Best wishes, Tobias.

Tobias Beer

unread,
Nov 17, 2014, 1:25:49 PM11/17/14
to tiddl...@googlegroups.com, jeremy...@gmail.com
<<list-links filter:"[all[tiddlers+missing]]suffix[?]backlinks[]]">>

I managed to develop a solution for my usecase.

Jeremy Ruston

unread,
Nov 17, 2014, 5:56:13 PM11/17/14
to Tobias Beer, TiddlyWiki
Hi Tobias

Would that be exatly equivalent to the list macro?

There's no macro called "<<list>>", but there is a list widget.

The list macros are a a group of macros that wrap the list widget to capture common usages. At the moment, the only one is "<<list-links>>".

> If not for the core, if and how is it possible to define the output for the list-links macro?

I'm happy to consider improvements to the list-link macro, but if what you want is very different then you'll probably be better off using the list-links macro as a starting point for developing your own custom macro.


In that regard, I find the documentation at...

http://tiddlywiki.com/#ListMacro

...a bit confusing. What exactly distinguishes the list macro from the list-links macro?

See above. As I mentioned in a another thread, if you'd like to help with improving the documentation I'll happily accept contributions submitted as a standalone HTML file.

Best wishes

Jeremy.
 

Thanks for all the great work...


Best wishes, Tobias.
Reply all
Reply to author
Forward
0 new messages