Discussion:
[tw] Navigating to a specific headline or slice in TW5
(too old to reply)
Jan
2016-06-07 13:02:43 UTC
Permalink
Hello,
is it possible in TW5 to navigate to a specific headline or to show a
secific slice, like it was in TWC where you could navigate to slices
using Tiddler##Slice.

regards
Jan
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5756C5F3.9040608%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.
Mat
2016-06-07 16:25:06 UTC
Permalink
This post might be inappropriate. Click to display it.
Jan
2016-06-07 19:25:52 UTC
Permalink
Thanks Mat,
that's a pitty, these slices were so comfortable in TWC.
Nice to have your workarround at least. Now we would need a shorthand
for this.
So I guess transclusions of slices are not possible either....

best wishes Jan.
Post by Mat
See ongoing discussion
<https://github.com/Jermolene/TiddlyWiki5/issues/1783>on github.
Short answer is: No, not possible.
I made a hack <http://intlinks.tiddlyspot.com/> that suffers some
substantial drawbacks but might be usable in limited cases.
<:-)
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/842d5558-7736-4a20-b3d5-e35c4ce18101%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/842d5558-7736-4a20-b3d5-e35c4ce18101%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/57571FC0.6060103%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.
'Mark S.' via TiddlyWiki
2016-06-07 20:18:45 UTC
Permalink
I think it's a shame too. It's not just an oversight -- it's part of a
whole design philosophy:

http://tiddlywiki.com/#Philosophy%20of%20Tiddlers

Depending on your use case, the data dictionary can work something like the
slices. You set the content type of a tiddler to data dictionary. Then
entries go in it like:

tom: A cartoon catjerry: A cartoon mouseBen: Works with other Jerry
And you can access these definitions from another tiddler like this:

{{sliceme##tom}}


HTH
Mark
Post by Jan
Thanks Mat,
that's a pitty, these slices were so comfortable in TWC.
Nice to have your workarround at least. Now we would need a shorthand for
this.
So I guess transclusions of slices are not possible either....
best wishes Jan.
See ongoing discussion
<https://github.com/Jermolene/TiddlyWiki5/issues/1783>on github.
Short answer is: No, not possible.
I made a hack <http://intlinks.tiddlyspot.com/> that suffers some
substantial drawbacks but might be usable in limited cases.
<:-)
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/842d5558-7736-4a20-b3d5-e35c4ce18101%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/842d5558-7736-4a20-b3d5-e35c4ce18101%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0d07596e-6eed-4fba-90de-8f570b33c9ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jan
2016-06-07 22:10:03 UTC
Permalink
Hi Mark,
What happens to TWClassic slices when migrating old TWs?
My usecase back in TWC was recycling TiddlerContent, lists, buttons,
sliders. The results were more beautifull because they were more
compact. I loved to transclude slices...
Arghhh!
I see this will be an awfull heap of work...
Post by 'Mark S.' via TiddlyWiki
I think it's a shame too. It's not just an oversight -- it's part of a
http://tiddlywiki.com/#Philosophy%20of%20Tiddlers
Depending on your use case, the data dictionary can work something
like the slices. You set the content type of a tiddler to data
|
tom:A cartoon cat
jerry:A cartoon mouse
Ben:Works with other Jerry|
{{sliceme##tom}}
HTH
Mark
Thanks Mat,
that's a pitty, these slices were so comfortable in TWC.
Nice to have your workarround at least. Now we would need a
shorthand for this.
So I guess transclusions of slices are not possible either....
best wishes Jan.
Post by Mat
See ongoing discussion
<https://github.com/Jermolene/TiddlyWiki5/issues/1783>on github.
Short answer is: No, not possible.
I made a hack <http://intlinks.tiddlyspot.com/> that suffers some
substantial drawbacks but might be usable in limited cases.
<:-)
--
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,
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki
<https://groups.google.com/group/tiddlywiki>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/842d5558-7736-4a20-b3d5-e35c4ce18101%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/842d5558-7736-4a20-b3d5-e35c4ce18101%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/0d07596e-6eed-4fba-90de-8f570b33c9ef%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/0d07596e-6eed-4fba-90de-8f570b33c9ef%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5757463B.6050406%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.
'Mark S.' via TiddlyWiki
2016-06-07 22:22:48 UTC
Permalink
I went with the flow, with an awful lot of work still in its old format.

TW5 has fields which can be transcluded. You can make as many fields as you
want in a tiddler AFAIK. Perhaps in some cases that can could be reworked
similar to your old usage(s).

Mark
Post by Jan
Hi Mark,
What happens to TWClassic slices when migrating old TWs?
My usecase back in TWC was recycling TiddlerContent, lists, buttons,
sliders. The results were more beautifull because they were more compact. I
loved to transclude slices...
Arghhh!
I see this will be an awfull heap of work...
I think it's a shame too. It's not just an oversight -- it's part of a
http://tiddlywiki.com/#Philosophy%20of%20Tiddlers
Depending on your use case, the data dictionary can work something like
the slices. You set the content type of a tiddler to data dictionary. Then
tom: A cartoon catjerry: A cartoon mouseBen: Works with other Jerry
{{sliceme##tom}}
HTH
Mark
Post by Jan
Thanks Mat,
that's a pitty, these slices were so comfortable in TWC.
Nice to have your workarround at least. Now we would need a shorthand for
this.
So I guess transclusions of slices are not possible either....
best wishes Jan.
See ongoing discussion
<https://github.com/Jermolene/TiddlyWiki5/issues/1783>on github.
Short answer is: No, not possible.
I made a hack <http://intlinks.tiddlyspot.com/> that suffers some
substantial drawbacks but might be usable in limited cases.
<:-)
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/842d5558-7736-4a20-b3d5-e35c4ce18101%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/842d5558-7736-4a20-b3d5-e35c4ce18101%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/0d07596e-6eed-4fba-90de-8f570b33c9ef%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/0d07596e-6eed-4fba-90de-8f570b33c9ef%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/72c82a25-496f-4ffe-b38f-149685c100f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jan
2016-06-08 13:08:19 UTC
Permalink
Hej Mat.
Discussing the lack the possibility to transclude slices, i asked myself
wether
the Code in your cherrypicker could be an answer to this Problem.
Will it possible to use Marks invisible in the ViewMode?
Could you create a ViewTemplate that renders by tiddler without changing
the Layout. Something like <<slice "keyword" [[Tiddler]]>> .
Would be great to rediscover this great feature...

Jan
Post by Mat
See ongoing discussion
<https://github.com/Jermolene/TiddlyWiki5/issues/1783>on github.
Short answer is: No, not possible.
I made a hack <http://intlinks.tiddlyspot.com/> that suffers some
substantial drawbacks but might be usable in limited cases.
<:-)
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/842d5558-7736-4a20-b3d5-e35c4ce18101%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/842d5558-7736-4a20-b3d5-e35c4ce18101%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/575818C3.6010907%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.
Mat
2016-06-08 19:09:25 UTC
Permalink
Post by Jan
Hej Mat.
Discussing the lack the possibility to transclude slices, i asked myself
wether
the Code in your cherrypicker could be an answer to this Problem.
Will it possible to use Marks invisible in the ViewMode?
Jan, I just did some quick tests in CherryPicker
<http://cherrypicker.tiddlyspot.com/> and it seems it works using <mark>,
i.e surround the marks of choice with angle brackets and it doesn't show up
in viewmode. Be careful to not use e.g html markup (like <table> or <b>
etc).
Post by Jan
Could you create a ViewTemplate that renders by tiddler without changing
the Layout. Something like <<slice "keyword" [[Tiddler]]>> .
Would be great to rediscover this great feature...
Ha, limiting the cherrypicker to pick from a specific tiddler... and it's
in effect slicing! That's a very interesting idea that I had not thought
of! Could you elaborate a bit what you mean with "keyword" here? Are you
saying like a kind of anchor and then transclude everything from that point
until... what actually?

Your suggestion gives me another idea though; one could cherrypick all
headlines into a kind of outliner. Then, clicking on a headline it's
content is transcluded too.

I should be clear though: My specific CherryPicker implementation is
probably not the most suitable for these things. I think we'd really need a
js widget for this so that cherries and slices could be manipulated in a
more controlled way

Will do some thinking but it'll probably take some time. I think
CherryPicker is a super cool (and important) concept though so I do intend
to develop it further.

<:-)
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2c1ab5c3-b50a-4f37-96a0-2496f77ac39b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jan
2016-06-08 22:51:09 UTC
Permalink
Hej Mat.
With keyword I meant the indicators/labels to mark the cherrys like
<mark> or @@bob.
Could one use something like this <#1>slicecontent<#1> or is it
reserved? It would be fine if allso the next number worked to terminate
a slide <#1>slicecontent<#2>.
I would like to have a real shorthand use like <slice [Tiddler]|1> to
display. It would be nice to have the normal style by default and to use
templates and multiple tidler like this <slice [TiddlerA][TiddlerB]|1
cherry> to get the lovely box with clickable cherries you designed which
draws content from two tiddlers...
Again... Cherrypicker has the potential of a big enhancement.

Great thankyou
Jan ß-)


