[tw5] Re: Question about: Printing in Tiddlywiki

2020-03-16 Thread Mohammad
Thanks Tony!
 The purpose was to remind BTC and Jeremy to upgrade the print feature and 
perhaps publish a polished PrintRiver from BTC as official plugin.
 Please support at github: 
https://github.com/Jermolene/TiddlyWiki5/issues/4352
 
--Mohammad


On Tuesday, March 17, 2020 at 12:58:57 AM UTC+3:30, TonyM wrote:
>
> Mohammad,
>
> I expect you know but tables built using thead, tfoot and tbody (in that 
> order) can paginate tables when printing. Being able to set a height and 
> activate scrolling would be helpful. Once combined with page headers and 
> footers it can get complex but it is possible. In time I will present some 
> solutions (IF you don't beat me to it).
>
> Regards
> Tony
>
> On Tuesday, October 29, 2019 at 5:09:50 PM UTC+11, Mohammad wrote:
>>
>> Hello Tony!
>>  Many thanks for sharing your solution. Yes, that is true.
>> I think TW deserve to have a print preview page and lets adjust margins, 
>> show/hide elements, choose paper and like that.
>> The solution started by BTC is 
>> great but it needs to be completed and also include support for tables, ... 
>> you mentioned here.
>>
>> I have added your points and css to http://tw5-print.tiddlyspot.com/  
>> for future reference.
>> I also welcome if you have any further comment on 
>> http://tw5-print.tiddlyspot.com/
>>
>> --Mohammad
>>
>> On Tuesday, October 29, 2019 at 3:05:09 AM UTC+3:30, TonyM wrote:
>>>
>>> Mohammad more...
>>>
>>> If your print tiddler consists only of a table, you can use online 
>>> documented methods to repeat headings and throw page breaks using 
>>>  tags (in that order). 
>>>
>>> CSS in a @media print is only applied at print time, see below for one I 
>>> created as a start.
>>>
>>> If you are printing more than a single tables you will need to include 
>>> page headers and footers, if you use both it does get a little more complex.
>>>
>>> With both page headers and a table the trick is to define css to create 
>>> headers and footers with fixed positions (and height) but use this same 
>>> height in an invisible table row in the header and footer of the table so 
>>> it does not overwrite the page header and footer.
>>>
>>> @page {
>>>margin: 1cm; 
>>> }
>>>
>>> @media print {
>>>   header {
>>> position: fixed;
>>> top: 0;
>>> width: 100%;
>>>   }
>>>   footer {
>>> position: fixed;
>>> bottom: 0;
>>> text-align: centre;
>>> width: 100%;
>>>   }
>>>   tfoot {
>>> page-break-after: always;
>>>   }
>>>   thead {
>>> display: table-header-group;
>>>   }
>>>   tbody {
>>> page-break-inside: avoid;
>>>   }
>>>   tr, td {
>>> page-break-inside: avoid;
>>>   }
>>>   /* Spaces added as rows in tables to stop overlap of page header and 
>>> footer, hidden on screen */
>>> .header-space {
>>>height: 110px;
>>>border-style: none;
>>>border: none;
>>>width: 100%;
>>>}
>>> .footer-space {
>>>height: 80px;
>>>border-style: none;
>>>border: none;
>>>width: 100%;
>>>   }
>>> }
>>> /*
>>> @media screen {
>>> .header-space {
>>>display: hidden;
>>>}
>>> .footer-space {
>>>display: hidden;
>>>   }
>>> }
>>> */
>>>
>>>
>>> I will watch this thread if you need additional help.
>>>
>>> Regards
>>> Tony
>>> On Tuesday, October 29, 2019 at 10:19:48 AM UTC+11, TonyM wrote:

 Mohammad,

 I recently developed a solution for a client. I will look at your links 
 soon.

 I avoided the complexity of dealing with printing from the tiddlywiki 
 page and printing the story. Instead I did what I could to make the 
 contents of a single tiddler wysiwyg what you see is what you get (except 
 pagebreaks), you could read the tiddlywiki.com reference to substories 
 if you did want to print a story.

 One you have a single tiddler displaying what you want use open in new 
 window and trigger the print from there. This removed the complexity of 
 the 
 full page from the print process.

 I have seen some cases where the new window looses some css and you may 
 need import variables or transclude css into your print tiddler so its 
 available in the new window (as a last resort).

 I will post more tips from my desktop.

 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/baae7ce7-9e89-45e6-b492-9e723cc17fdc%40googlegroups.com.


[tw5] Re: Triple curly braces and templates - tip

2020-03-16 Thread Mohammad
Hi Tony,

 See this shadow tiddler: $:/plugins/kookma/utility/macro/transclusion

--Mohammad

On Tuesday, March 17, 2020 at 12:42:01 AM UTC+3:30, TonyM wrote:
>
> Mohammad,
>
> Thanks for sharing that. I was experiencing some issues with transcluding 
> code and ensuring plain text with new lines, I am sure the answer will be 
> in your macro.
>
>
>- Can you tell me the best way to explore your macros on the utility 
>site?
>- Have you a way to extract specific utilities?
>
> Regards
> Tony
>
> On Monday, March 16, 2020 at 7:07:44 PM UTC+11, Mohammad wrote:
>>
>> Added to TW-Scripts
>>
>> Very nice tip!
>>
>> If you have a look at TW-Utility, I have developed custom transclusion 
>> and I use them in TW-Scripts alot
>> See https://kookma.github.io/TW-Utility/#demo%2Ftransclusion-macro
>>
>> --Mohammad
>>
>> On Monday, March 16, 2020 at 7:25:54 AM UTC+3:30, TonyM wrote:
>>>
>>> Folks,
>>>
>>> I was looking through tiddlywiki to find how it does things because if 
>>> you are left on a desert island or isolated with corona virus and no 
>>> internet, tiddlywiki is in some ways its own documentation. I came across 
>>> this in the tiddler $:/core/templates/exporters/TidFile which piqued my 
>>> interest.
>>>
>>> \define renderContent()
>>> {{{ $(exportFilter)$ +[limit[1]] ||$:/core/templates/tid-tiddler}}}
>>> \end
>>> \import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/
>>> Macro]!has[draft.of]]
>>> <>
>>>
>>> Already I often use the triple curly braces to get a quick filter result
>>>
>>> {{{ [all[]prefix[New Tiddler]] }}}
>>>
>>> Observe how the triple curly braces not only evaluates a filter but then 
>>> displays the result via a template?
>>>
>>> This is "documented" here 
>>> https://tiddlywiki.com/#Transclusion%20in%20WikiText but it is easy to 
>>> miss.
>>>
>>> {{{ [all[]prefix[New Tiddler]]||$:/core/ui/ListItemTemplate}}}
>>>
>>> For example the above uses the existing list item template to render the 
>>> list resulting from the filter, but it is no different to the default
>>>
>>> $:/core/ui/ListItemTemplate
>>> 
>>> <$link to={{!!title}}>
>>> <$view field="title"/>
>>> 
>>> 
>>>
>>> You can see how this template is quite simple;;
>>> And lets edit it to include the description
>>>
>>> Tiddlername Description
>>> 
>>> <$link to={{!!title}}>
>>> <$view field="title"/>: {{!!description}}
>>> 
>>> 
>>>
>>> Now you can use
>>> {{{ [all[]prefix[New Tiddler]]||Description}}}
>>>
>>> To list everything in the filter and its description if it exists.
>>>
>>> Or make the template DescriptionRow
>>> <$link/>{{!!description}}
>>>
>>> And use
>>> 
>>> NameDescription
>>> {{{ [all[]prefix[New Tiddler]] ||DescriptionRow}}}
>>> 
>>>
>>> The possibilities abound.
>>> have fun
>>>
>>> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/64535e5c-0e6e-47a8-b492-24b86ed5c042%40googlegroups.com.


[tw5] Re: TW-Utility Plugin 2.0.0 update: A better Admin (author) - Read only (reader) tools (Switch author - reader mode on the fly)

2020-03-16 Thread Mohammad
Birthe
In the next update I will add a note for Linux users.

Thanks for sharing.

--Mohammad

On Tuesday, March 17, 2020 at 2:53:58 AM UTC+3:30, Birthe C wrote:
>
> Mohammad,
> Ctrl+Alt+A works, Ctrl+Alt+L locks the screen. I tried Ctrl+Alt +R instead 
> and that works for the toggle.
>
> Birthe
>

-- 
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/6fca3a00-b0a8-4361-a256-ee1549b5db02%40googlegroups.com.


[tw5] Re: Preventing tag pill menu from appearing multiple times

2020-03-16 Thread Soren Bjornstad
Tony,

Thanks for your reply! I switched to using the tag macro per your 
suggestion, but unfortunately I am still seeing the same behavior. I 
simplified it a bit just to rule out something wrong with my table, so I 
now have:

<$list filter="[all[current]backlinks[]]">
  {{!!title}}
  <$list filter="[all[current]tags[]]">
<$macrocall $name=tag tag=<>/>
  
  


[image: shot2.png]



On Monday, March 16, 2020 at 7:36:07 PM UTC-5, TonyM wrote:
>
> Soren,
>
> The tags macro overcomes this limitation
>
> <$list filter="[all[]tags[]]">
> <$macrocall $name=tag tag=<>/>
> 
>
> Only the clicked tag drop down appears.
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cf03d561-71d6-4f8a-90ff-2e109bb76dac%40googlegroups.com.


[tw5] [TW5] Json Mangler v2.1.0!

2020-03-16 Thread Joshua Fontany
Hi everyone,

I've worked a few bugs out and introduced a more flexible `indexes[]` 
filter. Hopefully this will make jsonmangler robust enought for some really 
cool projects.

Looking forward to what people do with these new capabilities. I have 
included a standard documentation tiddler for the new functions:

https://joshuafontany.github.io/TW5-JsonMangler/#indexes%20Operator

purpose select all data properties of the input titles (see output)
> input  a selection of 
> titles 
> suffix  the indexes operator 
> uses a rich suffix, see below for details
> parameter  (optional) 
> an index-path to a property in the data tiddler
> output the property names or indices found at the tiddler or path 
> location provided (only immediate properties are returned if the ":root" 
> suffix is used)
>
> Each input title is processed in turn, and is ignored if it does not 
> denote a data tiddler . 
> The list of property names is retrieved from the data tiddler (in no 
> particular order) and then dominantly appended 
>  to the operator's 
> output.
>
> Where a tiddler's content is JSON 
> , the indexes operator 
> uses an extended syntax:
>
> [indexes:root[]]
>
>
>- root: a flag to only retrieve the immediate ("root") indexes from 
>the tiddler or path location
>- path: a slash-delimited index path (see the Read Me 
>
> 
>)
>
> Examples 
> 
>

There are Examples in the new demo wiki as well.

Download the source or *.zip over on GitHub:

https://github.com/joshuafontany/TW5-JsonMangler

Best,
Joshua Fontany

-- 
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/ab4755e0-8392-44fe-9bd6-93d2e9169516%40googlegroups.com.


[tw5] Re: [INTRO] uni-link plugin

2020-03-16 Thread 'Charles d’Artagnan de Batz-Castelmore' via TiddlyWiki
What Thanos said! Thanks a lot! :)

Am Montag, 16. März 2020 20:46:36 UTC+1 schrieb Thanos Pal:
>
> Thank you for the time you have poured into this and for the really fast 
> fix, it's much appreciated!
>
> -Thanos
>
> On Monday, 16 March 2020 18:18:55 UTC+2, PMario wrote:
>>
>> Hi folks, 
>>
>> Just posted a new version 1.1.2 of uni-link plugin, which should fix the 
>> problem. 
>>
>> https://wikilabs.github.io/#uni-link:uni-link%20GettingStarted
>>
>> have fun!
>> mario
>>
>> *PS - If you USE it: Support 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0e33e338-e888-4558-8f5f-814ff58bbefa%40googlegroups.com.


[tw5] Re: Preventing tag pill menu from appearing multiple times

2020-03-16 Thread TonyM
Soren,

The tags macro overcomes this limitation

<$list filter="[all[]tags[]]">
<$macrocall $name=tag tag=<>/>


Only the clicked tag drop down appears.

Regards
Tony

On Tuesday, March 17, 2020 at 10:03:18 AM UTC+11, Soren Bjornstad wrote:
>
> Hi everyone,
>
> I am trying to make a simple table that lists tiddlers matching a filter, 
> along with those tiddlers' tags (in the standard pill display). I've 
> written the following template tiddler:
>
> 
>   <$list 
> filter="[all[current]backlinks[]!tag[Source]!tag[Publication]!tag[Place]!tag[Meta]!tag[PAO]]">
> 
>   
> <$link>{{!!title}}
>   
>   
> <$list filter="[all[current]tags[]]" 
> template="$:/core/ui/TagTemplate"/>
>   
> 
>   
> 
>
> This renders nicely enough when I transclude it. However, when the same 
> tag appears multiple times in a list and I click on that tag pill, every 
> pill's menu opens, creating an unusable mess:
>
> [image: shot.png]
>
> How can I make only the pill I click on open? From my limited knowledge of 
> web programming, I am guessing this is happening because the pills don't 
> have unique identifiers, but I have no idea how to go about fixing this in 
> my template.
>

-- 
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/1b1986d7-797d-4e35-9d10-c993b2e5df12%40googlegroups.com.


[tw5] Re: Tiddlywiki and Coronavirus

2020-03-16 Thread TonyM
TT,

I have no desire to defend anything, and quite prepared to acknowledge 
difference, my "empirical observations" differ from yours at least when it 
comes to Australia. My main point is the difference between two severe 
crisis, in quick succession (Fire then Virus). Each which resulted in 
different community behaviours. Thus it is hard to explain it with cultural 
explanations, but the information availability appears to be the 
difference. We have had a very good fire awareness building for decades.

I did not notice this until recent reflections, because a personal interest 
of mine has being virus and disease management and them in history, you 
could say I am reasonably well informed on this matter (although we all 
learn more every day) and as a result I did not panic, and did not 
understand why others would. Now I realise the average person is not so 
well informed on this subject and its somewhat understandable. 

I don't doubt the circumstances are different across countries, lived 
experience, culture and location. Australia is after all an island 
continent, unlike Italy on the doorstep of many countries.  Did you know we 
use the term "overseas" which is equivalent to "international" because 
there is no difference for us? I was Surprised when I saw my first 
international train station because we have no international trains, they 
are impossible here.

I would add I think it is a failing in Australia that we have not had more 
disease awareness especially after international Ebola, SARS, MERS, Bird 
flu etc... But MRSA and the Hendra Virus locally should have triggered 
better public understanding.

Regards
Tony

Hendra virus

Hendra virus is a paramyxovirus first isolated in 1994 from an outbreak of 
respiratory and neurologic disease in horses and humans in Hendra, a suburb 
of Brisbane, Australia. This virus is thought to be carried by bats of the 
genus *Pteropus*. Horses become infected through contact with bats and 
their droppings or secretions.

Hendra virus infection in horses produces an initial respiratory infection 
and can progress to neurologic signs and total systemic failure. These 
clinical signs are mirrored in human Hendra infection. The three cases 
reported in humans to date include two veterinarians and a trainer, two of 
which died. Humans caring for infected horses are exposed to body fluids 
and excretions and can easily become infected. Severe flu-like symptoms 
quickly develop. The globalization of the equine market makes disease 
transmission across continents, including the Hendra virus, a more serious 
threat.

