[tw5] Re: Prototyping an edit-by-sections plugin

2019-11-11 Thread zemoxian
Nested numbering could probably be done easiest using CSS. 

I suppose you could set a variable that each child inherits along with 
computing it’s position in its parent’s list. A little more complex, I think 
than the CSS version. However, it might facilitate some interlinking that might 
go on. Like if you referred to a numbered section, you might want that number 
included in the link text, rather than just the tiddler’s title. Not sure 
that’s doable with CSS. 

After that, I think you’re into JavaScript territory. I try to avoid that, but 
I do most of my stuff on my phone these days. 

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9c8054f1-4e55-4fb3-8aec-962398f7b257%40googlegroups.com.


[tw5] array.find polyfill for Twitter plugin

2018-07-14 Thread zemoxian
As an update, I’ve found that I can copy and paste a simple polyfill into a 
tiddler. Then set its type to “application/javascript” and plugin-type to 
“startup”. I’ve run into this on a few older browsers/ OSs. 

I didn’t wrap them in (function(){}) bodies or add “use strict”; or anything so 
I don’t know if there are side effects that I might encounter down the line. So 
far, it seems to work fine. 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/9ca73342-e3c6-433e-88be-f91fa83e1bcb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5 Bug?] Macros with filter parameter can't handle all filter expressions.

2018-07-14 Thread zemoxian
Have you tried “[all[current]tagging[]]”? That’s the way I usually do it. I’ve 
rarely had an issue with it. 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/32e608ef-ebda-4917-80d0-b8df56dbe2f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to tag separate paragraphs in different tiddlers and then transclude them?

2018-05-07 Thread zemoxian


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 the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to tag separate paragraphs in different tiddlers and then transclude them?

2018-05-07 Thread zemoxian
I played around a bit and came up with a little demo.

http://zemox.tiddlyspot.com/#PE%3Aparagraph%20edit

Probably a bit more complicated than needed.  But you can edit and 
rearrange a list of sub-tiddlers. 

If I were to make 1 addition it would be an editor toolbar.

On Saturday, April 7, 2018 at 11:05:45 PM UTC-4, zemoxian wrote:

> Here's a barebones template to start from:
>  
>
> <$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}} />
> 
>
>  You can create custom templates to replace $:/core/ui/EditTemplate and 
> $:/core/ui/EditTemplate with simpler templates with the required 
> functionality.
>  
> For example the view template could be as simple as:
>  
>
> 
> {{||$:/core/ui/Buttons/edit}}
> {{||move-up button}} {{||move-down button}}
> <$view field=title />
> 
> <$transclude />
> 
> 
>
>  The move-up and down buttons would allow you to move paragraphs or 
> sections up and down.
>  
> On Saturday, April 7, 2018 at 9:58:26 PM UTC-4, zemoxian wrote:
>
>> You could combine a navigator widget with a list widget and a couple of 
>> templates to manipulate multiple tiddlers from one tiddler.  This is 
>> actually how the story works in the PageTemplate.  I've done this in the 
>> past while fiddling with stuff.  The navigator widget handles manipulation 
>> of the story tiddler by handling messages from buttons on the view and edit 
>> templates for the sub tiddlers.  You can create, edit, delete, save, etc.  
>> You can also create buttons with list operations to sort or reorder the 
>> tiddlers. (I.e. move up 1, move down 1, move to top, move to bottom, etc.)  
>> So, it is possible to keep each sub tiddler as a single paragraph with its 
>> own title, tags, and fields and reorder them as needed.  It just depends on 
>> what features you want for a particular story editing app. It is a little 
>> tedious creating an app like this because you need to create the various 
>> templates and buttons, etc.
>>  
>> On Tuesday, April 3, 2018 at 12:46:29 PM UTC-4, Vytas wrote:
>>
>>> I think it is not that important, whether you segment one tiddler by its 
>>> fields (if their content can indeed contain longer texts, links, images..), 
>>> or by creating new tiddlers within the primary tiddler, AS LONG AS you have 
>>> the ability to EDIT those segments within the edit-window of that primary 
>>> tiddler. 
>>>
>>> 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. 
>>>
>>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/06f04c0d-c141-47dc-9ba6-f659871e549b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to tag separate paragraphs in different tiddlers and then transclude them?

2018-04-07 Thread zemoxian
Here's a barebones template to start from:
 

<$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}} />


 You can create custom templates to replace $:/core/ui/EditTemplate and 
$:/core/ui/EditTemplate with simpler templates with the required 
functionality.
 
For example the view template could be as simple as:
 


{{||$:/core/ui/Buttons/edit}}
{{||move-up button}} {{||move-down button}}
<$view field=title />

<$transclude />



 The move-up and down buttons would allow you to move paragraphs or 