One use of the cherrypicker would be collecting the footnotes of a story.
Post by Jan
Hej Mat.
Discussing the lack the possibility to transclude slices, i asked
myself wether
the Code in your cherrypicker could be an answer to this Problem.
Will it possible to use Marks invisible in the ViewMode?
Jan, I just did some quick tests in CherryPicker
<http://cherrypicker.tiddlyspot.com/> and it seems it works using
<mark>, i.e surround the marks of choice with angle brackets and it
doesn't show up in viewmode. Be careful to not use e.g html markup
(like <table> or <b> etc).
Could you create a ViewTemplate that renders by tiddler without
changing the Layout. Something like <<slice "keyword" [[Tiddler]]>> .
Would be great to rediscover this great feature...
Ha, limiting the cherrypicker to pick from a specific tiddler... and
it's in effect slicing! That's a very interesting idea that I had not
thought of! Could you elaborate a bit what you mean with "keyword"
here? Are you saying like a kind of anchor and then transclude
everything from that point until... what actually?
Your suggestion gives me another idea though; one could cherrypick all
headlines into a kind of outliner. Then, clicking on a headline it's
content is transcluded too.
I should be clear though: My specific CherryPicker implementation is
probably not the most suitable for these things. I think we'd really
need a js widget for this so that cherries and slices could be
manipulated in a more controlled way
Will do some thinking but it'll probably take some time. I think
CherryPicker is a super cool (and important) concept though so I do
intend to develop it further.
<:-)
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/2c1ab5c3-b50a-4f37-96a0-2496f77ac39b%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/2c1ab5c3-b50a-4f37-96a0-2496f77ac39b%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5758A15D.9040107%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.
David Gifford
2018-11-27 02:57:52 UTC
Permalink
This post might be inappropriate. Click to display it.
Jed Carty
2016-06-08 13:27:14 UTC
Permalink
I am a bit stuck at the moment because while I don't want to discourage any
exploration into different ways of using TiddlyWiki there is a TW5 way of
doing what you are talking about, which is to use either more tiddlers or
fields which you then place wherever you want them using transclusions.

Using templates you could have the anchor tag part of the transclusion so
you could navigate to a spot in an open tiddler. If you want to be able to
both open a tiddler and navigate to some spot in that tiddler than we would
need a more complex macro but it may be able to be done using only wikitext
and simple html. Or we may need to make an action widget that does the same
action as clicking on a normal link.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/097acf29-8df9-45aa-8618-f9c4216a2226%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jeremy Ruston
2016-06-08 13:40:03 UTC
Permalink
It’s clear that users want to be able to write/paste long passages of text into a tiddler and then individually address sections (or slices/chunks). In practice, I think that means that anything that one can presently do to an entire tiddler needs to be possible with a slice: transclusion, linking, searching, etc.

That means that the system has to deal with two levels of granularity: slices and entire tiddlers. Internally, everywhere that we manipulate tiddlers we’d need to support slices too.

In fact, slices would become the fundamental unit; an entire tiddler would be a special case of a slice covering the entire tiddler.

That’s where things get interesting: now we’ve redefined a slice to be a tiddler (which is just what we call a fundamental discrete unit of content in TiddlyWiki). Now, for performance reasons, we’d want to avoid repeatedly scanning tiddlers to extract the slices; instead, we’d want to store the individual slices separately so that we can efficiently address them as needed.

You can probably see where this goes: we’ve just ended up *renaming* “tiddlers” to “slices”, and adding facilities to deal with sequences of slices as discrete entities called “tiddlers”.

That’s pretty much where we are today: it’s easy to combine several tiddlers to make them appear to be a single tiddler: we use transclusion, or macros based on transclusion like the TOC macro.

We’ve still got the problem of dealing with long passages of text: that’s where the text-slicer plugin comes in, showing one way that these long texts can be split into chunks, and the chunks recombined in flexible ways.

So, my position isn’t ideological, nor am I wilfully ignoring feedback from users. But I am asserting that from an engineering perspective it’s cleaner and more efficient to be dealing with a single fundamental entity, and to approach the original problem from the other end: by splitting and recombining.

Best wishes

Jeremy
I am a bit stuck at the moment because while I don't want to discourage any exploration into different ways of using TiddlyWiki there is a TW5 way of doing what you are talking about, which is to use either more tiddlers or fields which you then place wherever you want them using transclusions.
Using templates you could have the anchor tag part of the transclusion so you could navigate to a spot in an open tiddler. If you want to be able to both open a tiddler and navigate to some spot in that tiddler than we would need a more complex macro but it may be able to be done using only wikitext and simple html. Or we may need to make an action widget that does the same action as clicking on a normal link.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
Visit this group at https://groups.google.com/group/tiddlywiki <https://groups.google.com/group/tiddlywiki>.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/097acf29-8df9-45aa-8618-f9c4216a2226%40googlegroups.com <https://groups.google.com/d/msgid/tiddlywiki/097acf29-8df9-45aa-8618-f9c4216a2226%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/66FD1495-5136-4477-9542-4FA218F5E1AF%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Xavier Cazin
2016-06-08 14:08:15 UTC
Permalink
Hi Jeremy,

Does this slide concept allow compatibility with html anchors? So that
importing an HTML fragment containing footnotes would create of a "footnote
slice", as well as the linking mecanism between the note and the call point?

Cheers,
Xavier.

-- Xavier Cazin
Post by Jeremy Ruston
It’s clear that users want to be able to write/paste long passages of text
into a tiddler and then individually address sections (or slices/chunks).
In practice, I think that means that anything that one can presently do to
an entire tiddler needs to be possible with a slice: transclusion, linking,
searching, etc.
slices and entire tiddlers. Internally, everywhere that we manipulate
tiddlers we’d need to support slices too.
In fact, slices would become the fundamental unit; an entire tiddler would
be a special case of a slice covering the entire tiddler.
That’s where things get interesting: now we’ve redefined a slice to be a
tiddler (which is just what we call a fundamental discrete unit of content
in TiddlyWiki). Now, for performance reasons, we’d want to avoid repeatedly
scanning tiddlers to extract the slices; instead, we’d want to store the
individual slices separately so that we can efficiently address them as
needed.
You can probably see where this goes: we’ve just ended up *renaming*
“tiddlers” to “slices”, and adding facilities to deal with sequences of
slices as discrete entities called “tiddlers”.
That’s pretty much where we are today: it’s easy to combine several
tiddlers to make them appear to be a single tiddler: we use transclusion,
or macros based on transclusion like the TOC macro.
We’ve still got the problem of dealing with long passages of text: that’s
where the text-slicer plugin comes in, showing one way that these long
texts can be split into chunks, and the chunks recombined in flexible ways.
So, my position isn’t ideological, nor am I wilfully ignoring feedback
from users. But I am asserting that from an engineering perspective it’s
cleaner and more efficient to be dealing with a single fundamental entity,
and to approach the original problem from the other end: by splitting and
recombining.
Best wishes
Jeremy
I am a bit stuck at the moment because while I don't want to discourage
any exploration into different ways of using TiddlyWiki there is a TW5 way
of doing what you are talking about, which is to use either more tiddlers
or fields which you then place wherever you want them using transclusions.
Using templates you could have the anchor tag part of the transclusion so
you could navigate to a spot in an open tiddler. If you want to be able to
both open a tiddler and navigate to some spot in that tiddler than we would
need a more complex macro but it may be able to be done using only wikitext
and simple html. Or we may need to make an action widget that does the same
action as clicking on a normal link.
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/097acf29-8df9-45aa-8618-f9c4216a2226%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/097acf29-8df9-45aa-8618-f9c4216a2226%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/66FD1495-5136-4477-9542-4FA218F5E1AF%40gmail.com
<https://groups.google.com/d/msgid/tiddlywiki/66FD1495-5136-4477-9542-4FA218F5E1AF%40gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CADeSwYNJsFbPy86dbw%2B7HmD5b0fYxbrCrhCWAo8MWbB5e3T1ZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Jeremy Ruston
2016-06-08 14:23:05 UTC
Permalink
Hi Xavier
Does this slide concept allow compatibility with html anchors? So that importing an HTML fragment containing footnotes would create of a "footnote slice", as well as the linking mecanism between the note and the call point?
If you’re asking about the text-slicer plugin, then the answer is “no”, it doesn’t understand HTML anchors at present. But it could, of course, with some updating. The trouble is that what you are describing is a particular convention for how anchors/links might be used in a particular HTML document, and wouldn’t in general apply to every document. That level of customisation isn’t implemented at present.