On Tuesday, March 17, 2020 at 9:33:04 AM UTC+11, TiddlyTweeter wrote:
>
> Ciao TonyM
>
> It's an empirical matter. At the level of infection in OZ the panic buying 
> there in places is more than lack of info. Same as USA. It's an expression 
> of an attitude. Italy has over 17000 cases and has had no marked panic yet. 
>
> Your point was "lack of information" sparked it. No different here with 
> lockdown.  There was little info in advance and no extreme shopping.
>
> Of course I don't know definitely. But nothing wrong acknowledge 
> difference where it looks clear.
>
> This no way obviates OZ is great :-)
>
> TT, x
>
>
>

-- 
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/8957a3fa-c564-497b-9b84-20a7a618465c%40googlegroups.com.


[tw5] Concentrichron: a clock and calendar made of concentric rings

2020-03-16 Thread Diego Mesa
Hello all,

I thought you might enjoy this interesting clock/calendar

Clock/calendar:
http://www.concentrichron.com/

explanation:
https://twitter.com/Vector_GL/status/1239512837325758464

a cleverer person could maybe figure out how to put it in TW! 

-- 
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/3b7dabfd-0ef9-4c37-a786-f4ae08cb5404%40googlegroups.com.


[tw5] Re: TW-Utility Plugin 2.0.0 update: A better Admin (author) - Read only (reader) tools (Switch author - reader mode on the fly)

2020-03-16 Thread Birthe C
Mohammad,
Ctrl+Alt+A works, Ctrl+Alt+L locks the screen. I tried Ctrl+Alt +R instead 
and that works for the toggle.

Birthe

-- 
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/9793742a-473d-4b45-bab0-4e70aba22491%40googlegroups.com.


[tw5] Preventing tag pill menu from appearing multiple times

2020-03-16 Thread Soren Bjornstad
Hi everyone,

I am trying to make a simple table that lists tiddlers matching a filter, 
along with those tiddlers' tags (in the standard pill display). I've 
written the following template tiddler:


  <$list 
filter="[all[current]backlinks[]!tag[Source]!tag[Publication]!tag[Place]!tag[Meta]!tag[PAO]]">

  
<$link>{{!!title}}
  
  
<$list filter="[all[current]tags[]]" 
template="$:/core/ui/TagTemplate"/>
  

  


This renders nicely enough when I transclude it. However, when the same tag 
appears multiple times in a list and I click on that tag pill, every pill's 
menu opens, creating an unusable mess:

[image: shot.png]

How can I make only the pill I click on open? From my limited knowledge of 
web programming, I am guessing this is happening because the pills don't 
have unique identifiers, but I have no idea how to go about fixing this in 
my template.

-- 
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/9c9f2f9e-0e8e-4c8c-929a-17ff8d9961a0%40googlegroups.com.


[tw5] Re: Tiddlywiki and Coronavirus

2020-03-16 Thread TiddlyTweeter
Ciao TonyM

It's an empirical matter. At the level of infection in OZ the panic buying 
there in places is more than lack of info. Same as USA. It's an expression of 
an attitude. Italy has over 17000 cases and has had no marked panic yet. 

Your point was "lack of information" sparked it. No different here with 
lockdown.  There was little info in advance and no extreme shopping.

Of course I don't know definitely. But nothing wrong acknowledge difference 
where it looks clear.

This no way obviates OZ is great :-)

TT, x


-- 
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/e6294e74-0085-49bd-a66d-cc926d824c1f%40googlegroups.com.


[tw5] Re: Disable drop zone

2020-03-16 Thread TonyM
Eric,

Thanks for this, very helpful from your experience where it is difficult 
building from the documentation for me at leaste.

Regards
Tony

On Monday, March 16, 2020 at 8:12:39 PM UTC+11, Eric Shulman wrote:
>
> On Monday, March 16, 2020 at 12:52:59 AM UTC-7, Mohammad wrote:
>>
>>
>> This is a nice idea! I will look how we can have customized drop zone! 
>> Like dragging a link from other browser tab, one can quickly create a 
>> bookmark to that page/link somehow a tiddlyclip effect.
>>
>
> The <$dropzone> widget is intended for triggering an "import" handler.  As 
> noted in the documentation:
>
> *It sends a WidgetMessage: tm-import-tiddlers carrying a JSON 
> representation of the tiddlers to be imported up through its parents.*
>
> To implement general purpose drag-and-drop handling, use the <$droppable> 
> widget.
>
> When something is dropped onto the <$droppable> widget, it automatically 
> sets the <> variable to contain the value of what was 
> dropped.  While this is typically used to handle dropping of tiddler titles 
> within a TW document it also works if you drag a link or text from any 
> non-TW browser tab.  The result is that the <> value will be 
> the link (or text) that was dragged from the other browser tab.  It is then 
> up to you to define the desired actions="..." parameter for the 
> <$droppable> widget to do what you want with the <> value 
> you receive.  Thus, something like this might be used to create a new 
> "bookmark" tiddler containing a dropped link:
>
> \define make_bookmark() <$action-createtiddler $basetitle="Bookmark" text
> =<> />
> <$droppable actions=<>> DROP HERE 
>
> enjoy,
> -e
>
>

-- 
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/7c85a577-59e3-4b27-94f6-fbb92b1c582b%40googlegroups.com.


[tw5] Re: Tiddlywiki and Coronavirus

2020-03-16 Thread TonyM

I heard an reasonable argument the reason panic buying is happening here in 
Australia is that authorities were not quick enough with public messaging 
so people do irrational things in response to uncertainty.

In contrast, responses to our recent fires has being proceeded by a lot of 
education and empowerment such that we had extraordinary efforts to help, 
and no panic, the reverse in fact.

It is unwise to draw conclusions about culture when it may just be once 
off, knowledge and experience.

If I were an american I would be fearful given their woeful medical system

Regards
Tony

On Tuesday, March 17, 2020 at 12:10:53 AM UTC+11, TiddlyTweeter wrote:
>
> A Gloom wrote
>>
>>
>> ... Like your freind in S Texas-- because of damned fools running on the 
>> groceries-- my family is looking at groceries not being available-- we 
>> believe we should have enough and are prepared to go to one meal a day to 
>> make it stretch (done ii before in hurricane aftermaths)
>>
>
> Right. Jenny in Texas, far South in Vidor, provincial nowhere, nowhere 
> near the TX 39 cases, is suffering the imagination of  buyers who make her 
> life hell from irrational panic.
>
> TT
>

-- 
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/db7a2cec-5b4f-41c8-a1c7-050a3530bb4b%40googlegroups.com.


Re: [tw5] Re: ResizeObserver loop limit exceeded

2020-03-16 Thread Chris Fischer
Still a bug a year later

On Tuesday, March 12, 2019 at 2:37:37 PM UTC-4, Kalcifer Kandari wrote:
>
> Any progress on this bug? I'm planning to have a lot of video content on 
> my site and the lack of controls will obviously be a big problem.
>
> To emphasise my last post, this happens with the *default theme* with *no 
> adjustments* to the custom CSS. The error is caused by the 'controls' 
> attribute of the  HTML tag, and shows up when the Tiddler is opened. 
> It happens with any story view as well.
>
> Example code within a normal Tiddler:
>
>   
> 
>   Your browser does not support the video tag.
> 
>
> I was tempted to use CSS to hide all error messages entirely, but even 
> though the message is not visible, HTML gets added over and over. This 
> could be considered a memory leak because there would not be any ability to 
> close them, eventually causing a slow browser for extended sessions with a 
> lot of video content.
>
> Some way to suppress that specific error would be nice.
>
> Kalcifer
>
> On Wed, Jan 23, 2019 at 8:26 AM Kalcifer Kandari  > wrote:
>
>> The error is caused by adding the 'controls' attribute to the  
>> HTML tag.
>>
>> A workaround is to just remove it because without the tag users can 
>> 'right click -> Show controls'. Of course if autoplay is not enabled it 
>> might be easy to miss that it is actually a video and not an image.
>>
>> Kalcifer
>>
>> On Tue, Jan 22, 2019 at 12:22 PM Kalcifer Kandari > > wrote:
>>
>>> I tried all sorts of different things, including using an  tag 
>>> instead of . The  did not generate any error message, but 
>>> height of the  did not adapt when the tiddler got thinner, whereas 
>>> the  tag does. I also tried creating a HTML file with a  tag 
>>> inside, then including that file in an  within the tiddler, that 
>>> also did not generate any errors, but that still had the fixed height issue.
>>>
>>> Here is the HTML for the video, which is inside the tiddler 
>>> http://kalcifer.net/#Nodius:
>>>
>>>   
>>> 
>>>   Your browser does not support the video tag.
>>> 
>>>
>>> Here is the CSS for that tag from the custom CSS tiddler 
>>> http://kalcifer.net/#Custom%20CSS:
>>>
>>> video { 
>>> width: 100% !important; 
>>> max-width: 960px !important; 
>>> display: block; 
>>> margin-left: auto; 
>>> margin-right: auto; 
>>> }
>>>
>>> Go ahead and edit the tiddlers in your browser and see what changes.
>>>
>>> Kalcifer
>>>
>>>
>>>
>>> On Tue, Jan 22, 2019 at 11:50 AM Jeremy Ruston >> > wrote:
>>>
 This error appears to be common, and the consensus is that it is 
 harmless. See this StackOverflow answer for instance:

 https://stackoverflow.com/a/50387233

 But, of course, it’s not harmless for TW5 since we have a global error 
 trap that reports it to the user; without that error trap it would just be 
 another red message visible in the developer console.

 I think we need more investigation to see whether the problem is 
 triggered by some specific CSS on your site, or if the problem occurs with 
 the standard TW5 theme. That may show a way to avoid it through rephrasing 
 your CSS.

 Otherwise, we’ll have to investigate ways of suppressing the error. 
 Perhaps by adding support for a safelist of errors that should be ignored.

 Best wishes

 Jeremy

 On 22 Jan 2019, at 09:29, Kalcifer Kandari >>> > wrote:

 I don't use any plugins. You can see the configuration of the wiki 
 using the link I posted, nothing is hidden. I don't think it is caused by 
 CSS, but that's at http://kalcifer.net/#Custom%20CSS, the relevant 
 style is under 'video' near the top.

 On Tuesday, January 22, 2019 at 9:12:15 AM UTC, PMario wrote:
>
> hi,
> which plugins do you use?
> -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 tiddl...@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/d198353a-22df-4f48-adf3-3b0122602b5e%40googlegroups.com
  
 
 .
 For more options, visit https://groups.google.com/d/optout.


 -- 
 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/vXVLQD58yPQ/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 tiddl...@googlegroups.com .
 To post to this group, 

[tw5] Re: Question about: Printing in Tiddlywiki

2020-03-16 Thread TonyM
Mohammad,