sections up and down.
 
On Saturday, April 7, 2018 at 9:58:26 PM UTC-4, zemoxian wrote:

> You could combine a navigator widget with a list widget and a couple of 
> templates to manipulate multiple tiddlers from one tiddler.  This is 
> actually how the story works in the PageTemplate.  I've done this in the 
> past while fiddling with stuff.  The navigator widget handles manipulation 
> of the story tiddler by handling messages from buttons on the view and edit 
> templates for the sub tiddlers.  You can create, edit, delete, save, etc.  
> You can also create buttons with list operations to sort or reorder the 
> tiddlers. (I.e. move up 1, move down 1, move to top, move to bottom, etc.)  
> So, it is possible to keep each sub tiddler as a single paragraph with its 
> own title, tags, and fields and reorder them as needed.  It just depends on 
> what features you want for a particular story editing app. It is a little 
> tedious creating an app like this because you need to create the various 
> templates and buttons, etc.
>  
> On Tuesday, April 3, 2018 at 12:46:29 PM UTC-4, Vytas wrote:
>
>> I think it is not that important, whether you segment one tiddler by its 
>> fields (if their content can indeed contain longer texts, links, images..), 
>> or by creating new tiddlers within the primary tiddler, AS LONG AS you have 
>> the ability to EDIT those segments within the edit-window of that primary 
>> tiddler. 
>>
>> 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. 
>>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/cef49616-33ea-4a24-859e-fd1c1db3f9d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to tag separate paragraphs in different tiddlers and then transclude them?

2018-04-07 Thread zemoxian
You could combine a navigator widget with a list widget and a couple of 
templates to manipulate multiple tiddlers from one tiddler.  This is 
actually how the story works in the PageTemplate.  I've done this in the 
past while fiddling with stuff.  The navigator widget handles manipulation 
of the story tiddler by handling messages from buttons on the view and edit 
templates for the sub tiddlers.  You can create, edit, delete, save, etc.  
You can also create buttons with list operations to sort or reorder the 
tiddlers. (I.e. move up 1, move down 1, move to top, move to bottom, etc.)  
So, it is possible to keep each sub tiddler as a single paragraph with its 
own title, tags, and fields and reorder them as needed.  It just depends on 
what features you want for a particular story editing app. It is a little 
tedious creating an app like this because you need to create the various 
templates and buttons, etc.

On Tuesday, April 3, 2018 at 12:46:29 PM UTC-4, Vytas wrote:
>
> I think it is not that important, whether you segment one tiddler by its 
> fields (if their content can indeed contain longer texts, links, images..), 
> or by creating new tiddlers within the primary tiddler, AS LONG AS you have 
> the ability to EDIT those segments within the edit-window of that primary 
> tiddler. 
>
> 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. 
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/04684266-04b9-4679-90a7-2d3bbd81acc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to tag separate paragraphs in different tiddlers and then transclude them?

2018-04-07 Thread zemoxian
This sounds similar to slices in TW2.
I used to add slices like

Description: *description of tiddler*

Then just the description could be transcluded in other tiddlers.  You 
could also transcluded sections using header titles.  The slices 
functionality seems to have been moved to data tiddlers in TW5 and section 
references removed all together.

Slices were a little awkward to work with sometimes. If you didn't want 
them visible in text you had to put them inside comments.  Same with 
sections.  OTOH, this allowed you to put multiple templates in the same 
tiddler and reference them individually.  This is sort of like TW5 plugin 
functionality, I guess.

I sort of took a break from TiddlyWiki between the transition from TW2 and 
TW5 so my TW2 knowledge is hazy now.  I suppose there are pros nd cons to 
both methods.

On Monday, April 2, 2018 at 6:59:52 PM UTC-4, Diego Mesa wrote:

> I think all of this would be made much simpler if there was a quick and 
> easy way to add/edit tiddler fields. SOmething like this in the body 
> textarea of a tiddler:
>
> (=myNewField
> bl h 
> asd
> sd
> sf
> sdf
> =)
>
> or in a special "field" textarea, collapsable right under the 
> textarea/body. 
>
> With this in place, yuo could easily crea/tedit/remove "fields" which are 
> in essence, structured/tagged portions of a tiddler (dont believe me, just 
> check a .tid file!)
>
>
>
>
>
> On Monday, April 2, 2018 at 8:27:48 AM UTC-5, TonyM wrote:
>>
>> Vytas,
>>
>> 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
>>
>>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/fff7d65d-7141-4629-bea6-320ffaccffc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] array.find polyfill for Twitter plugin

2018-04-07 Thread zemoxian
Has anyone run into the “Object doesn’t support property or method ‘find’” 
error on IE? I don’t usually us IE but I just did and ran into this error. I 
tracked it down to the Twitter plugin. (I had to disable the plugin on my phone 
to access the page on this particular computer that only has IE 11 installed. )