Best wishes

Jeremy
Cheers,
Xavier.
-- Xavier Cazin
It’s clear that users want to be able to write/paste long passages of text into a tiddler and then individually address sections (or slices/chunks). In practice, I think that means that anything that one can presently do to an entire tiddler needs to be possible with a slice: transclusion, linking, searching, etc.
That means that the system has to deal with two levels of granularity: slices and entire tiddlers. Internally, everywhere that we manipulate tiddlers we’d need to support slices too.
In fact, slices would become the fundamental unit; an entire tiddler would be a special case of a slice covering the entire tiddler.
That’s where things get interesting: now we’ve redefined a slice to be a tiddler (which is just what we call a fundamental discrete unit of content in TiddlyWiki). Now, for performance reasons, we’d want to avoid repeatedly scanning tiddlers to extract the slices; instead, we’d want to store the individual slices separately so that we can efficiently address them as needed.
You can probably see where this goes: we’ve just ended up *renaming* “tiddlers” to “slices”, and adding facilities to deal with sequences of slices as discrete entities called “tiddlers”.
That’s pretty much where we are today: it’s easy to combine several tiddlers to make them appear to be a single tiddler: we use transclusion, or macros based on transclusion like the TOC macro.
We’ve still got the problem of dealing with long passages of text: that’s where the text-slicer plugin comes in, showing one way that these long texts can be split into chunks, and the chunks recombined in flexible ways.
So, my position isn’t ideological, nor am I wilfully ignoring feedback from users. But I am asserting that from an engineering perspective it’s cleaner and more efficient to be dealing with a single fundamental entity, and to approach the original problem from the other end: by splitting and recombining.
Best wishes
Jeremy
I am a bit stuck at the moment because while I don't want to discourage any exploration into different ways of using TiddlyWiki there is a TW5 way of doing what you are talking about, which is to use either more tiddlers or fields which you then place wherever you want them using transclusions.
Using templates you could have the anchor tag part of the transclusion so you could navigate to a spot in an open tiddler. If you want to be able to both open a tiddler and navigate to some spot in that tiddler than we would need a more complex macro but it may be able to be done using only wikitext and simple html. Or we may need to make an action widget that does the same action as clicking on a normal link.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
Visit this group at https://groups.google.com/group/tiddlywiki <https://groups.google.com/group/tiddlywiki>.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/097acf29-8df9-45aa-8618-f9c4216a2226%40googlegroups.com <https://groups.google.com/d/msgid/tiddlywiki/097acf29-8df9-45aa-8618-f9c4216a2226%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
Visit this group at https://groups.google.com/group/tiddlywiki <https://groups.google.com/group/tiddlywiki>.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/66FD1495-5136-4477-9542-4FA218F5E1AF%40gmail.com <https://groups.google.com/d/msgid/tiddlywiki/66FD1495-5136-4477-9542-4FA218F5E1AF%40gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
Visit this group at https://groups.google.com/group/tiddlywiki <https://groups.google.com/group/tiddlywiki>.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CADeSwYNJsFbPy86dbw%2B7HmD5b0fYxbrCrhCWAo8MWbB5e3T1ZA%40mail.gmail.com <https://groups.google.com/d/msgid/tiddlywiki/CADeSwYNJsFbPy86dbw%2B7HmD5b0fYxbrCrhCWAo8MWbB5e3T1ZA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/DB46EC61-56FE-4775-A8AC-68027537F429%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Jan
2016-06-10 23:22:43 UTC
Permalink
Hi Jeremy
The concept of an atomic datastructure sounds logic.
Yet two my mind there is two missing features:

-When you discover that the content you wish to change was transcluded,
it takes some time to get to the real tiddler; in most cases I have to
find and open with the searchbar.
It would be practical if transclusions were clickable Links in the
edit-Mode. Could this be done with a template or plugin?

-It would be important to have better Security mechanisms against
destroying links. Especially renaming tiddlers can have dangerous
effects. It would be nice if users were shown a Modal informing about
Links Lists and Transclusions for which the Tiddker has importance..

Regards Jan

In TWClassic when changing the Name of a Tag-Tiddler i was asked wheter
I wished to change the tags to.

On Wed, Jun 8, 2016 at 3:40 PM, Jeremy Ruston <***@gmail.com
<mailto:***@gmail.com>> wrote:

It’s clear that users want to be able to write/paste long passages
of text into a tiddler and then individually address sections (or
slices/chunks). In practice, I think that means that anything that
one can presently do to an entire tiddler needs to be possible with
a slice: transclusion, linking, searching, etc.

That means that the system has to deal with two levels of
granularity: slices and entire tiddlers. Internally, everywhere that
we manipulate tiddlers we’d need to support slices too.

In fact, slices would become the fundamental unit; an entire tiddler
would be a special case of a slice covering the entire tiddler.

That’s where things get interesting: now we’ve redefined a slice to
be a tiddler (which is just what we call a fundamental discrete unit
of content in TiddlyWiki). Now, for performance reasons, we’d want
to avoid repeatedly scanning tiddlers to extract the slices;
instead, we’d want to store the individual slices separately so that
we can efficiently address them as needed.

You can probably see where this goes: we’ve just ended up *renaming*
“tiddlers” to “slices”, and adding facilities to deal with sequences
of slices as discrete entities called “tiddlers”.

That’s pretty much where we are today: it’s easy to combine several
tiddlers to make them appear to be a single tiddler: we use
transclusion, or macros based on transclusion like the TOC macro.

We’ve still got the problem of dealing with long passages of text:
that’s where the text-slicer plugin comes in, showing one way that
these long texts can be split into chunks, and the chunks recombined
in flexible ways.

So, my position isn’t ideological, nor am I wilfully ignoring
feedback from users. But I am asserting that from an engineering
perspective it’s cleaner and more efficient to be dealing with a
single fundamental entity, and to approach the original problem from
the other end: by splitting and recombining.

Best wishes

Jeremy
Post by Jed Carty
I am a bit stuck at the moment because while I don't want to
discourage any exploration into different ways of using TiddlyWiki
there is a TW5 way of doing what you are talking about, which is
to use either more tiddlers or fields which you then place
wherever you want them using transclusions.
Using templates you could have the anchor tag part of the
transclusion so you could navigate to a spot in an open tiddler.
If you want to be able to both open a tiddler and navigate to some
spot in that tiddler than we would need a more complex macro but
it may be able to be done using only wikitext and simple html. Or
we may need to make an action widget that does the same action as
clicking on a normal link.
--
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,
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/097acf29-8df9-45aa-8618-f9c4216a2226%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/097acf29-8df9-45aa-8618-f9c4216a2226%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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
<mailto:tiddlywiki+***@googlegroups.com>.
To post to this group, send email to ***@googlegroups.com
<mailto:***@googlegroups.com>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/66FD1495-5136-4477-9542-4FA218F5E1AF%40gmail.com
<https://groups.google.com/d/msgid/tiddlywiki/66FD1495-5136-4477-9542-4FA218F5E1AF%40gmail.com?utm_medium=email&utm_source=footer>.