I expect you know but tables built using thead, tfoot and tbody (in that 
order) can paginate tables when printing. Being able to set a height and 
activate scrolling would be helpful. Once combined with page headers and 
footers it can get complex but it is possible. In time I will present some 
solutions (IF you don't beat me to it).

Regards
Tony

On Tuesday, October 29, 2019 at 5:09:50 PM UTC+11, Mohammad wrote:
>
> Hello Tony!
>  Many thanks for sharing your solution. Yes, that is true.
> I think TW deserve to have a print preview page and lets adjust margins, 
> show/hide elements, choose paper and like that.
> The solution started by BTC is 
> great but it needs to be completed and also include support for tables, ... 
> you mentioned here.
>
> I have added your points and css to http://tw5-print.tiddlyspot.com/  for 
> future reference.
> I also welcome if you have any further comment on 
> http://tw5-print.tiddlyspot.com/
>
> --Mohammad
>
> On Tuesday, October 29, 2019 at 3:05:09 AM UTC+3:30, TonyM wrote:
>>
>> Mohammad more...
>>
>> If your print tiddler consists only of a table, you can use online 
>> documented methods to repeat headings and throw page breaks using 
>>  tags (in that order). 
>>
>> CSS in a @media print is only applied at print time, see below for one I 
>> created as a start.
>>
>> If you are printing more than a single tables you will need to include 
>> page headers and footers, if you use both it does get a little more complex.
>>
>> With both page headers and a table the trick is to define css to create 
>> headers and footers with fixed positions (and height) but use this same 
>> height in an invisible table row in the header and footer of the table so 
>> it does not overwrite the page header and footer.
>>
>> @page {
>>margin: 1cm; 
>> }
>>
>> @media print {
>>   header {
>> position: fixed;
>> top: 0;
>> width: 100%;
>>   }
>>   footer {
>> position: fixed;
>> bottom: 0;
>> text-align: centre;
>> width: 100%;
>>   }
>>   tfoot {
>> page-break-after: always;
>>   }
>>   thead {
>> display: table-header-group;
>>   }
>>   tbody {
>> page-break-inside: avoid;
>>   }
>>   tr, td {
>> page-break-inside: avoid;
>>   }
>>   /* Spaces added as rows in tables to stop overlap of page header and 
>> footer, hidden on screen */
>> .header-space {
>>height: 110px;
>>border-style: none;
>>border: none;
>>width: 100%;
>>}
>> .footer-space {
>>height: 80px;
>>border-style: none;
>>border: none;
>>width: 100%;
>>   }
>> }
>> /*
>> @media screen {
>> .header-space {
>>display: hidden;
>>}
>> .footer-space {
>>display: hidden;
>>   }
>> }
>> */
>>
>>
>> I will watch this thread if you need additional help.
>>
>> Regards
>> Tony
>> On Tuesday, October 29, 2019 at 10:19:48 AM UTC+11, TonyM wrote:
>>>
>>> Mohammad,
>>>
>>> I recently developed a solution for a client. I will look at your links 
>>> soon.
>>>
>>> I avoided the complexity of dealing with printing from the tiddlywiki 
>>> page and printing the story. Instead I did what I could to make the 
>>> contents of a single tiddler wysiwyg what you see is what you get (except 
>>> pagebreaks), you could read the tiddlywiki.com reference to substories 
>>> if you did want to print a story.
>>>
>>> One you have a single tiddler displaying what you want use open in new 
>>> window and trigger the print from there. This removed the complexity of the 
>>> full page from the print process.
>>>
>>> I have seen some cases where the new window looses some css and you may 
>>> need import variables or transclude css into your print tiddler so its 
>>> available in the new window (as a last resort).
>>>
>>> I will post more tips from my desktop.
>>>
>>> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f55ad40a-c35e-433a-afa3-061290ad5aa6%40googlegroups.com.


[tw5] Re: Show table of checkboxes with labels based off a DataTiddler

2020-03-16 Thread TonyM
David,

Herre is a little code from and existing solution I built

The fieldnames are extracted from the data tiddler and a list of only those 
"checked" is displayed in read only view, in edit view a checkbox is 
presented for all fieldnames.

This is read only/view
<$list filter="[[$:/data/industry-experience-fields]indexes[]]" 
variable=fieldname>
<$list filter="[all[current]getmatch[yes]]" variable=nul>
   <$text text={{{ [[$:/data/industry-experience-fields]getindex
] }}}/>




This is edit or checkbox mode
<$list filter="[[$:/data/industry-experience-fields]indexes[]]" 
variable=fieldname>
  <$checkbox field=<>  checked="yes" unchecked="no" 
default="no"> <$text text={{{ [[$:/data/industry-experience-fields]getindex
] }}}/>


Regards
Tony

On Tuesday, March 17, 2020 at 1:02:36 AM UTC+11, David wrote:
>
> Summary:
>
> I'd like to have a list of checkboxes, for a grocery list, that pull data 
> from a DataTiddler.
>
>
> Detail:
>
> I have items I shop for every week and I thought I'd create a tiddler to 
> allow me to uncheck and check items as I shopped.  
>
>
>- I'd like the *state *of the checkboxes to be stored somehow, I'm not 
>picky where.  Simpler may be better.
>- I'd like it to pull the list of items from a *DataTiddler*.  I think 
>separating the display code from the data would be nice, and I can also 
>learn about DataTiddlers at the same time.  I'm thinking I don't care if 
>the state of each checkbox is stored in the DataTiddler or in the tiddler 
>with the logic.  I guess ideally it would be in the DataTiddler, but at 
>this point if it is simpler I don't have to.  I have an example where the 
>state of each box is stored in the logic tiddler's field, which works.
>- If the data could be stored in more of a CSV style, that would be 
>nice as well, but not essential.
>
> I've done a good bit of searching on DataTiddlers and indexes and have 
> found some help, but not a lot.  Here's some code that gives me what I 
> want, but obviously I'd rather not have to add more checkbox commands for 
> each new item I put in the dataTiddler.  I know I can loop over this 
> somehow, right?
>
> But I was unable to find how to successfully loop over the keys in a 
> Dictionary Tiddler.
>
> This works, but is not dynamic...
>
> <$checkbox field="item1" 
> checked='val1'>{{ShoppingSamsClubData##item_01}}
> <$checkbox field="item2" 
> checked='val2'>{{ShoppingSamsClubData##item_02}}
>
> And here are the contents of the data tiddler
>
> item_01: Rice
> item_02: Milk 
>
> *type: application/x-tiddler-dictionary*
>
>
>

-- 
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/f8ef2f3a-daf6-47e4-b77d-7e225c09e96e%40googlegroups.com.


[tw5] Re: action-setfield makes _1.tid version instead of tiddler I want it to (sometimes)

2020-03-16 Thread Dave
I think its the Bob saving thingie.  If I go to Bob Settings > Saver Server 
and check "Disable Server", then click the "Save Settings" button, the TW 
instance disconnects from the server and when I start up Bob again its 
resorted back to the Saver Server *not* being disabled.

I was thinking disabling the automatic saving would stop the server from 
generating these copied versions of my tiddlers.


Any suggestions?

-- 
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/af14cdda-fa3d-400a-b764-d2e4f0d45f82%40googlegroups.com.


[tw5] Re: Triple curly braces and templates - tip

2020-03-16 Thread TonyM
Mohammad,

Thanks for sharing that. I was experiencing some issues with transcluding 
code and ensuring plain text with new lines, I am sure the answer will be 
in your macro.


   - Can you tell me the best way to explore your macros on the utility 
   site?
   - Have you a way to extract specific utilities?

Regards
Tony

On Monday, March 16, 2020 at 7:07:44 PM UTC+11, Mohammad wrote:
>
> Added to TW-Scripts
>
> Very nice tip!
>
> If you have a look at TW-Utility, I have developed custom transclusion and 
> I use them in TW-Scripts alot
> See https://kookma.github.io/TW-Utility/#demo%2Ftransclusion-macro
>
> --Mohammad
>
> On Monday, March 16, 2020 at 7:25:54 AM UTC+3:30, TonyM wrote:
>>
>> Folks,
>>
>> I was looking through tiddlywiki to find how it does things because if 
>> you are left on a desert island or isolated with corona virus and no 
>> internet, tiddlywiki is in some ways its own documentation. I came across 
>> this in the tiddler $:/core/templates/exporters/TidFile which piqued my 
>> interest.
>>
>> \define renderContent()
>> {{{ $(exportFilter)$ +[limit[1]] ||$:/core/templates/tid-tiddler}}}
>> \end
>> \import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro
>> ]!has[draft.of]]
>> <>
>>
>> Already I often use the triple curly braces to get a quick filter result
>>
>> {{{ [all[]prefix[New Tiddler]] }}}
>>
>> Observe how the triple curly braces not only evaluates a filter but then 
>> displays the result via a template?
>>
>> This is "documented" here 
>> https://tiddlywiki.com/#Transclusion%20in%20WikiText but it is easy to 
>> miss.
>>
>> {{{ [all[]prefix[New Tiddler]]||$:/core/ui/ListItemTemplate}}}
>>
>> For example the above uses the existing list item template to render the 
>> list resulting from the filter, but it is no different to the default
>>
>> $:/core/ui/ListItemTemplate
>> 
>> <$link to={{!!title}}>
>> <$view field="title"/>
>> 
>> 
>>
>> You can see how this template is quite simple;;
>> And lets edit it to include the description
>>
>> Tiddlername Description
>> 
>> <$link to={{!!title}}>
>> <$view field="title"/>: {{!!description}}
>> 
>> 
>>
>> Now you can use
>> {{{ [all[]prefix[New Tiddler]]||Description}}}
>>
>> To list everything in the filter and its description if it exists.
>>
>> Or make the template DescriptionRow
>> <$link/>{{!!description}}
>>
>> And use
>> 
>> NameDescription
>> {{{ [all[]prefix[New Tiddler]] ||DescriptionRow}}}
>> 
>>
>> The possibilities abound.
>> have fun
>>
>> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/71e14350-8a55-4851--fa8961f9d726%40googlegroups.com.


[tw5] Re: TW-Utility Plugin 2.0.0 update: A better Admin (author) - Read only (reader) tools (Switch author - reader mode on the fly)

2020-03-16 Thread Mohammad
Birthe
Here https://shortcutworld.com/Linux-Mint/linux/Linux-Mint_Shortcuts it 
says ctrl+alt+l lock the session :-) on Linux Mint :-) :-)

On Monday, March 16, 2020 at 11:03:30 PM UTC+3:30, Birthe C wrote:
>
> Hi Mohammad,
>
> Really nice. But when I used the shortcut Ctrl+Alt+L, my screen blacked 
> out. I found that I was logged out of linux Mint at had to login again.
> Out of author mode for sure ;-)
>
>
> Birthe
>

-- 
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/b675ec60-d1ac-4032-bf28-e78c7415b92d%40googlegroups.com.


[tw5] Re: TW-Utility Plugin 2.0.0 update: A better Admin (author) - Read only (reader) tools (Switch author - reader mode on the fly)

2020-03-16 Thread Mohammad
Chris,
 Thank for sharing. Actually what I proposed in TW-Utility is just hiding 
elements for readers not familiar with TW and they need wiki to read it 
like a software tutorial.
I think from security point of view it has no effects.

--Mohammad

On Monday, March 16, 2020 at 11:34:30 PM UTC+3:30, Chris Fischer wrote:
>
> Maybe I've missed something obvious. How do I prevent others from switch 
> to Author mode? I've implemented a crude version of this on my own with a 
> password entry tiddler setting a data tiddler:
>
> <$action-setfield $tiddler="$:/_secret" $value=""/>
>
>
> <$edit-text
> tiddler="$:/_secret"
> default=""
> tag="input"
> type="password"
> placeholder="enter secret here..."/>
>
> And then updating a bunch of core/UI items that I don't want displayed if 
> the password isn't entered correctly:
>
> Example: $:/core/ui/Buttons/delete
> <$reveal type="match" state="$:/_secret" text="the_secret_password">
> <$button message="tm-delete-tiddler" 
> tooltip={{$:/language/Buttons/Delete/Hint}} 
> aria-label={{$:/language/Buttons/Delete/Caption}} class=<
> >>
> <$list filter="[match[yes]]">
> {{$:/core/images/delete-button}}
> 
> <$list filter="[match[yes]]">
> <$text 
> text={{$:/language/Buttons/Delete/Caption}}/>
> 
> 
> 
>
> But this method has me editing lots of core tiddlers (which scares me and 
> makes updates challenging).
>
> On Monday, March 16, 2020 at 11:36:40 AM UTC-4, Mohammad wrote:
>>
>> *Announcement:Utility plugin*
>> *Date: Mar 16th, 2020*
>> *Release: 2.0.0*
>> *Status:  stable*
>>
>> The new update has a much better admin panel (afterward it is called 
>> author panel). Try Ctrl+Alt+A shortcut.
>> Simple author/reader mode switch using Ctrl+Alt+L. Give a try :-)
>> The new Disable Drop Zone is used and in the reader mode, it does not 
>> accept import by drag and drop
>>
>> Read the tutorial to get familiar with different features of TW-Utility
>>
>> Your feedback is highly welcome.
>>
>> History
>>
>> Revision 2.0.0
>>
>>- Date: [16th Mar 2020]
>>- [NEW] Admin mode changed to Author mode
>>- [NEW] Shoutcut added to simply and seemlesly switch author-reader 
>>mode using ctrl+alt+L
>>- [NEW] Disable page drop zone added to author/reader mode
>>
>> For all changes see ChangeLog 
>> 
>>
>>
>>
>> Demo: https://kookma.github.io/TW-Utility/
>> Source: https://github.com/kookma/TW-Utility
>>
>> Your feedback is highly welcome.
>> If you like it star it at GitHub (https://github.com/kookma/TW-Utility)
>>
>>
>> -- Mohammad
>>  
>>
>

-- 
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/9fe0ff8b-5f95-41d3-b6d8-046664f356b3%40googlegroups.com.


[tw5] Re: TW-Utility Plugin 2.0.0 update: A better Admin (author) - Read only (reader) tools (Switch author - reader mode on the fly)

2020-03-16 Thread Mohammad
Birthe,
 Change the shortcuts, I tested on Windows and it works. Let me know if it 
works.

--Mohammad

On Monday, March 16, 2020 at 11:03:30 PM UTC+3:30, Birthe C wrote:
>
> Hi Mohammad,
>
> Really nice. But when I used the shortcut Ctrl+Alt+L, my screen blacked 
> out. I found that I was logged out of linux Mint at had to login again.
> Out of author mode for sure ;-)
>
>
> Birthe
>

-- 
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/5be680cf-1bfd-416f-a34d-0838ed14b08a%40googlegroups.com.


[tw5] Re: Multiple sort order in Tiddlywiki

2020-03-16 Thread Chris Fischer
Hi Tony,

I'm try to apply this solution in a fashion using a template.

Let's suppose I have two tags called "Topic1" and "Topic2". I have a bunch 
of tiddlers tagged with one or both of these tags. On the Topic1 tiddler, I 
want to make a list of all the tiddlers tagged Topic1 sorted by two fields.

I've been able to do most of this with a nice template

template/FilteredTagTemplate:
<$list filter="[tagsort[speaker]]">
 <$link to=<>><$view field=speaker/> - <$view 
field=title/>
 {{||$:/core/ui/ViewTemplate/tags}}
 

Then in the Topic1 tiddler:
{{||template/FilteredTagTemplate}}

Everything is great except that I want to sort by Speaker and Title.

I tried using your example in my template/FilteredTagTemplate, but it takes 
minutes to display as it is returning every tiddler in my file.

So I've been trying something like this:

template/FilteredTagTemplate:
\define tiddlerset-filter() [tag[]]
<$list filter=
"[subfiltereach[speaker]get[speaker]sort[]]" variable=
aspeaker>
   <$list filter="[subfilterspeakersort[]]">
 <$link to=<>><$view field=speaker/> - <$view field=
title/>
 {{||$:/core/ui/ViewTemplate/tags}}
   


Topic1:
{{||template/FilteredTagTemplate}}

No results displayed.

I've tried a number of different ways to get the subfilter to be just the 
tiddlers marked with the title of the current tiddler, all to no avail. Any 
suggestions would be greatly appreciated.