I was wondering if there’s a TiddlyWiki polyfill for this function already. Or 
if it could be added to the Twitter plugin specifically. 

Thanks 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/b8d1de1b-1c60-424b-9890-9d18b32ab686%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Railroad plugin?

2018-01-27 Thread zemoxian
The main site describes the railroad diagram syntax.  

https://tiddlywiki.com/#Railroad%20Plugin

You should be able to install the latest version from the plugins tab on the 
control panel.

https://tiddlywiki.com/#Installing%20a%20plugin%20from%20the%20plugin%20library

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/b916feac-842d-43c7-8c8f-b0b0edc1fe3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: X3DOM in TW6

2016-07-25 Thread zemoxian
Here are images from my phone. 
https://twitter.com/zemoxian/status/757774581914402816

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/da6e2fec-7a10-4e65-aa5c-b40afa2824c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: X3DOM in TW6

2016-07-25 Thread zemoxian
This works fine. An $x3d widget may be useful but I haven't needed it yet.  i 
need the <> button to make it visible. The widget could make it 
unnecessary. 




<$list filter="[tag[Shapes]]"><$transclude />


<>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/f6210d37-b050-4010-b31b-b0177be62cca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] X3DOM in TW6

2016-07-25 Thread zemoxian
I imagine a widget like the $button widget could provide that. I tried <$button 
tag=shape ...> but it didn't work (only tried it on my iPhone). I think a 
variation of the button widget could work though. Just need to work out what 
isn't working. 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/d8f465d3-fc6b-4d42-9be1-81fb4052c3e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] X3DOM in TW6

2016-07-22 Thread zemoxian
I've been experimenting with X3DOM. I'm able to display 3D graphics in a 
Tiddler using the X3D tag. However, when a new X3D is inserted into the DOM, 
x3dom.reload() has to be called for it to display 3D content. 

I've created a widget to call it with a button click. I'm wondering if there is 
a better way to do it?

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/43b9b24f-741d-422b-8943-6d5eafdc804b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Tiddly Divider Plugin?

2012-05-14 Thread zemoxian
I'm not sure if this is what you want.  I haven't inserted section headers, 
but I do load a story of a list of tiddlers from a listing in a tiddler.
Check out this link for a script.  It lists the tiddlers and displays a 
table of contents as well. DisplayStory is the script and 
DisplayStoryExample is a
simple example.

http://zemoxian.tiddlyspace.com/#DisplayStory%20DisplayStoryExample 

The usage is as follows:
tiddler DisplayStory with: $1 $2

This is the example: 
tiddler DisplayStory with: [[DisplayStoryExample##Story]] #**
/%
! Story
* Section 1
** Tiddler 1
** Tiddler 2
* Section 2
** Tiddler 3
** Tiddler 4
!end
%/

The first argument gives the tiddler or tiddler section containing the list 
of sections as an unnumbered list.
The second argument provides an optional string that indents the generated 
table of contents.  The string can contain indentation characters such as 
'*', '#', '!', etc.  '*' and '#' can be used in combination, such as #**, 
creating a TOC with the first level numbered and the lower levels.

On Friday, May 4, 2012 8:36:09 AM UTC-4, leeand00 wrote:

 Is there anyway to bring Tiddlers up in the story and then section a bunch 
 them together under a divider header?

 For example:

 ---
 Section 1 or Topic 1
 ---
 Tiddler 1

 tiddler text
 ---
 Tiddler 2

 tiddler text
 ---
 Section 2 or Topic 2
 ---
 Tiddler 3

 tiddler text
 --
 tiddler 4

 tiddler text
 --

 It seems to me something like this might be useful when editing multiple 
 sets of multiple related tiddlers.
 (and yeah I know about tags, but I was just wondering if there might be 
 something like this)

 Thank you,
Andrew J. Leer





On Friday, May 4, 2012 8:36:09 AM UTC-4, leeand00 wrote:

 Is there anyway to bring Tiddlers up in the story and then section a bunch 
 them together under a divider header?

 For example:

 ---
 Section 1 or Topic 1
 ---
 Tiddler 1

 tiddler text
 ---
 Tiddler 2

 tiddler text
 ---
 Section 2 or Topic 2
 ---
 Tiddler 3

 tiddler text
 --
 tiddler 4

 tiddler text
 --

 It seems to me something like this might be useful when editing multiple 
 sets of multiple related tiddlers.
 (and yeah I know about tags, but I was just wondering if there might be 
 something like this)

 Thank you,
Andrew J. Leer






-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/tiddlywiki/-/7Hv0szXCp2EJ.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.