For more options, visit https://groups.google.com/d/optout.
Post by Jed Carty
Post by Jan
--
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,
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/CADeSwYNJsFbPy86dbw%2B7HmD5b0fYxbrCrhCWAo8MWbB5e3T1ZA%40mail.gmail.com
<https://groups.google.com/d/msgid/tiddlywiki/CADeSwYNJsFbPy86dbw%2B7HmD5b0fYxbrCrhCWAo8MWbB5e3T1ZA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/DB46EC61-56FE-4775-A8AC-68027537F429%40gmail.com
<https://groups.google.com/d/msgid/tiddlywiki/DB46EC61-56FE-4775-A8AC-68027537F429%40gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/575B4BC3.3020800%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.
Jeremy Ruston
2016-06-11 08:07:19 UTC
Permalink
Hi Jan

Yet two my mind there is two missing features:
I'd acknowledge the impact of the issues you mention, but fixing them is
1,000 times easier than introducing full support for slicing.
-When you discover that the content you wish to change was transcluded, it
takes some time to get to the real tiddler; in most cases I have to find
and open with the searchbar.
It would be practical if transclusions were clickable Links in the
edit-Mode. Could this be done with a template or plugin?
My favoured approach to fix this is to introduce a mode that makes
transclusions visible, so that one can directly click on a link to open the
target tiddler.
-It would be important to have better Security mechanisms against
destroying links. Especially renaming tiddlers can have dangerous effects.
It would be nice if users were shown a Modal informing about Links Lists
and Transclusions for which the Tiddker has importance..
As discussed elsewhere, I'd favour support for automatically replacing
references to a tiddler when it is renamed.

Best wishes

Jeremy.
Regards Jan
In TWClassic when changing the Name of a Tag-Tiddler i was asked wheter I
wished to change the tags to.
Post by Jeremy Ruston
It’s clear that users want to be able to write/paste long passages of
text into a tiddler and then individually address sections (or
slices/chunks). In practice, I think that means that anything that one can
transclusion, linking, searching, etc.
slices and entire tiddlers. Internally, everywhere that we manipulate
tiddlers we’d need to support slices too.
In fact, slices would become the fundamental unit; an entire tiddler
would be a special case of a slice covering the entire tiddler.
That’s where things get interesting: now we’ve redefined a slice to be a
tiddler (which is just what we call a fundamental discrete unit of content
in TiddlyWiki). Now, for performance reasons, we’d want to avoid repeatedly
scanning tiddlers to extract the slices; instead, we’d want to store the
individual slices separately so that we can efficiently address them as
needed.
You can probably see where this goes: we’ve just ended up *renaming*
“tiddlers” to “slices”, and adding facilities to deal with sequences of
slices as discrete entities called “tiddlers”.
That’s pretty much where we are today: it’s easy to combine several
tiddlers to make them appear to be a single tiddler: we use transclusion,
or macros based on transclusion like the TOC macro.
We’ve still got the problem of dealing with long passages of text: that’s
where the text-slicer plugin comes in, showing one way that these long
texts can be split into chunks, and the chunks recombined in flexible ways.
So, my position isn’t ideological, nor am I wilfully ignoring feedback
from users. But I am asserting that from an engineering perspective it’s
cleaner and more efficient to be dealing with a single fundamental entity,
and to approach the original problem from the other end: by splitting and
recombining.
Best wishes
Jeremy
I am a bit stuck at the moment because while I don't want to discourage
any exploration into different ways of using TiddlyWiki there is a TW5 way
of doing what you are talking about, which is to use either more tiddlers
or fields which you then place wherever you want them using transclusions.
Using templates you could have the anchor tag part of the transclusion so
you could navigate to a spot in an open tiddler. If you want to be able to
both open a tiddler and navigate to some spot in that tiddler than we would
need a more complex macro but it may be able to be done using only wikitext
and simple html. Or we may need to make an action widget that does the same
action as clicking on a normal link.
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/097acf29-8df9-45aa-8618-f9c4216a2226%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/097acf29-8df9-45aa-8618-f9c4216a2226%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/66FD1495-5136-4477-9542-4FA218F5E1AF%40gmail.com
<https://groups.google.com/d/msgid/tiddlywiki/66FD1495-5136-4477-9542-4FA218F5E1AF%40gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/CADeSwYNJsFbPy86dbw%2B7HmD5b0fYxbrCrhCWAo8MWbB5e3T1ZA%40mail.gmail.com
<https://groups.google.com/d/msgid/tiddlywiki/CADeSwYNJsFbPy86dbw%2B7HmD5b0fYxbrCrhCWAo8MWbB5e3T1ZA%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/DB46EC61-56FE-4775-A8AC-68027537F429%40gmail.com
<https://groups.google.com/d/msgid/tiddlywiki/DB46EC61-56FE-4775-A8AC-68027537F429%40gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/575B4BC3.3020800%40googlemail.com
<https://groups.google.com/d/msgid/tiddlywiki/575B4BC3.3020800%40googlemail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Jeremy Ruston
mailto:***@gmail.com
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJZa8jLP7FiUOQvfjmGfXHyaGmYHe%2BJGOQJmdHPpcnT3Hw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
'c pa' via TiddlyWiki
2016-06-17 14:51:51 UTC
Permalink
Folks,

Whenever I feel the need to include slices in my tiddlers, I implement each
slice using a combination of the following:

1. a field and an <$edit-text tag="textarea" $field="slicename" /> widget.
2. the same field and an <$transclude mode="block" $field="slicename" />
widget.
3. a tag (I use edit) and a <$list filter="[all[current]tag[edit]]"
emptymessage=""" -- put view widget here --- """> --put edit widget here --
</$list> widget to switch the display between edit and view of the field

Benefits
1. Allows me to stay with the tiddlywiki core path
2. Imposes standard slice names
3. Allows me to look up and manipulate all slice names
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c281aa88-df28-4882-8edf-380ff8cddb60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Mark S.' via TiddlyWiki
2016-06-17 15:26:51 UTC
Permalink
Can you give an example of #3. I've never had luck calling a widget from
inside a widget and I would like to know how it's done.

All of that, just to call a slice, which could have been made in a second
in TWC. Am I the only one who thinks this is incredibly daunting,
especially for new-comers?

Mark
Post by 'c pa' via TiddlyWiki
Folks,
Whenever I feel the need to include slices in my tiddlers, I implement
1. a field and an <$edit-text tag="textarea" $field="slicename" />
widget.
2. the same field and an <$transclude mode="block" $field="slicename" />
widget.
3. a tag (I use edit) and a <$list filter="[all[current]tag[edit]]"
emptymessage=""" -- put view widget here --- """> --put edit widget here --
</$list> widget to switch the display between edit and view of the field
Benefits
1. Allows me to stay with the tiddlywiki core path
2. Imposes standard slice names
3. Allows me to look up and manipulate all slice names
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/13a9eaf6-3e4d-45e5-a357-2ec53c166666%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'c pa' via TiddlyWiki
2016-06-17 17:39:02 UTC
Permalink
Post by 'Mark S.' via TiddlyWiki
Can you give an example of #3. I've never had luck calling a widget from
inside a widget and I would like to know how it's done

Oh right. I do all my editing from dashboards because all my tiddlers are
structured. The concept is as follows:

Analysis
============

# Decide on a structure for your tiddlers
#* Example "Book" would have the following fields
#** Title
#** Authors
#** Publisher
#** My random ramblings
#** My Review
#** Plot synopsis
#** ISBN Number

Discussion
=============

