[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-02-25 Thread Mohammad
> > One more question: > > I confused with drag and drop when there are more than a tag! (I mean an > entry in the TOC tree has more than one tags) > > Example: > > * *root* > ** *child1* > ***gchild1 > ***gchild2 > ** *child2* > ** *child3* > > > they have a hierarchy and create a tre

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-02-25 Thread Mohammad
Further input to handle multiple tags I did some elaboration and see \define toc-item-dragdata() $:/temp/TOC/dragdata \define toc-item-dragdata-path() $:/temp/TOC/dragdata/path \define toc-item-dragstart() <$action-setfield $tiddler=<> text=<> /> <$action-setfield $tiddler=<> text=<> />

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-02-25 Thread Mohammad
Hi Eric, many thanks for this update! Yes it works great! I also try use <$action-listops $tiddler=<>$field="list" $subfilter="[enlist] -[] +[insertbefore:item]" /> and it works! but I see your solution is more consistent as it uses the same mechanism for putting before and after i

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-02-25 Thread Eric Shulman
On Monday, February 24, 2020 at 11:04:02 AM UTC-8, Mohammad wrote: > > Further input: It seems append does not work with tiddler have space in > their name and it needs to get the input using double brackets when there > is a space in title. > Instead of using: <$action-listops $tiddler=

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-02-24 Thread Mohammad
Further input: It seems append does not work with tiddler have space in their name and it needs to get the input using double brackets when there is a space in title. --Mohammad On Monday, February 24, 2020 at 6:48:29 PM UTC+3:30, Mohammad wrote: > > Hi Eric, > The drag and drop feature seems

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-02-24 Thread Mohammad
Hi Eric, The drag and drop feature seems does not work with tiddlers in their title have spaces like [[copyright 1]] To reproduce the issue 1. goto http://tiddlytools.com/InsideTW/ 2. activate author tools by clicking on the lock pad on top right 3. open Copyrights tiddlers 4. clone

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-30 Thread TonyM
Eric, Very nicely put. Totally agree too. Love you work Tony On Thursday, January 30, 2020 at 12:53:37 PM UTC+11, Eric Shulman wrote: > > On Wednesday, January 29, 2020 at 2:40:14 PM UTC-8, TonyM wrote: >> >> I love Eric's work here, though if you go back to my recent toc thread I >> specifical

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-29 Thread Mohammad
Mat, I think this is not difficult! Assume you have open all button, you can use the same mechanism to walk through the branch starting from the node (root of that branch not root of tree) Then one can have two options: close current story river and open new with these tiddlers, or keep story r

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-29 Thread Eric Shulman
On Wednesday, January 29, 2020 at 2:40:14 PM UTC-8, TonyM wrote: > > I love Eric's work here, though if you go back to my recent toc thread I > specifically demonstrated calculating the level. In part so you can build > your own toc. Eric's work is great but as features are added it gets harder

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-29 Thread TonyM
I love Eric's work here, though if you go back to my recent toc thread I specifically demonstrated calculating the level. In part so you can build your own toc. Eric's work is great but as features are added it gets harder for others to customise. The feature rich solutions are valuable like E

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-29 Thread Mat
@Eric, a feature request: While InsideTW shows one tiddler at a time, I would be very neat if the TOC tool could open a full branch (i.e a tiddler and all its children, grandchildren) in the river with a single button click. I guess such a button could be positioned in the drop down menu that e

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-29 Thread Eric Shulman
On Wednesday, January 29, 2020 at 7:59:56 AM UTC-8, Mohammad wrote: > > Thanks for clarification! > I will delete my original post here and this one (your reply) will remain > for readers! > So, people should consider this right protected and can be used with > Permission. > Thanks. Much appre

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-29 Thread Mohammad
Hi Eric, Thanks for clarification! I will delete my original post here and this one (your reply) will remain for readers! So, people should consider this right protected and can be used with Permission. --Mohammad On Wednesday, January 29, 2020 at 7:12:30 PM UTC+3:30, Eric Shulman wrote: > >

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-29 Thread Eric Shulman
On Wednesday, January 29, 2020 at 5:59:30 AM UTC-8, Mohammad wrote: > > I have prepared a summary on Eric TOC Tools with a simple installation. > This is for people like to give a try or use Eric flexible TOC and > outliner in their real work. > I hope Eric confirm if the procedure given below is

Re: [tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-29 Thread Mohammad Rahmani
To give a try, after installing TOC tools do as below I use tiddlywiki.com 1. Create a new tiddler 2. Put the below as its content and save This example shows a TOC with the root tag: TableOfContents {{TiddlyTools/ReadOnly}} <> <> Best wishes Mohammad On Wed, Jan 29, 2020 at 5:29

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-29 Thread Mohammad
I have prepared a summary on Eric TOC Tools with a simple installation. This is for people like to give a try or use Eric flexible TOC and outliner in their real work. I hope Eric confirm if the procedure given below is correct. Regarding the license I assume it is open source, but Eric himself

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-29 Thread PMario
On Wednesday, January 29, 2020 at 1:30:30 PM UTC+1, Eric Shulman wrote: > > Consider the following possible use-case: > > Suppose I have a "primary" TOC tree that has 3 levels that might represent > product categories/sub-categories, navigating down to individual products > entries. Then, clicki

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-29 Thread Mohammad
Hi Eric, Works like a charm! It is fantastic and beats the MS-Word outliner and TOC generator in many ways! If Tiddlywiki sports printing CSS to create book like those publishers uses like Elsevier or Wiley, then we could use TW for production! The TOC tools from http://tiddlytools.com/InsideT

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-29 Thread Eric Shulman
On Wednesday, January 29, 2020 at 3:52:29 AM UTC-8, PMario wrote: > > I think "hiding" information, for performance reasons, without a clear and > visible info isn't best practice. So as a user I would expect to get some > info, that there are more levels, but I'm not able to see them. As a secon

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-29 Thread PMario
Hi, I'm following this thread with interest, but I was just skimming the individual posts. On Wednesday, January 29, 2020 at 12:27:12 PM UTC+1, Eric Shulman wrote: ... > One minor tweak still to be done for <>: > when the 'max' level is reached, if more levels are present for that item > it wi

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-29 Thread Eric Shulman
On Tuesday, January 28, 2020 at 9:44:22 PM UTC-8, Mohammad wrote: > > In any of toc macro is there any simple way to restrict the number of > levels? > I've added a new optional "max" parameter to <>, <> and <>. Thus: <> will show a maximum of 3 levels. If you omit the "max" param, the ful

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-28 Thread Mat
Mohammad, I imagine one could make the recursion generate and apply a style class for each new item based on the level and then display:none for wherever you want. For example, a style could be set in the beginning (class="mystyle") and for each recursion, an incrementing suffix is updated ("my

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-28 Thread Mohammad
It implies anything located at level 4 and above! So, when level 4 is not displayed, level 5 and 6 if present, will not be displayed and so on. --Mohammad On Wednesday, January 29, 2020 at 9:14:22 AM UTC+3:30, Mohammad wrote: > > Eric, > In any of toc macro is there any simple way to restric th

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-28 Thread Mohammad
Eric, In any of toc macro is there any simple way to restric the number of levels? I mean if L1 L11 L12 L2 L21 L22 L221 L222 L2221 L L223 I do not want to display the entries (leaves) at level 4 e.g. L2221 and L --Mohammad On Sat

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-28 Thread Mat
Aha! I now see what has confused me: [image: tabort.png] The UI doesn't really show any link to the tiddler and the titles are not set to display as links so I assumed that the link I saw above the title was a link to it - it does read the same at a quick glance - so I've been pulling the wrong

Re: [tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-27 Thread Mohammad Rahmani
Eric, it works now! I re-import into a new empty TW, and it works like a charm. Best wishes Mohammad On Mon, Jan 27, 2020 at 7:02 PM Mohammad Rahmani wrote: > Hi Eric, > Thank you! The reason was to keep your code intact! > > I used the new tiddlers you recommended. Just a question > What I

Re: [tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-27 Thread Mohammad Rahmani
Hi Eric, Thank you! The reason was to keep your code intact! I used the new tiddlers you recommended. Just a question What I am doing wrong, when I click the pad lock, still I see the arrows? Best wishes Mohammad On Mon, Jan 27, 2020 at 6:33 PM Eric Shulman wrote: > On Monday, January 27, 20

Re: [tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-27 Thread Eric Shulman
On Monday, January 27, 2020 at 6:17:38 AM UTC-8, Mohammad wrote: > > Hi Mat, > Overload toc-show-item with the below one! > You have not authortools and readertools! > I don't recommend doing it this way, as it will bypass any updates that I make to the code. Instead, install http://tiddlytools

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-27 Thread Eric Shulman
On Monday, January 27, 2020 at 5:45:20 AM UTC-8, Mat wrote: > > Am I doing something wrong? I still get double entries in the TOC and the > arrow buttons don't show up: http://els-toc.tiddlyspot.com/ > Thinking I might have some other custom stylesheets or similar that > interfered, I also tried

Re: [tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-27 Thread Mohammad Rahmani
Hi Mat, Overload toc-show-time with the below one! You have not authortools and readertools! \define toc-show-item() <$droppable actions=<>> <$draggable tiddler=<> startactions=<> endactions=<> dragimagetype="blank"> {{$(item)$||$(toc-template)$}}

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-27 Thread Mat
Am I doing something wrong? I still get double entries in the TOC and the arrow buttons don't show up: http://els-toc.tiddlyspot.com/ Thinking I might have some other custom stylesheets or similar that interfered, I also tried it on a completely new and empty TW, but same results. Nobody else h

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-27 Thread Mohammad
Thanks Eric, I will and notify you! By the way, We need to store the whole hierarchical list dynamically in a variable and then take care of what is in $:/HistoryList and then highlight the entry in the TOC tree! I don't know any way to measure the impact of each step. --Mohammad P.S: As I no

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-27 Thread Eric Shulman
On Sunday, January 26, 2020 at 7:35:01 PM UTC-8, Mohammad wrote: > > Now the flexible TOC generator works fine and its outliner is really > helpful. > My question is how to improve the performance? > I've made a small change to TiddlyTools/TOC/Macros that *might* result in better performance: I

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-26 Thread Mohammad
Further note, With 1000 tiddlers, the core TOC is also slow but toc-tree is slower! I though to switch off scroll here and seems it has some effect. --Mohammad -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and s

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-26 Thread Mohammad
Hi Eric, Now the flexible TOC generator works fine and its outliner is really helpful. My question is how to improve the performance? - I created 1000 tiddlers in 5 levels using Tiddler commander - Parent 10, Child 5, Grand Son 10, Grand Grand Son 2 = 10*5*10*2 = 1000 tiddlers

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-26 Thread TiddlyTweeter
TiddlyTweeter wrote: > > My point? WRITE in what is easiest. PUBLISH through TW which is about the >> most flexible tool around for organisation and search. >> >> Good as it is, TiddlyToolmap would be a MUCH more useful resource in TW. >> > > Mark S. replied: > What would TW bring to the table,

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-25 Thread Mohammad
Hi Eric, Thank you very much! It works like a charm. --Mohammad On Sunday, January 26, 2020 at 12:29:14 AM UTC+3:30, Eric Shulman wrote: > > On Saturday, January 25, 2020 at 11:47:53 AM UTC-8, Mohammad wrote: >> >> By default TiddlyBook uses "sequential reader" interface that lets one >> steps

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-25 Thread Eric Shulman
On Saturday, January 25, 2020 at 11:47:53 AM UTC-8, Mohammad wrote: > > By default TiddlyBook uses "sequential reader" interface that lets one > steps through all the TOC items or all tiddlers. > How one can have this interface on those tiddlers only existed in TOC not > all tiddlers? > By defa

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-25 Thread Mohammad
Thanks Eric, On Saturday, January 25, 2020 at 11:07:47 PM UTC+3:30, Eric Shulman wrote: > > On Saturday, January 25, 2020 at 11:08:30 AM UTC-8, Mohammad wrote: >> >> I changed toc-list as below >> \define toc-list(here,exclude) >> <$list filter="""[title[$here$]tagging[]] $exclude$ -[[$here$]]"""

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-25 Thread Eric Shulman
On Saturday, January 25, 2020 at 11:08:30 AM UTC-8, Mohammad wrote: > > I changed toc-list as below > \define toc-list(here,exclude) > <$list filter="""[title[$here$]tagging[]] $exclude$ -[[$here$]]"""> ><$text text="[["/><><$text text="]]"/> ><$macrocall $name="toc-list" here=<> exclude="

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-25 Thread Mohammad
Eric, I changed toc-list as below \define toc-list(here,exclude) <$list filter="""[title[$here$]tagging[]] $exclude$ -[[$here$]]"""> <$text text="[["/><><$text text="]]"/> <$macrocall $name="toc-list" here=<> exclude="""$exclude$ -[[$here$]]"""/> \end It seems now it handles tiddlers wit

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-25 Thread Mohammad
Eric, Thanks for this step through addition! It seems it does not work with tiddler with space in the title! --Mohammad On Saturday, January 25, 2020 at 3:44:39 PM UTC+3:30, Eric Shulman wrote: > > On Saturday, January 25, 2020 at 3:26:21 AM UTC-8, Mohammad wrote: >> >> Recently Eric Shulman sha

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-25 Thread 'Mark S.' via TiddlyWiki
On Saturday, January 25, 2020 at 6:50:16 AM UTC-8, TiddlyTweeter wrote: > > > My point? WRITE in what is easiest. PUBLISH through TW which is about the > most flexible tool around for organisation and search. > > Good as it is, TiddlyToolmap would be a MUCH more useful resource in TW. > > > Wha

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-25 Thread TiddlyTweeter
Very interesting thread! Something I find missing though is thought on limits. As far as I grasp it David wrote TiddlyWiki Toolmap in Dynalist because it was easiest in it. At over 600 entries it is well worth noting his AUTHOR experience. *Emulate that and you'd be on a winner :-).* But I d

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-25 Thread Eric Shulman
On Saturday, January 25, 2020 at 3:26:21 AM UTC-8, Mohammad wrote: > > Recently Eric Shulman shared a very impressive tool which can be used for > authoring! > It can create an outliner, a feature (outlining) quite necessary in long > writings like novels, theses, project reports,... > It is a s

[tw5] Re: Smart TOC and Outlining - Authoring with Tiddlywiki: One step forward

2020-01-25 Thread Mohammad
More info on outlining: https://en.wikipedia.org/wiki/Outliner --Mohammad On Saturday, January 25, 2020 at 2:56:21 PM UTC+3:30, Mohammad wrote: > > Recently Eric Shulman shared a very impressive tool which can be used for > authoring! > It can create an outliner, a feature (outlining) quite nece