excise tool cannot turn every line into a new tiddler and tag it with the name of the current.
While the thing you propose should be able to do. On 4 October 2019 00:09:43 GMT-07:00, TonyM <[email protected]> wrote: >ILYA > >Much of that can already be done with the excise tool. Have a look in >the >editor toolbar. > >My specific section could do this for large numbers of paragraphs and >help >with reordering. > >Regards >Tony > > > >On Friday, October 4, 2019 at 2:48:59 PM UTC+10, ILYA wrote: >> >> > Line or paragraph based excise, WOW!. >> >> > What if we had an excise tool that would automatically generate >multiple >> paragraph based tiddlers, tagging them with a named tag (or >equivalent), we >> could then quickly extract paragraphs to separate tiddlers in a >single >> select step, and use the tag (or equivalent), to reorder them >manually. >> >> This would be great it would help me to fix following workflow. I >often >> start from a single tiddler with multiple list of items (ProjectA). >> >> ! Requirements >> >> * item2 >> * item3 >> >> ! Features >> >> * item3 >> * item4 >> >> ! Decissions >> >> * item5 >> * item6 >> >> Then at some point I need to reference one of the items. So I >manually >> create 3 tiddlers (group tiddlers) and transclude them in ProjectA >> >> * ProjectA/Requirements >> * ProjectA/Features >> * ProjectA/Decissions >> >> I paste following into each one of them. >> ``` >> <<list-links "[tag{!!title}sort[]]">> >> ``` >> >> Then the hardest part is to convert each line from initial tiddler >into a >> new separate tiddler tagged with one of the group tiddlers. >> >> Best regards, >> ILYA >> >> On 3 October 2019 17:06:51 GMT-07:00, TonyM <[email protected] >> <javascript:>> wrote: >>> >>> Mark and c pa, >>> >>> Thanks for your ideas. C pa, The idea of sorting the selection as >words >>> is interesting and one I would like to keep up my sleeve, however I >need to >>> get a hybrid of yours and Marks to sort the lines, keeping the line >breaks. >>> It's about sorting lines, in fact it will help sort lines beginning >with * >>> , # or even ":" to make bulleted/indented lists alphabetical or sort >text >>> as keys about to be pasted into a data tiddler etc... >>> >>> *Further issues arising* >>> >>> *Regex as a way to include special characters like line breaks* >>> This prompts me to ask can we use regex to insert a line break where >we >>> want in a filter. ie rather than search or transform text/titles >with regex >>> can it be used to generate special characters into the filter >output? >>> >>> *Line handling in filters and sorting primitives* >>> This makes me question why we do not have the primitives needed for >>> handling rows/lines and sorting them, in filters and sorting tools >outside >>> of the filters. This is all simple javascript, I expect already >contained >>> within tiddlywiki just not surfaced for users and designers. >>> >>> You answers and this problem also dovetails with a project to have a > >>> leading period "." to render a line in html p tags. We could sort >>> paragraphs as well, this sounds a little odd but it depends what the > >>> paragraphs are. >>> >>> *Line or paragraph based excise, WOW!.* >>> What if we had an excise tool that would automatically generate >multiple >>> paragraph based tiddlers, tagging them with a named tag (or >equivalent), we >>> could then quickly extract paragraphs to separate tiddlers in a >single >>> select step, and use the tag (or equivalent), to reorder them >manually. >>> Since they are related by tag the generated tiddlers can be renamed >and or >>> given captions separately. In this case after excise we would insert >into >>> the source tiddler the list macro to display the paragraphs so >tagged. If >>> desired this list could have a template= added to handle the way >each >>> paragraph is displayed, including the possibility of making them >drag drop >>> reordered in the source tiddler. Even better is the template would >be >>> selectable and you could use an edit template, or view template from >inside >>> the source tiddler. >>> >>> >>> Regards >>> Tony >>> >>> On Friday, October 4, 2019 at 9:24:53 AM UTC+10, c pa wrote: >>>> >>>> OK this works. >>>> This copies the selected text into a temp tiddler, then sorts the >text >>>> in the temp tiddler. (That returns a title list) Then joins the >list with >>>> spaces >>>> >>>> title: _cpa/ui/EditorToolbar/sort-text >>>> tags: $:/tags/EditorToolbar >>>> caption: Sort Selected Text >>>> condition: [<targetTiddler>!has[type]] >>>> [<targetTiddler>type[text/vnd.tiddlywiki]] >>>> description: Button to sort the selected text >>>> icon: $:/core/images/bold >>>> >>>> text: >>>> <$action-sendmessage >>>> $message="tm-edit-text-operation" >>>> $param="excise" >>>> title="$:/temp/sort-text" >>>> macro="x" >>>> /> >>>> <$action-sendmessage >>>> $message="tm-edit-text-operation" >>>> $param="replace-selection" >>>> text={{{ [list[$:/temp/sort-text!!text]sort[]join[ ]] }}} >>>> /> >>>> >>>> >> -- >> Sent from my Android device with K-9 Mail. Please excuse my brevity. >> > >-- >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 [email protected]. >To view this discussion on the web visit >https://groups.google.com/d/msgid/tiddlywiki/910c7050-4cb8-4556-a135-daeee963a8cd%40googlegroups.com. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/400C5810-3B59-4F87-B835-600BCD65CA20%40gmail.com.