* My random ramblings is a good candidate for the text field
* My Review, and Plot synopsis are good candidates for slices
* The title of the book should be put in the caption field because two
books can have the same title
* ISBN is unique for books so put that in the title filed (The name of the
tiddler - must be unique)
* Authors can be multiple so this would be a list of authors populated from
tiddlers tagged "author"
** This requires a macro to populate it.
** You can use crazyListHere from cpashow.tiddlyspot.com
** As you might suspect from the name, my macro currently does all sorts of
stuff in addition to populating a list
* Publisher is a text name populated using a select from tiddlers tagged
"publisher"

Code a template
=========================

Create a tiddler to act as the "template" for books

title: "book" -- named the same as the tag used to define books
text:"""
ISBN: {{!!title}}
Edit ISBN: <$edit field="title" />
<br/>
Authors: <<crazyListHere "authors" "author">>
<br/>
Publisher: <$select field="publisher"><option value=""> -- </option><$list
filter="[tag[publisher]]"><option value=<<currentTiddler>> >
<<currentTiddler>> </option></$list></$select>
<br/>
My random ramblings: <$edit field="text" />
<br/>
My Review: <$edit-text tag="textarea" field="review" />
<br/>
Plot synopsis: <$edit-text tag="textarea" field="synopsis" />
"""

Code a dashboard
================================
title: "Book Dashboard"
text: """
Add a book: <$edit-text tag="input" tiddler="$:/temp/newbook" />
<$button>
Add book
<$action-setfield $field="currentbook" $value={{$:/temp/newbook}} />
<$action-setfield $tiddler={{$:/temp/newbook}} $field="tags"
$value="book" />
<$action-setfield $tiddler="$:/temp/newbook" $field="text" $value="" />
</$button>
Select a book to edit:
<$select field="currentbook">
<option value=""> -- </option>
<$list filter="[tag[book]]" variable="Current_Book" emptyMessage="""
<option value=""> There are no books available </option>
""">
<option value=<<Current_Book>> >
<<Current_Book>>
</option>
</$list>
</$select>
<$tiddler tiddler={{!!currentbook}} >
<$transclude tiddler="book" />
</$tiddler>
"""
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ff94a189-c08d-48c2-ba2a-057302348f91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Danielo Rodríguez
2017-01-04 19:40:30 UTC
Permalink
Post by 'c pa' via TiddlyWiki
Oh right. I do all my editing from dashboards because all my tiddlers are
Analysis
============
# Decide on a structure for your tiddlers
#* Example "Book" would have the following fields
#** Title
#** Authors
#** Publisher
#** My random ramblings
#** My Review
#** Plot synopsis
#** ISBN Number
Discussion
=============
* My random ramblings is a good candidate for the text field
* My Review, and Plot synopsis are good candidates for slices
* The title of the book should be put in the caption field because two
books can have the same title
* ISBN is unique for books so put that in the title filed (The name of the
tiddler - must be unique)
* Authors can be multiple so this would be a list of authors populated
from tiddlers tagged "author"
** This requires a macro to populate it.
** You can use crazyListHere from cpashow.tiddlyspot.com
** As you might suspect from the name, my macro currently does all sorts
of stuff in addition to populating a list
* Publisher is a text name populated using a select from tiddlers tagged
"publisher"
Code a template
=========================
I was thinking about something very similar. We have all that we need
already on tiddlywiki. The rest is just a matter of how do you present the
information. Tiddlers have fields, so you can have as many fields as
sections you need. Then, the only thing you need is a view template to
transclude all the "_section/name" fields and a edit template to edit them
comfortable.

Let me say *c pa* that I find your implementation brilliant. Thank you for
sharing.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fb8a0d50-14e3-490c-8b68-eb08b506b842%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Matthew Lauber
2017-01-09 13:43:10 UTC
Permalink
As an FYI, I've actually done a lot of work with fields, and discovered
that if you put a newline in a field on a tiddler, and export that tiddler
to a ".tid" fle, it breaks the format of the ".tid" file. This is an issue
if you ever intend to use the nodejs server, as it stores the files, behind
the scenes, in ".tid" format.

Matt
Post by Danielo Rodríguez
Post by 'c pa' via TiddlyWiki
Oh right. I do all my editing from dashboards because all my tiddlers are
Analysis
============
# Decide on a structure for your tiddlers
#* Example "Book" would have the following fields
#** Title
#** Authors
#** Publisher
#** My random ramblings
#** My Review
#** Plot synopsis
#** ISBN Number
Discussion
=============
* My random ramblings is a good candidate for the text field
* My Review, and Plot synopsis are good candidates for slices
* The title of the book should be put in the caption field because two
books can have the same title
* ISBN is unique for books so put that in the title filed (The name of
the tiddler - must be unique)
* Authors can be multiple so this would be a list of authors populated
from tiddlers tagged "author"
** This requires a macro to populate it.
** You can use crazyListHere from cpashow.tiddlyspot.com
** As you might suspect from the name, my macro currently does all sorts
of stuff in addition to populating a list
* Publisher is a text name populated using a select from tiddlers tagged
"publisher"
Code a template
=========================
I was thinking about something very similar. We have all that we need
already on tiddlywiki. The rest is just a matter of how do you present the
information. Tiddlers have fields, so you can have as many fields as
sections you need. Then, the only thing you need is a view template to
transclude all the "_section/name" fields and a edit template to edit them
comfortable.
Let me say *c pa* that I find your implementation brilliant. Thank you
for sharing.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4bc2f2a1-51f6-47f9-a742-f75851cec972%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Danielo Rodríguez
2017-01-09 14:20:55 UTC
Permalink
That is definetively a bug. Is it reported?
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/13926543-6a7f-4525-8e80-a76ccd1d1d92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tobias Beer
2017-01-09 14:44:52 UTC
Permalink
Hi Matt,
Post by Matthew Lauber
As an FYI, I've actually done a lot of work with fields, and discovered
that if you put a newline in a field on a tiddler, and export that tiddler
to a ".tid" fle, it breaks the format of the ".tid" file. This is an issue
if you ever intend to use the nodejs server, as it stores the files, behind
the scenes, in ".tid" format.
While the solution recently suggested by Jeremy is not implemented yet,
there's an issue for that here:

*#1947 tiddler format for multiline fields (esp. node.js)*
https://github.com/Jermolene/TiddlyWiki5/issues/1947

Best wishes,

Tobias.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d5c34197-ee60-491d-9ee3-cae08d40b5d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Matthew Lauber
2017-01-09 20:22:27 UTC
Permalink
Sweet. Just assumed this was a quirk of the tiddler format and was set in
stone. Good to know there is a fix that's being considered. It's actually
one of the issues I ran into with TiddlyServer. One of the people testing
had a newline at the end of their author name, so every tiddler they saved
was invalidly formatted. Took me a while to figure that one out.

Matt
Post by Tobias Beer
Hi Matt,
Post by Matthew Lauber
As an FYI, I've actually done a lot of work with fields, and discovered
that if you put a newline in a field on a tiddler, and export that tiddler
to a ".tid" fle, it breaks the format of the ".tid" file. This is an issue
if you ever intend to use the nodejs server, as it stores the files, behind
the scenes, in ".tid" format.
While the solution recently suggested by Jeremy is not implemented yet,
*#1947 tiddler format for multiline fields (esp. node.js)*
https://github.com/Jermolene/TiddlyWiki5/issues/1947
Best wishes,
Tobias.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/945db423-4b1c-47ae-adeb-a3bd835edd07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Dmitry Sokolov
2017-01-04 08:27:56 UTC
Permalink
Regarding renaming tiddlers, it is not recommended on LikeInMind while
technically possible.

In order to avoid dead links and lost connections, tiddlers are federated
under a desired name. The content of the "old" tiddler is replaced with the
link onto the "fresh" one. :)
Replacement of the obsolete links is done manually, when realised/needed.
Ideally, a "garbage collector" would be great to have.