On Wednesday, December 11, 2019 at 8:34:57 PM UTC-5, TonyM wrote:
>
> Mohammad,
>
> Sorry for the delay in a response.
>
> I used all tiddlers to include only the subset of what would be most 
> likely in a query of state and region tiddlers. This acts to limit the 
> default.
>
> I have no objection to your suggestion, however since this part of the 
> filter needs to be the same at all levels of the nested lists, perhaps 
> abstracting this to a subfilter makes more sense since you need only edit 
> in one place.
>
> Perhaps a better approach would be a subfilter*, (This code untested 
> against data)*
> \define tiddlerset-filter() [all[]]
> <$list fiter="[subfiltereach[state]get[state]sort[]]" 
> variable=state>
><$list 
> fiter="[subfilterstateeach[region]get[region]sort[]]"
>  
> variable=region>
><$list fiter="[subfilterstateregion
> sort[]]">
><>
>
>
> 
>
> Regards
> Tony
>
> On Monday, December 9, 2019 at 5:44:20 AM UTC+11, Mohammad wrote:
>>
>>
>>
>> On Saturday, December 7, 2019 at 8:42:44 AM UTC+3:30, TonyM wrote:
>>>
>>> I do not mean to sound competitive, but all you need is .nested lists
>>>
>>> <$list fiter="[all[tiddlers]each[state]get[state]sort[]]" variable=state>
>>><$list fiter="[all[tiddlers]stateeach[region]get[region]sort[]]" 
>>> variable=region>
>>><$list fiter="[all[tiddlers]stateregionsort[]]">
>>><>
>>>
>>>
>>> 
>>> gives a list sorted by state then region then tiddler title
>>> not tested against data
>>>
>>> note the groups state and region use "each" and the inner list only 
>>> lists those with the same state and region at a time
>>>
>>> to keep it tidy i use the same name as the field as the variable name 
>>> generated by the each lists.
>>>
>>> state means list all tiddlers with the state field = the value in 
>>> the `<> variable.
>>>
>>> you could wrap the whole thing or make it more levels deep however a new 
>>> outer filter may need every filter to be updated. See how every list filter 
>>> starts with all[tiddlers] a fresh, so if you want to operate on all 
>>> tiddlers this is fine but only with tag[a] would need to read 
>>> [all[tiddlers]tag[a] to each filter.
>>>
>>
>> What do you think if we omit the all[tiddlers]. I think the input of 
>> every filter is all[tiddlers] or all[tiddlers+shadows] so it should not 
>> affect the performance in this case! What do you think? 
>>
>>>   
>>>
>>> Regards
>>> Tony
>>>
>>> On Saturday, December 7, 2019 at 3:47:14 PM UTC+11, Mark S. wrote:


 There are different approaches. The easiest would be to make a button 
 that, when pressed, populates a fourth field that can then be sorted.

 Here's an approach that doesn't require two steps, but it does assume 
 that "@@" is reserved:

 \define sortus()
 <$vars lb="[[" rb="]]">
 <$list filter="[has[fa]]">
 <$list 
 filter="[addprefix[@@]addprefix{!!fc}addprefix{!!fb}addprefix{!!fa}addprefixaddsuffix]"/>
 
 
 \end

 <$wikify text=<> name="ready2sort">
 <$list filter="[enlistsort[]]" variable="sorted">
 <$list filter="[split[@@]rest[]]"/>
 
 






 On Friday, December 6, 2019 at 7:53:03 PM UTC-8, Mohammad wrote:
>
> Assume you have a bunch of tiddlers 
>
>- all tagged with data
>- all have three fields fa, fb, fc
>
>
> How one can produce a list of tiddlers where they are
>
>- sorted first by fa
>- then by field fb

[tw5] Re: FraidyCat: Tool to "follow" people youre interested in

2020-03-16 Thread Diego Mesa
Thanks Mohammad! I must have missed the original thread on here! 

On Monday, March 16, 2020 at 1:32:14 PM UTC-5, TiddlyTweeter wrote:
>
> and https://github.com/kickscondor/fraidycat/issues
>
> On Monday, 16 March 2020 15:07:06 UTC+1, Mohammad wrote:
>>
>> Hi Diego
>>  Thanks for sharing. The author is Kicks Condor see here
>>
>> https://groups.google.com/d/msg/tiddlywiki/Z4GYwaS3Td0/j5U4C9B7AwAJ
>>
>> --Mohammad
>>
>> On Monday, March 16, 2020 at 4:45:22 PM UTC+3:30, Diego Mesa wrote:
>>>
>>> On HN yesterday some one posted the Fraidycat tool which lets you follow 
>>> someone across multiple platforms, including tiddlywikis!! This is the 
>>> first tool of its kind Ive seen that specifically mentions and supports TW. 
>>> The author posted a comment on HN which I will post a snippet of here:
>>>
>>> "So I built this - and its initial purpose was just to help me keep up 
>>> on public TiddlyWikis (like philosopher.life)"
>>>
>>> Hackernews post (comments): 
>>> https://news.ycombinator.com/item?id=22545878
>>>
>>> Video essay/description: 
>>> https://www.youtube.com/watch?v=zgA4GzRsldI
>>>
>>> Actual website: 
>>> https://fraidyc.at/
>>>
>>> Diego
>>>
>>>

-- 
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/5829cdc0-f931-4651-ba58-e84341337c2c%40googlegroups.com.


[tw5] Re: Show table of checkboxes with labels based off a DataTiddler

2020-03-16 Thread Mat
David wrote:
>
> I would love to learn more about the ListWidget.  I looked at that main 
> page and it was just too complicated for me at this point.  I'm a 
> programmer, but a TW noob.
>

David, you must learn to use the listwidget. It is probably the *most* 
central widget of them all for creating stuff. I'd say 80-90% of everything 
I make in TW centers around the listwidget. If you're a programmer... 
you'll get it quickly once you actually play around with it. In fact, what 
I think you mean is difficult is really the filter attribute. Yes, filters 
can take some getting used to... but they are central for the listwidget 
so, them too, you must ;-)

<:-)

-- 
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/0c84fa9c-1d2e-4dba-9d80-43df3cdd881d%40googlegroups.com.


[tw5] Re: TW-Utility Plugin 2.0.0 update: A better Admin (author) - Read only (reader) tools (Switch author - reader mode on the fly)

2020-03-16 Thread Chris Fischer
Maybe I've missed something obvious. How do I prevent others from switch to 
Author mode? I've implemented a crude version of this on my own with a 
password entry tiddler setting a data tiddler:

<$action-setfield $tiddler="$:/_secret" $value=""/>


<$edit-text
tiddler="$:/_secret"
default=""
tag="input"
type="password"
placeholder="enter secret here..."/>

And then updating a bunch of core/UI items that I don't want displayed if 
the password isn't entered correctly:

Example: $:/core/ui/Buttons/delete
<$reveal type="match" state="$:/_secret" text="the_secret_password">
<$button message="tm-delete-tiddler" 
tooltip={{$:/language/Buttons/Delete/Hint}} 
aria-label={{$:/language/Buttons/Delete/Caption}} class=<
>>
<$list filter="[match[yes]]">
{{$:/core/images/delete-button}}

<$list filter="[match[yes]]">
<$text 
text={{$:/language/Buttons/Delete/Caption}}/>




But this method has me editing lots of core tiddlers (which scares me and 
makes updates challenging).

On Monday, March 16, 2020 at 11:36:40 AM UTC-4, Mohammad wrote:
>
> *Announcement:Utility plugin*
> *Date: Mar 16th, 2020*
> *Release: 2.0.0*
> *Status:  stable*
>
> The new update has a much better admin panel (afterward it is called 
> author panel). Try Ctrl+Alt+A shortcut.
> Simple author/reader mode switch using Ctrl+Alt+L. Give a try :-)
> The new Disable Drop Zone is used and in the reader mode, it does not 
> accept import by drag and drop
>
> Read the tutorial to get familiar with different features of TW-Utility
>
> Your feedback is highly welcome.
>
> History
>
> Revision 2.0.0
>
>- Date: [16th Mar 2020]
>- [NEW] Admin mode changed to Author mode
>- [NEW] Shoutcut added to simply and seemlesly switch author-reader 
>mode using ctrl+alt+L
>- [NEW] Disable page drop zone added to author/reader mode
>
> For all changes see ChangeLog 
> 
>
>
>
> Demo: https://kookma.github.io/TW-Utility/
> Source: https://github.com/kookma/TW-Utility
>
> Your feedback is highly welcome.
> If you like it star it at GitHub (https://github.com/kookma/TW-Utility)
>
>
> -- Mohammad
>  
>

-- 
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/aaaef337-d545-4cdc-8797-19cedc163ec7%40googlegroups.com.


[tw5] Re: Having trouble with simple audio macro

2020-03-16 Thread Chris Fischer
Thanks! I was confusing variables with macro parameters.

I ended up going with this:

Macro def:
\define AudioPost(file)

\end

Macro call:
<>

Much cleaner for my purposes than defining a variable.

On Monday, March 16, 2020 at 3:22:02 PM UTC-4, Mat wrote:
>
> Yeah, you've designed the macro to expect a "file" argument but you're not 
> providing one in the macro call. If you want it to use the "file" variable 
> without having to include it in the call, it should say:
>
> \define AudioPost()
> 
> \end
>
> or simply
>
> \define AudioPost() 
>
> That was at least one major problem. I didn't test the code so there may 
> be others but do test this and come back if problems.
>
> <:-)
>

-- 
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/c89a4c69-c60d-4855-9598-7a04a095cb3f%40googlegroups.com.


[tw5] Re: [INTRO] uni-link plugin

2020-03-16 Thread Thanos Pal
Thank you for the time you have poured into this and for the really fast 
fix, it's much appreciated!

-Thanos

On Monday, 16 March 2020 18:18:55 UTC+2, PMario wrote:
>
> Hi folks, 
>
> Just posted a new version 1.1.2 of uni-link plugin, which should fix the 
> problem. 
>
> https://wikilabs.github.io/#uni-link:uni-link%20GettingStarted
>
> have fun!
> mario
>
> *PS - If you USE it: Support 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4c8b376a-2a5b-4592-9dce-291a4343545f%40googlegroups.com.


[tw5] Re: Show table of checkboxes with labels based off a DataTiddler

2020-03-16 Thread David
I would love to learn more about the ListWidget.  I looked at that main 
page and it was just too complicated for me at this point.  I'm a 
programmer, but a TW noob.



On Monday, March 16, 2020 at 12:49:07 PM UTC-4, Mark S. wrote:
>
> I think newcomers sometimes gravitate towards the data tiddler, because it 
> seems familiar. But really, the main data element in TW isn't the data 
> tiddler, which are pretty limited, but the tiddler themselves. The problem 
> with using a data tiddler is that it will record a single bit of 
> information for each item. Like "buy/don't buy". But what if you have one 
> item that you can get from two different places? Or if you want to indicate 
> what kind of product it its (produce, hardware, canned, cleaning, etc.) ? 
>
> The best thing to learn is the list widget, and the filters it uses. 
>
> I use a TW grocery list every week. I suppose I should sanitize it and 
> post a version. I haven't kept it up to 5.1.20 capabilities ... but 
> sometimes "good enough" is the enemy of "perfect."
>
> Ok, back to your question.
>
> Let's say you have a data tiddler like:
>
> ShoppingSamsClubData 
>
> with
>
>  
> Aardvarks: yes 
>
> Kittens: no
> Puppies: yes
>
> Then in a tiddler you can put:
>
> <$tiddler tiddler="ShoppingSamsClubData">
> <$list filter="[all[current]indexes[]sort[]]" variable=item>
> <$checkbox index=<> checked="yes" unchecked="no"/> <>
> 
> 
>
>
> And it will give you a dynamic list like (you should see a screen shot here):
>
>
> I guess if all you ever want is to shop at Sam's club, then you're good to 
> go!
>
> HTH
>
> On Monday, March 16, 2020 at 7:02:36 AM UTC-7, David wrote:
>>
>> Summary:
>>
>> I'd like to have a list of checkboxes, for a grocery list, that pull data 
>> from a DataTiddler.
>>
>>
>> Detail:
>>
>> I have items I shop for every week and I thought I'd create a tiddler to 
>> allow me to uncheck and check items as I shopped.  
>>
>>
>>- I'd like the *state *of the checkboxes to be stored somehow, I'm 
>>not picky where.  Simpler may be better.
>>- I'd like it to pull the list of items from a *DataTiddler*.  I 
>>think separating the display code from the data would be nice, and I can 
>>also learn about DataTiddlers at the same time.  I'm thinking I don't 
>> care 
>>if the state of each checkbox is stored in the DataTiddler or in the 
>>tiddler with the logic.  I guess ideally it would be in the DataTiddler, 
>>but at this point if it is simpler I don't have to.  I have an example 
>>where the state of each box is stored in the logic tiddler's field, which 
>>works.
>>- If the data could be stored in more of a CSV style, that would be 
>>nice as well, but not essential.
>>
>> I've done a good bit of searching on DataTiddlers and indexes and have 
>> found some help, but not a lot.  Here's some code that gives me what I 
>> want, but obviously I'd rather not have to add more checkbox commands for 
>> each new item I put in the dataTiddler.  I know I can loop over this 
>> somehow, right?
>>
>> But I was unable to find how to successfully loop over the keys in a 
>> Dictionary Tiddler.
>>
>> This works, but is not dynamic...
>>
>> <$checkbox field="item1" 
>> checked='val1'>{{ShoppingSamsClubData##item_01}}
>> <$checkbox field="item2" 
>> checked='val2'>{{ShoppingSamsClubData##item_02}}
>>
>> And here are the contents of the data tiddler
>>
>> item_01: Rice
>> item_02: Milk 
>>
>> *type: application/x-tiddler-dictionary*
>>
>>
>>

-- 
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/a8abaa46-1e81-4c93-9ff3-125c0b45e713%40googlegroups.com.


[tw5] Re: Triple curly braces and templates - tip

2020-03-16 Thread Mat
Yeah, I keep forgetting triple curly templates then re-discovering them 
every few years. Now I'm set until 2022. Thanks 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ffd0bd6a-cc56-4471-97fa-3cd2cc79a141%40googlegroups.com.


[tw5] Re: TW-Utility Plugin 2.0.0 update: A better Admin (author) - Read only (reader) tools (Switch author - reader mode on the fly)

2020-03-16 Thread Birthe C
Hi Mohammad,

Really nice. But when I used the shortcut Ctrl+Alt+L, my screen blacked 
out. I found that I was logged out of linux Mint at had to login again.
Out of author mode for sure ;-)


Birthe

-- 
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/16b47ba6-27a5-4715-bbd6-eb5e4c558ad6%40googlegroups.com.


[tw5] Re: Having trouble with simple audio macro

2020-03-16 Thread Mat
Yeah, you've designed the macro to expect a "file" argument but you're not 
providing one in the macro call. If you want it to use the "file" variable 
without having to include it in the call, it should say:

\define AudioPost()

\end

or simply

\define AudioPost() 

That was at least one major problem. I didn't test the code so there may be 
others but do test this and come back if problems.

<:-)

-- 
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/7ac6ecbf-0702-4785-8c61-7c3c50d46cab%40googlegroups.com.


[tw5] Re: Having trouble with simple audio macro

2020-03-16 Thread Chris Fischer
Ok, I actually solved it, but I hope someone can explain WHY.

I added parentheses:

\define AudioPost(file)

\end


On Monday, March 16, 2020 at 3:14:07 PM UTC-4, Chris Fischer wrote:
>
> Hello all,
>
> I've been experimenting with Audio and Video macros such as those 
> demonstrated here: http://av-macros.tiddlyspot.com/ 
> 
>
> I have a simple tiddler with a link to a local audio file. I'm trying to 
> turn it into a macro so that if I want to change the format for an audio 
> tiddler, I can edit the template tiddler once.
>
> template/AudioPost:
> \define AudioPost(file)
> 
> \end
>
> My test tiddler:
> <$set name="file" value="Audio/Evans/Evans, Tony - Revive Us Again - 08 - 
> Are We Ready for Revival (Mt 3_1-2).mp3">
> <>
> 
>
> <$set name="file" 
> value="Audio/Evans/Evans%2C%20Tony%20-%20Revive%20Us%20Again%20-%2008%20-%20Are%20We%20Ready%20for%20Revival%20%28Mt%203_1-2%29.mp3">
> <>
> 
>
>  src="Audio/Evans/Evans%2C%20Tony%20-%20Revive%20Us%20Again%20-%2008%20-%20Are%20We%20Ready%20for%20Revival%20%28Mt%203_1-2%29.mp3"
>  
> />
> '
> Only my third version worksneither attempt to use the macro work.
>
> [image: Annotation 2020-03-16 151218.jpg]
>
> Any thoughts one why the audio tag in the macro isn't recognizing the file 
> path when it's identical to the path in the explicit src?
>

-- 
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/46c383d5-869f-4c47-b2fe-0226be546796%40googlegroups.com.


[tw5] Re: Order default tiddler list based on creation date.

2020-03-16 Thread Zu
Thank you for your prompt response Eric!! 
I think I tried something similar and didn't work, It seems I was missing 
"!" 
Anyway it works as intended now :))

On Monday, March 16, 2020 at 10:39:36 PM UTC+4, Eric Shulman wrote:
>
> On Monday, March 16, 2020 at 11:12:19 AM UTC-7, Zu wrote:
>>
>> If I want to display all the tiddlers with certain tags upon opening the 
>> tiddlywiki 
>> I set [tag[HelloThere]] in default tiddlers as indicated here 
>> 
>> .
>>
>> But tiddler order seems to be random. Can I somehow force it to be in 
>> reverse chronological order? I.E. most recent post (by creation) to be the 
>> first and so on ..?
>>
>
> The contents of DefaultTiddlers uses filter syntax, which allows for more 
> than one filter operator to be applied.
>
> To get the results you want, add a sort[] operator to your filter 
> expression, like this:
>
> [[tag[HelloThere]!sort[created]]
>
> The parameter of the sort operator (i.e., created) indicates the field to 
> sort by (the default is the title field).
> Preceding the sort operator by "!" uses *descending* order (the default is 
> ascending order).
>
> enjoy,
> -e
>

-- 
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/a1b7e913-c185-493c-842d-074a0f5c79ba%40googlegroups.com.


[tw5] Re: Order default tiddler list based on creation date.

2020-03-16 Thread Eric Shulman
On Monday, March 16, 2020 at 11:12:19 AM UTC-7, Zu wrote:
>
> If I want to display all the tiddlers with certain tags upon opening the 
> tiddlywiki 
> I set [tag[HelloThere]] in default tiddlers as indicated here 
> .
>
> But tiddler order seems to be random. Can I somehow force it to be in 
> reverse chronological order? I.E. most recent post (by creation) to be the 
> first and so on ..?
>

The contents of DefaultTiddlers uses filter syntax, which allows for more 
than one filter operator to be applied.

To get the results you want, add a sort[] operator to your filter 
expression, like this:

[[tag[HelloThere]!sort[modified]]

The parameter of the sort operator (i.e., modified) indicates the field to 
sort by (the default is the title field).
Preceding the sort operator by "!" uses *descending* order (the default is 
ascending order).

enjoy,
-e

-- 
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/90313777-8913-4d6d-826d-dca9a051e227%40googlegroups.com.


[tw5] Re: FraidyCat: Tool to "follow" people youre interested in

2020-03-16 Thread TiddlyTweeter
and https://github.com/kickscondor/fraidycat/issues

On Monday, 16 March 2020 15:07:06 UTC+1, Mohammad wrote:
>
> Hi Diego
>  Thanks for sharing. The author is Kicks Condor see here
>
> https://groups.google.com/d/msg/tiddlywiki/Z4GYwaS3Td0/j5U4C9B7AwAJ
>
> --Mohammad
>
> On Monday, March 16, 2020 at 4:45:22 PM UTC+3:30, Diego Mesa wrote:
>>
>> On HN yesterday some one posted the Fraidycat tool which lets you follow 
>> someone across multiple platforms, including tiddlywikis!! This is the 
>> first tool of its kind Ive seen that specifically mentions and supports TW. 
>> The author posted a comment on HN which I will post a snippet of here:
>>
>> "So I built this - and its initial purpose was just to help me keep up on 
>> public TiddlyWikis (like philosopher.life)"
>>
>> Hackernews post (comments): 
>> https://news.ycombinator.com/item?id=22545878
>>
>> Video essay/description: 
>> https://www.youtube.com/watch?v=zgA4GzRsldI
>>
>> Actual website: 
>> https://fraidyc.at/
>>
>> Diego
>>
>>

-- 
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/0fa06200-3d15-491f-9992-1d807887cce5%40googlegroups.com.


[tw5] Order default tiddler list based on creation date.

2020-03-16 Thread Zu
Hi,
If I want to display all the tiddlers with certain tags upon opening the 
tiddlywiki 
I set [tag[HelloThere]] in default tiddlers as indicated here 
.
But tiddler order seems to be random. Can I somehow force it to be in 
reverse chronological order? I.E. most recent post (by creation) to be the 
first and so on ..?

-- 
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/9665ccd1-7cb3-465a-a238-71d6a0823635%40googlegroups.com.


[tw5] Re: action-setfield makes _1.tid version instead of tiddler I want it to (sometimes)

2020-03-16 Thread Dave
I wonder if this is a Bob thing... I'll poke around in the settings and 
post back if I figure it out.

-- 
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/e2de1f06-df56-4362-b449-2caaf547c33c%40googlegroups.com.


[tw5] Re: Calling a Transclusion - Spaces and Colons in Tiddler Names

2020-03-16 Thread Mohammad
David,
 It is also possible to do like this

Tiddler name: My Tiddler 01
Index/value pair
a: 100
b: 200
c has space: 300

then
{{ My Tiddler 01##c has space}} 
returns 300

Test on tiddlywiki.com

--Mohammad

On Monday, March 16, 2020 at 7:26:50 PM UTC+3:30, David wrote:
>
> So this transclusion works to pull data from a dataTiddler...
>
> {{ShoppingSamsClubData##item_01}}
>
> But how do you format it if the tiddler name contains spaces and/or colons?
>

-- 
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/db43a15d-6032-410b-a5d1-32665f310eb0%40googlegroups.com.


Re: [tw5] Re: Question about: Printing in Tiddlywiki

2020-03-16 Thread Alex Hough
Done! (I think!)
I've clicked in a thumbs up


Alex

On Mon, 16 Mar 2020 at 14:50, TiddlyTweeter  wrote:

> Alex, a Github upvote could help move it on ...
>
> https://github.com/Jermolene/TiddlyWiki5/issues/4352
>
> TT, x
>
> On Monday, 16 March 2020 14:02:20 UTC+1, AlexHough wrote:
>>
>> and in light of the new developments in publishing and annotation ... it
>> feel like we are nearly there, at the place where TW is all we need
>>
>>
>> Alex
>>
>> On Monday, 16 March 2020 11:44:20 UTC, TiddlyTweeter wrote:
>>>
>>> I agree.
>>>
>>> Of proposed enhancements over time this is one of the nicest. It extends
>>> TW function in a way relevant to much common use. High relevance!
>>>
>>> Best wishes
>>> TT
>>>
>>> On Monday, 16 March 2020 07:53:40 UTC+1, Mohammad wrote:

 *Reminder:*

  PrintRiver plugin is a great plugin lets produce customized PDFs, hard
 copies, and even other final formats.
  *BTC* proposed to add this to core, if not I propose to publish it as
 an official plugin and to do this I needs some more polishing!

 This is to remind *BTC *and *Jeremy *and also *everybody *in favor of
 this to support the idea here or at GitHuB:
 https://github.com/Jermolene/TiddlyWiki5/issues/4352
 

 --Mohammad



 On Monday, October 28, 2019 at 5:09:38 PM UTC+3:30, Mohammad wrote:
>
> While TW encourages to do not print and remain green and EnviroFriend
> (don't waste papers!!)
> But there are situations where you have to print or create a single
> PDF from a tiddler or a river of tiddlers!
> It seems TW is not very user friendly in such a case!
>
> *Question:*
>  I have created a tiddler using a custom class (say notebook) and when
> I want to print, in the preview I see different margins, padding not easy
> to modify or difficult
> for TW user to write or modify a CSS.
>
> For example see the below tiddler
>
> http://tw5-print.tiddlyspot.com/#Homework%3A%20Simpson%20Integration
>
> I had to write a stylesheet for printing as below
> http://tw5-print.tiddlyspot.com/#stylesheet%2Fnotebook
>
> I would like to have your advise if my CSS is correct or there is
> something easier to control printing!
>
>
> *Footnote:*
> I have created a tiddlyspot page as a playground for printing in TW.
> So the whole story ca be fond at
> http://tw5-print.tiddlyspot.com/#
>
>
> References
> Mohammad  28th October
> 2019 at 5:08pm
> PluginsPrintriverhttp://printriver.tiddlyspot.com/
> DiscussionView and Print tiddlers with page handling - help requested
> https://groups.google.com/d/msg/tiddlywiki/SthCKBaE0c0/tr7PrKjXDwAJBasic
> question - how do you print a tiddler?
> https://groups.google.com/d/msg/tiddlywiki/SYGksSEeNTA/-75B6u1EAwAJ
>
>
> Mohammad
>
 --
> 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/59024c12-aa72-4197-8438-036a1aa58a09%40googlegroups.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CALc1hYfEwwWwGhVuZu%3D65A%3DaDeRBPCQ%3Dvao8P2opJxFnfLNGFw%40mail.gmail.com.


[tw5] action-setfield makes _1.tid version instead of tiddler I want it to (sometimes)

2020-03-16 Thread Dave
I have this button that is supposed to write text to a tid file.

\define mymegatext()

<$list filter="[list[Today List]]">
* <$view field=title/>


\end

\define mybutton()
<$wikify name=mytext text=<>>
<$action-setfield
$tiddler="myToday"
   tags="hardcopies"
text=<>
/>
<$action-sendmessage $message="tm-notify" $param="SetMsg"/>


\end

<$button actions="<>">
save drags



When I started writing this I had a "myToday.tid" in existence and a 
"myToday_1.tid" which the button was writing to (even though it is supposed 
to just overwrite the myToday.tid version only)

At first I deleted the "_1" version and the button replaced it (myToday.tid 
was not overwritten, but new "myToday_1.tid" was created.)

Then I deleted the myToday.tid and the button worked fine.  I rearranged 
the info and did it again, expecting the new version to go to the "_1" 
version but it acted correctly this time.


Is this a thing that makes sense to anyone?

thanks, 
- Dave


-- 
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/c5499c6c-ec7d-47c9-951f-addf6c2d3d38%40googlegroups.com.


[tw5] Re: Show table of checkboxes with labels based off a DataTiddler

2020-03-16 Thread 'Mark S.' via TiddlyWiki
I think newcomers sometimes gravitate towards the data tiddler, because it 
seems familiar. But really, the main data element in TW isn't the data 
tiddler, which are pretty limited, but the tiddler themselves. The problem 
with using a data tiddler is that it will record a single bit of 
information for each item. Like "buy/don't buy". But what if you have one 
item that you can get from two different places? Or if you want to indicate 
what kind of product it its (produce, hardware, canned, cleaning, etc.) ? 

The best thing to learn is the list widget, and the filters it uses. 

I use a TW grocery list every week. I suppose I should sanitize it and post 
a version. I haven't kept it up to 5.1.20 capabilities ... but sometimes 
"good enough" is the enemy of "perfect."

Ok, back to your question.

Let's say you have a data tiddler like:

ShoppingSamsClubData 

with

 
Aardvarks: yes 

Kittens: no
Puppies: yes

Then in a tiddler you can put:

<$tiddler tiddler="ShoppingSamsClubData">
<$list filter="[all[current]indexes[]sort[]]" variable=item>
<$checkbox index=<> checked="yes" unchecked="no"/> <>




And it will give you a dynamic list like (you should see a screen shot here):


I guess if all you ever want is to shop at Sam's club, then you're good to 
go!

HTH

On Monday, March 16, 2020 at 7:02:36 AM UTC-7, David wrote:
>
> Summary:
>
> I'd like to have a list of checkboxes, for a grocery list, that pull data 
> from a DataTiddler.
>
>
> Detail:
>
> I have items I shop for every week and I thought I'd create a tiddler to 
> allow me to uncheck and check items as I shopped.  
>
>
>- I'd like the *state *of the checkboxes to be stored somehow, I'm not 
>picky where.  Simpler may be better.
>- I'd like it to pull the list of items from a *DataTiddler*.  I think 
>separating the display code from the data would be nice, and I can also 
>learn about DataTiddlers at the same time.  I'm thinking I don't care if 
>the state of each checkbox is stored in the DataTiddler or in the tiddler 
>with the logic.  I guess ideally it would be in the DataTiddler, but at 
>this point if it is simpler I don't have to.  I have an example where the 
>state of each box is stored in the logic tiddler's field, which works.
>- If the data could be stored in more of a CSV style, that would be 
>nice as well, but not essential.
>
> I've done a good bit of searching on DataTiddlers and indexes and have 
> found some help, but not a lot.  Here's some code that gives me what I 
> want, but obviously I'd rather not have to add more checkbox commands for 
> each new item I put in the dataTiddler.  I know I can loop over this 
> somehow, right?
>
> But I was unable to find how to successfully loop over the keys in a 
> Dictionary Tiddler.
>
> This works, but is not dynamic...
>
> <$checkbox field="item1" 
> checked='val1'>{{ShoppingSamsClubData##item_01}}
> <$checkbox field="item2" 
> checked='val2'>{{ShoppingSamsClubData##item_02}}
>
> And here are the contents of the data tiddler
>
> item_01: Rice
> item_02: Milk 
>
> *type: application/x-tiddler-dictionary*
>
>
>

-- 
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/de84b9c2-1225-419a-b099-547a15102734%40googlegroups.com.


[tw5] Re: [INTRO] uni-link plugin

2020-03-16 Thread PMario
Hi folks, 

Just posted a new version 1.1.2 of uni-link plugin, which should fix the 
problem. 

https://wikilabs.github.io/#uni-link:uni-link%20GettingStarted

have fun!
mario

*PS - If you USE it: Support 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c837e31a-8df7-4ca4-b224-b399104bfab7%40googlegroups.com.


[tw5] Re: Calling a Transclusion - Spaces and Colons in Tiddler Names

2020-03-16 Thread Mohammad
Have you read the tutorial on data tiddler? It is here on TW-Scripts

https://kookma.github.io/TW-Scripts/#datatiddler

Set it for presentation and read all pages.

On Monday, March 16, 2020 at 7:26:50 PM UTC+3:30, David wrote:
>
> So this transclusion works to pull data from a dataTiddler...
>
> {{ShoppingSamsClubData##item_01}}
>
> But how do you format it if the tiddler name contains spaces and/or colons?
>
 

<$transclude tiddler="tiddler with space"  index="your index"/>

See 
here: https://kookma.github.io/TW-Scripts/#Listing%20DataTiddler%20Properties

is one solution

TW-Scripts is another solution :-)


-- 
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/47a23d64-25a0-45c0-bc7d-026958174ab6%40googlegroups.com.


[tw5] Re: TW-Utility Plugin 2.0.0 update: A better Admin (author) - Read only (reader) tools (Switch author - reader mode on the fly)

2020-03-16 Thread Mohammad
If you like to install TW-Utility you can have Kookma plugin library in 
your wiki.
Simply download attached tiddler and drag and drop into your wiki!
Then like Official Plugins, go to $:/ConrolPanel, Plugins, Get more plugin
and then select Kookma Plugin Library and from the list install or 
reinstall Utility


Good luck

-- 
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/fefd72a2-4f23-4b83-9e24-b7b6b4fdd0ac%40googlegroups.com.


Kookma Plugin Library.tid
Description: Binary data


[tw5] Calling a Transclusion - Spaces and Colons in Tiddler Names

2020-03-16 Thread David
So this transclusion works to pull data from a dataTiddler...

{{ShoppingSamsClubData##item_01}}

But how do you format it if the tiddler name contains spaces and/or colons?

-- 
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/3a543afc-09bf-4b37-ac97-4da19c768aa1%40googlegroups.com.


[tw5] TW-Utility Plugin 2.0.0 update: A better Admin (author) - Read only (reader) tools (Switch author - reader mode on the fly)

2020-03-16 Thread Mohammad
*Announcement:Utility plugin*
*Date: Mar 16th, 2020*
*Release: 2.0.0*
*Status:  stable*

The new update has a much better admin panel (afterward it is called author 
panel). Try Ctrl+Alt+A shortcut.
Simple author/reader mode switch using Ctrl+Alt+L. Give a try :-)
The new Disable Drop Zone is used and in the reader mode, it does not 
accept import by drag and drop

Read the tutorial to get familiar with different features of TW-Utility

Your feedback is highly welcome.

History

Revision 2.0.0
   
   - Date: [16th Mar 2020]
   - [NEW] Admin mode changed to Author mode
   - [NEW] Shoutcut added to simply and seemlesly switch author-reader mode 
   using ctrl+alt+L
   - [NEW] Disable page drop zone added to author/reader mode

For all changes see ChangeLog 




Demo: https://kookma.github.io/TW-Utility/
Source: https://github.com/kookma/TW-Utility

Your feedback is highly welcome.
If you like it star it at GitHub (https://github.com/kookma/TW-Utility)


-- Mohammad
 

-- 
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/19675e54-21f7-4028-9dda-2fb5e696fc59%40googlegroups.com.


[tw5] Re: Relink, and setting up button widgets for modals

2020-03-16 Thread CJ Veniot
To me, {{tiddlertitle!!title}} is doing the trick everywhere.

But I am always out to learn new tricks.  So now I want to navigate the 
recesses of your sponge to see what neat little things I can add to my own 
sponge.

Is "orgname" = "original title"?  Not much use to me, I think, because I 
change tiddler titles repeatedly, without caring about the original title 
or the transitions between original title and current title.

If I did need it, though, the full list of all titles in the history of a 
tiddler would be nice, but I'd probably track that on my own in some sort 
of change log.

And now I'm thinking:  as often as I wind up tweaking tiddler titles, I'd 
also be tweaking orgnames too.  So double-tweaking?  More of a mess because 
I'm forever fiddling with titles and orgnames?

Anyway, all of that paralysis by analysis aside, what problem would orgname 
solve for you?  Dollars to donuts, I've probably got the same problem and I 
don't yet know it...

On Monday, March 16, 2020 at 2:16:37 AM UTC-3, A Gloom wrote:
>
>
>>
>> Actually I see an application here-- to change-proof macros and widgets 
> from later tiddler title changes {{tiddlertitle!!orgname}}
>
> orgname field would be set on tiddler creation using original title so if 
> you hate having to go find a tiddler tilte that is being changed in every 
> widget throughout a wiki-- the orgname field wouldn't change with title 
> edits
>

-- 
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/6314758f-81b9-4ccb-9e7e-d1d7fb362cc3%40googlegroups.com.


[tw5] Re: Relink, and setting up button widgets for modals

2020-03-16 Thread CJ Veniot
Lunacy?  Well, then: I'm your Huckleberry.  ("Tombstone" reference I use at 
every opportunity!)

On Monday, March 16, 2020 at 2:47:40 AM UTC-3, A Gloom wrote:
>
> >< actually that won't work-- the tidller titile change would make the 
> tiddlertitle portion of the transclusion invalid-- back to the drawing 
> board after I get another dozen cups of coffee first
>
> >> but I've got to find ways to contribute somehow ...
>
> understood-- here too-- I've resorted to lunacy to contribute >> <<
>

-- 
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/0b391cd6-ad5f-4064-8351-58fe16275026%40googlegroups.com.


[tw5] Re: Question about: Printing in Tiddlywiki

2020-03-16 Thread TiddlyTweeter
Alex, a Github upvote could help move it on ... 

https://github.com/Jermolene/TiddlyWiki5/issues/4352

TT, x 

On Monday, 16 March 2020 14:02:20 UTC+1, AlexHough wrote:
>
> and in light of the new developments in publishing and annotation ... it 
> feel like we are nearly there, at the place where TW is all we need
>
>
> Alex
>
> On Monday, 16 March 2020 11:44:20 UTC, TiddlyTweeter wrote:
>>
>> I agree.
>>
>> Of proposed enhancements over time this is one of the nicest. It extends 
>> TW function in a way relevant to much common use. High relevance!
>>
>> Best wishes
>> TT
>>
>> On Monday, 16 March 2020 07:53:40 UTC+1, Mohammad wrote:
>>>
>>> *Reminder:*
>>>
>>>  PrintRiver plugin is a great plugin lets produce customized PDFs, hard 
>>> copies, and even other final formats.
>>>  *BTC* proposed to add this to core, if not I propose to publish it as 
>>> an official plugin and to do this I needs some more polishing!
>>>
>>> This is to remind *BTC *and *Jeremy *and also *everybody *in favor of 
>>> this to support the idea here or at GitHuB: 
>>> https://github.com/Jermolene/TiddlyWiki5/issues/4352 
>>> 
>>>
>>> --Mohammad
>>>
>>>
>>>
>>> On Monday, October 28, 2019 at 5:09:38 PM UTC+3:30, Mohammad wrote:

 While TW encourages to do not print and remain green and EnviroFriend 
 (don't waste papers!!)
 But there are situations where you have to print or create a single PDF 
 from a tiddler or a river of tiddlers!
 It seems TW is not very user friendly in such a case!

 *Question:*
  I have created a tiddler using a custom class (say notebook) and when 
 I want to print, in the preview I see different margins, padding not easy 
 to modify or difficult
 for TW user to write or modify a CSS.

 For example see the below tiddler

 http://tw5-print.tiddlyspot.com/#Homework%3A%20Simpson%20Integration

 I had to write a stylesheet for printing as below
 http://tw5-print.tiddlyspot.com/#stylesheet%2Fnotebook

 I would like to have your advise if my CSS is correct or there is 
 something easier to control printing!


 *Footnote:*
 I have created a tiddlyspot page as a playground for printing in TW. So 
 the whole story ca be fond at
 http://tw5-print.tiddlyspot.com/#


 References
 Mohammad  28th October 2019 
 at 5:08pm
 PluginsPrintriverhttp://printriver.tiddlyspot.com/
 DiscussionView and Print tiddlers with page handling - help requested
 https://groups.google.com/d/msg/tiddlywiki/SthCKBaE0c0/tr7PrKjXDwAJBasic 
 question - how do you print a tiddler?
 https://groups.google.com/d/msg/tiddlywiki/SYGksSEeNTA/-75B6u1EAwAJ


 Mohammad

>>>

-- 
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/59024c12-aa72-4197-8438-036a1aa58a09%40googlegroups.com.


Re: [tw5] Announcing new "Menu Bar" plugin

2020-03-16 Thread Mohammad
Thank you Jeremy for clarification!

On Monday, March 16, 2020 at 5:35:57 PM UTC+3:30, Jeremy Ruston wrote:
>
> Hi Mohammad
>
>  With the current top menubar, the print page does shows the top menu bar 
> in every page!
>
>
> Thanks, I’d missed that.
>
> I do not recommend to resolve this issue on its own.
>
>
> I think it has to be solved on its own; all the visual components of a 
> theme need to be aware of printing (and are), there’s no generic way of 
> specifying it in advance.
>
> This will make an organic growth of Tiddlywiki which seems not good!
>
>
> It’s really not a big deal, I just forgot to include print media rules for 
> the toolbar.
>
> I have commented here https://github.com/Jermolene/TiddlyWiki5/issues/4352
>
> Also consider the new proposal by yourself on page layout!
>
> I think both page layout and CSS needs an overhaul to consider all of 
> these!
>
>
> It does indeed, and the tricky thing is just figuring out when we’d do it, 
> and how we’d manage backwards compatibility.
>
> Best wishes
>
> Jeremy
>
>
> --Mohammad
>
>
> -- 
> 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 tiddl...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/12e97c1f-ce23-4b83-812f-ad1f92e38ac4%40googlegroups.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ade79ede-2447-4bc2-931c-adb98f008a4c%40googlegroups.com.


[tw5] Re: FraidyCat: Tool to "follow" people youre interested in

2020-03-16 Thread Mohammad
Hi Diego
 Thanks for sharing. The author is Kicks Condor see here

https://groups.google.com/d/msg/tiddlywiki/Z4GYwaS3Td0/j5U4C9B7AwAJ

--Mohammad

On Monday, March 16, 2020 at 4:45:22 PM UTC+3:30, Diego Mesa wrote:
>
> On HN yesterday some one posted the Fraidycat tool which lets you follow 
> someone across multiple platforms, including tiddlywikis!! This is the 
> first tool of its kind Ive seen that specifically mentions and supports TW. 
> The author posted a comment on HN which I will post a snippet of here:
>
> "So I built this - and its initial purpose was just to help me keep up on 
> public TiddlyWikis (like philosopher.life)"
>
> Hackernews post (comments): 
> https://news.ycombinator.com/item?id=22545878
>
> Video essay/description: 
> https://www.youtube.com/watch?v=zgA4GzRsldI
>
> Actual website: 
> https://fraidyc.at/
>
> Diego
>
>

-- 
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/eb7d029e--4185-bd69-a7c58660139c%40googlegroups.com.


Re: [tw5] Announcing new "Menu Bar" plugin

2020-03-16 Thread Jeremy Ruston
Hi Mohammad

>  With the current top menubar, the print page does shows the top menu bar in 
> every page!

Thanks, I’d missed that.

> I do not recommend to resolve this issue on its own.

I think it has to be solved on its own; all the visual components of a theme 
need to be aware of printing (and are), there’s no generic way of specifying it 
in advance.

> This will make an organic growth of Tiddlywiki which seems not good!

It’s really not a big deal, I just forgot to include print media rules for the 
toolbar.

> I have commented here https://github.com/Jermolene/TiddlyWiki5/issues/4352 
> 
> 
> Also consider the new proposal by yourself on page layout!
> 
> I think both page layout and CSS needs an overhaul to consider all of these!

It does indeed, and the tricky thing is just figuring out when we’d do it, and 
how we’d manage backwards compatibility.

Best wishes

Jeremy

> 
> --Mohammad
> 
> 
> -- 
> 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/12e97c1f-ce23-4b83-812f-ad1f92e38ac4%40googlegroups.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/86006801-2ADE-41BB-92AD-F217966B8C97%40gmail.com.


[tw5] Show table of checkboxes with labels based off a DataTiddler

2020-03-16 Thread David
Summary:

Detail:

I have items I shop for every week and I thought I'd create a tiddler to 
allow me to uncheck and check items as I shopped.  


   - I'd like the *state *of the checkboxes to be stored somehow, I'm not 
   picky where.  Simpler may be better.
   - I'd like it to pull the list of items from a *DataTiddler*.  I think 
   separating the display code from the data would be nice, and I can also 
   learn about DataTiddlers at the same time.  I'm thinking I don't care if 
   the state of each checkbox is stored in the DataTiddler or in the tiddler 
   with the logic.  I guess ideally it would be in the DataTiddler, but at 
   this point if it is simpler I don't have to.  I have an example where the 
   state of each box is stored in the logic tiddler's field, which works.
   - If the data could be stored in more of a CSV style, that would be nice 
   as well, but not essential.
   
I've done a good bit of searching on DataTiddlers and indexes and have 
found some help, but not a lot.  Here's some code that gives me what I 
want, but obviously I'd rather not have to add more checkbox commands for 
each new item I put in the dataTiddler.  I know I can loop over this 
somehow, right?

But I was unable to find how to successfully loop over the keys in a 
Dictionary Tiddler.

This works, but is not dynamic...

<$checkbox field="item1" 
checked='val1'>{{ShoppingSamsClubData##item_01}}
<$checkbox field="item2" 
checked='val2'>{{ShoppingSamsClubData##item_02}}

And here are the contents of the data tiddler

item_01: Rice
item_02: Milk 

*type: application/x-tiddler-dictionary*


-- 
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/c741f1f4-297e-412b-bc21-34adc6e0fd5b%40googlegroups.com.


[tw5] Re: FraidyCat: Tool to "follow" people youre interested in

2020-03-16 Thread TiddlyTweeter
The author likes TW. It supports tiddler reference.

On Monday, 16 March 2020 14:15:22 UTC+1, Diego Mesa wrote:
>
> On HN yesterday some one posted the Fraidycat tool which lets you follow 
> someone across multiple platforms, including tiddlywikis!! This is the 
> first tool of its kind Ive seen that specifically mentions and supports TW. 
> The author posted a comment on HN which I will post a snippet of here:
>
> "So I built this - and its initial purpose was just to help me keep up on 
> public TiddlyWikis (like philosopher.life)"
>
> Hackernews post (comments): 
> https://news.ycombinator.com/item?id=22545878
>
> Video essay/description: 
> https://www.youtube.com/watch?v=zgA4GzRsldI
>
> Actual website: 
> https://fraidyc.at/
>
> Diego
>
>

-- 
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/936d9d7d-2610-4599-a929-853092e4ae99%40googlegroups.com.


[tw5] FraidyCat: Tool to "follow" people youre interested in

2020-03-16 Thread Diego Mesa

On HN yesterday some one posted the Fraidycat tool which lets you follow 
someone across multiple platforms, including tiddlywikis!! This is the 
first tool of its kind Ive seen that specifically mentions and supports TW. 
The author posted a comment on HN which I will post a snippet of here:

"So I built this - and its initial purpose was just to help me keep up on 
public TiddlyWikis (like philosopher.life)"

Hackernews post (comments): 
https://news.ycombinator.com/item?id=22545878

Video essay/description: 
https://www.youtube.com/watch?v=zgA4GzRsldI

Actual website: 
https://fraidyc.at/

Diego

-- 
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/e69eb32f-3af3-49fb-9e1e-90d134473c3d%40googlegroups.com.


[tw5] Re: Tiddlywiki and Coronavirus

2020-03-16 Thread TiddlyTweeter
A Gloom wrote
>
>
> ... Like your freind in S Texas-- because of damned fools running on the 
> groceries-- my family is looking at groceries not being available-- we 
> believe we should have enough and are prepared to go to one meal a day to 
> make it stretch (done ii before in hurricane aftermaths)
>

Right. Jenny in Texas, far South in Vidor, provincial nowhere, nowhere near 
the TX 39 cases, is suffering the imagination of  buyers who make her life 
hell from irrational panic.

TT

-- 
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/7f4dec62-0b38-41d6-8849-46c04bf892cc%40googlegroups.com.


[tw5] Re: Question about: Printing in Tiddlywiki

2020-03-16 Thread AlexHough
and in light of the new developments in publishing and annotation ... it 
feel like we are nearly there, at the place where TW is all we need


Alex

On Monday, 16 March 2020 11:44:20 UTC, TiddlyTweeter wrote:
>
> I agree.
>
> Of proposed enhancements over time this is one of the nicest. It extends 
> TW function in a way relevant to much common use. High relevance!
>
> Best wishes
> TT
>
> On Monday, 16 March 2020 07:53:40 UTC+1, Mohammad wrote:
>>
>> *Reminder:*
>>
>>  PrintRiver plugin is a great plugin lets produce customized PDFs, hard 
>> copies, and even other final formats.
>>  *BTC* proposed to add this to core, if not I propose to publish it as 
>> an official plugin and to do this I needs some more polishing!
>>
>> This is to remind *BTC *and *Jeremy *and also *everybody *in favor of 
>> this to support the idea here or at GitHuB: 
>> https://github.com/Jermolene/TiddlyWiki5/issues/4352 
>> 
>>
>> --Mohammad
>>
>>
>>
>> On Monday, October 28, 2019 at 5:09:38 PM UTC+3:30, Mohammad wrote:
>>>
>>> While TW encourages to do not print and remain green and EnviroFriend 
>>> (don't waste papers!!)
>>> But there are situations where you have to print or create a single PDF 
>>> from a tiddler or a river of tiddlers!
>>> It seems TW is not very user friendly in such a case!
>>>
>>> *Question:*
>>>  I have created a tiddler using a custom class (say notebook) and when I 
>>> want to print, in the preview I see different margins, padding not easy to 
>>> modify or difficult
>>> for TW user to write or modify a CSS.
>>>
>>> For example see the below tiddler
>>>
>>> http://tw5-print.tiddlyspot.com/#Homework%3A%20Simpson%20Integration
>>>
>>> I had to write a stylesheet for printing as below
>>> http://tw5-print.tiddlyspot.com/#stylesheet%2Fnotebook
>>>
>>> I would like to have your advise if my CSS is correct or there is 
>>> something easier to control printing!
>>>
>>>
>>> *Footnote:*
>>> I have created a tiddlyspot page as a playground for printing in TW. So 
>>> the whole story ca be fond at
>>> http://tw5-print.tiddlyspot.com/#
>>>
>>>
>>> References
>>> Mohammad  28th October 2019 
>>> at 5:08pm
>>> PluginsPrintriverhttp://printriver.tiddlyspot.com/
>>> DiscussionView and Print tiddlers with page handling - help requested
>>> https://groups.google.com/d/msg/tiddlywiki/SthCKBaE0c0/tr7PrKjXDwAJBasic 
>>> question - how do you print a tiddler?
>>> https://groups.google.com/d/msg/tiddlywiki/SYGksSEeNTA/-75B6u1EAwAJ
>>>
>>>
>>> Mohammad
>>>
>>

-- 
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/c658b96d-9666-4389-8798-0ab7463a0671%40googlegroups.com.


[tw5] Re: Tiddlywiki and Coronavirus

2020-03-16 Thread TiddlyTweeter
Isn't that weird :-).

I'm in the mess of it. I could do a three course meal no problem. IF there 
were anyone up for it. Which there isn't.

TT

On Monday, 16 March 2020 13:50:47 UTC+1, A Gloom wrote:
>
> But I see in news reports that both parts of USA & parts of OZ went 
>> bonkers.
>> Those cultural DIFFERENCES are interesting.
>>
>
> Yeah, its cultural-- Americans going bonkers *g,d & r*  it happens 
> everytime a hurricane or foreseable disaster threatens 
>
> Like your freind in S Texas-- because of damned fools running on the 
> groceries-- my family is looking at groceries not being available-- we 
> believe we should have enough and are prepared to go to one meal a day to 
> make it stretch (done ii before in hurricane aftermaths)
>

-- 
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/f0c3de1a-28c0-4f2e-a562-74a1d9704720%40googlegroups.com.


[tw5] Re: Tiddlywiki and Coronavirus

2020-03-16 Thread TiddlyTweeter
Ciao Donald

Its great get a response from someone who works in healthcare & KNOWS 
pattern.

My general stupid idea as Joe Average is that properly supporting 
healthcare matters the most.

Obviously an issue is infection in medical staff who are most exposed. But 
who also most well equipped to grasp precautions and recognise they might 
need to isolate. 

Italy, in the North, has, unfortunately, given a somewhat misleading image 
on death rate. Simply because we have a very large aged vulnerable 
population.

The average death rate overall is factors below Italy.

TT

On Monday, 16 March 2020 04:23:16 UTC+1, Donald Coates wrote:
>
> Thank you very much for this it validates what I was thinking.  Here is a 
> FB post I wrote:
>
> A Realistic Perspective.
>
> The problem, as usual, is that both sides contain an element of truth. If 
> you're reading this and don't work in healthcare or are not consistently 
> using its services, you have little or nothing to panic about on a personal 
> level. All the closings are being done to prevent the spread of infection - 
> necessary supply chains are necessary - they are not going to be broken and 
> you will continue to have access to toilet paper and food.
>
> However. For this situation classify every person by how often they are 
> admitted to the hospital in a year. The majority of people involved in 
> necessary supply chains are on the same level as you and me - their number 
> is miniscule - they've been admitted into the hospital from never to a few 
> times in their entire lifespan. Covid is not going to change that.
> Now we get to the 1 through 5's - people that are admitted 1 to 5 times a 
> year. Most years these people cycle through the hospital at different times 
> through the year and we can handle it. 
> It is highly likely that soon a lot of the 3-5's are all going to be sick 
> enough to be admitted within a very short time span, and soon after that a 
> lot of the 1-2's. Those 1-5's, their families, and the people like me that 
> care for them are all going to be experiencing - well I don't want to try 
> and describe it because I'm basically in tears reading about the people 
> abroad that are already going through this.
> The only way it is going to seriously affect anyone that is less than a 1 
> is if you do get sick from Covid and need to be evaluated, or if you have 
> an experience that requires emergency intervention - the chances of which 
> remain the same as they have always been. In that case the health care 
> infrastructure that exists to take care of you will be severely strained. 
> Yes that is scary but not that much more scary than the constant fact that 
> it may happen in the first place.
>
> Most likely you'll be watching this from afar which is how it should be. 
> Stop freaking out over toilet paper and food and just get ready to support 
> the people that are going to be neck deep in this shit storm. The only way 
> we get through it is together.
>
>
>> Meanwhile herein in Northern Italy, current centre of the virus in 
>> Europe, there is no panic buying at all I have seen & I have had no 
>> problems yet buying anything. Its a pretty relaxed atmosphere. Bit of 
>> frustration, yes. Bit weird meeting people in masks. But today, Sunday 
>> morning, people walked their dogs as usual.
>>
>> TT
>>
>>

-- 
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/8fbfbf54-5e80-494d-9455-882a4886ade3%40googlegroups.com.


[tw5] Re: Tiddlywiki and Coronavirus

2020-03-16 Thread A Gloom

>
> But I see in news reports that both parts of USA & parts of OZ went 
> bonkers.
> Those cultural DIFFERENCES are interesting.
>

Yeah, its cultural-- Americans going bonkers *g,d & r*  it happens 
everytime a hurricane or foreseable disaster threatens 

Like your freind in S Texas-- because of damned fools running on the 
groceries-- my family is looking at groceries not being available-- we 
believe we should have enough and are prepared to go to one meal a day to 
make it stretch (done ii before in hurricane aftermaths)

-- 
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/13527763-8675-423c-be2e-80d4f8b59a6f%40googlegroups.com.


[tw5] Re: Announcing new "Menu Bar" plugin

2020-03-16 Thread A Gloom
an interim idea-- I did a topbar hide/eveal based off the sidebar 
hise/reveal

my video isn't close to ready, so a screenshot will have to do (2 
screenshots in one actually-- top- topbar revealed, lower-- hidden, the 3rd 
icon from right side-- chevron-down/up controls it)

[image: topbarhidrev.jpg]

-- 
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/57126016-cffd-45ac-9e0e-144ec33acce5%40googlegroups.com.


[tw5] Re: Tiddlywiki and Coronavirus

2020-03-16 Thread TiddlyTweeter
TonyM wrote:
>
> ... I see the social epidemic, panic buying and other irrational 
> behaviours as a symptom of societies who have lost track of seeking 
> evidenced based information and their minds weakened by accepting Woo, alt 
> medicine, 
>

Dunno. Much more likely just a broader culture specific thing of 
long-standing in the cultures affected with panic, nothing to do with 
"alternatives". FWIW in Italy, where I live in the maelstrom I just went 
shopping. There are no shortages or panic buying. 

But I see in news reports the both parts of USA & parts of OZ went bonkers.

Those cultural DIFFERENCES are interesting.

TT


-- 
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/602858f8-360e-4c64-b05e-9d62177e6291%40googlegroups.com.


[tw5] Re: Tiddlywiki and Coronavirus

2020-03-16 Thread TiddlyTweeter
Ciao Mark & TonyM

Both of you make Good points but also, maybe, miss some things ...

1 - how do you know that infected people wear masks? Most of them don't 
likely know themselves they have it. See the Korean case of Patient31 ... 
https://graphics.reuters.com/CHINA-HEALTH-SOUTHKOREA-CLUSTERS/0100B5G33SB/index.html

2 - when you go shopping are you happy the cash till operator is unmasked 
given they see more people than you would?
. Here in Italy cash till operators wear the close fitting N95 type 
mask. For both their own protection and customer re-assurance.
. Is that merely psychological? I don't think so.

Your context is maybe societies with low transmission. Mine is not that. We 
trying to get the genie back in the bottled.

Just thoughts
TT

On Monday, 16 March 2020 01:04:35 UTC+1, TonyM wrote:
>
> Mark,
>
> As you say
>
>
>> It's effective if sick people are wearing them -- not well people.
>>
>
> And those in contact with the vulnerable especially health professionals.  
>

-- 
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/eaadcd15-5a0c-4ccb-b78a-1ccc4026e6ae%40googlegroups.com.


[tw5] Re: Question about: Printing in Tiddlywiki

2020-03-16 Thread TiddlyTweeter
I agree.

Of proposed enhancements over time this is one of the nicest. It extends TW 
function in a way relevant to much common use. High relevance!

Best wishes
TT

On Monday, 16 March 2020 07:53:40 UTC+1, Mohammad wrote:
>
> *Reminder:*
>
>  PrintRiver plugin is a great plugin lets produce customized PDFs, hard 
> copies, and even other final formats.
>  *BTC* proposed to add this to core, if not I propose to publish it as an 
> official plugin and to do this I needs some more polishing!
>
> This is to remind *BTC *and *Jeremy *and also *everybody *in favor of 
> this to support the idea here or at GitHuB: 
> https://github.com/Jermolene/TiddlyWiki5/issues/4352 
> 
>
> --Mohammad
>
>
>
> On Monday, October 28, 2019 at 5:09:38 PM UTC+3:30, Mohammad wrote:
>>
>> While TW encourages to do not print and remain green and EnviroFriend 
>> (don't waste papers!!)
>> But there are situations where you have to print or create a single PDF 
>> from a tiddler or a river of tiddlers!
>> It seems TW is not very user friendly in such a case!
>>
>> *Question:*
>>  I have created a tiddler using a custom class (say notebook) and when I 
>> want to print, in the preview I see different margins, padding not easy to 
>> modify or difficult
>> for TW user to write or modify a CSS.
>>
>> For example see the below tiddler
>>
>> http://tw5-print.tiddlyspot.com/#Homework%3A%20Simpson%20Integration
>>
>> I had to write a stylesheet for printing as below
>> http://tw5-print.tiddlyspot.com/#stylesheet%2Fnotebook
>>
>> I would like to have your advise if my CSS is correct or there is 
>> something easier to control printing!
>>
>>
>> *Footnote:*
>> I have created a tiddlyspot page as a playground for printing in TW. So 
>> the whole story ca be fond at
>> http://tw5-print.tiddlyspot.com/#
>>
>>
>> References
>> Mohammad  28th October 2019 
>> at 5:08pm
>> PluginsPrintriverhttp://printriver.tiddlyspot.com/
>> DiscussionView and Print tiddlers with page handling - help requested
>> https://groups.google.com/d/msg/tiddlywiki/SthCKBaE0c0/tr7PrKjXDwAJBasic 
>> question - how do you print a tiddler?
>> https://groups.google.com/d/msg/tiddlywiki/SYGksSEeNTA/-75B6u1EAwAJ
>>
>>
>> Mohammad
>>
>

-- 
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/21c8bbe2-236a-45b1-921d-b8b053398641%40googlegroups.com.


[tw5] Re: More button foolery (borders & aufio)

2020-03-16 Thread Birthe C
K.A.O.S Center and the Technical Support. I can tell from the ears that 
support is all ready to listen. All charming. I smiled and laughed.
I enjoyed it very much.

Your idea of having music in the sidebar is good, I would not want it for 
my daily wiki though ;-)
It might be an idea for the wiki I am putting together for my friend, who 
always fall asleep when checking his diary and plans, a little wake up 
surprise maybe.


Birthe

-- 
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/af8ff580-eddf-4f34-ab03-b1a37e404c8f%40googlegroups.com.


[tw5] Re: More button foolery (borders & aufio)

2020-03-16 Thread A Gloom
http://pyewackit.net/kaos/bond1.jpg

Mr. Underfoot here.  KAOS operative extraordaire, speaking on behalf of the 
mad coding lab of WikiWitchery, to bring the Next Big Thing-- the biggest 
thing since the last big thing...

Musical ToC's...

Yes you too can have music in your sidebar ToC tabs-- just throw an audio 
html element in the caption tab of a tiddler-- tho it may not be wise to do 
at home << >> -- it will play whenever you click on that sidebar tab and 
the ToC is expanded for it to show-- a html5 audio control if controls 
attribute is used in the audio element, or a blank line if controls is 
omitted.  Autoplay attribute has to be used for the audio to play 
automatically. 

That's not all! This trick-- or variants of this trick-- allows for musical 
menus, tabs, buttons... and with the music-- we'll include images and 
animated svg's too (see topbar menu in screendhot-- 1 png, 2 animated svg's)

[image: tocmusic.jpg]


A disco in your wiki!1! falls out of chair laughing.

http://pyewackit.net/kaos/smuseat2.jpg

Mr Underfoot (Smudge, in memorium) courtesy of Kittens Against Organization 
& Sanity pyewackit.net/kaos All Noms 

-- 
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/1beb0572-77ea-4174-88e6-1de739c703c3%40googlegroups.com.


[tw5] Re: Disable drop zone

2020-03-16 Thread Mohammad
added to TW-Scripts

Hi Eric,
  This is really amazing! A nice bookmark creator by drag and drop links 
for example from a web page or Google search result.
  This specially works nice when the Page dropzone is disabled.

Cheers
Mohammad

On Monday, March 16, 2020 at 12:42:39 PM UTC+3:30, Eric Shulman wrote:
>
> On Monday, March 16, 2020 at 12:52:59 AM UTC-7, Mohammad wrote:
>>
>>
>> This is a nice idea! I will look how we can have customized drop zone! 
>> Like dragging a link from other browser tab, one can quickly create a 
>> bookmark to that page/link somehow a tiddlyclip effect.
>>
>
> The <$dropzone> widget is intended for triggering an "import" handler.  As 
> noted in the documentation:
>
> *It sends a WidgetMessage: tm-import-tiddlers carrying a JSON 
> representation of the tiddlers to be imported up through its parents.*
>
> To implement general purpose drag-and-drop handling, use the <$droppable> 
> widget.
>
> When something is dropped onto the <$droppable> widget, it automatically 
> sets the <> variable to contain the value of what was 
> dropped.  While this is typically used to handle dropping of tiddler titles 
> within a TW document it also works if you drag a link or text from any 
> non-TW browser tab.  The result is that the <> value will be 
> the link (or text) that was dragged from the other browser tab.  It is then 
> up to you to define the desired actions="..." parameter for the 
> <$droppable> widget to do what you want with the <> value 
> you receive.  Thus, something like this might be used to create a new 
> "bookmark" tiddler containing a dropped link:
>
> \define make_bookmark() <$action-createtiddler $basetitle="Bookmark" text
> =<> />
> <$droppable actions=<>> DROP HERE 
>
> enjoy,
> -e
>
>

-- 
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/433e384c-57da-4b69-9456-c7078c2cea73%40googlegroups.com.


[tw5] Re: Disable drop zone

2020-03-16 Thread Eric Shulman
On Monday, March 16, 2020 at 12:52:59 AM UTC-7, Mohammad wrote:
>
>
> This is a nice idea! I will look how we can have customized drop zone! 
> Like dragging a link from other browser tab, one can quickly create a 
> bookmark to that page/link somehow a tiddlyclip effect.
>

The <$dropzone> widget is intended for triggering an "import" handler.  As 
noted in the documentation:

*It sends a WidgetMessage: tm-import-tiddlers carrying a JSON 
representation of the tiddlers to be imported up through its parents.*

To implement general purpose drag-and-drop handling, use the <$droppable> 
widget.

When something is dropped onto the <$droppable> widget, it automatically 
sets the <> variable to contain the value of what was 
dropped.  While this is typically used to handle dropping of tiddler titles 
within a TW document it also works if you drag a link or text from any 
non-TW browser tab.  The result is that the <> value will be 
the link (or text) that was dragged from the other browser tab.  It is then 
up to you to define the desired actions="..." parameter for the 
<$droppable> widget to do what you want with the <> value 
you receive.  Thus, something like this might be used to create a new 
"bookmark" tiddler containing a dropped link:

\define make_bookmark() <$action-createtiddler $basetitle="Bookmark" text=<<
actionTiddler>> />
<$droppable actions=<>> DROP HERE 

enjoy,
-e

-- 
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/1e33201a-a66e-4bc4-b6c8-e3b1edc1cb6d%40googlegroups.com.


[tw5] Re: Announcing new "Menu Bar" plugin

2020-03-16 Thread Mohammad
Hi Jeremy,

 With the current top menubar, the print page does shows the top menu bar 
in every page!
I do not recommend to resolve this issue on its own. This will make an 
organic growth of Tiddlywiki which seems not good!

I have commented here https://github.com/Jermolene/TiddlyWiki5/issues/4352

Also consider the new proposal by yourself on page layout!

I think both page layout and CSS needs an overhaul to consider all of these!

--Mohammad

-- 
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/12e97c1f-ce23-4b83-812f-ad1f92e38ac4%40googlegroups.com.


[tw5] Re: Triple curly braces and templates - tip

2020-03-16 Thread Mohammad
Added to TW-Scripts

Very nice tip!

If you have a look at TW-Utility, I have developed custom transclusion and 
I use them in TW-Scripts alot
See https://kookma.github.io/TW-Utility/#demo%2Ftransclusion-macro

--Mohammad

On Monday, March 16, 2020 at 7:25:54 AM UTC+3:30, TonyM wrote:
>
> Folks,
>
> I was looking through tiddlywiki to find how it does things because if you 
> are left on a desert island or isolated with corona virus and no internet, 
> tiddlywiki is in some ways its own documentation. I came across this in the 
> tiddler $:/core/templates/exporters/TidFile which piqued my interest.
>
> \define renderContent()
> {{{ $(exportFilter)$ +[limit[1]] ||$:/core/templates/tid-tiddler}}}
> \end
> \import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro
> ]!has[draft.of]]
> <>
>
> Already I often use the triple curly braces to get a quick filter result
>
> {{{ [all[]prefix[New Tiddler]] }}}
>
> Observe how the triple curly braces not only evaluates a filter but then 
> displays the result via a template?
>
> This is "documented" here 
> https://tiddlywiki.com/#Transclusion%20in%20WikiText but it is easy to 
> miss.
>
> {{{ [all[]prefix[New Tiddler]]||$:/core/ui/ListItemTemplate}}}
>
> For example the above uses the existing list item template to render the 
> list resulting from the filter, but it is no different to the default
>
> $:/core/ui/ListItemTemplate
> 
> <$link to={{!!title}}>
> <$view field="title"/>
> 
> 
>
> You can see how this template is quite simple;;
> And lets edit it to include the description
>
> Tiddlername Description
> 
> <$link to={{!!title}}>
> <$view field="title"/>: {{!!description}}
> 
> 
>
> Now you can use
> {{{ [all[]prefix[New Tiddler]]||Description}}}
>
> To list everything in the filter and its description if it exists.
>
> Or make the template DescriptionRow
> <$link/>{{!!description}}
>
> And use
> 
> NameDescription
> {{{ [all[]prefix[New Tiddler]] ||DescriptionRow}}}
> 
>
> The possibilities abound.
> have fun
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b768c136-6d65-4acf-a296-551054f2612c%40googlegroups.com.


Re: [tw5] Opps! Sidebar in the Topbar

2020-03-16 Thread A Gloom
Good idea, I’ve added an optional sidebar dropdown. There’s some messy 
undoing of the existing CSS rules to make things usable

Cool, probably be good for narrow screens?  (Avoid the usual sidebar taking 
oner the top of the storyriver and moving any opened tiddler out of view)

Messy-- that describes my coding experiments too well : D

-- 
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/ac354672-e3fc-4e2f-9abe-fa59adb3f57e%40googlegroups.com.


[tw5] Re: Disable drop zone

2020-03-16 Thread Mohammad


On Monday, March 16, 2020 at 4:11:32 AM UTC+3:30, TonyM wrote:
>
> Mohammad,
>
> Just some inspiration
>
> Some of your nice buttons, cards and boxes in Shiraz could be used to 
> display a drop zone that bypasses the default one and potentially treats 
> the payload differently. Currently I drop links on a wiki which creates an 
> untitled tiddler, which I have to open and configure as a link tiddler, 
> however custom dropzones would be a nice addition, even one for the default 
> drop if desired so it is less temperamental.
>

This is a nice idea! I will look how we can have customized drop zone! Like 
dragging a link from other browser tab, one can quickly create a bookmark 
to that page/link somehow a tiddlyclip effect.
 

>
> One trick I use is if the text field has the prefix[http://] or 
> prefix[https://] then it is most likely a link. Arguably we could start a 
> tiddler with \define trigger-macroname() and test for this prefix as an in 
> text way to trigger a view template etc...
>
> Regards
> Tony
>
> On Sunday, March 15, 2020 at 9:32:23 PM UTC+11, Mohammad wrote:
>>
>> Is there any settings to disable dropzone?
>>
>> Consider you have created a Tiddlywiki and hide most UI elements to 
>> prevent readers from any change!
>> Still drag and drop works! How one can simply disable drag and drop 
>> feature of TW temporary?
>>
>

-- 
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/b4fd8d27-615e-4a4a-b167-3f0545d75912%40googlegroups.com.


Re: [tw5] Disable drop zone

2020-03-16 Thread Mohammad
Hi Jeremy,
 That is wonderful. Works like a charm. A million thanks.
I have minor comment, I will put on the GitHub

By the way, I have developed an Admin feature in TW-Utility plugin uses a 
shortcut combination alt+ctl+L 
to switch between admin-read-only mode and now it works great.

I soon announce TW-Utility with this new feature.

--Mohammad

On Monday, March 16, 2020 at 12:20:19 AM UTC+3:30, Jeremy Ruston wrote:
>
> Hi Mohammad
>
> I’ve been meaning to do something about that, and have now added a hidden 
> setting to disable the dropzone:
>
>
> https://github.com/Jermolene/TiddlyWiki5/commit/bc687e57834efa312cca126af222613ef241c585
>
> There are docs here:
>
>
> https://tiddlywiki.com/prerelease/#Hidden%20Setting%3A%20Disable%20Page%20Dropzone
>  
> 
>
> Best wishes
>
> Jeremy.
>
> On 15 Mar 2020, at 10:32, Mohammad > 
> wrote:
>
> Is there any settings to disable dropzone?
>
> Consider you have created a Tiddlywiki and hide most UI elements to 
> prevent readers from any change!
> Still drag and drop works! How one can simply disable drag and drop 
> feature of TW temporary?
>
> -- 
> 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 tiddl...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/51c39046-28db-4b70-b119-6cfdcbad1307%40googlegroups.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/39e5a74d-3bec-4251-a4eb-419d3487101f%40googlegroups.com.


[tw5] Re: Question about: Printing in Tiddlywiki

2020-03-16 Thread Mohammad
*Reminder:*

 PrintRiver plugin is a great plugin lets produce customized PDFs, hard 
copies, and even other final formats.
 *BTC* proposed to add this to core, if not I propose to publish it as an 
official plugin and to do this I needs some more polishing!

This is to remind *BTC *and *Jeremy *and also *everybody *in favor of this 
to support the idea here or at GitHuB: 
https://github.com/Jermolene/TiddlyWiki5/issues/4352

--Mohammad



On Monday, October 28, 2019 at 5:09:38 PM UTC+3:30, Mohammad wrote:
>
> While TW encourages to do not print and remain green and EnviroFriend 
> (don't waste papers!!)
> But there are situations where you have to print or create a single PDF 
> from a tiddler or a river of tiddlers!
> It seems TW is not very user friendly in such a case!
>
> *Question:*
>  I have created a tiddler using a custom class (say notebook) and when I 
> want to print, in the preview I see different margins, padding not easy to 
> modify or difficult
> for TW user to write or modify a CSS.
>
> For example see the below tiddler
>
> http://tw5-print.tiddlyspot.com/#Homework%3A%20Simpson%20Integration
>
> I had to write a stylesheet for printing as below
> http://tw5-print.tiddlyspot.com/#stylesheet%2Fnotebook
>
> I would like to have your advise if my CSS is correct or there is 
> something easier to control printing!
>
>
> *Footnote:*
> I have created a tiddlyspot page as a playground for printing in TW. So 
> the whole story ca be fond at
> http://tw5-print.tiddlyspot.com/#
>
>
> References
> Mohammad  28th October 2019 at 
> 5:08pm
> PluginsPrintriverhttp://printriver.tiddlyspot.com/
> DiscussionView and Print tiddlers with page handling - help requested
> https://groups.google.com/d/msg/tiddlywiki/SthCKBaE0c0/tr7PrKjXDwAJBasic 
> question - how do you print a tiddler?
> https://groups.google.com/d/msg/tiddlywiki/SYGksSEeNTA/-75B6u1EAwAJ
>
>
> Mohammad
>

-- 
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/87093e80-b84c-401d-8d0c-c3643d8e8223%40googlegroups.com.


Re: [tw5] Announcing new "Menu Bar" plugin

2020-03-16 Thread A Gloom
Hello Jeremy

 

> The menu bar plugin disables the two core tiddlers that display the top 
> left bar and the top right bar because the core CSS clashes with the menu 
> bar, and the elements themselves are not in the right place in the DOM tree 
> to be part of the menu bar. So instead, there are two optional buttons that 
> contain the buttons from the top left and top right bars.
>

Understood, so I will want this improvement-- I saw the legacy selection 
for righttopbar but didn't see one for left-- but unless I double, triple 
quadepal check things I can easily miss something-- I shall look again.
 

> Thus, if you add the menubar plugin to a wiki that already uses top left 
> bar or top right bar buttons, then you’ll just need to enable those buttons 
> in control button so that they are displayed within the menu bar instead.
>
> Most excellent, appears you fore-planned this implementation : )  Will it 
be part of 5.1.22 or a separate plugin?

 

>
>

-- 
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/566db2e0-9cb8-4331-822c-602c933af17a%40googlegroups.com.


[tw5] Re: Tiddlywiki edition (app): Building TW-Docs for creating a linear manual/tutorial/course-note/booklet

2020-03-16 Thread Mohammad
Thanks Tony!

On Monday, March 16, 2020 at 4:22:38 AM UTC+3:30, TonyM wrote:
>
> Mohammad,
>
> I am not exactly sure what you are missing but for my client I built a 
> solution that produces a visible "report" that also uses 
> etc... in tables and @media print css sutch that once they 
> review the report they can open in new window and print or save to PDF. The 
> PDF printer driver does the work and there are some issues to watch. For 
> example sometimes I need to scale the page in the print preview to get the 
> desired result.
>

In my opinion PrintRiver by BTC does part of the job. It needs improvement 
to lets have something like Wikipedia book creator: 
https://en.wikipedia.org/wiki/Help:Books 

>
> To complement the use of interactive tables I have also generated a csv 
> version of the same details and with a click the result is copied to the 
> clipboard, perhaps there is a way to make a button wikify a non visible 
> tiddler (PDF template) and send it to the printer?
>
> On the standard search this is defined to suit new users but more and more 
> we see custom or modified searches, what in your tiddlywiki can you not 
> search for?
>
I mean when TW-Docs is used by people not familiar with Tiddlywiki, they 
expect the full content search and current search is different. By the way 
I am trying to use informative keywords in caption and perhaps another 
field and customize search to look at those fields.

>
> Regards
> Tony
>
> On Sunday, March 15, 2020 at 7:06:54 AM UTC+11, Mohammad wrote:
>>
>> Sphinex with Read the Docs is one of the most common online app for 
>> making software tutorial and manuals.
>> As an example see the docs for Highlight.js at
>> https://highlightjs.readthedocs.io/en/latest/index.html
>> See alternatives at the bottom of this post.
>>
>> I am trying to create TW-Docs app using Tiddlywiki + JD Material theme + 
>> JD font-size + some of Kookma plugins (like Shiraz + TOC+Hierarchical 
>> navigation + Utility + Favorites) + Comments plugin (not sure on this)
>>
>> I did most part of the job but there is few things to be resolved before 
>> publishing:
>>
>> 1- On the footer of sidebar there is a button *v-latest*. It lets you to 
>> download the whole manual using PDF/HtmlZip/Epub
>> TW saves as a single .html the whole manual but how about exporting the 
>> book (manual) as PDF or epub? (I know printRiver from BTC: difficult to 
>> make the book in PDF, needs alot of manual work)
>>
>> 2- The search seems more powerful than Tiddlywiki standard search
>>
>> It seems Read the Docs is a multi-user app, but I am not going to have 
>> TW-Docs a multi user app.
>>
>> I appreciate to share ideas and solutions.
>>
>> -- Mohammad
>>
>> Ps: Alternatives to Read the Docs
>>
>>1. https://alternativeto.net/software/read-the-docs/?license=free
>>2. https://www.gitbook.com/
>>3. https://skydocs.skyost.eu/en/index.html
>>
>>

-- 
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/18396e3d-5834-4883-8ffe-96a19e1dd27e%40googlegroups.com.


[tw5] Re: Tiddlywiki and Coronavirus

2020-03-16 Thread A Gloom

>
> One thing I did look at was reusable "home made" masks. Partly because 
> Mohammad mentioned masks are in short supply in Iran. 
> IF you make them the right way they can work almost as well high grade 
> surgical masks. But a Problem is most net sources don't provide enough 
> detail to be sure you are making or using them well.
>
 
that's cause those sources are from individuals (as opposed to commercial 
or institutional)

Also the is NO point wearing a mask if you don't, when you come home either 
> destroy or disinfect it and the rest of yourself. This is hardly mentioned 
> anywhere!
>

very good point, i hadn't thought of it till you mentioned-- but I do it 
habitually when I come back from the VA hospital (and before that-- when I 
worked I left my gear, jacket, boots in the garage and went straight to the 
shower after getting home from woek) so I don't think much of it.  It's 
been long enough since but I regularly had screening for TB, HIV, Hepatitis 
due to possible exposure at work.
 

> I may write about this in a TW. I just wonder how you'd ever get it 
> noticed in a swamp of half-information
>

Definitely do it, it will also help in combating the anxiety-- as for the 
question, that is an age old question of the Internat that like the meaning 
of Life may never be answered to my satisfaction 

-- 
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/ebc41a9c-2910-4597-a56c-376560d6489c%40googlegroups.com.