@@.pfx ''pfx'':<<pfx>><br>@@
@@color:white;HEY@@
@@.pfx ''pfx'':<<pfx>><br>@@
.pfx {display:none;}
By playing around with the CherryPicker tiddler, I was also able to display, in the aggregate tiddler, the dates when the corresponding tiddlers were modified. Which, for an inexperienced person like me, is great!
However, can there be a method to tag selected paragraphs, in a tiddler, in such a way, that the tagging symbols (in this case, the two HEY's between which the 'cherry' is located) would not be displayed in the original tiddlers? I found that instead of using HEY, squeezing the seleceted text between two lines ofprevents the word HEY from being displayed. But this seems to be a very unelegant solution :)
@@color:white;HEY@@
Oh, <HEY>hello there<HEY> you rascal you.
Wow Mat!!Attention looks great! If you have the time, please make it a plugin and lets get it on the main TW site!
There is no solution as general as I would prefer it, but this seems to work;
Oh, <HEY>hello there<HEY> you rascal you.
I.e put the markers inside angle brackets.
When a tiddler seems as if it needs to contain subheadings, this is often a sign that it should in fact be split into several tiddlers.
<$NT[NewTiddler] tags[tag1,tag2]>Content of the new tiddler<$/NT>
I totaly support Jeds points.
Have you used the excise tool using the editor tool bar. This will help divide text into tiddlers while retaining a single view.
Regards
Tony
Indeed, if you are writing a coherent text, tagging separate paragraphs by excising those paragraphs into different tiddlers makes the editing very cumbersome: you have to jump to those new tiddlers to edit them and then come back to the primary tiddler to see the integral result.
{{My first Paragraph||trans-edit}}
{{My second Paragraph||trans-edit}}
{{My third Paragraph||trans-edit}}
AA
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam eget ex nunc. Maecenas blandit efficitur erat a malesuada. Vivamus sit.
AA
<$edit-text tiddler=<<tiddler2edit>>/>
<$list filter=<<currentTiddler>> variable="theTiddler">
<$button class="tc-btn-invisible tc-tiddlylink">
<$action-sendmessage $message="tm-modal" $param="trans-editor" tiddler2edit=<<theTiddler>> />
{{$:/core/images/edit-button}}
</$button> <$transclude tiddler=<<theTiddler>> />
</$list>
{{
[[A]]
[[B]]
[[C]]
||
trans-edit
}}
I will try it, when I find some time.
Cheers!
Thomas
<$edit-text tiddler=<<tiddler2edit>> class="full-width"/>
<style>
.full-width {width: 100%;}
</style>
{{[[A]][[B]][[C]]||trans-edit}}
{{[[A]][[B]][[C]]||trans-edit}}it brings the titles A, B and C as values to the "trans-edit" piece of code,
which then provides the listing of the edit-buttons together with the content of the A, B and C tiddlers.
However, what is happening when the the code of "trans-edit" is being run independently, that is, when there are no tiddler titles provided for the filter operator in the "trans-edit" tiddler? Do I understand it correctly, that, in this case, the value of <<currentTiddler>> is "trans-edit" and that is why the "trans-edit" tiddler tries to include itself into itself and the result is: "Recursive transclusion error in transclude widget", which I see in the view-window of "trans-edit"?
Is it alright to see this error or could it be somehow avoided?
By the way, is it correct, that the fact that "the code of tiddlers is being run continuously", is responsible for the thing, that it will never be possible to edit tiddlers from the EDIT-window of some other tiddler, that is, you have to have a button to run the editting only once (and not continuously)?
This is really cool!I'd go with the reveal-widget (instead of a modal) to edit the paragraphs in place, unless there's a con to that method?
I had no idea that you could apply a template to more than one tiddler at a time. Is this in the documentation some place?
It's a very clever re-factoring of existing abilities, though. Maybe an additional example in the "templates" part of the documentation would be in order.
{{[[A]] [[B]] [[C]]||trans-edit}}
\define transedit() {{$(taggedcurr)$||trans-edit}}
<$set name=taggedcurr filter="[tag<currentTiddler>]"><<transedit>></$set>
<$navigator story="PE:story" history="PE:history">{{$:/core/ui/Buttons/new-tiddler}}<$list filter="[list[PE:story]]" template="$:/core/ui/ViewTemplate" editTemplate="$:/core/ui/EditTemplate" emptyMessage={{$:/config/EmptyStoryMessage}} /></$navigator>
<div>{{||$:/core/ui/Buttons/edit}}{{||move-up button}} {{||move-down button}}<div><$view field=title /></div><div><$transclude /></div></div>
Then, to almost automatically create articles, put this in a conditional viewtemplate. This means that all (and only) tiddlers tagged e.g "article" will show the sub-section aggregation.
{{
[tag[TableOfContents]]
||
trans-edit
}}
{{
[tag[TableOfContents]sort[orderfield]]
||
trans-edit
}}
But I think you're making it too complicated.
Remember what I wrote? The "3 tiddler" are just one string which is used as a filter. So why not use your filter instead of using the filter to create a string and then using that string again as a filter? Want to try? Put trans-edit again into tiddlywiki.com and create atiddler with this contents:
\define qualstate() <<qualify "$:/statet/$(theTiddler)$">>
\define transedit()<$set name=currlist value="[tag<currentTiddler>]"><$list filter=<<currlist>> variable="theTiddler"><$wikify name=state text=<<qualstate>>><$reveal type="nomatch" state=<<state>> text="show">
<$button class="tc-btn-invisible tc-tiddlylink" set=<<state>> setTo="show">{{$:/core/images/edit-button}}
</$button><$transclude tiddler=<<theTiddler>> />
</$reveal><$reveal type="match" state=<<state>> text="show">
<$button set=<<state>> setTo="hide" class="tc-btn-invisible tc-tiddlylink">{{$:/core/images/edit-button}}</$button>
<$edit-text tiddler=<<theTiddler>>/>
</$reveal>
</$wikify></$list></$set>\end
<$list filter="$filter$" variable="parItem">
<$transclude tiddler=<<parItem>> subtiddler="$subtiddler$"/>
</$list>
JD,Should we be using a new thread to collaborate otherwise we are somewhat hijacking the thread?
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/RNqJR1s6ysk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@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/c10abd87-c927-451c-84b7-c4e682748300%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
\define tagascurrent() [[$(currentTiddler)$]]
\define draft() Draft of '$(currentTiddler)$'
\define draftcreated() Draft of '$(currentTiddler)$'!!created
\define drafttrans() {{Draft of '$(currentTiddler)$'||$:/core/ui/EditTemplate}}
\define toc-tabbed-external-nav2(tag,sort:"",selectedTiddler:"$:/temp/toc/selectedTiddler",unselectedText,missingText,template:"")
<$tiddler tiddler={{$selectedTiddler$}}>
<div class="tc-tabbed-table-of-contents">
<$linkcatcher to="$selectedTiddler$">
<div class="tc-table-of-contents">
<$macrocall $name="toc-selective-expandable" tag="""$tag$""" sort="""$sort$""" itemClassFilter=<<toc-tabbed-selected-item-filter selectedTiddler:"""$selectedTiddler$""">>/>
</div>
</$linkcatcher>
<div class="tc-tabbed-table-of-contents-content">
<$reveal state="""$selectedTiddler$""" type="nomatch" text="">
<$navigator story="story" history="history" openLinkFromInsideRiver="top">
<$list filter="[all[current]]" >
<$reveal state=<<draftcreated>> type="nomatch" text="">
<<drafttrans>>
</$reveal>
<$reveal state=<<draftcreated>> type="match" text="">
{{||$:/core/ui/ViewTemplate}}
<$button>
<$action-createtiddler $basetitle={{$:/newitem}} tags=<<tagascurrent>> $savetitle="""$selectedTiddler$""" />
New child</$button> <$edit-text tiddler="$:/newitem" tag="input" size="30" default="Child name here" placeholder="Child name here"/>
</$reveal>
</$list>
</$navigator>
</$reveal>
<$reveal state="""$selectedTiddler$""" type="match" text="">
$unselectedText$
</$reveal>
</div>
</div>
</$tiddler>
\end
<$macrocall
$name="toc-tabbed-external-nav2"
tag="Root"
selectedTiddler="$:/temp/toc/selectedTiddler"
unselectedText="<p>Select a topic in the table of contents. Click the arrow to expand a topic.</p>"
missingText="<p>Missing tiddler.</p>"
template="$:/core/ui/ViewTemplate"
/>
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/RNqJR1s6ysk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@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/d94afe6e-7188-4a7a-814b-991032d4b793%40googlegroups.com.
1) Unless I am mistaken, this doesn't improve that much on using the new here button with the table of contents. You just title the child tiddler before creating, whereas with the new here button you do the same in the opposite order. It is slightly easier to grasp for newbies, though.
2) I don't think this will scale in TiddlyWiki like it does in Dynalist or Workflowy.
3) The children are not present when opening the tiddler the way child notes are visible when zooming in to a node in Dynalist and Workflowy.
4) What makes Dynalist and Workflowy so appealing is that every paragraph of text is a separate node that can be reordered. And you can zoom into any level of the outline to focus on that level.
I don't write this to be nitpicky or negative. I just don't want to see you wasting your time trying to make TiddlyWiki into an outliner. I don't see that it could compete, but then Dynalist and Worklowy can't compete with TiddlyWiki in many areas.
...if you buy into the TW philosophy that its your external brain - that you place all information that is somewhat important to you into TW - it only makes sense that it would have some mechanism to help you remember certain key pieces.
<style>
textarea.full-width { width: 100%; height: auto; }
Notebooks are so last millenium. Notebooks are dead, long live the notebook (in tw).
Tony
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/RNqJR1s6ysk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@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/c84a8647-0e3e-4ca7-a319-4092562b0fb4%40googlegroups.com.
@JDIn the process of enabling myself to customize your wonderful paragraphs macro, I have analysed the code of it (actually, since I'm a newbie, it took me a decent amount of effort). I'm glad I was able to more or less understand it. Just one small question. If I get it correctly, you don't need "textarea" in the following:?
<style>
textarea.full-width { width: 100%; height: auto; }
EXTRA QUESTION. By the way, what is considered to be a "good practice" regarding the state tiddlers? I have noticed, that whenever you use RevealWidget you create those state tiddlers which are not removed automatically. I imagine that the amount of those state tiddlers can become really large (especially if you use RevealWidget inside of <$list>..</$list> ). Is there a way to delete state tiddlers automatically or should it be done, from time to time, with some delete macro?------------
<$action-deletetiddler $tiddler=<<stateEditTid>>/>
On Saturday, March 31, 2018 at 7:21:21 AM UTC-4, Vytas wrote:Hello TiddlyWiki enthusiasts,I have recently discovered TiddlyWiki and here I have question:Is it in principle possible to somehow tag selected paragraphs of a text within a tiddler, so that it would be later possible to transclude all the paragraphs associated with a specific tag?Let's say, I write a journal with one tiddler per day, and in any given journal tiddler I write about various topics. For a given topic, the goal would be to create a new tiddler composed of all the paragraphs from different tiddlers associated with that topic. Is it possible to achieve something like this without having to create, for each topic, a separate tiddler everyday?Warm regards,Vytas
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/RNqJR1s6ysk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@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/71785ed2-7bcf-4274-85e5-7e0ab5f0020e%40googlegroups.com.