Just my 2 cents,
Dmitry
Post by Jeremy Ruston
Hi Jan
I'd acknowledge the impact of the issues you mention, but fixing them is
1,000 times easier than introducing full support for slicing.
Post by Jan
-When you discover that the content you wish to change was transcluded,
it takes some time to get to the real tiddler; in most cases I have to find
and open with the searchbar.
It would be practical if transclusions were clickable Links in the
edit-Mode. Could this be done with a template or plugin?
My favoured approach to fix this is to introduce a mode that makes
transclusions visible, so that one can directly click on a link to open the
target tiddler.
Post by Jan
-It would be important to have better Security mechanisms against
destroying links. Especially renaming tiddlers can have dangerous effects.
It would be nice if users were shown a Modal informing about Links Lists
and Transclusions for which the Tiddker has importance..
As discussed elsewhere, I'd favour support for automatically replacing
references to a tiddler when it is renamed.
Best wishes
Jeremy.
Post by Jan
Regards Jan
In TWClassic when changing the Name of a Tag-Tiddler i was asked wheter I
wished to change the tags to.
Post by Jeremy Ruston
It’s clear that users want to be able to write/paste long passages of
text into a tiddler and then individually address sections (or
slices/chunks). In practice, I think that means that anything that one can
transclusion, linking, searching, etc.
slices and entire tiddlers. Internally, everywhere that we manipulate
tiddlers we’d need to support slices too.
In fact, slices would become the fundamental unit; an entire tiddler
would be a special case of a slice covering the entire tiddler.
That’s where things get interesting: now we’ve redefined a slice to be a
tiddler (which is just what we call a fundamental discrete unit of content
in TiddlyWiki). Now, for performance reasons, we’d want to avoid repeatedly
scanning tiddlers to extract the slices; instead, we’d want to store the
individual slices separately so that we can efficiently address them as
needed.
You can probably see where this goes: we’ve just ended up *renaming*
“tiddlers” to “slices”, and adding facilities to deal with sequences of
slices as discrete entities called “tiddlers”.
That’s pretty much where we are today: it’s easy to combine several
tiddlers to make them appear to be a single tiddler: we use transclusion,
or macros based on transclusion like the TOC macro.
that’s where the text-slicer plugin comes in, showing one way that these
long texts can be split into chunks, and the chunks recombined in flexible
ways.
So, my position isn’t ideological, nor am I wilfully ignoring feedback
from users. But I am asserting that from an engineering perspective it’s
cleaner and more efficient to be dealing with a single fundamental entity,
and to approach the original problem from the other end: by splitting and
recombining.
Best wishes
Jeremy
I am a bit stuck at the moment because while I don't want to discourage
any exploration into different ways of using TiddlyWiki there is a TW5 way
of doing what you are talking about, which is to use either more tiddlers
or fields which you then place wherever you want them using transclusions.
Using templates you could have the anchor tag part of the transclusion
so you could navigate to a spot in an open tiddler. If you want to be able
to both open a tiddler and navigate to some spot in that tiddler than we
would need a more complex macro but it may be able to be done using only
wikitext and simple html. Or we may need to make an action widget that does
the same action as clicking on a normal link.
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/097acf29-8df9-45aa-8618-f9c4216a2226%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/097acf29-8df9-45aa-8618-f9c4216a2226%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/66FD1495-5136-4477-9542-4FA218F5E1AF%40gmail.com
<https://groups.google.com/d/msgid/tiddlywiki/66FD1495-5136-4477-9542-4FA218F5E1AF%40gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/CADeSwYNJsFbPy86dbw%2B7HmD5b0fYxbrCrhCWAo8MWbB5e3T1ZA%40mail.gmail.com
<https://groups.google.com/d/msgid/tiddlywiki/CADeSwYNJsFbPy86dbw%2B7HmD5b0fYxbrCrhCWAo8MWbB5e3T1ZA%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/DB46EC61-56FE-4775-A8AC-68027537F429%40gmail.com
<https://groups.google.com/d/msgid/tiddlywiki/DB46EC61-56FE-4775-A8AC-68027537F429%40gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/575B4BC3.3020800%40googlemail.com
<https://groups.google.com/d/msgid/tiddlywiki/575B4BC3.3020800%40googlemail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
Jeremy Ruston
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6052740c-27d4-4004-bc88-61e0df523965%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Dmitry Sokolov
2017-01-04 08:21:39 UTC
Permalink
In LikeInMind practice, transclusion is a very rare case. Transcluded
tiddlers may change with time in the context of the hosting topic / main
page. Those changes may conflict with the content of the topic / page they
are transcluded to. Federation is highly recommended instead.

Both, transcluded and federated tiddlers must have back links to the source
pages.
To avoid confusion, transcluded tiddlers are framed. Federated tiddlers
have no formatting differences with the rest of the page they are pasted to.

I hope you find it helpful.
Cheers,
Dmitry
Post by Xavier Cazin
Hi Jeremy
The concept of an atomic datastructure sounds logic.
-When you discover that the content you wish to change was transcluded, it
takes some time to get to the real tiddler; in most cases I have to find
and open with the searchbar.
It would be practical if transclusions were clickable Links in the
edit-Mode. Could this be done with a template or plugin?
-It would be important to have better Security mechanisms against
destroying links. Especially renaming tiddlers can have dangerous effects.
It would be nice if users were shown a Modal informing about Links Lists
and Transclusions for which the Tiddker has importance..
Regards Jan
In TWClassic when changing the Name of a Tag-Tiddler i was asked wheter I
wished to change the tags to.
Post by Jeremy Ruston
It’s clear that users want to be able to write/paste long passages of
text into a tiddler and then individually address sections (or
slices/chunks). In practice, I think that means that anything that one can
transclusion, linking, searching, etc.
slices and entire tiddlers. Internally, everywhere that we manipulate
tiddlers we’d need to support slices too.
In fact, slices would become the fundamental unit; an entire tiddler
would be a special case of a slice covering the entire tiddler.
That’s where things get interesting: now we’ve redefined a slice to be a
tiddler (which is just what we call a fundamental discrete unit of content
in TiddlyWiki). Now, for performance reasons, we’d want to avoid repeatedly
scanning tiddlers to extract the slices; instead, we’d want to store the
individual slices separately so that we can efficiently address them as
needed.
You can probably see where this goes: we’ve just ended up *renaming*
“tiddlers” to “slices”, and adding facilities to deal with sequences of
slices as discrete entities called “tiddlers”.
That’s pretty much where we are today: it’s easy to combine several
tiddlers to make them appear to be a single tiddler: we use transclusion,
or macros based on transclusion like the TOC macro.
We’ve still got the problem of dealing with long passages of text: that’s
where the text-slicer plugin comes in, showing one way that these long
texts can be split into chunks, and the chunks recombined in flexible ways.
So, my position isn’t ideological, nor am I wilfully ignoring feedback
from users. But I am asserting that from an engineering perspective it’s
cleaner and more efficient to be dealing with a single fundamental entity,
and to approach the original problem from the other end: by splitting and
recombining.
Best wishes
Jeremy
I am a bit stuck at the moment because while I don't want to discourage
any exploration into different ways of using TiddlyWiki there is a TW5 way
of doing what you are talking about, which is to use either more tiddlers
or fields which you then place wherever you want them using transclusions.
Using templates you could have the anchor tag part of the transclusion so
you could navigate to a spot in an open tiddler. If you want to be able to
both open a tiddler and navigate to some spot in that tiddler than we would
need a more complex macro but it may be able to be done using only wikitext
and simple html. Or we may need to make an action widget that does the same
action as clicking on a normal link.
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/097acf29-8df9-45aa-8618-f9c4216a2226%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/097acf29-8df9-45aa-8618-f9c4216a2226%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/66FD1495-5136-4477-9542-4FA218F5E1AF%40gmail.com
<https://groups.google.com/d/msgid/tiddlywiki/66FD1495-5136-4477-9542-4FA218F5E1AF%40gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/CADeSwYNJsFbPy86dbw%2B7HmD5b0fYxbrCrhCWAo8MWbB5e3T1ZA%40mail.gmail.com
<https://groups.google.com/d/msgid/tiddlywiki/CADeSwYNJsFbPy86dbw%2B7HmD5b0fYxbrCrhCWAo8MWbB5e3T1ZA%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/DB46EC61-56FE-4775-A8AC-68027537F429%40gmail.com
<https://groups.google.com/d/msgid/tiddlywiki/DB46EC61-56FE-4775-A8AC-68027537F429%40gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d75e4004-ab97-4bce-aee6-2bd2d090ffa2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thomas Elmiger
2017-01-08 00:07:37 UTC
Permalink
Hi Jan

