Discussion:
[tw] [TW5] nesting transclusions
Philip Coltharp
2014-10-13 22:39:53 UTC
Permalink
Can we transclude a tiddler that would transclude from a third tiddler, on
TW5?
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
Philip Coltharp
2014-10-14 00:11:13 UTC
Permalink
When we talk about recursion in TW5 tranclusion, is it recursion of the use
of the $transclude widget itself where only one use of it is allowed -- OR
-- is it recursion as in the event that the transclude widget finds that
it is being asked to place a tiddler in the heap that had already been
added, therfore multiple nested levels are allowed but not such that
recursion is allowed?
Post by Philip Coltharp
Can we transclude a tiddler that would transclude from a third tiddler, on
TW5?
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
PMario
2014-10-14 12:10:12 UTC
Permalink
Hi Philip,

Recursion is possible with TW. See the TableOfContent macro. ... But you
get a recursion error, if a transclusion has to show itself.

Put this into a tiddler: {{!!text}}
It will create this info: "Recursive transclusion error in transclude
widget" with a red background :)

hope that helps
-mario
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
PMario
2014-10-14 12:11:46 UTC
Permalink
Post by PMario
Put this into a tiddler: {{!!text}}
It will create this info: "Recursive transclusion error in transclude
widget" with a red background :)
this is the same: <$transclude /> function
-m
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
Philip Coltharp
2014-10-14 12:43:16 UTC
Permalink
Whoa: what's going on. I'm trying to understand this. when I insert this
command it gives me the error as I expected, but then the other transclude
widgets begin to work they did not and do exactly as I I wanted ... so
except for the error!
Post by PMario
Put this into a tiddler: {{!!text}}
It will create this info: "Recursive transclusion error in transclude
widget" with a red background :)
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
Philip Coltharp
2014-10-14 12:50:41 UTC
Permalink
This is because of the presents of a macro, when I remove the macro it
stops working . nevermind
Post by Philip Coltharp
Whoa: what's going on. I'm trying to understand this. when I insert this
command it gives me the error as I expected, but then the other transclude
widgets begin to work they did not and do exactly as I I wanted ... so
except for the error!
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
Philip Coltharp
2014-10-14 12:48:15 UTC
Permalink
So my problem might be associated with another issue. like using
transcluded fields in a filter . ?? I read that you can not supply macros
with transcluded fields.
Post by PMario
Hi Philip,
Recursion is possible with TW. See the TableOfContent macro. ... But you
get a recursion error, if a transclusion has to show itself.
Put this into a tiddler: {{!!text}}
It will create this info: "Recursive transclusion error in transclude
widget" with a red background :)
hope that helps
-mario
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
Jeremy Ruston
2014-10-14 12:38:29 UTC
Permalink
Hi Philip
Post by Philip Coltharp
When we talk about recursion in TW5 tranclusion, is it recursion of the
use of the $transclude widget itself where only one use of it is allowed --
OR -- is it recursion as in the event that the transclude widget finds
that it is being asked to place a tiddler in the heap that had already been
added, therfore multiple nested levels are allowed but not such that
recursion is allowed?
You can next transclusions as deep as you want. A transclusion recursion
error results when you try to transclude a tiddler that has already been
transcluded in the same stack. In other words, if A transcludes B, and B
transcludes C, an error message would be displayed if C tried to transclude
A.

Best wishes

Jeremy
Post by Philip Coltharp
Post by Philip Coltharp
Can we transclude a tiddler that would transclude from a
third tiddler, on TW5?
--
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 http://groups.google.com/group/tiddlywiki.
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
Philip Coltharp
2014-10-14 13:07:06 UTC
Permalink
thanks all.
I'm changing the subject. This is continued at

https://groups.google.com/forum/#!topic/tiddlywiki/RiexkBExCF0


Sincerely,
Philip
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
Loading...