The extract macro <http://tid.li/tw5/hacks.html#Extract%20Macro> offers a
-When you discover that the content you wish to change was transcluded, it
takes some time to get to the real tiddler; in most cases I have to find
and open with the searchbar.
It would be practical if transclusions were clickable Links in the
edit-Mode. Could this be done with a template or plugin?
As you would expect, it can find all {{transclusions}} in curly style – and
with the new version (0.9.2) you can output them as a list of links. I made
a demo here: http://tid.li/tw5/hacks.html#Icon%20Test where it lists all
the images used.

I think such a list could be appended as a tab to the tiddler info panel 

or maybe you could make a conditional view template and append it to the
edit view. Of course you miss <transclude 
/>.

Good luck and good night!
Thomas
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d1593e2f-124f-419d-8922-3f4a98d00d8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jan
2017-01-08 21:30:41 UTC
Permalink
Hi Thomas,
I think a box below the Title in the editTemplate would be best for this
purpose...and it would be good to show also in which tiddlers this
tiddler is transcluded, in order to avoid breaking it's text up
accidentally.

My current idea is also to use the extract-macro the other way
round...in order to build a sort of replacemanet for slices. Mark a
textpart ant then insert it somewhere else by means of the the macro.
It would be an idea to use the same mark-up for those slices as for
slides. Somethin like <sli1> text1 </sli> <sli2> text2 </sli>
To find them it would be nice to have a macro that would look like
<<slice "Tiddlername" 1>>.
Do you think that would work?

Yours Jan.
Post by Jeremy Ruston
Hi Jan
The extract macro <http://tid.li/tw5/hacks.html#Extract%20Macro>
-When you discover that the content you wish to change was
transcluded, it takes some time to get to the real tiddler; in
most cases I have to find and open with the searchbar.
It would be practical if transclusions were clickable Links in the
edit-Mode. Could this be done with a template or plugin?
As you would expect, it can find all {{transclusions}} in curly style
– and with the new version (0.9.2) you can output them as a list of
links. I made a demo here: http://tid.li/tw5/hacks.html#Icon%20Test
where it lists all the images used.
I think such a list could be appended as a tab to the tiddler info
panel 
 or maybe you could make a conditional view template and append
it to the edit view. Of course you miss <transclude 
/>.
Good luck and good night!
Thomas
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/d1593e2f-124f-419d-8922-3f4a98d00d8b%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/d1593e2f-124f-419d-8922-3f4a98d00d8b%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5872AF81.10906%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.
Thomas Elmiger
2017-01-09 18:33:30 UTC
Permalink
Hi Jan

Easy things first. Good idea ;–)

My current idea is also to use the extract-macro the other way round...in
order to build a sort of replacemanet for slices. Mark a textpart ant then
insert it somewhere else by means of the the macro.
This is exactly what extact was made for.
It would be an idea to use the same mark-up for those slices as for
slides. Somethin like <sli1> text1 </sli> <sli2> text2 </sli>
To find them it would be nice to have a macro that would look like <<slice
"Tiddlername" 1>>.
Ah – a simplified meta-macro (I just invented that word) like our ref
macro. Of course this works. I made a demo on
http://tid.li/tw5/numbers.html, see Chapter 2 Paragraph 1.1.

Code: http://tid.li/tw5/numbers.html#%24%3A%2F_telmiger%2Fslice

\define slice(tiddler,nr,mode:"block")
<$macrocall $name="extract" tiddler="""$tiddler$""" start="<sli$nr$>" end=
"</sli$nr$>" mode="$mode$" class="slice"/>
\end

I opted to add the mode parameter so you can change to inline mode if you
like.

And I close the tag using the number <sli1>Your slice</sli*1*>. I am not
sure yet that this is the final solution, maybe there is a standard HTML
tag we could use and a custom param like <section slice="1">Slice
content</section>.

By the way, I think I smashed the bug that was preventing you from
updating. I guess you have to add class="summary" (or class:"summary") to
your existing macro calls.

I hope, this works for you. All the best!
Thomas
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e2ff2f93-819d-42a1-a24e-c3c611e8950f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jan
2017-01-09 21:31:12 UTC
Permalink
Hi Thomas
That is great you just reinvented slices for TW5...and the best is: For
one slice it even works without setting a number!
I would like it to set it to standart "inline", because block is easily
done with return or <br>.

Thanks so much!
Bye Jan

I'll have to be off for a week to fininsh some professional duties
Post by Jeremy Ruston
Hi Jan
Easy things first. Good idea ;–)
My current idea is also to use the extract-macro the other way
round...in order to build a sort of replacemanet for slices. Mark
a textpart ant then insert it somewhere else by means of the the
macro.
This is exactly what extact was made for.
It would be an idea to use the same mark-up for those slices as
for slides. Somethin like <sli1> text1 </sli> <sli2> text2 </sli>
To find them it would be nice to have a macro that would look like
<<slice "Tiddlername" 1>>.
Ah – a simplified meta-macro (I just invented that word) like our ref
macro. Of course this works. I made a demo on
http://tid.li/tw5/numbers.html, see Chapter 2 Paragraph 1.1.
Code: http://tid.li/tw5/numbers.html#%24%3A%2F_telmiger%2Fslice
|
\define slice(tiddler,nr,mode:"block")
<$macrocall
$name="extract"tiddler="""$tiddler$"""start="<sli$nr$>"end="</sli$nr$>"mode="$mode$"class="slice"/>
\end
|
I opted to add the mode parameter so you can change to inline mode if
you like.
And I close the tag using the number <sli1>Your slice</sli*1*>. I am
not sure yet that this is the final solution, maybe there is a
standard HTML tag we could use and a custom param like <section
slice="1">Slice content</section>.
By the way, I think I smashed the bug that was preventing you from
updating. I guess you have to add class="summary" (or class:"summary")
to your existing macro calls.
I hope, this works for you. All the best!
Thomas
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/e2ff2f93-819d-42a1-a24e-c3c611e8950f%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/e2ff2f93-819d-42a1-a24e-c3c611e8950f%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/58740120.5060901%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.
Jan
2017-01-08 13:37:50 UTC
Permalink
Hi Thomas, thanks a lot for this.
I would prefer an Infobox in the Edit-Mode right below the TiddlerTitle.
It would be best to include a warning wether the Tiddler is transcluded
from somewhere in order to avoid accidental confusions.

...but I also have thought of using your Plugin the other way round to
produce a slice-replacement.
A function extracting some marked piece of a specific Tiddler. Something
like <slice>Text to extract<end>.
This would also have the advantage that it would be immediately visible
that the slice is used elsewhere.

Yours Jan
Post by Jeremy Ruston
Hi Jan
The extract macro <http://tid.li/tw5/hacks.html#Extract%20Macro>
-When you discover that the content you wish to change was
transcluded, it takes some time to get to the real tiddler; in
most cases I have to find and open with the searchbar.
It would be practical if transclusions were clickable Links in the
edit-Mode. Could this be done with a template or plugin?
As you would expect, it can find all {{transclusions}} in curly style
– and with the new version (0.9.2) you can output them as a list of
links. I made a demo here: http://tid.li/tw5/hacks.html#Icon%20Test
where it lists all the images used.
I think such a list could be appended as a tab to the tiddler info
panel 
 or maybe you could make a conditional view template and append
it to the edit view. Of course you miss <transclude 
/>.
Good luck and good night!
Thomas
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/d1593e2f-124f-419d-8922-3f4a98d00d8b%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/d1593e2f-124f-419d-8922-3f4a98d00d8b%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/587240AE.4010102%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.
Roger Ferrari
2018-11-27 02:07:40 UTC
Permalink
Using Thomas solution together with the Smart TOC extension for chrome
works just fine for me.

this is the
extension: https://chrome.google.com/webstore/detail/smart-toc/lifgeihcfpkmmlfjbailfpfhbahhibba/related

it has a github page, unfortunately I am no coder/programmer I was trying
to understand a way to get the piece of code to reproduce what the
extension does but I just can't.
Post by Jan
Hi Thomas, thanks a lot for this.
I would prefer an Infobox in the Edit-Mode right below the TiddlerTitle.
It would be best to include a warning wether the Tiddler is transcluded
from somewhere in order to avoid accidental confusions.
...but I also have thought of using your Plugin the other way round to
produce a slice-replacement.
A function extracting some marked piece of a specific Tiddler. Something
like <slice>Text to extract<end>.
This would also have the advantage that it would be immediately visible
that the slice is used elsewhere.
Yours Jan
Hi Jan
The extract macro <http://tid.li/tw5/hacks.html#Extract%20Macro> offers a
Post by Jan
-When you discover that the content you wish to change was transcluded,
it takes some time to get to the real tiddler; in most cases I have to find
and open with the searchbar.
It would be practical if transclusions were clickable Links in the
edit-Mode. Could this be done with a template or plugin?
As you would expect, it can find all {{transclusions}} in curly style –
and with the new version (0.9.2) you can output them as a list of links. I
made a demo here: http://tid.li/tw5/hacks.html#Icon%20Test where it lists
all the images used.
I think such a list could be appended as a tab to the tiddler info panel 

or maybe you could make a conditional view template and append it to the
edit view. Of course you miss <transclude 
/>.
Good luck and good night!
Thomas
--
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
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/d1593e2f-124f-419d-8922-3f4a98d00d8b%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/d1593e2f-124f-419d-8922-3f4a98d00d8b%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e7fb2b70-77b1-4e60-b291-6a36f910bb04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jan
2016-06-08 23:06:04 UTC
Permalink
Hi Jeremy,
I get the point. The counterargument may be that by slicing all down to
tiddlers, things can accidentally be broken in the next step. Because
you eventually won't remember all places a tiddler is transcludes into.
As a slice this context can be seen at once. That is why I feel more
secure about slices in this aspect.

Kind regards Jan
Post by Jeremy Ruston
It’s clear that users want to be able to write/paste long passages of
text into a tiddler and then individually address sections (or
slices/chunks). In practice, I think that means that anything that one
can presently do to an entire tiddler needs to be possible with a
slice: transclusion, linking, searching, etc.
slices and entire tiddlers. Internally, everywhere that we manipulate
tiddlers we’d need to support slices too.
In fact, slices would become the fundamental unit; an entire tiddler
would be a special case of a slice covering the entire tiddler.
That’s where things get interesting: now we’ve redefined a slice to be
a tiddler (which is just what we call a fundamental discrete unit of
content in TiddlyWiki). Now, for performance reasons, we’d want to
avoid repeatedly scanning tiddlers to extract the slices; instead,
we’d want to store the individual slices separately so that we can
efficiently address them as needed.
You can probably see where this goes: we’ve just ended up *renaming*
“tiddlers” to “slices”, and adding facilities to deal with sequences
of slices as discrete entities called “tiddlers”.
That’s pretty much where we are today: it’s easy to combine several
tiddlers to make them appear to be a single tiddler: we use
transclusion, or macros based on transclusion like the TOC macro.
that’s where the text-slicer plugin comes in, showing one way that
these long texts can be split into chunks, and the chunks recombined
in flexible ways.
So, my position isn’t ideological, nor am I wilfully ignoring feedback
from users. But I am asserting that from an engineering perspective
it’s cleaner and more efficient to be dealing with a single
fundamental entity, and to approach the original problem from the
other end: by splitting and recombining.
Best wishes
Jeremy
Post by Jed Carty
I am a bit stuck at the moment because while I don't want to
discourage any exploration into different ways of using TiddlyWiki
there is a TW5 way of doing what you are talking about, which is to
use either more tiddlers or fields which you then place wherever you
want them using transclusions.
Using templates you could have the anchor tag part of the
transclusion so you could navigate to a spot in an open tiddler. If
you want to be able to both open a tiddler and navigate to some spot
in that tiddler than we would need a more complex macro but it may be
able to be done using only wikitext and simple html. Or we may need
to make an action widget that does the same action as clicking on a
normal link.
--
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,
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/097acf29-8df9-45aa-8618-f9c4216a2226%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/097acf29-8df9-45aa-8618-f9c4216a2226%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/66FD1495-5136-4477-9542-4FA218F5E1AF%40gmail.com
<https://groups.google.com/d/msgid/tiddlywiki/66FD1495-5136-4477-9542-4FA218F5E1AF%40gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5758A4DC.6020401%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.
Thomas Elmiger
2016-06-10 19:54:58 UTC
Permalink
Hi all! Maybe, this discussion has gone much further than the title implies. But reading some of your posts made me think of a page I made some time ago, where I use a script derived from HTML5 outliner for Chrome to generate a table of contents automatically from HTML titles.

Maybe a gifted JS Programmer could make this script scrolling to the clicked title, no matter if it is in a single tiddler or in one of several open tiddlers.
Just a thought, but I hope it is helpful or at least interesting 

The page is here: http://thomas-elmiger.ch/bookmarklet/tibofix.html (first link)
Outliner is here: https://github.com/h5o/h5o-chrome

Good luck! Thomas
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/20f1e8f5-c02f-423b-8ef7-72ae190e0b9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
'Mark S.' via TiddlyWiki
2016-06-17 16:59:12 UTC
Permalink
Please consider the matter from the viewpoint of average users.
Post by Jeremy Ruston
In fact, slices would become the fundamental unit; an entire tiddler would
be a special case of a slice covering the entire tiddler.
Slices are different in several important ways. To start, they are much
lighter than a full tiddler. Each tiddler has about 60 characters
overhead. More importantly, slices are RIGHT THERE while you edit. You
don't have to click link, then click again to edit the tiddler, then close
the tiddler, then check how it all works back in the main document. You
don't have to wrack your head to to write a unique descriptive link for
every semantic unit. You get to see the actual text and not a widget. You
don't have to worry that changing a tiddler title will break a dependent
document.

Finally, in many case, the article, documents, correspondence etc. IS the
"semantic" unit that you want. The tiddler is complete, but you just want
to to add a bookmark or anchor into the text, or quickly find a particular
section, without having to explode the document into a dozen scatter-shot
pieces. It's unnatural to take a piece of correspondence, for instance, and
break it into little pieces just so you can quickly access some particular
piece in the future. Most people would not do that with their real-life
filing, and it feels strange to do it inside of an electronic document.

From a different engineering perspective, each tiddler adds overhead to a
non-indexed system where every byte represents a performance decrease. It's
clear that lots of people enjoyed the slice approach in the TWC, and that
some are going to great lengths to come up with approaches that bring it
back.

Mark
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/130bc737-9b18-4e4a-97f1-e27cd616fcfa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tobias Beer
2017-01-08 14:02:25 UTC
Permalink
Hi Mark,
Post by Jeremy Ruston
Slices are different in several important ways. To start, they are much
lighter than a full tiddler. Each tiddler has about 60 characters
overhead. More importantly, slices are RIGHT THERE while you edit. You
don't have to click link, then click again to edit the tiddler, then close
the tiddler, then check how it all works back in the main document. You
don't have to wrack your head to to write a unique descriptive link for
every semantic unit. You get to see the actual text and not a widget. You
don't have to worry that changing a tiddler title will break a dependent
document.
Mhhh, not sure. I don't think there currently is a way to tell TiddlyWiki
to just use a single textarea to edit the entire tiddler as if a ".tid"
file.
I think it would be cool for pro-users, even to switch on the fly between
the two modes.

Atually, it might even be three modes:

1. each field on its own, as is
2. one textarea, as if a "tid file"
3. title and tags on their own, as is, but custom fields and text as if
a tid-file, eventually concatenating all of that to a tid file and commiting

Best wishes,

Tobias.
--
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 ***@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f9d29d65-0a1b-4d05-8ffc-f70d7cbf5e36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...