[tw5] Re: [tw] Re: TW WebDAV Failing Status 412 - but not curl

2024-03-21 Thread Rick Nyman
Resurrecting an old thread, but this solved the same issue for me, so thank 
you!

Rick

On Wednesday, April 4, 2018 at 4:56:10 PM UTC-4 Kevin Kleinfelter wrote:

> Thanks for the replies.  Now that I know that's just how it works, I 
> decided to hack the code and
> change
> if(this.etag) {\n\t\theaders[\If-Match
> to
> if(false) {\n\t\theaders[\If-Match
>
> I'll lose race-condition prevention, but it's a single-user wiki and I 
> prioritize low-friction use in this case.
>
>

-- 
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/94f3597d-1c38-40b5-8adc-7ce4768a6d0cn%40googlegroups.com.


[tw5] Re: Suggestions to use TW for Weight-Loss

2024-02-11 Thread Télumire
I'm making a "health journal" :  Health Journal — Taking care of yourself 
one day at a time (tiddlyhost.com) <https://health-journal.tiddlyhost.com/> 

You can track your weight with it and it will display a small svg graph 
showing your progress. There is also a BMI calculator and other kind of 
calculators. For now I put the dev on hold, but it's usable
On Sunday 4 February 2024 at 17:32:21 UTC+1 Valdus Constante wrote:

> Just as the title says, I am looking for a way or an extension to use TW 
> to help me lose weight. 
>
> 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/7e31d64b-c2f5-4099-88fd-894fb1b065d3n%40googlegroups.com.


[tw5] Re: Suggestions to use TW for Weight-Loss

2024-02-10 Thread 'Mark S.' via TiddlyWiki
I used carbocommander to track calories, carbs, fiber:  
https://carbocommander.tiddlyhost.com/
But you might be looking for something more intensive.
As mentioned above, you'll get more responses at talk.tiddlywiki.org .
On Sunday, February 4, 2024 at 10:01:08 AM UTC-8 springer wrote:

> Hello Valdus!
>
> You'll find much more active discussion over at the discourse forum, which 
> is the current official community discussion location. 
>
> Although there's no thread specifically on weight loss, there are folks 
> who have discussed working with TiddlyWiki for medical information 
> tracking, and habit tracking:
>
> https://talk.tiddlywiki.org/t/phr-personal-health-record-example/1610/8
>
> https://talk.tiddlywiki.org/t/habit-tracker-in-tw/4003
>
> If those threads don't give you a good starting-point, you can certainly 
> post your questions there, with better likelihood of getting responses.
>
> -Springer
>
> On Sunday, February 4, 2024 at 11:32:21 AM UTC-5 Valdus Constante wrote:
>
>> Just as the title says, I am looking for a way or an extension to use TW 
>> to help me lose weight. 
>>
>> 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/54367f6c-53f5-48f1-9cd1-5c8750380b3fn%40googlegroups.com.


[tw5] Re: Suggestions to use TW for Weight-Loss

2024-02-04 Thread springer
Hello Valdus!

You'll find much more active discussion over at the discourse forum, which 
is the current official community discussion location. 

Although there's no thread specifically on weight loss, there are folks who 
have discussed working with TiddlyWiki for medical information tracking, 
and habit tracking:

https://talk.tiddlywiki.org/t/phr-personal-health-record-example/1610/8

https://talk.tiddlywiki.org/t/habit-tracker-in-tw/4003

If those threads don't give you a good starting-point, you can certainly 
post your questions there, with better likelihood of getting responses.

-Springer

On Sunday, February 4, 2024 at 11:32:21 AM UTC-5 Valdus Constante wrote:

> Just as the title says, I am looking for a way or an extension to use TW 
> to help me lose weight. 
>
> 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/730e5c4b-1369-48aa-b7b9-736b75d8d363n%40googlegroups.com.


[tw5] Suggestions to use TW for Weight-Loss

2024-02-04 Thread Valdus Constante
Just as the title says, I am looking for a way or an extension to use TW to 
help me lose weight. 

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/eb168f52-fab3-4d5f-beea-775d63057739n%40googlegroups.com.


[tw5] Re: Copying TW customization and configuration

2024-01-29 Thread scott....@gmail.com
I copied this to a talk.tiddlywiki discussion 
at 
https://talk.tiddlywiki.org/t/copying-tw-customization-and-configuration/9009.

Let's move the conversation over there.

On Monday, January 29, 2024 at 2:58:41 PM UTC-5 duche...@gmail.com wrote:

> Thank you Scott, and feel free to move this discussion to  
> https://talk.tiddlywiki.org if it's better there.
>
> Here is what I did:
>
>1. Converted my nodejs wiki to a single file; (I tried the two methods 
>shown at 
>
> https://tiddlywiki.com/static/Generating%2520Static%2520Sites%2520with%2520TiddlyWiki.html).
>  
> 
>2. Converted this single file to 5.3.3 using 
>https://tiddlywiki.com/upgrade.
>3. Loaded the upgrade file into my new 5.3.3 nodejs Tiddlywiki with: 
>/usr/local/bin/tiddlywiki mywiki --load mywiki/upgrade.html
>
> Everything worked fine but the end result is that my 602 tiddlers are now 
> merged into a single one in my new wiki.  I thought the load process would 
> split the single file into different tiddlers but this is not the case.  
>
> Am I doing something wrong or impossible?
>
> Thank again.
>
> Normand.
>
> Le dimanche 28 janvier 2024 à 23:03:05 UTC-5, scott@gmail.com a 
> écrit :
>
>> Note that most of the tiddlywiki discussion these days takes place on 
>> https://talk.tiddlywiki.org.
>>
>> My technique would be to save a copy of your wiki as a single-file wiki, 
>> use the upgrade page at https://tiddlywiki.com/upgrade to create an 
>> updated wiki, and then use the TW-node `--load` to load this into your 
>> existing or (probably safer) a new node wiki. 
>>
>> ```text
>> tiddlywiki path/to/new/wiki --init server
>> tiddlywiki path/to/new/wiki --load path/to/upgrade.htm
>> tiddlywiki path/to/new/wiki --listen port=6789
>> ```
>>
>> On Sunday, January 28, 2024 at 4:23:01 PM UTC-5 Normand Duchesne wrote:
>>
>>> I am running TW 5.2.2. on nodejs and created a new (docker) TW nodes 
>>> service running 5.3.3.  I copied the tiddlers from the original env. to the 
>>> new one without issues but I would like to also copy all the customizations 
>>> I did in the 5.2.2 to the new one.  I searched this group and the web 
>>> unsuccessfully.  Any one could help?
>>>
>>> Thanks.
>>>
>>>
>>> Normand Duchesne
>>> duche...@gmail.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/6f01d639-cb88-44d7-90c1-59f2e28a0272n%40googlegroups.com.


[tw5] Re: Copying TW customization and configuration

2024-01-29 Thread duche...@gmail.com
Thank you Scott, and feel free to move this discussion to  
https://talk.tiddlywiki.org if it's better there.

Here is what I did:

   1. Converted my nodejs wiki to a single file; (I tried the two methods 
   shown at 
   
https://tiddlywiki.com/static/Generating%2520Static%2520Sites%2520with%2520TiddlyWiki.html).
 

   2. Converted this single file to 5.3.3 using 
   https://tiddlywiki.com/upgrade.
   3. Loaded the upgrade file into my new 5.3.3 nodejs Tiddlywiki with: 
   /usr/local/bin/tiddlywiki mywiki --load mywiki/upgrade.html

Everything worked fine but the end result is that my 602 tiddlers are now 
merged into a single one in my new wiki.  I thought the load process would 
split the single file into different tiddlers but this is not the case.  

Am I doing something wrong or impossible?

Thank again.

Normand.

Le dimanche 28 janvier 2024 à 23:03:05 UTC-5, scott@gmail.com a écrit :

> Note that most of the tiddlywiki discussion these days takes place on 
> https://talk.tiddlywiki.org.
>
> My technique would be to save a copy of your wiki as a single-file wiki, 
> use the upgrade page at https://tiddlywiki.com/upgrade to create an 
> updated wiki, and then use the TW-node `--load` to load this into your 
> existing or (probably safer) a new node wiki. 
>
> ```text
> tiddlywiki path/to/new/wiki --init server
> tiddlywiki path/to/new/wiki --load path/to/upgrade.htm
> tiddlywiki path/to/new/wiki --listen port=6789
> ```
>
> On Sunday, January 28, 2024 at 4:23:01 PM UTC-5 Normand Duchesne wrote:
>
>> I am running TW 5.2.2. on nodejs and created a new (docker) TW nodes 
>> service running 5.3.3.  I copied the tiddlers from the original env. to the 
>> new one without issues but I would like to also copy all the customizations 
>> I did in the 5.2.2 to the new one.  I searched this group and the web 
>> unsuccessfully.  Any one could help?
>>
>> Thanks.
>>
>>
>> Normand Duchesne
>> duche...@gmail.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/5f1dca1f-332f-4743-93ec-2437bf7c449an%40googlegroups.com.


[tw5] Re: Copying TW customization and configuration

2024-01-28 Thread scott....@gmail.com
Note that most of the tiddlywiki discussion these days takes place on 
https://talk.tiddlywiki.org.

My technique would be to save a copy of your wiki as a single-file wiki, 
use the upgrade page at https://tiddlywiki.com/upgrade to create an updated 
wiki, and then use the TW-node `--load` to load this into your existing or 
(probably safer) a new node wiki. 

```text
tiddlywiki path/to/new/wiki --init server
tiddlywiki path/to/new/wiki --load path/to/upgrade.htm
tiddlywiki path/to/new/wiki --listen port=6789
```

On Sunday, January 28, 2024 at 4:23:01 PM UTC-5 Normand Duchesne wrote:

> I am running TW 5.2.2. on nodejs and created a new (docker) TW nodes 
> service running 5.3.3.  I copied the tiddlers from the original env. to the 
> new one without issues but I would like to also copy all the customizations 
> I did in the 5.2.2 to the new one.  I searched this group and the web 
> unsuccessfully.  Any one could help?
>
> Thanks.
>
>
> Normand Duchesne
> duche...@gmail.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/b5d95255-1c2e-4a19-a7a5-5d65b5e60702n%40googlegroups.com.


[tw5] Copying TW customization and configuration

2024-01-28 Thread Normand Duchesne
I am running TW 5.2.2. on nodejs and created a new (docker) TW nodes service 
running 5.3.3.  I copied the tiddlers from the original env. to the new one 
without issues but I would like to also copy all the customizations I did in 
the 5.2.2 to the new one.  I searched this group and the web unsuccessfully.  
Any one could help?

Thanks.


Normand Duchesne
duchesn...@gmail.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/71810F5E-B991-472D-8D59-6711DF653129%40gmail.com.


[tw5] Re: [tw] [TW5] Markdown as default for New Tiddler

2024-01-25 Thread Rahul Kashyap
Dear All,

The new Markdown button is very useful but, *it doesn't solve the problem 
when we use excise button to transclude text from a markdown file, in that 
case newly created tiddlers are not markdown type. How do you enable that?*


*-Rahul*
On Thursday, December 18, 2014 at 12:39:13 PM UTC-5 Tobias Beer wrote:

> Hi Felix,
>  
>
>> I have to say tb5 is a great alternative tiddlywiki documentation! I 
>> didn't know it exists :)
>> Clean layout + structure and easy to understand.
>>
>
> Thanks Felix, positive feedback is always appreciated.
>
> Please, (I) don't see it as some sort of alternative, though. :)
>
> For now, it's simply "just" my notebook of things I learned along the 
> way...
> presented in a way that is perhaps easy to consume for others as well.
>
> Best wishes, Tobias.
>

-- 
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/f768be44-1e03-41b1-ae23-c3539ff571efn%40googlegroups.com.


[tw5] How easy is it to create a sprite editor in TW?

2023-05-21 Thread Charlie Veniot
Ridiculously easy.

(Leading and trailing triple backticks to make the code below viewable at 
TalkTiddlyWiki)

```


.bu {width:3em;height:3em;background:white;border:2px dotted 
lightgray;margin-right:-6px;font-weight:bold;}
.bu:hover {border:2px solid black;}}


<$checkbox field="grid" checked="yes" unchecked="no" default="yes"> Show 
Grid

<$list variable="r" filter="[range[1],[8]]">
  <$list variable="c" filter="[range[1],[8]]">
<$let cell={{{ [[cell]addsuffix[.]addsuffixaddsuffix[.]addsuffix] 
}}}
  cell_val={{{ [getelse[.]] }}}>
  <$button
class="bu"
style={{{ 
[match[X]then[background:gray;]else[color:white;]] 
 [get[grid]else[yes]match[no]then[border:none;]] +[join[]] 
}}}>
  <$action-setfield
 $field=<>
 $value={{{ [match[.]then[X]else[.]] }}}/>
  <>
  

  
  



```

-- 
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/e67f4dae-6295-4885-a6bc-13e4de298acen%40googlegroups.com.


[tw5] Re: TW Gadget: Tiddler Editor Text Resizer

2023-05-19 Thread Scott Sauyet
Charlie Veniot wrote:
>  Done.  Plus a "reset" button.

I created a version of this that scales logarithmically from 30% to 400%.  
It feels smoother and more useful to me.

GigantiCorp doesn't allow me to upload attachments to Google Groups.  I'll 
try to do that from home later, but the changes are straightforward enough:

`Tid Edit Text Resizer CSS`:

```
<$let exponent={{{ [[$:/TidEditResizer/Val]get[text]] }}}>
.tc-edit-texteditor-body {
 font-size:<$text text={{{ 
[[10]powermultiply[100]round[]addsuffix[%]] }}}/>;
 }

```

Here we separate out the exponent that we're going to use, just for 
readability, but it's still fetched from the same  tiddler.  We raise 10 to 
that power, multiply the result by 100, round it to an integer (probably 
not necessary, but looks nicer when the CSS is viewed), append the percent 
sign, and set this as the value for the relevant `font-size`.


`Tid Edit Text Resizer Gadget`:

```

<$range class="tinyrange" tiddler="$:/TidEditResizer/Val" 
min="-0.52287874528" max="0.60205999132" default="0" 
increment="0.03749795788"/>
<$button class="tc-btn-invisible" tooltip="Reset to 100%">
<$action-setfield $tiddler="$:/TidEditResizer/Val" text="0"/>

```

here we change the min, the max, then increment, and the reset value.

`max` is `log(4)`, `min` is `log (.3)`, `increment` is their difference 
divided by `30` steps.  You could always choose a higher number of steps if 
it doesn't seem smooth enough.  And the `setfield` sets it to `0`, which 
will correspond to 100%.

I realize as I type this, that I probably could have just use `log(400)` 
and `log(30)`, skipping the multiplication by `100` and leaving the reset 
at `100`.  Ah well, next time!

-- 
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/fecdd381-5cac-4e26-b03b-a1e14d347af6n%40googlegroups.com.


[tw5] Re: TW Gadget: Tiddler Editor Text Resizer

2023-05-19 Thread
Thanks Eric, that works - nice.

Small hint: The slide is much smoother using this code in the sidebar (as a 
workaround):
``` 

 Schriftgröße (Anzeige):  
<$range tiddler="fontsizeValue" min="14" max="44" default="28" 
increment="1" class="slider"/> 
 
 {{fontsizeValue}}px 
<$button class="tc-btn-invisible" tooltip="Zurücksetzen auf den 
Standardwert">
<$action-setfield $tiddler="fontsizeValue" text="28"/>
 ↺ 
 
``` 

with $:/tags/Stylesheet 

``` 
.tc-tiddler-body.tc-reveal { font-size: {{fontsizeValue}}px; }
``` 

Eric Shulman schrieb am Freitag, 19. Mai 2023 um 11:54:12 UTC+2:

> The TWCore setting `$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize` 
> assumes that it includes the CSS units (e.g., “px”). However, the $range 
> widget only sets a numeric value, thus losing the default “px” suffix.
>
> To work around this, try the following:
> ```
> <$let target="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize">
> <$range tiddler="$:/temp/bodyfontsize" class="slider"
>min="14" max="44" increment="1" default={{{ 
> [get[text]multiply[1]] }}}
>actions="<$action-setfield $tiddler=<> text={{{ 
> [addsuffix[px]] }}}/>"/>
> ```
>
>- Have the $range widget store its result in a temp tiddler (e.g., 
>$:/temp/bodyfontsize)
>- Set the default value to the contents of 
>$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize and multiply by 1 to 
>remove any CSS units suffix while retaining the numeric portion of the 
>current setting value.
>- Add an actions="..." parameter that copies the temp tiddler value to 
>the actual target tiddler while also adding the desired “px” suffix.
>
> In addition, the “reset” button should delete both the temp tiddler and 
> the target tiddler, so the default TWCore shadow is re-applied and is also 
> used as the default value for the $range widget:
> ```
> <$action-deletetiddler $filter="[[$:/temp/bodyfontsize]] []"/>
> ```
> On Friday, May 19, 2023 at 12:49:40 AM UTC-7 S² wrote:
>
>>
>> Hi Charlie,
>> if I do the same for Font size for tiddler body 
>> <https://tiddlywiki.com/#%24%3A%2Fthemes%2Ftiddlywiki%2Fvanilla%2Fmetrics%2Fbodyfontsize>
>>  
>> I'm loosing the suffix "px" when using the slider.
>>
>> 
>>  Schriftgröße (Anzeige):  
>> <$range tiddler="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize" 
>> min="14" max="44" default="20" increment="1" class="slider"/> 
>>  
>>  
>> {{$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize}} 
>>
>> <$button class="tc-btn-invisible" tooltip="Reset">
>> <$action-setfield 
>> $tiddler="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize" 
>> text="20px"/>
>>
>> ''↺''
>> 
>>
>> (Actual I put "20px" to the reset button.)
>>
>> Any idea how to keep it?
>> Thanks, Stefan
>> Charlie Veniot schrieb am Donnerstag, 18. Mai 2023 um 22:39:18 UTC+2:
>>
>>> There are a few problems in your TW scripting.
>>>
>>> The first line, action-setfield.   All action widgets have to be the 
>>> result of something happening (like clicking on a button).  That action 
>>> doesn't have anything to trigger it, so it will never happen.
>>>
>>> The other action-setfield does happen when pushing on the button.  It 
>>> correctly sets the "bodyfontsize" metric.
>>>
>>> The slider, though, sets the text value for a tiddler that is used in 
>>> your CSS to set the font size of tc-edit-text-editor-body.
>>>
>>> tc-edit-text-editor-body and "bodyfontsize" are two different things.
>>>
>>> If you use the TiddlyWiki control panel, setting the bodyfontsize does 
>>> have an impact on the font size for tc-edit-text-editor-body (have a 
>>> tiddler in edit mode while changing things in the control panel to see what 
>>> happens), but it isn't a 1-1 relationship.
>>>
>>> What "one" thing are you trying to accomplish here?
>>>
>>> On Thursday, May 18, 2023 at 4:54:18 PM UTC-3 S² wrote:
>>>
>>>> Hello forum,
>>>>
>>>> inspired by @Charlie Veniot I tried to add the reset button to my wiki 
>>>> - but no effect when clicking on the button.
>>>> Any idea why?
>>>>
>>>> Also tested on https://tid

[tw5] Re: TW Gadget: Tiddler Editor Text Resizer

2023-05-19 Thread Eric Shulman
The TWCore setting `$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize` 
assumes that it includes the CSS units (e.g., “px”). However, the $range 
widget only sets a numeric value, thus losing the default “px” suffix.

To work around this, try the following:
```
<$let target="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize">
<$range tiddler="$:/temp/bodyfontsize" class="slider"
   min="14" max="44" increment="1" default={{{ 
[get[text]multiply[1]] }}}
   actions="<$action-setfield $tiddler=<> text={{{ 
[addsuffix[px]] }}}/>"/>
```

   - Have the $range widget store its result in a temp tiddler (e.g., 
   $:/temp/bodyfontsize)
   - Set the default value to the contents of 
   $:/themes/tiddlywiki/vanilla/metrics/bodyfontsize and multiply by 1 to 
   remove any CSS units suffix while retaining the numeric portion of the 
   current setting value.
   - Add an actions="..." parameter that copies the temp tiddler value to 
   the actual target tiddler while also adding the desired “px” suffix.

In addition, the “reset” button should delete both the temp tiddler and the 
target tiddler, so the default TWCore shadow is re-applied and is also used 
as the default value for the $range widget:
```
<$action-deletetiddler $filter="[[$:/temp/bodyfontsize]] []"/>
```
On Friday, May 19, 2023 at 12:49:40 AM UTC-7 S² wrote:

>
> Hi Charlie,
> if I do the same for Font size for tiddler body 
> <https://tiddlywiki.com/#%24%3A%2Fthemes%2Ftiddlywiki%2Fvanilla%2Fmetrics%2Fbodyfontsize>
>  
> I'm loosing the suffix "px" when using the slider.
>
> 
>  Schriftgröße (Anzeige):  
> <$range tiddler="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize" 
> min="14" max="44" default="20" increment="1" class="slider"/> 
>  
>  
> {{$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize}} 
>
> <$button class="tc-btn-invisible" tooltip="Reset">
> <$action-setfield 
> $tiddler="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize" 
> text="20px"/>
>
> ''↺''
> 
>
> (Actual I put "20px" to the reset button.)
>
> Any idea how to keep it?
> Thanks, Stefan
> Charlie Veniot schrieb am Donnerstag, 18. Mai 2023 um 22:39:18 UTC+2:
>
>> There are a few problems in your TW scripting.
>>
>> The first line, action-setfield.   All action widgets have to be the 
>> result of something happening (like clicking on a button).  That action 
>> doesn't have anything to trigger it, so it will never happen.
>>
>> The other action-setfield does happen when pushing on the button.  It 
>> correctly sets the "bodyfontsize" metric.
>>
>> The slider, though, sets the text value for a tiddler that is used in 
>> your CSS to set the font size of tc-edit-text-editor-body.
>>
>> tc-edit-text-editor-body and "bodyfontsize" are two different things.
>>
>> If you use the TiddlyWiki control panel, setting the bodyfontsize does 
>> have an impact on the font size for tc-edit-text-editor-body (have a 
>> tiddler in edit mode while changing things in the control panel to see what 
>> happens), but it isn't a 1-1 relationship.
>>
>> What "one" thing are you trying to accomplish here?
>>
>> On Thursday, May 18, 2023 at 4:54:18 PM UTC-3 S² wrote:
>>
>>> Hello forum,
>>>
>>> inspired by @Charlie Veniot I tried to add the reset button to my wiki - 
>>> but no effect when clicking on the button.
>>> Any idea why?
>>>
>>> Also tested on https://tiddlywiki.com/
>>> [image: code.png]
>>> *Code:*
>>> <$action-setfield 
>>> $tiddler="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize" 
>>> text={{fontsizeValue}}/>
>>> Schriftgröße 
>>> (Editor):  
>>> <$range tiddler="fontsizeEditor" min="16" max="24" default="18" 
>>> increment="0.5" class="slider"/> 
>>> 
>>>  {{fontsizeEditor}} px 
>>> <$button class="tc-btn-invisible" tooltip="Reset">
>>> <$action-setfield 
>>> $tiddler="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize" 
>>> text="18px"/>
>>> ''↺''
>>> 
>>>
>>> with 
>>> [image: Stylesheet.png] 
>>>
>>> Thanks for help.
>>> Stefan
>>>
>>> Charlie Veniot schrieb am Donnerstag, 18. Mai 2023 um 19:20:47 UTC+2:
>>>
>>>> Done.  Plus a "reset" button.
>>>>
>>>> [image: Screenshot 2023-05-18 2.19.38 PM.png]
>>>>
>>>> On Thursday, May 18, 2023 at 10:50:52 AM UTC-3 Scott Sauyet wrote:
>>>>
>>>>>  Charlie Veniot wrote:
>>>>> > Just for the giggles to figure out how I would go about it.
>>>>>
>>>>> Very nice!  One suggestion: make the max 200 or so rather than the 
>>>>> default 100.  Help those with poorer eyesight!
>>>>>
>>>>>   -- Scott
>>>>>
>>>>

-- 
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/4f16543c-372e-4af0-9afd-39b9230f0a32n%40googlegroups.com.


[tw5] Re: TW Gadget: Tiddler Editor Text Resizer

2023-05-19 Thread

Hi Charlie,
if I do the same for Font size for tiddler body 
<https://tiddlywiki.com/#%24%3A%2Fthemes%2Ftiddlywiki%2Fvanilla%2Fmetrics%2Fbodyfontsize>
 
I'm loosing the suffix "px" when using the slider.


 Schriftgröße (Anzeige):  
<$range tiddler="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize" 
min="14" max="44" default="20" increment="1" class="slider"/> 
 
 
{{$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize}} 
<$button class="tc-btn-invisible" tooltip="Reset">
<$action-setfield 
$tiddler="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize" 
text="20px"/>
''↺''


(Actual I put "20px" to the reset button.)

Any idea how to keep it?
Thanks, Stefan
Charlie Veniot schrieb am Donnerstag, 18. Mai 2023 um 22:39:18 UTC+2:

> There are a few problems in your TW scripting.
>
> The first line, action-setfield.   All action widgets have to be the 
> result of something happening (like clicking on a button).  That action 
> doesn't have anything to trigger it, so it will never happen.
>
> The other action-setfield does happen when pushing on the button.  It 
> correctly sets the "bodyfontsize" metric.
>
> The slider, though, sets the text value for a tiddler that is used in your 
> CSS to set the font size of tc-edit-text-editor-body.
>
> tc-edit-text-editor-body and "bodyfontsize" are two different things.
>
> If you use the TiddlyWiki control panel, setting the bodyfontsize does 
> have an impact on the font size for tc-edit-text-editor-body (have a 
> tiddler in edit mode while changing things in the control panel to see what 
> happens), but it isn't a 1-1 relationship.
>
> What "one" thing are you trying to accomplish here?
>
> On Thursday, May 18, 2023 at 4:54:18 PM UTC-3 S² wrote:
>
>> Hello forum,
>>
>> inspired by @Charlie Veniot I tried to add the reset button to my wiki - 
>> but no effect when clicking on the button.
>> Any idea why?
>>
>> Also tested on https://tiddlywiki.com/
>> [image: code.png]
>> *Code:*
>> <$action-setfield 
>> $tiddler="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize" 
>> text={{fontsizeValue}}/>
>> Schriftgröße (Editor): 
>>  
>> <$range tiddler="fontsizeEditor" min="16" max="24" default="18" 
>> increment="0.5" class="slider"/> 
>> 
>>  {{fontsizeEditor}} px 
>> <$button class="tc-btn-invisible" tooltip="Reset">
>> <$action-setfield 
>> $tiddler="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize" 
>> text="18px"/>
>> ''↺''
>> 
>>
>> with 
>> [image: Stylesheet.png] 
>>
>> Thanks for help.
>> Stefan
>>
>> Charlie Veniot schrieb am Donnerstag, 18. Mai 2023 um 19:20:47 UTC+2:
>>
>>> Done.  Plus a "reset" button.
>>>
>>> [image: Screenshot 2023-05-18 2.19.38 PM.png]
>>>
>>> On Thursday, May 18, 2023 at 10:50:52 AM UTC-3 Scott Sauyet wrote:
>>>
>>>>  Charlie Veniot wrote:
>>>> > Just for the giggles to figure out how I would go about it.
>>>>
>>>> Very nice!  One suggestion: make the max 200 or so rather than the 
>>>> default 100.  Help those with poorer eyesight!
>>>>
>>>>   -- Scott
>>>>
>>>

-- 
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/519bdd9e-71e4-4296-b0c5-dd94e541b3e6n%40googlegroups.com.


[tw5] Re: TW Gadget: Tiddler Editor Text Resizer

2023-05-18 Thread
Thanks Charlie!
This code works:

Schriftgröße (Editor): 
 
<$range tiddler="fontsizeEditor" min="16" max="22" default="18" 
increment="0.5" class="slider"/> 

 {{fontsizeEditor}} px 
<$button class="tc-btn-invisible" tooltip="Reset">
<$action-setfield $tiddler="fontsizeEditor" text="18"/>
''↺''


Charlie Veniot schrieb am Donnerstag, 18. Mai 2023 um 22:39:18 UTC+2:

> There are a few problems in your TW scripting.
>
> The first line, action-setfield.   All action widgets have to be the 
> result of something happening (like clicking on a button).  That action 
> doesn't have anything to trigger it, so it will never happen.
>
> The other action-setfield does happen when pushing on the button.  It 
> correctly sets the "bodyfontsize" metric.
>
> The slider, though, sets the text value for a tiddler that is used in your 
> CSS to set the font size of tc-edit-text-editor-body.
>
> tc-edit-text-editor-body and "bodyfontsize" are two different things.
>
> If you use the TiddlyWiki control panel, setting the bodyfontsize does 
> have an impact on the font size for tc-edit-text-editor-body (have a 
> tiddler in edit mode while changing things in the control panel to see what 
> happens), but it isn't a 1-1 relationship.
>
> What "one" thing are you trying to accomplish here?
>
> On Thursday, May 18, 2023 at 4:54:18 PM UTC-3 S² wrote:
>
>> Hello forum,
>>
>> inspired by @Charlie Veniot I tried to add the reset button to my wiki - 
>> but no effect when clicking on the button.
>> Any idea why?
>>
>> Also tested on https://tiddlywiki.com/
>> [image: code.png]
>> *Code:*
>> <$action-setfield 
>> $tiddler="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize" 
>> text={{fontsizeValue}}/>
>> Schriftgröße (Editor): 
>>  
>> <$range tiddler="fontsizeEditor" min="16" max="24" default="18" 
>> increment="0.5" class="slider"/> 
>> 
>>  {{fontsizeEditor}} px 
>> <$button class="tc-btn-invisible" tooltip="Reset">
>> <$action-setfield 
>> $tiddler="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize" 
>> text="18px"/>
>> ''↺''
>> 
>>
>> with 
>> [image: Stylesheet.png] 
>>
>> Thanks for help.
>> Stefan
>>
>> Charlie Veniot schrieb am Donnerstag, 18. Mai 2023 um 19:20:47 UTC+2:
>>
>>> Done.  Plus a "reset" button.
>>>
>>> [image: Screenshot 2023-05-18 2.19.38 PM.png]
>>>
>>> On Thursday, May 18, 2023 at 10:50:52 AM UTC-3 Scott Sauyet wrote:
>>>
>>>>  Charlie Veniot wrote:
>>>> > Just for the giggles to figure out how I would go about it.
>>>>
>>>> Very nice!  One suggestion: make the max 200 or so rather than the 
>>>> default 100.  Help those with poorer eyesight!
>>>>
>>>>   -- Scott
>>>>
>>>

-- 
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/966c956d-b140-4b09-a320-2f1138e8fb2dn%40googlegroups.com.


[tw5] Re: TW Gadget: Tiddler Editor Text Resizer

2023-05-18 Thread Charlie Veniot
There are a few problems in your TW scripting.

The first line, action-setfield.   All action widgets have to be the result 
of something happening (like clicking on a button).  That action doesn't 
have anything to trigger it, so it will never happen.

The other action-setfield does happen when pushing on the button.  It 
correctly sets the "bodyfontsize" metric.

The slider, though, sets the text value for a tiddler that is used in your 
CSS to set the font size of tc-edit-text-editor-body.

tc-edit-text-editor-body and "bodyfontsize" are two different things.

If you use the TiddlyWiki control panel, setting the bodyfontsize does have 
an impact on the font size for tc-edit-text-editor-body (have a tiddler in 
edit mode while changing things in the control panel to see what happens), 
but it isn't a 1-1 relationship.

What "one" thing are you trying to accomplish here?

On Thursday, May 18, 2023 at 4:54:18 PM UTC-3 S² wrote:

> Hello forum,
>
> inspired by @Charlie Veniot I tried to add the reset button to my wiki - 
> but no effect when clicking on the button.
> Any idea why?
>
> Also tested on https://tiddlywiki.com/
> [image: code.png]
> *Code:*
> <$action-setfield 
> $tiddler="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize" 
> text={{fontsizeValue}}/>
> Schriftgröße (Editor): 
>  
> <$range tiddler="fontsizeEditor" min="16" max="24" default="18" 
> increment="0.5" class="slider"/> 
> 
>  {{fontsizeEditor}} px 
> <$button class="tc-btn-invisible" tooltip="Reset">
> <$action-setfield 
> $tiddler="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize" 
> text="18px"/>
> ''↺''
> 
>
> with 
> [image: Stylesheet.png] 
>
> Thanks for help.
> Stefan
>
> Charlie Veniot schrieb am Donnerstag, 18. Mai 2023 um 19:20:47 UTC+2:
>
>> Done.  Plus a "reset" button.
>>
>> [image: Screenshot 2023-05-18 2.19.38 PM.png]
>>
>> On Thursday, May 18, 2023 at 10:50:52 AM UTC-3 Scott Sauyet wrote:
>>
>>>  Charlie Veniot wrote:
>>> > Just for the giggles to figure out how I would go about it.
>>>
>>> Very nice!  One suggestion: make the max 200 or so rather than the 
>>> default 100.  Help those with poorer eyesight!
>>>
>>>   -- Scott
>>>
>>

-- 
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/2b8f1a92-ae34-4ca8-aff6-e117d0d4e77fn%40googlegroups.com.


[tw5] Re: TW Gadget: Tiddler Editor Text Resizer

2023-05-18 Thread
Hello forum,

inspired by @Charlie Veniot I tried to add the reset button to my wiki - 
but no effect when clicking on the button.
Any idea why?

Also tested on https://tiddlywiki.com/
[image: code.png]
*Code:*
<$action-setfield 
$tiddler="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize" 
text={{fontsizeValue}}/>
Schriftgröße (Editor): 
 
<$range tiddler="fontsizeEditor" min="16" max="24" default="18" 
increment="0.5" class="slider"/> 

 {{fontsizeEditor}} px 
<$button class="tc-btn-invisible" tooltip="Reset">
<$action-setfield 
$tiddler="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize" 
text="18px"/>
''↺''


with 
[image: Stylesheet.png] 

Thanks for help.
Stefan

Charlie Veniot schrieb am Donnerstag, 18. Mai 2023 um 19:20:47 UTC+2:

> Done.  Plus a "reset" button.
>
> [image: Screenshot 2023-05-18 2.19.38 PM.png]
>
> On Thursday, May 18, 2023 at 10:50:52 AM UTC-3 Scott Sauyet wrote:
>
>>  Charlie Veniot wrote:
>> > Just for the giggles to figure out how I would go about it.
>>
>> Very nice!  One suggestion: make the max 200 or so rather than the 
>> default 100.  Help those with poorer eyesight!
>>
>>   -- Scott
>>
>

-- 
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/6a950ae4-0269-4572-919c-9b81f57970f5n%40googlegroups.com.


[tw5] Re: TW Gadget: Tiddler Editor Text Resizer

2023-05-18 Thread Charlie Veniot
Done.  Plus a "reset" button.

[image: Screenshot 2023-05-18 2.19.38 PM.png]

On Thursday, May 18, 2023 at 10:50:52 AM UTC-3 Scott Sauyet wrote:

>  Charlie Veniot wrote:
> > Just for the giggles to figure out how I would go about it.
>
> Very nice!  One suggestion: make the max 200 or so rather than the default 
> 100.  Help those with poorer eyesight!
>
>   -- Scott
>

-- 
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/dc5d18b6-936b-46dd-a572-2d5b6d78b67an%40googlegroups.com.


TiddlerEditorTextResizerGadget.json
Description: application/json


[tw5] Re: TW Gadget: Tiddler Editor Text Resizer

2023-05-18 Thread Scott Sauyet
 Charlie Veniot wrote:
> Just for the giggles to figure out how I would go about it.

Very nice!  One suggestion: make the max 200 or so rather than the default 
100.  Help those with poorer eyesight!

  -- Scott

-- 
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/b865e146-3762-473d-8bbb-b8f312431b44n%40googlegroups.com.


[tw5] Re: New Plugin tw-receiver saves wiki to PHP

2023-01-07 Thread Xekima Leo
Hi, everybody!

I added Zip compress / decompress on send

https://github.com/daidalvi/tw-receiver

   - JS zip creates via zip.js: https://github.com/gildas-lormeau/zip.js
   - In backend unzip via ZipArchive: 
   https://www.php.net/manual/en/class.ziparchive.php

If the size of your wiki exceeds *post_max_size* value on the server, you 
can check option "Create zip archive" in plugin settings to compress the 
document in the zip archive on the client side and send it to server where 
it decompress
I hope somebody needs this. Have a nice day![image: tw-receiver-zip.png]

пятница, 16 октября 2020 г. в 16:37:48 UTC+3, Anjar: 

> Hi!
>
> I was experimenting a bit, and is the stale overwrite protection feature 
> still working? When I tested with the tw open in two tabs, A and B, then 
> saved A first with one change, and added another change to B, then only the 
> latest saved change was kept (i.e. A was overwritten)
>
> Best,
> Anders
>
> torsdag 12. mars 2020 kl. 02:40:05 UTC+1 skrev TW Tones:
>
>> Sendwheel,
>>
>> A most useful and working method, on a very common platform.
>>
>> All I dream of now is being able to save other files to the same server 
>> platform, eg a users comments, or proposed changes.
>>
>> Regards
>> Tony
>>
>>
>> On Thursday, March 12, 2020 at 12:07:17 PM UTC+11, sendwheel wrote:
>>>
>>> Still maintained and still used. Glad to see new faces using the 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/fcc5b577-0f1f-48c7-be48-7bccb8bbd964n%40googlegroups.com.


[tw5] "Factory Reset", "Edition System Update", "TW Upgrade"

2022-11-09 Thread Charlie Veniot
This is a "feature set" that I"m working out for BASIC Anywhere Machine.

I think that would make sense for any TiddlyWiki "Edition".

(By "Edition", I mean a TiddlyWiki instance you use as-is or make it your 
own by customising it any way possible.  Different from a "plug-in", in my 
mind.)

BASIC Anywhere Machine is a TiddlyWiki instance with all kinds of 
"architectural" stuff that make BASIC Anywhere Machine what it is and able 
to do what it does.

Then there is all of the existing "content" that exists in there as part of 
using it.  So BASIC programs, tasks, etc.

To make any version of BASIC Anywhere Machine your own without "content", 
i.e. pristine and ready for just your content, enter the "Factory Reset" 
feature, which purges everything but the "architectural" stuff.

"Edition System Update", a process, is just a matter of setting up the 
ability to drag a package of "architectural" stuff (maybe as a plugin, 
likely not) from the one edition to the edition being upgraded.

"TW Upgrade", the service, is already existing.  If for any reason I've 
fallen behind and skipped upgrading BASIC Anywhere Machine to the latest 
and greatest version of TW and you want your copy to be working on the 
latest version of TW, you can do that.

Something like that.  Mulling it all over.

-- 
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/6d90d663-e6cb-4752-a90a-0e3958ad3f57n%40googlegroups.com.


Re: [tw5] Re: LightBox Prototype (one Single Tiddler, no javascript, all TW + HTML + CSS )

2022-08-16 Thread Charlie Veniot
Yup, can be done.  Requires some fancy filtering: grab all the content from 
the text field, filter out what is needed with some pretty fancy regexp 
work, and away you go.

You will have to get some help from somebody who knows regexp.  I know 
regexp, but not yet well enough to do that quickly.



On Wednesday, August 17, 2022 at 12:13:14 AM UTC-3 arunn...@gmail.com wrote:

> https://demowiki.tiddlyhost.com/#Spring%20Ligament%20Tear%20-%20Radsource
>
> This is an example of how images are shown in my tiddlers, but usually my 
> tiddlers won't be this long..this one is long because it's clipped from 
> a web article. Once setup like a lightbox, I am thinking of clicking on one 
> of the image within this tiddler which then get shown in a lightbox, then 
> with further click on the arrow button, I will be able to see the rest of 
> the images faster.
>
> On Wed, 17 Aug 2022, 06:33 Charlie Veniot,  wrote:
>
>> Maybe.  The amount of pain involved depends on what you mean by images in 
>> the current tiddler and how challenging it is to create a fitler to grab 
>> those pictures.
>>
>> What I've built is based on each image being in a dedicated tiddler.  As 
>> per my philosophy of componentization, I would not keep a bunch of images 
>> inside one tiddler: that does the opposite of facilitating reuse.
>>
>> I think it would be helpful to see a tiddler that shows how you keep 
>> multple images in one tiddler.
>>
>> On Tuesday, August 16, 2022 at 6:35:43 PM UTC-3 arunn...@gmail.com wrote:
>>
>>> Hi Charlie,
>>>
>>> I have two doubts
>>>
>>> 1. Is it possible to view the images only in the current tiddler using 
>>> this lightbox. Images are using this format - [img[]]
>>> 2. Also can we use some filters to view images (having [img[]] format 
>>> )within tidlders with certain tags or fields?
>>> On Monday, June 13, 2022 at 4:04:29 AM UTC+5:30 cj.v...@gmail.com wrote:
>>>
 Download the attached and drag into TiddlyWiki.com

 There are two tiddlers, but you only need one of them:

- LightBox tiddler (this is the only one you need)
- Sample LightBox Setup (this one just to show how to use the 
LightBox tiddler

 To create a new LightBox:

- create a new tiddler
- add a filter transclusion in the text body as per the Sample 
LightBox Setup tiddler

 So a filter that looks like this:  `{{ [regexp[.jpg]sort[]] || 
 LightBox}}`

 Give 'er a spin and let me know what you think.

>>> -- 
>> 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/5D9Pm0zBPYI/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> tiddlywiki+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/adf1af8d-b3e3-480d-b5d3-90117b2b4d5en%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/5a4dee92-c712-45b3-be6d-9d10d88c339fn%40googlegroups.com.


Re: [tw5] Re: LightBox Prototype (one Single Tiddler, no javascript, all TW + HTML + CSS )

2022-08-16 Thread arun babu
https://demowiki.tiddlyhost.com/#Spring%20Ligament%20Tear%20-%20Radsource

This is an example of how images are shown in my tiddlers, but usually my
tiddlers won't be this long..this one is long because it's clipped from
a web article. Once setup like a lightbox, I am thinking of clicking on one
of the image within this tiddler which then get shown in a lightbox, then
with further click on the arrow button, I will be able to see the rest of
the images faster.

On Wed, 17 Aug 2022, 06:33 Charlie Veniot,  wrote:

> Maybe.  The amount of pain involved depends on what you mean by images in
> the current tiddler and how challenging it is to create a fitler to grab
> those pictures.
>
> What I've built is based on each image being in a dedicated tiddler.  As
> per my philosophy of componentization, I would not keep a bunch of images
> inside one tiddler: that does the opposite of facilitating reuse.
>
> I think it would be helpful to see a tiddler that shows how you keep
> multple images in one tiddler.
>
> On Tuesday, August 16, 2022 at 6:35:43 PM UTC-3 arunn...@gmail.com wrote:
>
>> Hi Charlie,
>>
>> I have two doubts
>>
>> 1. Is it possible to view the images only in the current tiddler using
>> this lightbox. Images are using this format - [img[]]
>> 2. Also can we use some filters to view images (having [img[]] format
>> )within tidlders with certain tags or fields?
>> On Monday, June 13, 2022 at 4:04:29 AM UTC+5:30 cj.v...@gmail.com wrote:
>>
>>> Download the attached and drag into TiddlyWiki.com
>>>
>>> There are two tiddlers, but you only need one of them:
>>>
>>>- LightBox tiddler (this is the only one you need)
>>>- Sample LightBox Setup (this one just to show how to use the
>>>LightBox tiddler
>>>
>>> To create a new LightBox:
>>>
>>>- create a new tiddler
>>>- add a filter transclusion in the text body as per the Sample
>>>LightBox Setup tiddler
>>>
>>> So a filter that looks like this:  `{{ [regexp[.jpg]sort[]] ||
>>> LightBox}}`
>>>
>>> Give 'er a spin and let me know what you think.
>>>
>> --
> 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/5D9Pm0zBPYI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/adf1af8d-b3e3-480d-b5d3-90117b2b4d5en%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/CABSowt1K50mUDjryR46%3Dqq-LcnTU%3Ds5R5%3D1CZzD3JPdMQURt8g%40mail.gmail.com.


[tw5] Re: LightBox Prototype (one Single Tiddler, no javascript, all TW + HTML + CSS )

2022-08-16 Thread Charlie Veniot
Maybe.  The amount of pain involved depends on what you mean by images in 
the current tiddler and how challenging it is to create a fitler to grab 
those pictures.

What I've built is based on each image being in a dedicated tiddler.  As 
per my philosophy of componentization, I would not keep a bunch of images 
inside one tiddler: that does the opposite of facilitating reuse.

I think it would be helpful to see a tiddler that shows how you keep 
multple images in one tiddler.

On Tuesday, August 16, 2022 at 6:35:43 PM UTC-3 arunn...@gmail.com wrote:

> Hi Charlie,
>
> I have two doubts
>
> 1. Is it possible to view the images only in the current tiddler using 
> this lightbox. Images are using this format - [img[]]
> 2. Also can we use some filters to view images (having [img[]] format 
> )within tidlders with certain tags or fields?
> On Monday, June 13, 2022 at 4:04:29 AM UTC+5:30 cj.v...@gmail.com wrote:
>
>> Download the attached and drag into TiddlyWiki.com
>>
>> There are two tiddlers, but you only need one of them:
>>
>>- LightBox tiddler (this is the only one you need)
>>- Sample LightBox Setup (this one just to show how to use the 
>>LightBox tiddler
>>
>> To create a new LightBox:
>>
>>- create a new tiddler
>>- add a filter transclusion in the text body as per the Sample 
>>LightBox Setup tiddler
>>
>> So a filter that looks like this:  `{{ [regexp[.jpg]sort[]] || LightBox}}`
>>
>> Give 'er a spin and let me know what you think.
>>
>

-- 
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/adf1af8d-b3e3-480d-b5d3-90117b2b4d5en%40googlegroups.com.


[tw5] Re: LightBox Prototype (one Single Tiddler, no javascript, all TW + HTML + CSS )

2022-08-16 Thread arun babu
Hi Charlie,

I have two doubts

1. Is it possible to view the images only in the current tiddler using this 
lightbox. Images are using this format - [img[]]
2. Also can we use some filters to view images (having [img[]] format 
)within tidlders with certain tags or fields?
On Monday, June 13, 2022 at 4:04:29 AM UTC+5:30 cj.v...@gmail.com wrote:

> Download the attached and drag into TiddlyWiki.com
>
> There are two tiddlers, but you only need one of them:
>
>- LightBox tiddler (this is the only one you need)
>- Sample LightBox Setup (this one just to show how to use the LightBox 
>tiddler
>
> To create a new LightBox:
>
>- create a new tiddler
>- add a filter transclusion in the text body as per the Sample 
>LightBox Setup tiddler
>
> So a filter that looks like this:  `{{ [regexp[.jpg]sort[]] || LightBox}}`
>
> Give 'er a spin and let me know what you think.
>

-- 
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/c609eb7c-2c26-424c-927c-dfb94b7b3151n%40googlegroups.com.


[tw5] Re: [tw] Re: [TW5] Experience with PlantUML and TW5

2022-08-13 Thread Octavian Petrescu
This still works in 2022! :) TW FTW :)

On Friday, August 2, 2019 at 4:02:18 AM UTC-4 hexa...@gmail.com wrote:

> It's really a fantastic work! Thanks a lot!
>
> BTW, I'm wondering that is it feasible to render the image via local file 
> "plantuml.jar"?
>
> 在 2016年1月15日星期五 UTC+8下午3:25:25,Tobias Beer写道:
>
>> Hi Brian,
>>  
>>
>>> It looks like it does access the plantuml.com server in order to 
>>> render the image. 
>>>
>>
>> Indeed,
>>  
>>
>>> I didn't look at Tobias' code to see how easy it would be to integrate 
>>> any of the above. 
>>>
>>
>> While there are possibly some similarities,
>> I think the process will be different for other libraries.
>> Having a server do the rendering makes things simpler.
>> For plantuml, I am actually using the image widget under the hood,
>> or an iframe for textual renderings.
>>
>> If a js library created the output,
>> then that would have to be rendered by equivalent
>> widgetry and markup into the dom.
>> The docs are a bit unpolished still,
>> will improve later today.
>>
>> More of a way to create graphs like tiddlymap and 
>>> tidgraph, only with a text based syntax rather than with tiddler 
>>> relationships. 
>>>
>>
>> I think the real interesting parts come about when the two can be 
>> intermingled,
>> as is the case with TiddlyMap and TidGraph.
>>
>> Plantuml does not allow you to click on the image "nodes"
>> to navigate TiddlyWiki.
>>
>> Perhaps Jed could create a basic ui based on his SVG editing tool
>> that would allow creating some sort of invisible svg "overlay",
>> or where you could "highlight" those nodes in your wiki
>> and make the overlay clickable so as to navigate around.
>>
>> Best wishes,
>>
>> Tobias.
>>
>

-- 
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/b27b40f4-7794-4ee3-ba04-600f4eb89a9an%40googlegroups.com.


[tw5] Re: How to change the color of Tw icons

2022-06-28 Thread Xabriña
Hello Mario.

It is clear to me from the explanation you have given me that there is no 
choice but to use CSS and macros, and I appreciate you taking the trouble 
to leave me the files with the solution already prepared.

>From what I see in the end, I have no choice but to either take the path 
that you have indicated, and that I was trying to avoid due to my 
programming limitations, or find a way to adjust the size of the icons that 
interest me and put them directly and then with the method that Eric told 
me to change the color to the one I need.

Thank you very much!!!

El martes, 28 de junio de 2022 a las 8:18:22 UTC+2, PMario escribió:

> On Monday, June 27, 2022 at 11:12:46 PM UTC+2 Juan Palomo wrote:
>
>> One more question. I have tried to modify the size of the icon since it 
>> is larger than I want and I cannot find the parameter to adjust it.
>> I have tried the following formula but it seems that it is not correct:
>>
>> @@fill:blue; width:1em; height: 1em; {{$:/core/images/tip}}@@
>
>
>
> That doesn't work that way, since the height and width are directly 
> defined in the SVG element. You need to do the following. 
>
> Create 2 tiddlers eg: my-styles and my-macros
>
> ```
> title: my-styles 
> tags: $:/tags/Stylesheet
> code-body: yes
>
> .my-icon svg {
> height: 1em;
> }
> ```
>
> ```
> title: my-macros
> tags: $:/tags/Macro
> code-body: yes
>
> \define my-icon(title) <$transclude 
> tiddler=<<__title__>>/> 
> ```
>
> Call the macro with: `<>` ... That should do 
> the trick. 
>
> The first tiddler my-styles defines a CSS stylesheet, that allows you to 
> define the hight of the SVG element. Since it keeps the aspect ratio, it 
> will scale properly if you only change hight. 
>
> The second tiddler defines a macro named: my-icon, that covers the SVG 
> inside an HTML SPAN element and defines it's class="my-icon". Which allows 
> the browser to assign the CSS stylesheet settings. 
>
> I did add a little ZIP file that contains a JSON file, which can be drag & 
> drop imported into a wiki. You can test it with tiddlywiki.com. It should 
> work there since I did mace the macros with it. 
>
> have fun!
> mario
>
>
>

-- 
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/986237e3-442f-4355-a146-84693ebee497n%40googlegroups.com.


[tw5] Re: How to change the color of Tw icons

2022-06-28 Thread TiddlyTweeter
PMario: "That doesn't work that way, since the height and width are 
directly defined in the SVG element. You need to do..."

That is a very nice solution to the SVG "change-dimensions" issue using a 
"class"!

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/9f951955-9ee3-486b-beac-b4fbc4c85c93n%40googlegroups.com.


[tw5] Re: How to change the color of Tw icons

2022-06-28 Thread PMario
On Monday, June 27, 2022 at 11:12:46 PM UTC+2 Juan Palomo wrote:

> One more question. I have tried to modify the size of the icon since it is 
> larger than I want and I cannot find the parameter to adjust it.
> I have tried the following formula but it seems that it is not correct:
>
> @@fill:blue; width:1em; height: 1em; {{$:/core/images/tip}}@@



That doesn't work that way, since the height and width are directly defined 
in the SVG element. You need to do the following. 

Create 2 tiddlers eg: my-styles and my-macros

```
title: my-styles 
tags: $:/tags/Stylesheet
code-body: yes

.my-icon svg {
height: 1em;
}
```

```
title: my-macros
tags: $:/tags/Macro
code-body: yes

\define my-icon(title) <$transclude 
tiddler=<<__title__>>/> 
```

Call the macro with: `<>` ... That should do 
the trick. 

The first tiddler my-styles defines a CSS stylesheet, that allows you to 
define the hight of the SVG element. Since it keeps the aspect ratio, it 
will scale properly if you only change hight. 

The second tiddler defines a macro named: my-icon, that covers the SVG 
inside an HTML SPAN element and defines it's class="my-icon". Which allows 
the browser to assign the CSS stylesheet settings. 

I did add a little ZIP file that contains a JSON file, which can be drag & 
drop imported into a wiki. You can test it with tiddlywiki.com. It should 
work there since I did mace the macros with it. 

have fun!
mario


-- 
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/52846b77-69f7-44b3-8877-5a8af313dfc4n%40googlegroups.com.
<>


[tw5] Re: How to change the color of Tw icons

2022-06-27 Thread Juan Palomo
One more question. I have tried to modify the size of the icon since it is 
larger than I want and I cannot find the parameter to adjust it.
I have tried the following formula but it seems that it is not correct:

@@fill:blue; width:1em; height: 1em; {{$:/core/images/tip}}@@

Thanks a lot



El lunes, 27 de junio de 2022 a las 19:16:13 UTC+2, Juan Palomo escribió:

> Thank you very much Eric!!!
> El lunes, 27 de junio de 2022 a las 18:50:47 UTC+2, Eric Shulman escribió:
>
>> This will do what you want:
>> ```
>> @@fill:yellow;{{$:/core/images/tip}}@@
>> ```
>>
>> enjoy,
>> -e
>>
>> On Monday, June 27, 2022 at 9:35:59 AM UTC-7 Juan Palomo wrote:
>>
>>> Hello everyone.
>>>
>>> Is there any way to change the color of TW's system icons? The fact is 
>>> that I would like to use some icons in a table that I am making instead of 
>>> text, but I cannot change their original black color.
>>> I have read that it can be done using CSS, but I would like to know if 
>>> it can be done in the text of a tiddler in some other way.
>>> The code that I have tried, and that has not worked for me, is the 
>>> following: 
>>>
>>> <{{$:/core/images/tip}} fill=yellow>
>>>
>>> Cheers
>>>
>>

-- 
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/95112a76-71ba-4814-8489-1bd258eefe94n%40googlegroups.com.


[tw5] Re: How to change the color of Tw icons

2022-06-27 Thread Juan Palomo
Thank you very much Eric!!!
El lunes, 27 de junio de 2022 a las 18:50:47 UTC+2, Eric Shulman escribió:

> This will do what you want:
> ```
> @@fill:yellow;{{$:/core/images/tip}}@@
> ```
>
> enjoy,
> -e
>
> On Monday, June 27, 2022 at 9:35:59 AM UTC-7 Juan Palomo wrote:
>
>> Hello everyone.
>>
>> Is there any way to change the color of TW's system icons? The fact is 
>> that I would like to use some icons in a table that I am making instead of 
>> text, but I cannot change their original black color.
>> I have read that it can be done using CSS, but I would like to know if it 
>> can be done in the text of a tiddler in some other way.
>> The code that I have tried, and that has not worked for me, is the 
>> following: 
>>
>> <{{$:/core/images/tip}} fill=yellow>
>>
>> Cheers
>>
>

-- 
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/56624ffb-6922-4011-9009-b4949bfc448fn%40googlegroups.com.


[tw5] Re: How to change the color of Tw icons

2022-06-27 Thread Eric Shulman
This will do what you want:
```
@@fill:yellow;{{$:/core/images/tip}}@@
```

enjoy,
-e

On Monday, June 27, 2022 at 9:35:59 AM UTC-7 Juan Palomo wrote:

> Hello everyone.
>
> Is there any way to change the color of TW's system icons? The fact is 
> that I would like to use some icons in a table that I am making instead of 
> text, but I cannot change their original black color.
> I have read that it can be done using CSS, but I would like to know if it 
> can be done in the text of a tiddler in some other way.
> The code that I have tried, and that has not worked for me, is the 
> following: 
>
> <{{$:/core/images/tip}} fill=yellow>
>
> Cheers
>

-- 
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/29d55b6b-756b-4aea-8c8b-458bc3770994n%40googlegroups.com.


[tw5] How to change the color of Tw icons

2022-06-27 Thread Juan Palomo
Hello everyone.

Is there any way to change the color of TW's system icons? The fact is that 
I would like to use some icons in a table that I am making instead of text, 
but I cannot change their original black color.
I have read that it can be done using CSS, but I would like to know if it 
can be done in the text of a tiddler in some other way.
The code that I have tried, and that has not worked for me, is the 
following: 

<{{$:/core/images/tip}} fill=yellow>

Cheers

-- 
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/837a8ac2-a402-480a-906f-fe333f26cc07n%40googlegroups.com.


[tw5] Re: Sudden horizontal scrollbar and blank space in my TW

2022-06-22 Thread 'Mark S.' via TiddlyWiki
You have a lot going on in your TW. I'd guess you have at least a half 
dozen plugins. Nothing
wrong with that, but when you use multiple plugins from different authors 
it becomes
increasingly likely that some bit of CSS or other code will conflict with 
each other. Especially
when you're making major changes to the UI.

Off hand, I would try reverting the left hand column to right hand and see 
if the problem goes away. 
Then turning off 2 columns and see if that fixes anything. Then work your 
way through the other
plugins. Try to determine which plugin is introducing
the issue. When you've determined which plugin is causing the issue, then 
find the author
and ask if they've seen the issue. Or repost the question in terms of the 
plugin so others who are
using that plugin can respond.

Hope you're feeling better!
 

On Wednesday, June 22, 2022 at 7:10:27 AM UTC-7 Kiya wrote:

> Hi!
>
> I'm not really sure what you are trying to say??
>
> On Wednesday, 22 June 2022 at 14:31:02 UTC+1 strikke...@gmail.com wrote:
>
>> When you clicked tab more and then all you got a very long list of 
>> tiddlers without the horizontal scrollbar you would not be able to see them 
>> all.
>>
>>
>> On Wednesday, June 22, 2022 at 12:56:55 PM UTC+2 Kiya wrote:
>>
>>> Hello everyone!!
>>>
>>> As the title says, my TW has suddenly seemed to gain a big amount of 
>>> blank space to the right of the storyriver which has added a horizontal 
>>> scrollbar to my page. I've not been on my TW much for a few weeks due to 
>>> illness so I'm not exactly sure when this happened but noticed it yesterday 
>>> and have been trying to figure it out. I've been comparing it to a backup 
>>> from a month ago and everything that I think could be the issue is 
>>> identical, so I am stumped. 
>>>
>>> I am not an expert in programming and honestly, don't know what I am 
>>> doing 99% of the time, wouldn't even say I am an intermediate, I am just 
>>> great at googling and have ADHD so I have always been good at just figuring 
>>> things out myself, but this one has truly got me lost. 
>>>
>>> I have attached a video showing what I mean by blank space and just the 
>>> general behaviour of it all, it seems to favour the left.
>>>
>>> Any help is much appreciated!!
>>>
>>> Kiya
>>>
>>

-- 
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/76f4a5ee-4f23-4128-b05e-51c82e408c8cn%40googlegroups.com.


[tw5] Re: Sudden horizontal scrollbar and blank space in my TW

2022-06-22 Thread Kiya
Hi!

I'm not really sure what you are trying to say??

On Wednesday, 22 June 2022 at 14:31:02 UTC+1 strikke...@gmail.com wrote:

> When you clicked tab more and then all you got a very long list of 
> tiddlers without the horizontal scrollbar you would not be able to see them 
> all.
>
>
> On Wednesday, June 22, 2022 at 12:56:55 PM UTC+2 Kiya wrote:
>
>> Hello everyone!!
>>
>> As the title says, my TW has suddenly seemed to gain a big amount of 
>> blank space to the right of the storyriver which has added a horizontal 
>> scrollbar to my page. I've not been on my TW much for a few weeks due to 
>> illness so I'm not exactly sure when this happened but noticed it yesterday 
>> and have been trying to figure it out. I've been comparing it to a backup 
>> from a month ago and everything that I think could be the issue is 
>> identical, so I am stumped. 
>>
>> I am not an expert in programming and honestly, don't know what I am 
>> doing 99% of the time, wouldn't even say I am an intermediate, I am just 
>> great at googling and have ADHD so I have always been good at just figuring 
>> things out myself, but this one has truly got me lost. 
>>
>> I have attached a video showing what I mean by blank space and just the 
>> general behaviour of it all, it seems to favour the left.
>>
>> Any help is much appreciated!!
>>
>> Kiya
>>
>

-- 
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/e6e8fbb9-6f8c-43de-a81c-510f879f5e5cn%40googlegroups.com.


[tw5] Re: Sudden horizontal scrollbar and blank space in my TW

2022-06-22 Thread strikke...@gmail.com
When you clicked tab more and then all you got a very long list of tiddlers 
without the horizontal scrollbar you would not be able to see them all.


On Wednesday, June 22, 2022 at 12:56:55 PM UTC+2 Kiya wrote:

> Hello everyone!!
>
> As the title says, my TW has suddenly seemed to gain a big amount of blank 
> space to the right of the storyriver which has added a horizontal scrollbar 
> to my page. I've not been on my TW much for a few weeks due to illness so 
> I'm not exactly sure when this happened but noticed it yesterday and have 
> been trying to figure it out. I've been comparing it to a backup from a 
> month ago and everything that I think could be the issue is identical, so I 
> am stumped. 
>
> I am not an expert in programming and honestly, don't know what I am doing 
> 99% of the time, wouldn't even say I am an intermediate, I am just great at 
> googling and have ADHD so I have always been good at just figuring things 
> out myself, but this one has truly got me lost. 
>
> I have attached a video showing what I mean by blank space and just the 
> general behaviour of it all, it seems to favour the left.
>
> Any help is much appreciated!!
>
> Kiya
>

-- 
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/8ee60353-b937-45fe-bbf3-094d449d00c5n%40googlegroups.com.


[tw5] LightBox Prototype (one Single Tiddler, no javascript, all TW + HTML + CSS )

2022-06-12 Thread Charlie Veniot
Download the attached and drag into TiddlyWiki.com

There are two tiddlers, but you only need one of them:

   - LightBox tiddler (this is the only one you need)
   - Sample LightBox Setup (this one just to show how to use the LightBox 
   tiddler

To create a new LightBox:

   - create a new tiddler
   - add a filter transclusion in the text body as per the Sample LightBox 
   Setup tiddler

So a filter that looks like this:  `{{ [regexp[.jpg]sort[]] || LightBox}}`

Give 'er a spin and let me know what you think.

-- 
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/f15dbf06-75f1-4601-8f60-bafc3fbd1cc7n%40googlegroups.com.


SingleTiddlerLightBoxPrototype_byCharlie.json
Description: application/json


[tw5] Re: Using an existing TW file to start a new one

2022-04-27 Thread Ittay Dror
I did it and now the file loads as a blank page. 

On Wednesday, 16 October 2019 at 02:02:06 UTC+3 David Gifford wrote:

> Go to advanced search. 
> Use the filter there to find tiddlers [is[system]]. 
> Export as a json file.
> Drag that json file into an empty TiddlyWiki and import. 
> You should have all the system tiddlers but none of the content 
> (non-system) tiddlers.
>
> On Tuesday, May 28, 2019 at 9:13:06 AM UTC-5, Ittay Dror wrote:
>>
>> So I have a TiddlyWiki file with tons of tiddlers, plugins and 
>> customizations. I want to start a new one and retain the plugins and 
>> customizations, but not the tiddlers. How can I do that? 
>>
>

-- 
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/14e5f0eb-915d-440b-b41f-fde78aa6afc7n%40googlegroups.com.


[tw5] What to TW saver badge colors mean?

2022-04-20 Thread 'C Bacca' via TiddlyWiki
In the GettingStarted Tiddler here https://tiddlywiki.com/#GettingStarted

The badges for different savers have a top border that are colors like 
green, yellow, red, and I think orange. I don't see any description of what 
these colors mean on this tiddler. Can someone add to this tiddler what 
each color means? That would be helpful. 

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/739096f4-cbae-4107-9512-468732bc6e33n%40googlegroups.com.


[tw5] Re: How do I copy a theme in TW 5.2.2?

2022-04-20 Thread 'C Bacca' via TiddlyWiki
Can I bump this? I still would like to copy a theme to tweak the copy and 
try different things.


-- 
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/d282f7be-0f4d-4f33-93ab-3fd739da3644n%40googlegroups.com.


[tw5] Re: How do I copy a theme in TW 5.2.2?

2022-04-01 Thread PMario
Hi,
If you needed to create a new account here, your initial posts where set to 
"need review", to avoid spam. I think new mails usually hit Eric Shulman 
(thx for that!). Since your posts come through now, it seems you are free 
to post again. 
-mario

-- 
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/f5559939-10cf-4122-8e87-a9febf5f2b2bn%40googlegroups.com.


[tw5] How do I copy a theme in TW 5.2.2?

2022-03-31 Thread 'C Bacca' via TiddlyWiki
So I can tweak the copy? 

Thank you! You have all been so helpful and nice through all these years! 
This is a new account but I've been here at least 10 years. 

-- 
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/0bbe5462-66b5-42ad-9a13-fb63d3341620n%40googlegroups.com.


[tw5] Re: TW-Enhanced BAM Programming: TW for GUI and storage, BASIC for processing

2022-02-20 Thread Charlie Veniot
G'day g'day,

Just to be clear in case anybody thinks otherwise: this is BASIC 
interpreted by wwwBASIC.js (well, my tweaked version), the BASIC program 
and the javascript all dynamically rolled into an HTML "page" by TiddlyWiki 
and fed into an iframe via srcdoc parameter.

For those adept at javascript, "BASIC Anywhere Machine" could be turned 
into "Javascript Anywhere Machine" in no time at all.

Any programming language, scripting or other, that has a javascript 
interpreter could be used instead of wwwBASIC.js

Whatever it is, it ought to be something that can be dynamically fed to an 
iframe by TiddlyWiki, in a TiddlyWiki tiddler.

Well, with the kind of architecture I've setup for BASIC Anywhere Machine.

I'm not sure what I've built here could be adapted to run scripts outside 
of TiddlyWiki.

That said, feeding the right kind of javascript to an iframe, maybe there 
are javascript libraries out there that allow interacting with OS-level 
scripts, but I highly doubt it.  Maybe TiddlyWiki in a nodejs setup?


All of that tossed aside, thanks much for the appreciative comment.  All it 
takes is for one person (on this third rock from the sun) to find something 
I'm doing even just semi-interesting: gets my geek mojo going.

On Sunday, February 20, 2022 at 7:32:57 AM UTC-4 TiddlyTweeter wrote:

>  cj.v...@gmail.com wrote:
>
>> ... sample showcases TiddlyWiki providing the GUI to interact with a 
>> running BASIC programming.
>
>
>> So one-way (TiddlyWiki to BASIC) sharing/communication.
>>
>> Give the Sunshine Application 
>> <https://basicanywheremachine.neocities.org/LocalStoragePrototype.html#Sunshine%20Application>
>>  
>> a try.  Nothing fancy, just proof-in-the-pudding concept.
>>
>
> Very interesting *proof-in-the-pudding concept.*
>
> FYI if now wondering* if. If* the same approach could be used to interact 
> with generic O/S scripting lingos like *Powershell.*
>
> I'm not really any kind of programmer, but I thought the immediacy of the 
> example brilliant!
>
> One thing I do do is convert large texts farmed from the net to TW format. 
> I'm thinking the approach you illustrate here could make that easier?
>
> Just an appreciative comment
> 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/7169129c-f19f-4b40-be51-f5b13294782dn%40googlegroups.com.


[tw5] Re: TW-Enhanced BAM Programming: TW for GUI and storage, BASIC for processing

2022-02-20 Thread TiddlyTweeter
 cj.v...@gmail.com wrote:

> ... sample showcases TiddlyWiki providing the GUI to interact with a 
> running BASIC programming.
>
> So one-way (TiddlyWiki to BASIC) sharing/communication.
>
> Give the Sunshine Application 
> <https://basicanywheremachine.neocities.org/LocalStoragePrototype.html#Sunshine%20Application>
>  
> a try.  Nothing fancy, just proof-in-the-pudding concept.
>

Very interesting *proof-in-the-pudding concept.*

FYI if now wondering* if. If* the same approach could be used to interact 
with generic O/S scripting lingos like *Powershell.*

I'm not really any kind of programmer, but I thought the immediacy of the 
example brilliant!

One thing I do do is convert large texts farmed from the net to TW format. 
I'm thinking the approach you illustrate here could make that easier?

Just an appreciative comment
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/326ca6a6-12d4-4f82-a738-386a5c923e1fn%40googlegroups.com.


[tw5] Re: TW-Enhanced BAM Programming: TW for GUI and storage, BASIC for processing

2022-02-19 Thread Charlie Veniot
Thanks Eric,

Even when done right, I find code no fun to look at in TiddlyTalk.  But for 
those who do prefer look at code in TiddlyTalk, I'll try to remember that.

Three ticks before and after. Three ticks before and after.
Three ticks before and after. Three ticks before and after.
Three ticks before and after. Three ticks before and after.
Three ticks before and after. Three ticks before and after.
Three ticks before and after. Three ticks before and after...

On Sunday, February 20, 2022 at 12:11:33 AM UTC-4 Eric Shulman wrote:

> Charlie,
>
> To format code examples so they are viewable on 
> https://talk.tiddlywiki.org/,
> enclose the code portion of your post inside *triple backticks placed on 
> separate lines*
> *immediately before and after the code*, like this:
>
> ```
> this content will appear as a code block
> when viewed on https://talk.tiddlywiki.org/
> ```
>
> -e
>
>
>
> On Saturday, February 19, 2022 at 8:03:38 PM UTC-8 cj.v...@gmail.com 
> wrote:
>
>> This post might be better viewed in Google Groups 
>> <https://groups.google.com/g/tiddlywiki/c/P0hfGQeRYwo>.
>>
>> Below:  BASIC program source code, Tiddler's TW code, and finally a 
>> sample image.
>>
>> *BASIC program:*
>>
>> `Screen 21 ' main_program_start: gosub init_vals gosub drawbackground 
>> gosub drawbackgroundlines gosub drawsun gosub drawforegroundlines do while 
>> true sleep 1 action$ = GetLocalStorageItem("Sunshine_Action") if action$ <> 
>> "" then if action$ = "DrawBackground" then gosub drawbackground elseif 
>> action$ = "DrawBackgroundLines" then gosub drawbackgroundlines elseif 
>> action$ = "DrawSun" then gosub drawsun elseif action$ = 
>> "DrawForegroundLines" then gosub drawforegroundlines end if 
>> SetLocalStorageItem("Sunshine_Action", "" ) end if loop end ' init_vals: s 
>> = 0.0625 SetLocalStorageItem("Sunshine_BackgroundColor", "0xdd") 
>> SetLocalStorageItem("Sunshine_BackgroundLinesColor", "0xffcc33") 
>> SetLocalStorageItem("Sunshine_SunColor", "0xff") 
>> SetLocalStorageItem("Sunshine_ForegroundLinesColor", "0xffcc33") return 
>> drawbackground: backgroundColor = 
>> val(GetLocalStorageItem("Sunshine_BackgroundColor")) line(0,0)-(1280, 
>> 1024), backgroundColor, BF sleep s return drawbackgroundlines: 
>> backgroundLinesColor = 
>> val(GetLocalStorageItem("Sunshine_BackgroundLinesColor")) for y = 0 to 1000 
>> step 10 for x = 0 to 1300 step 15 line (0,0) - (x,y), backgroundLinesColor 
>> next x sleep s next y return drawsun: circle (100,100), 200, , , , 
>> ,F sunColor = val(GetLocalStorageItem("Sunshine_SunColor")) circle 
>> (100,100), 200, sunColor, , , ,F sleep s return drawforegroundlines: 
>> backgroundLinesColor = 
>> val(GetLocalStorageItem("Sunshine_ForegroundLinesColor")) for y = 0 to 1000 
>> step 40 for x = 0 to 1300 step 60 line (0,0) - (x,y), backgroundLinesColor 
>> next x sleep s next y return`
>>
>> *Tiddler:*
>>
>> `\define my-actions(do_this)
>> <$macrocall $name=SetLocalStorageItem k=Sunshine_Action v=$do_this$/>
>> \end
>>
>> * Notes
>> ** First, start the BASIC program by clicking on the console below
>> *** The BASIC program will draw the default image, then wait for your 
>> instructions
>> ** In Settings and Controls below, adjust colors of the four different 
>> layers, pressing draw the draw button for each layer in whatever order you 
>> like, knowing that whatever is drawn in each layer will overwrite whatever 
>> is in the are of that layers
>>
>> Settings and Controls
>> Background
>>
>> <$edit-text tiddler="$:/temp/Sunshine_App/background" field="color" 
>> type="color" default="#dd" inputActions="<$macrocall 
>> $name=SetLocalStorageItem k=Sunshine_BackgroundColor v={{{ 
>> [[$:/temp/Sunshine_App/background]get[color]search-replace[#],[0x]] }}}/>"/>
>> <$button actions=<> >
>> Draw Background
>> 
>>
>> 
>> Background Lines
>>
>> <$edit-text tiddler="$:/temp/Sunshine_App/backgroundlines" field="color" 
>> type="color" default="#ffcc33" inputActions="<$macrocall 
>> $name=SetLocalStorageItem k=Sunshine_BackgroundLinesColor v={{{ 
>> [[$:/temp/Sunshine_App/backgroundlines]get[color]search-replace[#],[0x]] 
>> }}}/>"/>
>> <$button actions=<&

[tw5] Re: TW-Enhanced BAM Programming: TW for GUI and storage, BASIC for processing

2022-02-19 Thread Eric Shulman
Charlie,

To format code examples so they are viewable 
on https://talk.tiddlywiki.org/,
enclose the code portion of your post inside *triple backticks placed on 
separate lines*
*immediately before and after the code*, like this:

```
this content will appear as a code block
when viewed on https://talk.tiddlywiki.org/
```

-e



On Saturday, February 19, 2022 at 8:03:38 PM UTC-8 cj.v...@gmail.com wrote:

> This post might be better viewed in Google Groups 
> <https://groups.google.com/g/tiddlywiki/c/P0hfGQeRYwo>.
>
> Below:  BASIC program source code, Tiddler's TW code, and finally a sample 
> image.
>
> *BASIC program:*
>
> `Screen 21 ' main_program_start: gosub init_vals gosub drawbackground 
> gosub drawbackgroundlines gosub drawsun gosub drawforegroundlines do while 
> true sleep 1 action$ = GetLocalStorageItem("Sunshine_Action") if action$ <> 
> "" then if action$ = "DrawBackground" then gosub drawbackground elseif 
> action$ = "DrawBackgroundLines" then gosub drawbackgroundlines elseif 
> action$ = "DrawSun" then gosub drawsun elseif action$ = 
> "DrawForegroundLines" then gosub drawforegroundlines end if 
> SetLocalStorageItem("Sunshine_Action", "" ) end if loop end ' init_vals: s 
> = 0.0625 SetLocalStorageItem("Sunshine_BackgroundColor", "0xdd") 
> SetLocalStorageItem("Sunshine_BackgroundLinesColor", "0xffcc33") 
> SetLocalStorageItem("Sunshine_SunColor", "0xff") 
> SetLocalStorageItem("Sunshine_ForegroundLinesColor", "0xffcc33") return 
> drawbackground: backgroundColor = 
> val(GetLocalStorageItem("Sunshine_BackgroundColor")) line(0,0)-(1280, 
> 1024), backgroundColor, BF sleep s return drawbackgroundlines: 
> backgroundLinesColor = 
> val(GetLocalStorageItem("Sunshine_BackgroundLinesColor")) for y = 0 to 1000 
> step 10 for x = 0 to 1300 step 15 line (0,0) - (x,y), backgroundLinesColor 
> next x sleep s next y return drawsun: circle (100,100), 200, , , , 
> ,F sunColor = val(GetLocalStorageItem("Sunshine_SunColor")) circle 
> (100,100), 200, sunColor, , , ,F sleep s return drawforegroundlines: 
> backgroundLinesColor = 
> val(GetLocalStorageItem("Sunshine_ForegroundLinesColor")) for y = 0 to 1000 
> step 40 for x = 0 to 1300 step 60 line (0,0) - (x,y), backgroundLinesColor 
> next x sleep s next y return`
>
> *Tiddler:*
>
> `\define my-actions(do_this)
> <$macrocall $name=SetLocalStorageItem k=Sunshine_Action v=$do_this$/>
> \end
>
> * Notes
> ** First, start the BASIC program by clicking on the console below
> *** The BASIC program will draw the default image, then wait for your 
> instructions
> ** In Settings and Controls below, adjust colors of the four different 
> layers, pressing draw the draw button for each layer in whatever order you 
> like, knowing that whatever is drawn in each layer will overwrite whatever 
> is in the are of that layers
>
> Settings and Controls
> Background
>
> <$edit-text tiddler="$:/temp/Sunshine_App/background" field="color" 
> type="color" default="#dd" inputActions="<$macrocall 
> $name=SetLocalStorageItem k=Sunshine_BackgroundColor v={{{ 
> [[$:/temp/Sunshine_App/background]get[color]search-replace[#],[0x]] }}}/>"/>
> <$button actions=<> >
> Draw Background
> 
>
> 
> Background Lines
>
> <$edit-text tiddler="$:/temp/Sunshine_App/backgroundlines" field="color" 
> type="color" default="#ffcc33" inputActions="<$macrocall 
> $name=SetLocalStorageItem k=Sunshine_BackgroundLinesColor v={{{ 
> [[$:/temp/Sunshine_App/backgroundlines]get[color]search-replace[#],[0x]] 
> }}}/>"/>
> <$button actions=<> >
> Draw Background Lines
> 
>
> 
> Circle
>
> <$edit-text tiddler="$:/temp/Sunshine_App/sun" field="color" type="color" 
> default="#ff" inputActions="<$macrocall $name=SetLocalStorageItem 
> k=Sunshine_SunColor v={{{ 
> [[$:/temp/Sunshine_App/sun]get[color]search-replace[#],[0x]] }}}/>"/>
> <$button actions=<> >
> Draw Circle
> 
>
> 
> Foreground Lines
>
> <$edit-text tiddler="$:/temp/Sunshine_App/foregroundlines" field="color" 
> type="color" default="#ffcc33" inputActions="<$macrocall 
> $name=SetLocalStorageItem k=Sunshine_ForegroundLinesColor v={{{ 
> [[$:/temp/Sunshine_App/foregroundlines]get[color]search-replace[#],[0x]] 
> }}}/>"/>
> <$button actions=<> >
> D

[tw5] TW-Enhanced BAM Programming: TW for GUI and storage, BASIC for processing

2022-02-19 Thread Charlie Veniot
This new sample showcases TiddlyWiki providing the GUI to interact with a 
running BASIC programming.

So one-way (TiddlyWiki to BASIC) sharing/communication.

Give the Sunshine Application 

 
a try.  Nothing fancy, just proof-in-the-pudding concept.

-- 
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/1476a269-c984-403b-9f87-06cc8197609fn%40googlegroups.com.


Re: [Talk TW] [Google Group (Read Only)] [tw5] dynamically building a string by concatenation in a macro

2022-01-23 Thread Brian Theado
Jeremy,

That is a very enlightening way of explaining it. I wasn't sure where in
the docs this exact explanation would fit, but I did make a PR at
https://github.com/Jermolene/TiddlyWiki5/pull/6417 which adds warnings
about the non-recursive nature of attribute value processing.

On Sun, Jan 23, 2022 at 8:41 AM Jeremy Ruston 
wrote:
[...]

> A simple tranclusion like the following works in two distinct steps:
> first, it retrieves the text of the tiddler "foobar", and then it
> recursively processes the retrieved text as if it had appeared in the same
> place as the transclusion. This deals with any wikitext within it.
>
> ```
> {{foobar}}
> ```
>
> In the case of using a transclusion as an attribute we get the same
> actions: it retrieves the text of the transcluded tiddler and then treats
> the text as if it had appeared in the same place as the transclusion, which
> means that it is treated as a literal string.
>
> ```
> 
> ```
>

-- 
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/CAO5X8CxRnvwVPxRqUZD8bHS99ogZD%2BMdgTtyQWY_urp6VB0WNg%40mail.gmail.com.


Re: [Talk TW] [Google Group (Read Only)] [tw5] dynamically building a string by concatenation in a macro

2022-01-23 Thread Jeremy Ruston
My reply used the jargon because I was being brief.

It's really not as irregular as it appears; it's largely a matter of ones terms 
of reference. It's like the difference between an expression and a string 
literal `a=b+c` and `a="b+c"`, if you're familiar with programming languages.

A simple tranclusion like the following works in two distinct steps: first, it 
retrieves the text of the tiddler "foobar", and then it recursively processes 
the retrieved text as if it had appeared in the same place as the transclusion. 
This deals with any wikitext within it.

```
{{foobar}}
```

In the case of using a transclusion as an attribute we get the same actions: it 
retrieves the text of the transcluded tiddler and then treats the text as if it 
had appeared in the same place as the transclusion, which means that it is 
treated as a literal string.

```

```

Best wishes

Jeremy



--
Jeremy Ruston
jer...@jermolene.com
https://jermolene.com

> On 23 Jan 2022, at 12:32, CarloGgi via Talk TW  
> wrote:
> 
> 
> @jeremy thanks for the clarification. So it seems that you can correctly (in 
> the sense of *syntactically* correct) use a macro call as argument of a 
> widget attribute, but functionally fail to have it work as intended. This 
> shows clearly that TW is way too much stuffed with booby-traps and something 
> must be definitely done to make coding easier and safer for the average user. 
> 
> We need a stricter syntax, even at the expense of flexibility, to spare the 
> user from these pitfalls, and we need debugging tools to make him easily 
> single out the problem when syntax doesn't help. We cannot go on relying on 
> knowledge of how the parser and 'wikifier' behaves, it simply cannot be 
> viable if TW is to become widely used as is everybody's wish.
> I'm not a complete beginner in programming, and as a matter of fact I spend 
> 50% of coding time trying to debug obscure malfunctioning that mostly turns 
> out to require a developer-level knowledge of the parser to be worked out: I 
> dare say that this scares away a lot of would-be users after the first, 
> frustrating attempts.
> 
> In the meantime that TW morphs to something less tricky, a huge effort should 
> be done IMHO in bettering the documentation so that the user is aware of the 
> pitfalls left open by its syntax.
> 
> Thanks and regards,
> CG
> 
>> On Saturday, January 22, 2022 at 11:05:03 PM UTC+2 jeremy...@gmail.com wrote:
>> Hi Charlie
>> 
>>> I often say "first things first, consider upgrading", but 5.2.1 has the 
>>> same issue.  So I say stick with what you have if it is working no-worse 
>>> than the latest.
>> 
>> The problem is that the OP is using the macro "templatename" as an attribute 
>> value in the `<$action-createtiddler>` widget, which means that wikitext 
>> content will not be processed ("wikified"), so the transclusion in the macro 
>> is ignored.
>> 
>> The workaround is to use textual substitution within the macro (in other 
>> words the $param$ and $(var)$ syntax).
>> 
>>> As for bug-reporting, that, to me, is a crappy process that needs some 
>>> tender loving care, including a need to update the related circa 2014 
>>> documentation (ReportingBugs).
>> 
>> "Crappy"?
>> 
>> It would be more helpful to explain the specific problems you see, and 
>> perhaps suggest improvements.
>> 
>> Best wishes
>> 
>> Jeremy
>> 
>> 
>>> 
>>> Rock'n roll !
>>> 
>>> 
>>> 
>>> 
>>> 
>>>>> On Saturday, January 22, 2022 at 4:31:45 PM UTC-4 CarloGgi wrote:
>>>>> It worked like a charm, thanks! 
>>>>> If it is really a bug, is there a dedicated place to submit it for 
>>>>> analysis?
>>>>> 
>>>>> My TW version is 5.2.0
>>>>> 
>>>>> Thanks again and regards,
>>>>> CG
>>>>> 
>>>>>> On Saturday, January 22, 2022 at 9:57:46 PM UTC+2 cj.v...@gmail.com 
>>>>>> wrote:
>>>>>> TiddlyTalk is a pain.  Let me try pasting that code again so that it 
>>>>>> shows okay over there.
>>>>>> 
>>>>>> ```
>>>>>> <$button>
>>>>>>  <$action-createtiddler
>>>>>>  $basetitle="testTiddler"
>>>>>>  $template={{{ [[BASENAME-]addsuffix{!!grammar_class}] 
>>>>>> }}} >
>>>>>> 
>>>>>>  

Re: [tw5] Re: [Update] TW-Vote plugin v1.0.0

2022-01-03 Thread Mohammad
Try this solution

1. Create a new tiddler
2. Put below snippet as tiddler body

```
\import [all[tiddlers+shadows]tag[$:/tags/Macro/Vote]]



TileVote
No. of backlinksBacklinks

<$list filter="[indexes[]]">

<$link/>
<$transclude tiddler=<> index=<>/>
<$text text={{{ [backlinks[]count[]] }}} />
<$list filter="[backlinks[]]"/>



```

On Monday, January 3, 2022 at 2:43:51 PM UTC+3:30 jonligh...@gmail.com 
wrote:

> Hi Mohammad, thanks that might be just what I have been looking for. My 
> TiddlyWiki is over 20Mb and is a self learning+discovery tool as well as a 
> knowledge base I have been looking for something like this, I will 
> experiment with using it.
>
> From my view point a vote is a measure of usefulness - I might look at a 
> previous vote on the current tiddler and think "that tiddler really was 
> more useful than I previously thought I will rank it up a little more.
>
> Additional areas of interest for me here are backlinks ( bi directional 
> linking ) - the number of links to a particular tiddler might also be taken 
> as another but different measure of popularity and usefulness. I would find 
> it useful to have an extra tab on the results list that shows the number of 
> backlinks to each tiddler. Even more useful might be to have both votes and 
> backlinks on the same tab in two different columns that can both be used to 
> order the list. That way it would be possible to ask questions like why are 
> some high vote tiddlers low in the backlinks column - is that because the 
> tiddler is very useful but also very new and so has not yet been fully 
> integrated in the the web of the knowledge base - perhaps time to 
> investigate why this is the case. Or perhaps a tiddler has a low vote but a 
> large number of backlinks - perhaps this reflects older knowledge that is 
> now contradicted by new evidence?
>
> My experience of my own tiddlywiki is that the connections between items 
> of our knowledge and thinking are sometimes just as interesting as the 
> knowledge itself but it is difficult to visualise our mental maps in the 
> way we might choose.
> I have also been experimenting with TiddlyMap but whilst the maps are 
> amazing to look at I have found due to the large size of my wiki it is 
> difficult to extract the kind of impressions I want from the map, so I 
> became interested in a simpler representation - ranked lists.
>
> Another thought is how to combat "vote" inflation - if the common reaction 
> is only to upvote the current candidate in the light of it's usefulness in 
> the present moment we may end up awarding it more votes than a tiddler we 
> have not seen for a while that is actually more useful. Judges in sports 
> always face the problem if they award a perfect 10 - they have nowhere left 
> to go if someone better comes along next.  One approach is to always be 
> prepared to down vote a tiddler as well as to upvote it. Another is an 
> ageing system where the awarded votes decay with time - for instance if all 
> the votes are added together then each vote might be seen as a percentage 
> of the total vote - the total vote can then be scaled by say 0.95 when 
> someone presses the "rescale" button and then each tiddler is awarded a new 
> vote which is calculated by multiplying it's share percentage by the 
> adjusted total vote. Tiddlers that have been recently upvoted are given 
> vote "juice" that has not yet been degraded by the time decay. It's 
> probably overly complicated but it is useful I think to decide either as a 
> code writer or a user how vote inflation might be dealt with?
>
> Anyway time to play with your plugin.
> Thanks a lot Jon
>
>
>
>
>
>
>
>
>
> On Friday, 26 February 2021 at 05:16:22 UTC Mohammad wrote:
>
>> Hi Diego,
>>  I think the Kookma plugin library is now updated! It was an issue on my 
>> side!
>>  I forgot to update plugin.info  Vote release number is 1.0.1 now. 
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Fri, Feb 26, 2021 at 5:26 AM dieg...@gmail.com  
>> wrote:
>>
>>> Mohammad,
>>>
>>> Thank you! When will this be updated in the Kookma plugin library? I 
>>> thought that happened automatically. 
>>>
>>> On Thursday, February 25, 2021 at 5:37:01 AM UTC-6 Mohammad wrote:
>>>
>>>> *TW-Vote plugin*
>>>>
>>>> Vote plugin lets you rate tiddlers. Both voting and ranking of tiddlers 
>>>> can be done.
>>>>
>>>> There is a new update
>>>>
>>>>
>>>>- *Feb 25th, 2021*
>>>>- [NEW] T

Re: [tw5] Re: [Update] TW-Vote plugin v1.0.0

2022-01-03 Thread Jon Light
Hi Mohammad, thanks that might be just what I have been looking for. My 
TiddlyWiki is over 20Mb and is a self learning+discovery tool as well as a 
knowledge base I have been looking for something like this, I will 
experiment with using it.

>From my view point a vote is a measure of usefulness - I might look at a 
previous vote on the current tiddler and think "that tiddler really was 
more useful than I previously thought I will rank it up a little more.

Additional areas of interest for me here are backlinks ( bi directional 
linking ) - the number of links to a particular tiddler might also be taken 
as another but different measure of popularity and usefulness. I would find 
it useful to have an extra tab on the results list that shows the number of 
backlinks to each tiddler. Even more useful might be to have both votes and 
backlinks on the same tab in two different columns that can both be used to 
order the list. That way it would be possible to ask questions like why are 
some high vote tiddlers low in the backlinks column - is that because the 
tiddler is very useful but also very new and so has not yet been fully 
integrated in the the web of the knowledge base - perhaps time to 
investigate why this is the case. Or perhaps a tiddler has a low vote but a 
large number of backlinks - perhaps this reflects older knowledge that is 
now contradicted by new evidence?

My experience of my own tiddlywiki is that the connections between items of 
our knowledge and thinking are sometimes just as interesting as the 
knowledge itself but it is difficult to visualise our mental maps in the 
way we might choose.
I have also been experimenting with TiddlyMap but whilst the maps are 
amazing to look at I have found due to the large size of my wiki it is 
difficult to extract the kind of impressions I want from the map, so I 
became interested in a simpler representation - ranked lists.

Another thought is how to combat "vote" inflation - if the common reaction 
is only to upvote the current candidate in the light of it's usefulness in 
the present moment we may end up awarding it more votes than a tiddler we 
have not seen for a while that is actually more useful. Judges in sports 
always face the problem if they award a perfect 10 - they have nowhere left 
to go if someone better comes along next.  One approach is to always be 
prepared to down vote a tiddler as well as to upvote it. Another is an 
ageing system where the awarded votes decay with time - for instance if all 
the votes are added together then each vote might be seen as a percentage 
of the total vote - the total vote can then be scaled by say 0.95 when 
someone presses the "rescale" button and then each tiddler is awarded a new 
vote which is calculated by multiplying it's share percentage by the 
adjusted total vote. Tiddlers that have been recently upvoted are given 
vote "juice" that has not yet been degraded by the time decay. It's 
probably overly complicated but it is useful I think to decide either as a 
code writer or a user how vote inflation might be dealt with?

Anyway time to play with your plugin.
Thanks a lot Jon









On Friday, 26 February 2021 at 05:16:22 UTC Mohammad wrote:

> Hi Diego,
>  I think the Kookma plugin library is now updated! It was an issue on my 
> side!
>  I forgot to update plugin.info  Vote release number is 1.0.1 now. 
>
> Best wishes
> Mohammad
>
>
> On Fri, Feb 26, 2021 at 5:26 AM dieg...@gmail.com  
> wrote:
>
>> Mohammad,
>>
>> Thank you! When will this be updated in the Kookma plugin library? I 
>> thought that happened automatically. 
>>
>> On Thursday, February 25, 2021 at 5:37:01 AM UTC-6 Mohammad wrote:
>>
>>> *TW-Vote plugin*
>>>
>>> Vote plugin lets you rate tiddlers. Both voting and ranking of tiddlers 
>>> can be done.
>>>
>>> There is a new update
>>>
>>>
>>>- *Feb 25th, 2021*
>>>- [NEW] This is the first stable release
>>>- [NEW] Vote pill can be customized to be only displayed on selected 
>>>tiddlers
>>>- [NEW] Button to delete all voting
>>>- [NEW] Button to delete vote for missing tiddlers
>>>- [FIXED] Minor issues with macros
>>>- [FIXED] Some code clean up
>>>- [FIXED] Documentation improved
>>>
>>>
>>>
>>>- *Feb 24th, 2021*
>>>- [NEW] Voting summary table
>>>- [NEW] Pagination in summary table
>>>- [NEW] Sort summary table both in title and vote number
>>>
>>>
>>> Special thanks to Mario and Alvaro for their help!
>>>
>>> *Code and demo*
>>>
>>> For learning plugin features, syntax, tutorial and examples see the 
>>> plu

[tw5] Re: [tw] Re: Mermaid plugin?

2021-12-21 Thread Jason Houle
Although this thread is quite old, this is a problem that vexed me for 
quite some time so I want to offer an update this thread for anyone coming 
across this later.

There are now two good options for using Mermaid.JS within TW5:

"Complete" Mermaid.js library installation into TW5: This is the full 
library, but has been updated as of October 2021 and published with a demo 
wiki to make installation a breeze. It is however a full library 
installation (1.2MB).

Demo wiki: https://efurlanm.github.io/mermaid-tw5

Lightweight TiddlyWiki5 plugin that wraps Mermaid Live Editor: I just 
published this as a very lightweight (18kb) "wrapper" of the Mermaid Live 
service which handles all the rendering. All the power of Mermaid with 
streamlined code management and virtually no TW bloat.

YouTube: https://www.youtube.com/watch?v=e78RRDp-NZg
GitHub repo: https://github.com/jasonmhoule/tw5-mermaid
Demo wiki: https://jasonmhoule.github.io/tw5-mermaid/

On Wednesday, December 10, 2014 at 3:57:00 PM UTC-6 jeremy...@gmail.com 
wrote:

> Hi Tobias
>
> The current D3 plugin for TiddlyWiki ($:/plugins/tiddlywiki/d3), actually 
> weighs in at 175KB when saved in JSON format. Perhaps this is a more recent 
> version?
>
> Best wishes
>
> Jeremy
>
> On Wed, Dec 10, 2014 at 8:14 PM, Tobias Beer  wrote:
>
>> Oh, ok, so the heavyweight is d3... I guess we'd be well advised to 
>> install that alongside plugins as a separate global library that can be 
>> used by other libraries as well.
>>
>> What about some official *$:/library/foo* namespace? I think that may be 
>> advisable to be reserved for these kinds of global, possibly shared 
>> libaries, e.g. vis, d3, jquery, math.js, etc...
>>
>> But 400k for d3, I never thought it was that big a thing. Good to know.
>>
>> Best wishes, Tobias.
>>
> -- 
>>
> 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+...@googlegroups.com.
>> To post to this group, send email to tiddl...@googlegroups.com.
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:jeremy...@gmail.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/2126d4a2-ceb0-4b60-9433-98590bf4fca7n%40googlegroups.com.


Re: [tw5] Re: Set Browser Tab title different from TW Title?

2021-12-10 Thread Aidan Grey
OOH - that was even better! Thank you!


On Fri, Dec 10, 2021 at 6:14 PM Eric Shulman  wrote:

> To change the text of the window title (but not the SiteTitle or
> SiteSubtitle), edit the shadow tiddler: `$:/core/wiki/title` and set it's
> content to whatever you want.
>
> enjoy,
> -e
>
> On Friday, December 10, 2021 at 9:14:20 AM UTC-8 taale...@gmail.com wrote:
>
>> Is that possible? If so how?
>>
>> For example, say the name of the TW is  "The South-Eastern Canadian
>> Women's Association Left-Handed Doily Lint Museum for the Benefit of the
>> Children".
>>
>> I want to keep that title on the wiki, but in the browser's tab, I just
>> want "Lint Mus." - how do I do that?
>>
>> --
> 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/8033665c-ef1d-4f01-9265-fb05ad7fc4f1n%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/8033665c-ef1d-4f01-9265-fb05ad7fc4f1n%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAJu7H0Z%3DXfvJoWEfHzHOpQHzqBED_CwP44_r4bZF4zrzz8svXg%40mail.gmail.com.


[tw5] Re: Set Browser Tab title different from TW Title?

2021-12-10 Thread Eric Shulman
To change the text of the window title (but not the SiteTitle or 
SiteSubtitle), edit the shadow tiddler: `$:/core/wiki/title` and set it's 
content to whatever you want.

enjoy,
-e

On Friday, December 10, 2021 at 9:14:20 AM UTC-8 taale...@gmail.com wrote:

> Is that possible? If so how?
>
> For example, say the name of the TW is  "The South-Eastern Canadian 
> Women's Association Left-Handed Doily Lint Museum for the Benefit of the 
> Children".
>
> I want to keep that title on the wiki, but in the browser's tab, I just 
> want "Lint Mus." - how do I do that?
>
>

-- 
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/8033665c-ef1d-4f01-9265-fb05ad7fc4f1n%40googlegroups.com.


Re: [tw5] Re: Set Browser Tab title different from TW Title?

2021-12-10 Thread Aidan Grey
Thanks Mark! That worked!

On Fri, Dec 10, 2021 at 4:39 PM 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> This is a kludge, but might work well enough. My assumption is that to
> actually change the title tab would require changing core code. So instead,
> this approach uses CSS to change the title and sub-title displayed on the
> page, while retaining the configured title for the title tab.
>
> Put your short title into the control panel title field. You will need at
> least one character in the sub-title field too.
>
> Put the following a tiddler and tag $:/tags/Stylesheet .
>
> .tc-site-title {
> visibility: hidden;
> position: relative;
> margin-bottom: 60% ;
> }
> .tc-site-title:after {
>  visibility: visible;
>  position: absolute;
> top: 0;
> left: 0;
> content: "The South-Eastern Canadian Women's Association Left-Handed Doily
> Lint Museum " ;
>  }
> .tc-site-subtitle {
>  visibility: hidden;
> position: relative;
> }
> .tc-site-subtitle:after {
>  visibility: visible;
>  position: absolute;
> top: 0;
> left: 0;
> content: "for the Benefit of the Children" ;
>  }
>
> Change the "content:" attributes to your preferred titles. Change the
> margin-bottom: 60% to whatever percent works with your actual text.
>
> This is what it looks like on my system:
>
> [image: lint-mus.png]
> On Friday, December 10, 2021 at 9:14:20 AM UTC-8 taale...@gmail.com wrote:
>
>> Is that possible? If so how?
>>
>> For example, say the name of the TW is  "The South-Eastern Canadian
>> Women's Association Left-Handed Doily Lint Museum for the Benefit of the
>> Children".
>>
>> I want to keep that title on the wiki, but in the browser's tab, I just
>> want "Lint Mus." - how do I do that?
>>
>> --
> 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/eed2bd3c-4882-4ae6-9d09-eb26e4b3e3f2n%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/eed2bd3c-4882-4ae6-9d09-eb26e4b3e3f2n%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAJu7H0b1Fum0c59DWsVPfyB39S8kPTNPz7%2BxydA%3D3pwHTSe1SA%40mail.gmail.com.


[tw5] Re: Set Browser Tab title different from TW Title?

2021-12-10 Thread 'Mark S.' via TiddlyWiki
This is a kludge, but might work well enough. My assumption is that to 
actually change the title tab would require changing core code. So instead, 
this approach uses CSS to change the title and sub-title displayed on the 
page, while retaining the configured title for the title tab.

Put your short title into the control panel title field. You will need at 
least one character in the sub-title field too.

Put the following a tiddler and tag $:/tags/Stylesheet .

.tc-site-title {
visibility: hidden;
position: relative;
margin-bottom: 60% ;
}
.tc-site-title:after {
 visibility: visible;
 position: absolute;
top: 0;
left: 0;
content: "The South-Eastern Canadian Women's Association Left-Handed Doily 
Lint Museum " ;
 }
.tc-site-subtitle {
 visibility: hidden;
position: relative;
}
.tc-site-subtitle:after {
 visibility: visible;
 position: absolute;
top: 0;
left: 0;
content: "for the Benefit of the Children" ;
 }

Change the "content:" attributes to your preferred titles. Change the 
margin-bottom: 60% to whatever percent works with your actual text.

This is what it looks like on my system:

[image: lint-mus.png]
On Friday, December 10, 2021 at 9:14:20 AM UTC-8 taale...@gmail.com wrote:

> Is that possible? If so how?
>
> For example, say the name of the TW is  "The South-Eastern Canadian 
> Women's Association Left-Handed Doily Lint Museum for the Benefit of the 
> Children".
>
> I want to keep that title on the wiki, but in the browser's tab, I just 
> want "Lint Mus." - how do I do that?
>
>

-- 
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/eed2bd3c-4882-4ae6-9d09-eb26e4b3e3f2n%40googlegroups.com.


[tw5] Set Browser Tab title different from TW Title?

2021-12-10 Thread taale...@gmail.com
Is that possible? If so how?

For example, say the name of the TW is  "The South-Eastern Canadian Women's 
Association Left-Handed Doily Lint Museum for the Benefit of the Children".

I want to keep that title on the wiki, but in the browser's tab, I just 
want "Lint Mus." - how do I do that?

-- 
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/f584d452-af41-4ef8-b913-b1d05fb1bd7bn%40googlegroups.com.


[tw5] Re: [tw] Using Custom Font in Tiddler Editor

2021-12-03 Thread Maurizio Torchio
 No, no, I keep everything local! I put it on drive just for you to 
download and double check if it works by you (after downloading 
CormorantUpright-Regular.ttf from Google, of course. I chose 
CormorantUpright in order to make the difference between where it works and 
where it doesn't very clear) 

Il giorno venerdì 3 dicembre 2021 alle 18:51:17 UTC+1 cj.v...@gmail.com ha 
scritto:

> Oh, if you are keeping your TiddlyWiki instances on Google Drive and using 
> TiddlyDrive, then this definitely won't work.
>
> TiddlyDrive, in my kindergarten way of understanding it, totally upends 
> the "URL", so that TiddlyWiki can't reference the file that is right there 
> where the TiddlyWiki is.
>
> The way around that, I think, is to keep the font file hosted on some site 
> (I use neocities).
>
> I'll give that a try in a little bit.
>
> On Friday, December 3, 2021 at 1:31:34 PM UTC-4 torc...@gmail.com wrote:
>
>> same folder. 
>>
>> i open right clicking, double clicking, from the browser (file://...) 
>> nothing works.
>>
>> here is my empty wiki: 
>> https://drive.google.com/file/d/1bkC5viccXBaiN5tHtxpimuaZ6u9ymWZP/view?usp=sharing
>>
>> Il giorno venerdì 3 dicembre 2021 alle 17:40:58 UTC+1 cj.v...@gmail.com 
>> ha scritto:
>>
>>> Yeah, if that font file is in the same file folder as your TiddlyWiki 
>>> file, I don't know why things are working for me and not for you.
>>>
>>> How do you open your TiddlyWiki file?  Right-click on it and choose open 
>>> in the popup menu?
>>>
>>> Bugs me when stuff works A-1 for me but not for somebody else.  I am two 
>>> steps away from taking a cheap shot at Microsoft ...
>>>
>>> On Friday, December 3, 2021 at 12:37:07 PM UTC-4 Charlie Veniot wrote:
>>>
 I just checked.  Single quotes should make no difference.

 On Friday, December 3, 2021 at 12:35:39 PM UTC-4 Charlie Veniot wrote:

>  You have single quotes around the font-family name references in both 
> "@font-face" and ".bubba" style sections.
>
> I don't in my sample.
>
> I have no idea if that makes a difference.
>
> On Friday, December 3, 2021 at 11:58:38 AM UTC-4 torc...@gmail.com 
> wrote:
>
>> hmm.. I really do not understand. For me it does not work, neither in 
>> firefox on windows nor in Chrome on windows.
>> The font file is accessible (because it can be used in view mode). 
>> but in edit mode it does not work. 
>> anyhow: thank you Charlie for all the time you dedicated to this 
>> topic! 
>> mt
>>
>> Il giorno venerdì 3 dicembre 2021 alle 16:21:51 UTC+1 
>> cj.v...@gmail.com ha scritto:
>>
>>> *Confirmation that this does indeed work with a local file.*
>>> *(Well, unless there is something wonky going on.  Maybe somebody 
>>> else can confirm with their own computer setup.  I am using a 
>>> Chromebook.)*
>>>
>>> I went to Google Fonts and downloaded the Cormorant Garamond font 
>>> family.  In the ZIP file, I copied the CormorantGaramond-Regular.ttf 
>>> file 
>>> to the same folder in which the TiddlyWiki file resides.
>>>
>>> See screenshot below,  Note edits to core tiddler.  In particular, 
>>> the "./" when specifying the font-face src and let's not forget (like I 
>>> first did) to include that third class for the edit widget.
>>>
>>>
>>> [image: Screenshot 2021-12-03 11.14.58 AM.png]
>>>
>>> On Friday, December 3, 2021 at 3:50:38 AM UTC-4 torc...@gmail.com 
>>> wrote:
>>>
 Hi Charlie, using a local font file, i.e

 @font-face {
 font-family: 'CormorantGaramond';
 font-style: normal;
 font-weight: 400;
 src: url(./tiddly/CormorantGaramond-Regular.ttf);
 }

 does not work (it works anywhere in the wiki, but not in the 
 EditTemplate).
 anyhow, even if it worked, I prefer to have a single file (that's 
 why i use this method to embed my font-face: 
 http://kookma.webfonts.tiddlyspot.com/)

 summing up: *CodeMirror plugin solves the problem *(and of course 
 adds other nice functionalities too) *BUT the EditorToolbar does 
 not stick anymore* (to the top of the screen when scrolling). ie.

 div.tc-editor-toolbar {
 position: sticky;
 top: 0;
 }

 does not work anymore. 
 (having a sticky toolbar is quite useful for me in mobile mode). (i 
 tried to change to visible the overflow in CodeMirror to no avail). 

 thank you very much anyhow!
 maurizio

 Il giorno giovedì 2 dicembre 2021 alle 17:06:52 UTC+1 
 cj.v...@gmail.com ha scritto:

> If of any use to anybody, here's how I've setup the editor to use 
> a www.w3schools font face.  (I'm figuring TiddlyWiki could use a font 
> face 
> file sitting in the same file folder as 

[tw5] Re: [tw] Using Custom Font in Tiddler Editor

2021-12-03 Thread Charlie Veniot
Oh, if you are keeping your TiddlyWiki instances on Google Drive and using 
TiddlyDrive, then this definitely won't work.

TiddlyDrive, in my kindergarten way of understanding it, totally upends the 
"URL", so that TiddlyWiki can't reference the file that is right there 
where the TiddlyWiki is.

The way around that, I think, is to keep the font file hosted on some site 
(I use neocities).

I'll give that a try in a little bit.

On Friday, December 3, 2021 at 1:31:34 PM UTC-4 torc...@gmail.com wrote:

> same folder. 
>
> i open right clicking, double clicking, from the browser (file://...) 
> nothing works.
>
> here is my empty wiki: 
> https://drive.google.com/file/d/1bkC5viccXBaiN5tHtxpimuaZ6u9ymWZP/view?usp=sharing
>
> Il giorno venerdì 3 dicembre 2021 alle 17:40:58 UTC+1 cj.v...@gmail.com 
> ha scritto:
>
>> Yeah, if that font file is in the same file folder as your TiddlyWiki 
>> file, I don't know why things are working for me and not for you.
>>
>> How do you open your TiddlyWiki file?  Right-click on it and choose open 
>> in the popup menu?
>>
>> Bugs me when stuff works A-1 for me but not for somebody else.  I am two 
>> steps away from taking a cheap shot at Microsoft ...
>>
>> On Friday, December 3, 2021 at 12:37:07 PM UTC-4 Charlie Veniot wrote:
>>
>>> I just checked.  Single quotes should make no difference.
>>>
>>> On Friday, December 3, 2021 at 12:35:39 PM UTC-4 Charlie Veniot wrote:
>>>
  You have single quotes around the font-family name references in both 
 "@font-face" and ".bubba" style sections.

 I don't in my sample.

 I have no idea if that makes a difference.

 On Friday, December 3, 2021 at 11:58:38 AM UTC-4 torc...@gmail.com 
 wrote:

> hmm.. I really do not understand. For me it does not work, neither in 
> firefox on windows nor in Chrome on windows.
> The font file is accessible (because it can be used in view mode). but 
> in edit mode it does not work. 
> anyhow: thank you Charlie for all the time you dedicated to this 
> topic! 
> mt
>
> Il giorno venerdì 3 dicembre 2021 alle 16:21:51 UTC+1 
> cj.v...@gmail.com ha scritto:
>
>> *Confirmation that this does indeed work with a local file.*
>> *(Well, unless there is something wonky going on.  Maybe somebody 
>> else can confirm with their own computer setup.  I am using a 
>> Chromebook.)*
>>
>> I went to Google Fonts and downloaded the Cormorant Garamond font 
>> family.  In the ZIP file, I copied the CormorantGaramond-Regular.ttf 
>> file 
>> to the same folder in which the TiddlyWiki file resides.
>>
>> See screenshot below,  Note edits to core tiddler.  In particular, 
>> the "./" when specifying the font-face src and let's not forget (like I 
>> first did) to include that third class for the edit widget.
>>
>>
>> [image: Screenshot 2021-12-03 11.14.58 AM.png]
>>
>> On Friday, December 3, 2021 at 3:50:38 AM UTC-4 torc...@gmail.com 
>> wrote:
>>
>>> Hi Charlie, using a local font file, i.e
>>>
>>> @font-face {
>>> font-family: 'CormorantGaramond';
>>> font-style: normal;
>>> font-weight: 400;
>>> src: url(./tiddly/CormorantGaramond-Regular.ttf);
>>> }
>>>
>>> does not work (it works anywhere in the wiki, but not in the 
>>> EditTemplate).
>>> anyhow, even if it worked, I prefer to have a single file (that's 
>>> why i use this method to embed my font-face: 
>>> http://kookma.webfonts.tiddlyspot.com/)
>>>
>>> summing up: *CodeMirror plugin solves the problem *(and of course 
>>> adds other nice functionalities too) *BUT the EditorToolbar does 
>>> not stick anymore* (to the top of the screen when scrolling). ie.
>>>
>>> div.tc-editor-toolbar {
>>> position: sticky;
>>> top: 0;
>>> }
>>>
>>> does not work anymore. 
>>> (having a sticky toolbar is quite useful for me in mobile mode). (i 
>>> tried to change to visible the overflow in CodeMirror to no avail). 
>>>
>>> thank you very much anyhow!
>>> maurizio
>>>
>>> Il giorno giovedì 2 dicembre 2021 alle 17:06:52 UTC+1 
>>> cj.v...@gmail.com ha scritto:
>>>
 If of any use to anybody, here's how I've setup the editor to use a 
 www.w3schools font face.  (I'm figuring TiddlyWiki could use a font 
 face 
 file sitting in the same file folder as the TiddlyWiki.)

 [image: Screenshot 2021-12-02 12.03.52 PM.png]

 On Thursday, December 2, 2021 at 4:08:39 AM UTC-4 torc...@gmail.com 
 wrote:

> thank you Charlie and Jeremy! yes: mine is a font-face. 
> the problem is: I love fonts! I use different fonts for different 
> wiki, they embody the "soul" of the wiki (and I'd like to have the 
> same 
> font whether desktop or mobile, viewing or editing). that's why until 

[tw5] Re: [tw] Using Custom Font in Tiddler Editor

2021-12-03 Thread Maurizio Torchio
same folder. 

i open right clicking, double clicking, from the browser (file://...) 
nothing works.

here is my empty wiki: 
https://drive.google.com/file/d/1bkC5viccXBaiN5tHtxpimuaZ6u9ymWZP/view?usp=sharing

Il giorno venerdì 3 dicembre 2021 alle 17:40:58 UTC+1 cj.v...@gmail.com ha 
scritto:

> Yeah, if that font file is in the same file folder as your TiddlyWiki 
> file, I don't know why things are working for me and not for you.
>
> How do you open your TiddlyWiki file?  Right-click on it and choose open 
> in the popup menu?
>
> Bugs me when stuff works A-1 for me but not for somebody else.  I am two 
> steps away from taking a cheap shot at Microsoft ...
>
> On Friday, December 3, 2021 at 12:37:07 PM UTC-4 Charlie Veniot wrote:
>
>> I just checked.  Single quotes should make no difference.
>>
>> On Friday, December 3, 2021 at 12:35:39 PM UTC-4 Charlie Veniot wrote:
>>
>>>  You have single quotes around the font-family name references in both 
>>> "@font-face" and ".bubba" style sections.
>>>
>>> I don't in my sample.
>>>
>>> I have no idea if that makes a difference.
>>>
>>> On Friday, December 3, 2021 at 11:58:38 AM UTC-4 torc...@gmail.com 
>>> wrote:
>>>
 hmm.. I really do not understand. For me it does not work, neither in 
 firefox on windows nor in Chrome on windows.
 The font file is accessible (because it can be used in view mode). but 
 in edit mode it does not work. 
 anyhow: thank you Charlie for all the time you dedicated to this topic! 
 mt

 Il giorno venerdì 3 dicembre 2021 alle 16:21:51 UTC+1 cj.v...@gmail.com 
 ha scritto:

> *Confirmation that this does indeed work with a local file.*
> *(Well, unless there is something wonky going on.  Maybe somebody else 
> can confirm with their own computer setup.  I am using a Chromebook.)*
>
> I went to Google Fonts and downloaded the Cormorant Garamond font 
> family.  In the ZIP file, I copied the CormorantGaramond-Regular.ttf file 
> to the same folder in which the TiddlyWiki file resides.
>
> See screenshot below,  Note edits to core tiddler.  In particular, the 
> "./" when specifying the font-face src and let's not forget (like I first 
> did) to include that third class for the edit widget.
>
>
> [image: Screenshot 2021-12-03 11.14.58 AM.png]
>
> On Friday, December 3, 2021 at 3:50:38 AM UTC-4 torc...@gmail.com 
> wrote:
>
>> Hi Charlie, using a local font file, i.e
>>
>> @font-face {
>> font-family: 'CormorantGaramond';
>> font-style: normal;
>> font-weight: 400;
>> src: url(./tiddly/CormorantGaramond-Regular.ttf);
>> }
>>
>> does not work (it works anywhere in the wiki, but not in the 
>> EditTemplate).
>> anyhow, even if it worked, I prefer to have a single file (that's why 
>> i use this method to embed my font-face: 
>> http://kookma.webfonts.tiddlyspot.com/)
>>
>> summing up: *CodeMirror plugin solves the problem *(and of course 
>> adds other nice functionalities too) *BUT the EditorToolbar does not 
>> stick anymore* (to the top of the screen when scrolling). ie.
>>
>> div.tc-editor-toolbar {
>> position: sticky;
>> top: 0;
>> }
>>
>> does not work anymore. 
>> (having a sticky toolbar is quite useful for me in mobile mode). (i 
>> tried to change to visible the overflow in CodeMirror to no avail). 
>>
>> thank you very much anyhow!
>> maurizio
>>
>> Il giorno giovedì 2 dicembre 2021 alle 17:06:52 UTC+1 
>> cj.v...@gmail.com ha scritto:
>>
>>> If of any use to anybody, here's how I've setup the editor to use a 
>>> www.w3schools font face.  (I'm figuring TiddlyWiki could use a font 
>>> face 
>>> file sitting in the same file folder as the TiddlyWiki.)
>>>
>>> [image: Screenshot 2021-12-02 12.03.52 PM.png]
>>>
>>> On Thursday, December 2, 2021 at 4:08:39 AM UTC-4 torc...@gmail.com 
>>> wrote:
>>>
 thank you Charlie and Jeremy! yes: mine is a font-face. 
 the problem is: I love fonts! I use different fonts for different 
 wiki, they embody the "soul" of the wiki (and I'd like to have the 
 same 
 font whether desktop or mobile, viewing or editing). that's why until 
 now i 
 used the edit widget for editing. but this means: no toolbar, and it 
 can be 
 annoying, especially on mobile. 
 anyhow: thanks again for this priceless tool!
 m. 

 Il giorno mercoledì 1 dicembre 2021 alle 18:23:39 UTC+1 
 cj.v...@gmail.com ha scritto:

> Thanks for the info, Jeremy.  2-tier client server guy over here, 
> so the innards of web browsers is foreign territory for this kid.
>
> So whatever browser Maurizio is using, that approach I'm 
> suggesting should work with some font-family available by default in 

[tw5] Re: [tw] Using Custom Font in Tiddler Editor

2021-12-03 Thread Charlie Veniot
Yeah, if that font file is in the same file folder as your TiddlyWiki file, 
I don't know why things are working for me and not for you.

How do you open your TiddlyWiki file?  Right-click on it and choose open in 
the popup menu?

Bugs me when stuff works A-1 for me but not for somebody else.  I am two 
steps away from taking a cheap shot at Microsoft ...

On Friday, December 3, 2021 at 12:37:07 PM UTC-4 Charlie Veniot wrote:

> I just checked.  Single quotes should make no difference.
>
> On Friday, December 3, 2021 at 12:35:39 PM UTC-4 Charlie Veniot wrote:
>
>>  You have single quotes around the font-family name references in both 
>> "@font-face" and ".bubba" style sections.
>>
>> I don't in my sample.
>>
>> I have no idea if that makes a difference.
>>
>> On Friday, December 3, 2021 at 11:58:38 AM UTC-4 torc...@gmail.com wrote:
>>
>>> hmm.. I really do not understand. For me it does not work, neither in 
>>> firefox on windows nor in Chrome on windows.
>>> The font file is accessible (because it can be used in view mode). but 
>>> in edit mode it does not work. 
>>> anyhow: thank you Charlie for all the time you dedicated to this topic! 
>>> mt
>>>
>>> Il giorno venerdì 3 dicembre 2021 alle 16:21:51 UTC+1 cj.v...@gmail.com 
>>> ha scritto:
>>>
 *Confirmation that this does indeed work with a local file.*
 *(Well, unless there is something wonky going on.  Maybe somebody else 
 can confirm with their own computer setup.  I am using a Chromebook.)*

 I went to Google Fonts and downloaded the Cormorant Garamond font 
 family.  In the ZIP file, I copied the CormorantGaramond-Regular.ttf file 
 to the same folder in which the TiddlyWiki file resides.

 See screenshot below,  Note edits to core tiddler.  In particular, the 
 "./" when specifying the font-face src and let's not forget (like I first 
 did) to include that third class for the edit widget.


 [image: Screenshot 2021-12-03 11.14.58 AM.png]

 On Friday, December 3, 2021 at 3:50:38 AM UTC-4 torc...@gmail.com 
 wrote:

> Hi Charlie, using a local font file, i.e
>
> @font-face {
> font-family: 'CormorantGaramond';
> font-style: normal;
> font-weight: 400;
> src: url(./tiddly/CormorantGaramond-Regular.ttf);
> }
>
> does not work (it works anywhere in the wiki, but not in the 
> EditTemplate).
> anyhow, even if it worked, I prefer to have a single file (that's why 
> i use this method to embed my font-face: 
> http://kookma.webfonts.tiddlyspot.com/)
>
> summing up: *CodeMirror plugin solves the problem *(and of course 
> adds other nice functionalities too) *BUT the EditorToolbar does not 
> stick anymore* (to the top of the screen when scrolling). ie.
>
> div.tc-editor-toolbar {
> position: sticky;
> top: 0;
> }
>
> does not work anymore. 
> (having a sticky toolbar is quite useful for me in mobile mode). (i 
> tried to change to visible the overflow in CodeMirror to no avail). 
>
> thank you very much anyhow!
> maurizio
>
> Il giorno giovedì 2 dicembre 2021 alle 17:06:52 UTC+1 
> cj.v...@gmail.com ha scritto:
>
>> If of any use to anybody, here's how I've setup the editor to use a 
>> www.w3schools font face.  (I'm figuring TiddlyWiki could use a font face 
>> file sitting in the same file folder as the TiddlyWiki.)
>>
>> [image: Screenshot 2021-12-02 12.03.52 PM.png]
>>
>> On Thursday, December 2, 2021 at 4:08:39 AM UTC-4 torc...@gmail.com 
>> wrote:
>>
>>> thank you Charlie and Jeremy! yes: mine is a font-face. 
>>> the problem is: I love fonts! I use different fonts for different 
>>> wiki, they embody the "soul" of the wiki (and I'd like to have the same 
>>> font whether desktop or mobile, viewing or editing). that's why until 
>>> now i 
>>> used the edit widget for editing. but this means: no toolbar, and it 
>>> can be 
>>> annoying, especially on mobile. 
>>> anyhow: thanks again for this priceless tool!
>>> m. 
>>>
>>> Il giorno mercoledì 1 dicembre 2021 alle 18:23:39 UTC+1 
>>> cj.v...@gmail.com ha scritto:
>>>
 Thanks for the info, Jeremy.  2-tier client server guy over here, 
 so the innards of web browsers is foreign territory for this kid.

 So whatever browser Maurizio is using, that approach I'm suggesting 
 should work with some font-family available by default in whatever 
 browser 
 Maurizio is using, right?

 On Wednesday, December 1, 2021 at 1:15:16 PM UTC-4 
 jeremy...@gmail.com wrote:

> I think it's working for CJ because the "Brush Script MT" font is 
> available by default in that browser, without needing to be defined 
> by a 
> font-face tag. That technique only works for built-in fonts 
> because 

[tw5] Re: [tw] Using Custom Font in Tiddler Editor

2021-12-03 Thread Charlie Veniot
I just checked.  Single quotes should make no difference.

On Friday, December 3, 2021 at 12:35:39 PM UTC-4 Charlie Veniot wrote:

>  You have single quotes around the font-family name references in both 
> "@font-face" and ".bubba" style sections.
>
> I don't in my sample.
>
> I have no idea if that makes a difference.
>
> On Friday, December 3, 2021 at 11:58:38 AM UTC-4 torc...@gmail.com wrote:
>
>> hmm.. I really do not understand. For me it does not work, neither in 
>> firefox on windows nor in Chrome on windows.
>> The font file is accessible (because it can be used in view mode). but in 
>> edit mode it does not work. 
>> anyhow: thank you Charlie for all the time you dedicated to this topic! 
>> mt
>>
>> Il giorno venerdì 3 dicembre 2021 alle 16:21:51 UTC+1 cj.v...@gmail.com 
>> ha scritto:
>>
>>> *Confirmation that this does indeed work with a local file.*
>>> *(Well, unless there is something wonky going on.  Maybe somebody else 
>>> can confirm with their own computer setup.  I am using a Chromebook.)*
>>>
>>> I went to Google Fonts and downloaded the Cormorant Garamond font 
>>> family.  In the ZIP file, I copied the CormorantGaramond-Regular.ttf file 
>>> to the same folder in which the TiddlyWiki file resides.
>>>
>>> See screenshot below,  Note edits to core tiddler.  In particular, the 
>>> "./" when specifying the font-face src and let's not forget (like I first 
>>> did) to include that third class for the edit widget.
>>>
>>>
>>> [image: Screenshot 2021-12-03 11.14.58 AM.png]
>>>
>>> On Friday, December 3, 2021 at 3:50:38 AM UTC-4 torc...@gmail.com wrote:
>>>
 Hi Charlie, using a local font file, i.e

 @font-face {
 font-family: 'CormorantGaramond';
 font-style: normal;
 font-weight: 400;
 src: url(./tiddly/CormorantGaramond-Regular.ttf);
 }

 does not work (it works anywhere in the wiki, but not in the 
 EditTemplate).
 anyhow, even if it worked, I prefer to have a single file (that's why i 
 use this method to embed my font-face: 
 http://kookma.webfonts.tiddlyspot.com/)

 summing up: *CodeMirror plugin solves the problem *(and of course adds 
 other nice functionalities too) *BUT the EditorToolbar does not stick 
 anymore* (to the top of the screen when scrolling). ie.

 div.tc-editor-toolbar {
 position: sticky;
 top: 0;
 }

 does not work anymore. 
 (having a sticky toolbar is quite useful for me in mobile mode). (i 
 tried to change to visible the overflow in CodeMirror to no avail). 

 thank you very much anyhow!
 maurizio

 Il giorno giovedì 2 dicembre 2021 alle 17:06:52 UTC+1 cj.v...@gmail.com 
 ha scritto:

> If of any use to anybody, here's how I've setup the editor to use a 
> www.w3schools font face.  (I'm figuring TiddlyWiki could use a font face 
> file sitting in the same file folder as the TiddlyWiki.)
>
> [image: Screenshot 2021-12-02 12.03.52 PM.png]
>
> On Thursday, December 2, 2021 at 4:08:39 AM UTC-4 torc...@gmail.com 
> wrote:
>
>> thank you Charlie and Jeremy! yes: mine is a font-face. 
>> the problem is: I love fonts! I use different fonts for different 
>> wiki, they embody the "soul" of the wiki (and I'd like to have the same 
>> font whether desktop or mobile, viewing or editing). that's why until 
>> now i 
>> used the edit widget for editing. but this means: no toolbar, and it can 
>> be 
>> annoying, especially on mobile. 
>> anyhow: thanks again for this priceless tool!
>> m. 
>>
>> Il giorno mercoledì 1 dicembre 2021 alle 18:23:39 UTC+1 
>> cj.v...@gmail.com ha scritto:
>>
>>> Thanks for the info, Jeremy.  2-tier client server guy over here, so 
>>> the innards of web browsers is foreign territory for this kid.
>>>
>>> So whatever browser Maurizio is using, that approach I'm suggesting 
>>> should work with some font-family available by default in whatever 
>>> browser 
>>> Maurizio is using, right?
>>>
>>> On Wednesday, December 1, 2021 at 1:15:16 PM UTC-4 
>>> jeremy...@gmail.com wrote:
>>>
 I think it's working for CJ because the "Brush Script MT" font is 
 available by default in that browser, without needing to be defined by 
 a 
 font-face tag. That technique only works for built-in fonts 
 because there's no way to inject the CSS font-face declaration into 
 the 
 iframe.

 Best wishes

 Jeremy





 On Wednesday, December 1, 2021 at 5:03:36 PM UTC cj.v...@gmail.com 
 wrote:

> Just to confirm, I went to tiddlywiki.com, edited (i.e. clicked 
> the "edit" button) that core tiddler, *(1)* added the style lines 
> above the edit widget, and *(2)* altered the class for the edit 
> widget, adding bubba as 

[tw5] Re: [tw] Using Custom Font in Tiddler Editor

2021-12-03 Thread Charlie Veniot
 You have single quotes around the font-family name references in both 
"@font-face" and ".bubba" style sections.

I don't in my sample.

I have no idea if that makes a difference.

On Friday, December 3, 2021 at 11:58:38 AM UTC-4 torc...@gmail.com wrote:

> hmm.. I really do not understand. For me it does not work, neither in 
> firefox on windows nor in Chrome on windows.
> The font file is accessible (because it can be used in view mode). but in 
> edit mode it does not work. 
> anyhow: thank you Charlie for all the time you dedicated to this topic! 
> mt
>
> Il giorno venerdì 3 dicembre 2021 alle 16:21:51 UTC+1 cj.v...@gmail.com 
> ha scritto:
>
>> *Confirmation that this does indeed work with a local file.*
>> *(Well, unless there is something wonky going on.  Maybe somebody else 
>> can confirm with their own computer setup.  I am using a Chromebook.)*
>>
>> I went to Google Fonts and downloaded the Cormorant Garamond font 
>> family.  In the ZIP file, I copied the CormorantGaramond-Regular.ttf file 
>> to the same folder in which the TiddlyWiki file resides.
>>
>> See screenshot below,  Note edits to core tiddler.  In particular, the 
>> "./" when specifying the font-face src and let's not forget (like I first 
>> did) to include that third class for the edit widget.
>>
>>
>> [image: Screenshot 2021-12-03 11.14.58 AM.png]
>>
>> On Friday, December 3, 2021 at 3:50:38 AM UTC-4 torc...@gmail.com wrote:
>>
>>> Hi Charlie, using a local font file, i.e
>>>
>>> @font-face {
>>> font-family: 'CormorantGaramond';
>>> font-style: normal;
>>> font-weight: 400;
>>> src: url(./tiddly/CormorantGaramond-Regular.ttf);
>>> }
>>>
>>> does not work (it works anywhere in the wiki, but not in the 
>>> EditTemplate).
>>> anyhow, even if it worked, I prefer to have a single file (that's why i 
>>> use this method to embed my font-face: 
>>> http://kookma.webfonts.tiddlyspot.com/)
>>>
>>> summing up: *CodeMirror plugin solves the problem *(and of course adds 
>>> other nice functionalities too) *BUT the EditorToolbar does not stick 
>>> anymore* (to the top of the screen when scrolling). ie.
>>>
>>> div.tc-editor-toolbar {
>>> position: sticky;
>>> top: 0;
>>> }
>>>
>>> does not work anymore. 
>>> (having a sticky toolbar is quite useful for me in mobile mode). (i 
>>> tried to change to visible the overflow in CodeMirror to no avail). 
>>>
>>> thank you very much anyhow!
>>> maurizio
>>>
>>> Il giorno giovedì 2 dicembre 2021 alle 17:06:52 UTC+1 cj.v...@gmail.com 
>>> ha scritto:
>>>
 If of any use to anybody, here's how I've setup the editor to use a 
 www.w3schools font face.  (I'm figuring TiddlyWiki could use a font face 
 file sitting in the same file folder as the TiddlyWiki.)

 [image: Screenshot 2021-12-02 12.03.52 PM.png]

 On Thursday, December 2, 2021 at 4:08:39 AM UTC-4 torc...@gmail.com 
 wrote:

> thank you Charlie and Jeremy! yes: mine is a font-face. 
> the problem is: I love fonts! I use different fonts for different 
> wiki, they embody the "soul" of the wiki (and I'd like to have the same 
> font whether desktop or mobile, viewing or editing). that's why until now 
> i 
> used the edit widget for editing. but this means: no toolbar, and it can 
> be 
> annoying, especially on mobile. 
> anyhow: thanks again for this priceless tool!
> m. 
>
> Il giorno mercoledì 1 dicembre 2021 alle 18:23:39 UTC+1 
> cj.v...@gmail.com ha scritto:
>
>> Thanks for the info, Jeremy.  2-tier client server guy over here, so 
>> the innards of web browsers is foreign territory for this kid.
>>
>> So whatever browser Maurizio is using, that approach I'm suggesting 
>> should work with some font-family available by default in whatever 
>> browser 
>> Maurizio is using, right?
>>
>> On Wednesday, December 1, 2021 at 1:15:16 PM UTC-4 
>> jeremy...@gmail.com wrote:
>>
>>> I think it's working for CJ because the "Brush Script MT" font is 
>>> available by default in that browser, without needing to be defined by 
>>> a 
>>> font-face tag. That technique only works for built-in fonts because 
>>> there's no way to inject the CSS font-face declaration into the iframe.
>>>
>>> Best wishes
>>>
>>> Jeremy
>>>
>>>
>>>
>>>
>>>
>>> On Wednesday, December 1, 2021 at 5:03:36 PM UTC cj.v...@gmail.com 
>>> wrote:
>>>
 Just to confirm, I went to tiddlywiki.com, edited (i.e. clicked 
 the "edit" button) that core tiddler, *(1)* added the style lines 
 above the edit widget, and *(2)* altered the class for the edit 
 widget, adding bubba as the third class.

 Works A-1 for me.

 Maybe Brush Script MT cursive doesn't work with your web browser?  
 (Another screenshot for the proof in the pudding, with an obnoxious 
 font 
 size, below.)

 It is 

Re: [tw5] Re: Bug in TW 5.2.0 in zoomin view.

2021-12-03 Thread Siniy-Kit
if we remove // in .zoomin.js it works better 

* // Scroll the target into view*
*// $tw.pageScroller.scrollIntoView(targetElement);*
*};*

*/**
*Find the first child DOM node of a widget that has the class "tc-title"*
**/ *

среда, 1 декабря 2021 г. в 17:59:02 UTC+3, jeremy...@gmail.com: 

> Hi Siniy-Kit
>
> In TW 5.2.1-prereliase  everything is good. And it is great!
>
>
> Excellent news, thanks for your help,
>
> Best wishes
>
> Jeremy
>
>
> http://heeg.ru/shop2_3.html?id=10Q1RMs2QeKlvKywq7MGHSRltcDYXYTD5y2HFs0aygqE
>
> понедельник, 29 ноября 2021 г. в 17:56:35 UTC+3, Siniy-Kit: 
>
>> Here  I have update my TW5 to 5.2.0  template. 
>>
>> http://heeg.ru/shop2_3_.html?id=10Q1RMs2QeKlvKywq7MGHSRltcDYXYTD5y2HFs0aygqE#index
>> if I press back button (previous page) it scrolled to the bottom of the 
>> page. May be we can fix it by css styles?
>>
>> вторник, 9 ноября 2021 г. в 19:57:29 UTC+3, jeremy...@gmail.com: 
>>
>>> Hi Siniy-Kit,
>>
>>
>>> I can confirm the problem with v5.2.0. I also checked v5.1.23 and it 
>>> seems to have the same problem.
>>>
>>> Do you know when the problem was introduced? Did it indeed ever work 
>>> properly?
>>>
>>> Best wishes
>>>
>>> Jeremy
>>>
>>> On Tuesday, November 9, 2021 at 4:45:33 PM UTC Jeremy Ruston wrote:
>>>
>>>> Hi Siniy-Kit
>>>>
>>>> Thanks for the report, I'll investigate.
>>>>
>>>> Best wishes
>>>>
>>>> Jeremy
>>>>
>>>> On Sunday, November 7, 2021 at 9:40:19 AM UTC Siniy-Kit wrote:
>>>>
>>>>> Jeremy, help me please. I want to update my template to  new version, 
>>>>> but it works only with zoomin view. 
>>>>>
>>>>> четверг, 28 октября 2021 г. в 15:52:49 UTC+3, Siniy-Kit: 
>>>>>
>>>>>> Old TW5 works good. But now it has bad auto scroll while navigating 
>>>>>> between tiddlers 
>>>>>> For example open this tiddler 
>>>>>> https://tiddlywiki.com/#Filter%20Operators then make zoomin view
>>>>>> [image: Снимок экрана 2021-10-28 154440.png]
>>>>>>  then go back to Filter Operators tiddler and press "range"
>>>>>> [image: Снимок экрана 2021-10-28 154716.png]
>>>>>>
>>>>>> after click you will see this
>>>>>> [image: Снимок экрана 2021-10-28 154853.png]
>>>>>>
>>>>>> I want to see the top of this tiddler, but it autoscroll to middle. 
>>>>>> Can we fix this bug? 
>>>>>>
>>>>> -- 
> 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+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/767e74c3-36a7-4b8c-a633-0bb7f13b5c24n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/767e74c3-36a7-4b8c-a633-0bb7f13b5c24n%40googlegroups.com?utm_medium=email_source=footer>
> .
>
>

-- 
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/bc80bbc1-169e-4312-bca0-03b6e4988d8bn%40googlegroups.com.


[tw5] Re: [tw] Using Custom Font in Tiddler Editor

2021-12-03 Thread Maurizio Torchio
nope. I spoke too soon. CodeMirror manage badly text selection on 
touchscreens. looks like https://codemirror.net/6/ will fix this but until 
then... it's of no use for me. 
: (

Il giorno venerdì 3 dicembre 2021 alle 11:02:00 UTC+1 Maurizio Torchio ha 
scritto:

> To Whom It May Concern: it was just a silly z-index problem.
>
> div.tc-editor-toolbar {
> position: sticky;
> top: 0px;
> z-index:1;
> }
>
> now I can use embedded font-face in the editor (thanks to CodeMirror) AND 
> have a sticky toolbar. (and I'm perfectly happy!)
> : ) 
>
> Il giorno venerdì 3 dicembre 2021 alle 08:50:38 UTC+1 Maurizio Torchio ha 
> scritto:
>
>> Hi Charlie, using a local font file, i.e
>>
>> @font-face {
>> font-family: 'CormorantGaramond';
>> font-style: normal;
>> font-weight: 400;
>> src: url(./tiddly/CormorantGaramond-Regular.ttf);
>> }
>>
>> does not work (it works anywhere in the wiki, but not in the 
>> EditTemplate).
>> anyhow, even if it worked, I prefer to have a single file (that's why i 
>> use this method to embed my font-face: 
>> http://kookma.webfonts.tiddlyspot.com/)
>>
>> summing up: *CodeMirror plugin solves the problem *(and of course adds 
>> other nice functionalities too) *BUT the EditorToolbar does not stick 
>> anymore* (to the top of the screen when scrolling). ie.
>>
>> div.tc-editor-toolbar {
>> position: sticky;
>> top: 0;
>> }
>>
>> does not work anymore. 
>> (having a sticky toolbar is quite useful for me in mobile mode). (i tried 
>> to change to visible the overflow in CodeMirror to no avail). 
>>
>> thank you very much anyhow!
>> maurizio
>>
>> Il giorno giovedì 2 dicembre 2021 alle 17:06:52 UTC+1 cj.v...@gmail.com 
>> ha scritto:
>>
>>> If of any use to anybody, here's how I've setup the editor to use a 
>>> www.w3schools font face.  (I'm figuring TiddlyWiki could use a font face 
>>> file sitting in the same file folder as the TiddlyWiki.)
>>>
>>> [image: Screenshot 2021-12-02 12.03.52 PM.png]
>>>
>>> On Thursday, December 2, 2021 at 4:08:39 AM UTC-4 torc...@gmail.com 
>>> wrote:
>>>
 thank you Charlie and Jeremy! yes: mine is a font-face. 
 the problem is: I love fonts! I use different fonts for different wiki, 
 they embody the "soul" of the wiki (and I'd like to have the same font 
 whether desktop or mobile, viewing or editing). that's why until now i 
 used 
 the edit widget for editing. but this means: no toolbar, and it can be 
 annoying, especially on mobile. 
 anyhow: thanks again for this priceless tool!
 m. 

 Il giorno mercoledì 1 dicembre 2021 alle 18:23:39 UTC+1 
 cj.v...@gmail.com ha scritto:

> Thanks for the info, Jeremy.  2-tier client server guy over here, so 
> the innards of web browsers is foreign territory for this kid.
>
> So whatever browser Maurizio is using, that approach I'm suggesting 
> should work with some font-family available by default in whatever 
> browser 
> Maurizio is using, right?
>
> On Wednesday, December 1, 2021 at 1:15:16 PM UTC-4 jeremy...@gmail.com 
> wrote:
>
>> I think it's working for CJ because the "Brush Script MT" font is 
>> available by default in that browser, without needing to be defined by a 
>> font-face tag. That technique only works for built-in fonts because 
>> there's no way to inject the CSS font-face declaration into the iframe.
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>>
>>
>>
>> On Wednesday, December 1, 2021 at 5:03:36 PM UTC cj.v...@gmail.com 
>> wrote:
>>
>>> Just to confirm, I went to tiddlywiki.com, edited (i.e. clicked the 
>>> "edit" button) that core tiddler, *(1)* added the style lines above 
>>> the edit widget, and *(2)* altered the class for the edit widget, 
>>> adding bubba as the third class.
>>>
>>> Works A-1 for me.
>>>
>>> Maybe Brush Script MT cursive doesn't work with your web browser?  
>>> (Another screenshot for the proof in the pudding, with an obnoxious 
>>> font 
>>> size, below.)
>>>
>>> It is the font in the editor that you want adjusted, right?
>>>
>>> Total aside: "bubba" because it is easy for me to find and 
>>> remember.  I'm a huge fan of the movie Forrest Gump, and really liked 
>>> "Bubba" in that movie.
>>>
>>> [image: Screenshot 2021-12-01 12.58.38 PM.png]
>>>
>>> On Wednesday, December 1, 2021 at 12:45:03 PM UTC-4 Charlie Veniot 
>>> wrote:
>>>
 I forgot to mention, you have to add that "bubba" class to the edit 
 text widget.

 As per the screenshot, the editor is showing that funky font.

 However, it did strangely take half-a-minute or so for that font to 
 take effect.

 On Wednesday, December 1, 2021 at 11:45:47 AM UTC-4 
 torc...@gmail.com wrote:

> thank you cj.v, but it didn't worked for me. 
> it assign the class bubba to the 

[tw5] Re: [tw] Using Custom Font in Tiddler Editor

2021-12-03 Thread Maurizio Torchio
 To Whom It May Concern: it was just a silly z-index problem.

div.tc-editor-toolbar {
position: sticky;
top: 0px;
z-index:1;
}

now I can use embedded font-face in the editor (thanks to CodeMirror) AND 
have a sticky toolbar. (and I'm perfectly happy!)
: ) 

Il giorno venerdì 3 dicembre 2021 alle 08:50:38 UTC+1 Maurizio Torchio ha 
scritto:

> Hi Charlie, using a local font file, i.e
>
> @font-face {
> font-family: 'CormorantGaramond';
> font-style: normal;
> font-weight: 400;
> src: url(./tiddly/CormorantGaramond-Regular.ttf);
> }
>
> does not work (it works anywhere in the wiki, but not in the EditTemplate).
> anyhow, even if it worked, I prefer to have a single file (that's why i 
> use this method to embed my font-face: 
> http://kookma.webfonts.tiddlyspot.com/)
>
> summing up: *CodeMirror plugin solves the problem *(and of course adds 
> other nice functionalities too) *BUT the EditorToolbar does not stick 
> anymore* (to the top of the screen when scrolling). ie.
>
> div.tc-editor-toolbar {
> position: sticky;
> top: 0;
> }
>
> does not work anymore. 
> (having a sticky toolbar is quite useful for me in mobile mode). (i tried 
> to change to visible the overflow in CodeMirror to no avail). 
>
> thank you very much anyhow!
> maurizio
>
> Il giorno giovedì 2 dicembre 2021 alle 17:06:52 UTC+1 cj.v...@gmail.com 
> ha scritto:
>
>> If of any use to anybody, here's how I've setup the editor to use a 
>> www.w3schools font face.  (I'm figuring TiddlyWiki could use a font face 
>> file sitting in the same file folder as the TiddlyWiki.)
>>
>> [image: Screenshot 2021-12-02 12.03.52 PM.png]
>>
>> On Thursday, December 2, 2021 at 4:08:39 AM UTC-4 torc...@gmail.com 
>> wrote:
>>
>>> thank you Charlie and Jeremy! yes: mine is a font-face. 
>>> the problem is: I love fonts! I use different fonts for different wiki, 
>>> they embody the "soul" of the wiki (and I'd like to have the same font 
>>> whether desktop or mobile, viewing or editing). that's why until now i used 
>>> the edit widget for editing. but this means: no toolbar, and it can be 
>>> annoying, especially on mobile. 
>>> anyhow: thanks again for this priceless tool!
>>> m. 
>>>
>>> Il giorno mercoledì 1 dicembre 2021 alle 18:23:39 UTC+1 
>>> cj.v...@gmail.com ha scritto:
>>>
 Thanks for the info, Jeremy.  2-tier client server guy over here, so 
 the innards of web browsers is foreign territory for this kid.

 So whatever browser Maurizio is using, that approach I'm suggesting 
 should work with some font-family available by default in whatever browser 
 Maurizio is using, right?

 On Wednesday, December 1, 2021 at 1:15:16 PM UTC-4 jeremy...@gmail.com 
 wrote:

> I think it's working for CJ because the "Brush Script MT" font is 
> available by default in that browser, without needing to be defined by a 
> font-face tag. That technique only works for built-in fonts because 
> there's no way to inject the CSS font-face declaration into the iframe.
>
> Best wishes
>
> Jeremy
>
>
>
>
>
> On Wednesday, December 1, 2021 at 5:03:36 PM UTC cj.v...@gmail.com 
> wrote:
>
>> Just to confirm, I went to tiddlywiki.com, edited (i.e. clicked the 
>> "edit" button) that core tiddler, *(1)* added the style lines above 
>> the edit widget, and *(2)* altered the class for the edit widget, 
>> adding bubba as the third class.
>>
>> Works A-1 for me.
>>
>> Maybe Brush Script MT cursive doesn't work with your web browser?  
>> (Another screenshot for the proof in the pudding, with an obnoxious font 
>> size, below.)
>>
>> It is the font in the editor that you want adjusted, right?
>>
>> Total aside: "bubba" because it is easy for me to find and remember.  
>> I'm a huge fan of the movie Forrest Gump, and really liked "Bubba" in 
>> that 
>> movie.
>>
>> [image: Screenshot 2021-12-01 12.58.38 PM.png]
>>
>> On Wednesday, December 1, 2021 at 12:45:03 PM UTC-4 Charlie Veniot 
>> wrote:
>>
>>> I forgot to mention, you have to add that "bubba" class to the edit 
>>> text widget.
>>>
>>> As per the screenshot, the editor is showing that funky font.
>>>
>>> However, it did strangely take half-a-minute or so for that font to 
>>> take effect.
>>>
>>> On Wednesday, December 1, 2021 at 11:45:47 AM UTC-4 
>>> torc...@gmail.com wrote:
>>>
 thank you cj.v, but it didn't worked for me. 
 it assign the class bubba to the iframe (just as 
 $:/themes/tiddlywiki/vanilla/settings/editorfontfamily does) but... 
 nothing 
 changes.
 i suspect it has to do with what Jeremy wrote:

 "The reason that custom fonts doesn’t work with the editor toolbar 
 is because of the way that it creates the textarea element within an 
 embedded iframe (this is done so that the selection in the 

[tw5] Re: [tw] Using Custom Font in Tiddler Editor

2021-12-02 Thread Maurizio Torchio
 Hi Charlie, using a local font file, i.e

@font-face {
font-family: 'CormorantGaramond';
font-style: normal;
font-weight: 400;
src: url(./tiddly/CormorantGaramond-Regular.ttf);
}

does not work (it works anywhere in the wiki, but not in the EditTemplate).
anyhow, even if it worked, I prefer to have a single file (that's why i use 
this method to embed my font-face: http://kookma.webfonts.tiddlyspot.com/)

summing up: *CodeMirror plugin solves the problem *(and of course adds 
other nice functionalities too) *BUT the EditorToolbar does not stick 
anymore* (to the top of the screen when scrolling). ie.

div.tc-editor-toolbar {
position: sticky;
top: 0;
}

does not work anymore. 
(having a sticky toolbar is quite useful for me in mobile mode). (i tried 
to change to visible the overflow in CodeMirror to no avail). 

thank you very much anyhow!
maurizio

Il giorno giovedì 2 dicembre 2021 alle 17:06:52 UTC+1 cj.v...@gmail.com ha 
scritto:

> If of any use to anybody, here's how I've setup the editor to use a 
> www.w3schools font face.  (I'm figuring TiddlyWiki could use a font face 
> file sitting in the same file folder as the TiddlyWiki.)
>
> [image: Screenshot 2021-12-02 12.03.52 PM.png]
>
> On Thursday, December 2, 2021 at 4:08:39 AM UTC-4 torc...@gmail.com wrote:
>
>> thank you Charlie and Jeremy! yes: mine is a font-face. 
>> the problem is: I love fonts! I use different fonts for different wiki, 
>> they embody the "soul" of the wiki (and I'd like to have the same font 
>> whether desktop or mobile, viewing or editing). that's why until now i used 
>> the edit widget for editing. but this means: no toolbar, and it can be 
>> annoying, especially on mobile. 
>> anyhow: thanks again for this priceless tool!
>> m. 
>>
>> Il giorno mercoledì 1 dicembre 2021 alle 18:23:39 UTC+1 cj.v...@gmail.com 
>> ha scritto:
>>
>>> Thanks for the info, Jeremy.  2-tier client server guy over here, so the 
>>> innards of web browsers is foreign territory for this kid.
>>>
>>> So whatever browser Maurizio is using, that approach I'm suggesting 
>>> should work with some font-family available by default in whatever browser 
>>> Maurizio is using, right?
>>>
>>> On Wednesday, December 1, 2021 at 1:15:16 PM UTC-4 jeremy...@gmail.com 
>>> wrote:
>>>
 I think it's working for CJ because the "Brush Script MT" font is 
 available by default in that browser, without needing to be defined by a 
 font-face tag. That technique only works for built-in fonts because 
 there's no way to inject the CSS font-face declaration into the iframe.

 Best wishes

 Jeremy





 On Wednesday, December 1, 2021 at 5:03:36 PM UTC cj.v...@gmail.com 
 wrote:

> Just to confirm, I went to tiddlywiki.com, edited (i.e. clicked the 
> "edit" button) that core tiddler, *(1)* added the style lines above 
> the edit widget, and *(2)* altered the class for the edit widget, 
> adding bubba as the third class.
>
> Works A-1 for me.
>
> Maybe Brush Script MT cursive doesn't work with your web browser?  
> (Another screenshot for the proof in the pudding, with an obnoxious font 
> size, below.)
>
> It is the font in the editor that you want adjusted, right?
>
> Total aside: "bubba" because it is easy for me to find and remember.  
> I'm a huge fan of the movie Forrest Gump, and really liked "Bubba" in 
> that 
> movie.
>
> [image: Screenshot 2021-12-01 12.58.38 PM.png]
>
> On Wednesday, December 1, 2021 at 12:45:03 PM UTC-4 Charlie Veniot 
> wrote:
>
>> I forgot to mention, you have to add that "bubba" class to the edit 
>> text widget.
>>
>> As per the screenshot, the editor is showing that funky font.
>>
>> However, it did strangely take half-a-minute or so for that font to 
>> take effect.
>>
>> On Wednesday, December 1, 2021 at 11:45:47 AM UTC-4 torc...@gmail.com 
>> wrote:
>>
>>> thank you cj.v, but it didn't worked for me. 
>>> it assign the class bubba to the iframe (just as 
>>> $:/themes/tiddlywiki/vanilla/settings/editorfontfamily does) but... 
>>> nothing 
>>> changes.
>>> i suspect it has to do with what Jeremy wrote:
>>>
>>> "The reason that custom fonts doesn’t work with the editor toolbar 
>>> is because of the way that it creates the textarea element within an 
>>> embedded iframe (this is done so that the selection in the textarea 
>>> isn’t 
>>> lost when the user clicks on a toolbar button and the textarea loses 
>>> focus).
>>>
>>> The iframe doesn’t inherit any of the styles in the main document, 
>>> so the code actually creates a hidden textarea and then reads back the 
>>> styles, and then applies them to the textarea in the iframe. That means 
>>> that any formatting applied to the textarea will be faithfully 
>>> reproduced 
>>> within the iframe. However, it only 

Re: [tw5] [tw] Using Custom Font in Tiddler Editor

2021-12-02 Thread Jeremy Ruston
Hi Maurizio,

That’s great to hear, I’m sorry I didn’t mention that option before.

Best wishes

Jeremy

PS - do send a screenshot of what you’ve ended up with, it might inspire 
others...

> On 2 Dec 2021, at 08:47, Maurizio Torchio  wrote:
> 
> WOW! IT WORKS
> I'm... elated.
> 
> Il giorno giovedì 2 dicembre 2021 alle 09:10:26 UTC+1 jeremy...@gmail.com ha 
> scritto:
>> thank you Charlie and Jeremy! yes: mine is a font-face. 
>> the problem is: I love fonts! I use different fonts for different wiki, they 
>> embody the "soul" of the wiki (and I'd like to have the same font whether 
>> desktop or mobile, viewing or editing). that's why until now i used the edit 
>> widget for editing. but this means: no toolbar, and it can be annoying, 
>> especially on mobile. 
>> anyhow: thanks again for this priceless tool!
>> m. 
> 
> Have you tried using the CodeMirror plugin? It allows you to change the 
> editor font family through $:/ControlPanel settings panel
> 
> Best wishes
> 
> Jeremy
> 
> 
>> 
>> Il giorno mercoledì 1 dicembre 2021 alle 18:23:39 UTC+1 cj.v...@gmail.com 
>>  ha scritto:
>> Thanks for the info, Jeremy.  2-tier client server guy over here, so the 
>> innards of web browsers is foreign territory for this kid.
>> 
>> So whatever browser Maurizio is using, that approach I'm suggesting should 
>> work with some font-family available by default in whatever browser Maurizio 
>> is using, right?
>> 
>> On Wednesday, December 1, 2021 at 1:15:16 PM UTC-4 jeremy...@gmail.com <> 
>> wrote:
>> I think it's working for CJ because the "Brush Script MT" font is available 
>> by default in that browser, without needing to be defined by a font-face 
>> tag. That technique only works for built-in fonts because there's no way to 
>> inject the CSS font-face declaration into the iframe.
>> 
>> Best wishes
>> 
>> Jeremy
>> 
>> 
>> 
>> 
>> 
>> On Wednesday, December 1, 2021 at 5:03:36 PM UTC cj.v...@gmail.com <> wrote:
>> Just to confirm, I went to tiddlywiki.com , edited 
>> (i.e. clicked the "edit" button) that core tiddler, (1) added the style 
>> lines above the edit widget, and (2) altered the class for the edit widget, 
>> adding bubba as the third class.
>> 
>> Works A-1 for me.
>> 
>> Maybe Brush Script MT cursive doesn't work with your web browser?  (Another 
>> screenshot for the proof in the pudding, with an obnoxious font size, below.)
>> 
>> It is the font in the editor that you want adjusted, right?
>> 
>> Total aside: "bubba" because it is easy for me to find and remember.  I'm a 
>> huge fan of the movie Forrest Gump, and really liked "Bubba" in that movie.
>> 
>> 
>> 
>> On Wednesday, December 1, 2021 at 12:45:03 PM UTC-4 Charlie Veniot wrote:
>> I forgot to mention, you have to add that "bubba" class to the edit text 
>> widget.
>> 
>> As per the screenshot, the editor is showing that funky font.
>> 
>> However, it did strangely take half-a-minute or so for that font to take 
>> effect.
>> 
>> On Wednesday, December 1, 2021 at 11:45:47 AM UTC-4 torc...@gmail.com <> 
>> wrote:
>> thank you cj.v, but it didn't worked for me. 
>> it assign the class bubba to the iframe (just as 
>> $:/themes/tiddlywiki/vanilla/settings/editorfontfamily does) but... nothing 
>> changes.
>> i suspect it has to do with what Jeremy wrote:
>> 
>> "The reason that custom fonts doesn’t work with the editor toolbar is 
>> because of the way that it creates the textarea element within an embedded 
>> iframe (this is done so that the selection in the textarea isn’t lost when 
>> the user clicks on a toolbar button and the textarea loses focus).
>> 
>> The iframe doesn’t inherit any of the styles in the main document, so the 
>> code actually creates a hidden textarea and then reads back the styles, and 
>> then applies them to the textarea in the iframe. That means that any 
>> formatting applied to the textarea will be faithfully reproduced within the 
>> iframe. However, it only works for CSS properties applied directly to the 
>> textarea; it doesn’t transfer fonts, animations or other resources that can 
>> be defined in CSS.
>> 
>> (The code is here: 
>> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/editor/engines/framed.js
>>  
>> )
>> 
>> We could update things so that special stylesheets identified by a new 
>> system tag such as $:/tags/Stylesheet/FramedEditor would be automatically 
>> inserted within the iframe." 
>> 
>> Il giorno mercoledì 1 dicembre 2021 alle 14:57:19 UTC+1 cj.v...@gmail.com <> 
>> ha scritto:
>> G'day,
>> 
>> If you are not averse to changing core TiddlyWiki templates, you could add a 
>> style at the top of the content in $:/core/ui/EditTemplate/body/editor.
>> 
>> See my screenshot below, in which I set the font to Brush Script MT cursive.
>> 
>> It would be good for more experienced TiddlyWiki users to chime in on any 
>> downsides to this 

Re: [tw5] [tw] Using Custom Font in Tiddler Editor

2021-12-02 Thread Maurizio Torchio
WOW! IT WORKS
I'm... elated.

Il giorno giovedì 2 dicembre 2021 alle 09:10:26 UTC+1 jeremy...@gmail.com 
ha scritto:

> thank you Charlie and Jeremy! yes: mine is a font-face. 
> the problem is: I love fonts! I use different fonts for different wiki, 
> they embody the "soul" of the wiki (and I'd like to have the same font 
> whether desktop or mobile, viewing or editing). that's why until now i used 
> the edit widget for editing. but this means: no toolbar, and it can be 
> annoying, especially on mobile. 
> anyhow: thanks again for this priceless tool!
> m. 
>
>
> Have you tried using the CodeMirror plugin? It allows you to change the 
> editor font family through $:/ControlPanel settings panel
>
> Best wishes
>
> Jeremy
>
>
> Il giorno mercoledì 1 dicembre 2021 alle 18:23:39 UTC+1 cj.v...@gmail.com ha 
> scritto:
>
>> Thanks for the info, Jeremy.  2-tier client server guy over here, so the 
>> innards of web browsers is foreign territory for this kid.
>>
>> So whatever browser Maurizio is using, that approach I'm suggesting 
>> should work with some font-family available by default in whatever browser 
>> Maurizio is using, right?
>>
>> On Wednesday, December 1, 2021 at 1:15:16 PM UTC-4 jeremy...@gmail.com 
>> wrote:
>>
>>> I think it's working for CJ because the "Brush Script MT" font is 
>>> available by default in that browser, without needing to be defined by a 
>>> font-face tag. That technique only works for built-in fonts because 
>>> there's no way to inject the CSS font-face declaration into the iframe.
>>>
>>> Best wishes
>>>
>>> Jeremy
>>>
>>>
>>>
>>>
>>>
>>> On Wednesday, December 1, 2021 at 5:03:36 PM UTC cj.v...@gmail.com 
>>> wrote:
>>>
 Just to confirm, I went to tiddlywiki.com, edited (i.e. clicked the 
 "edit" button) that core tiddler, *(1)* added the style lines above 
 the edit widget, and *(2)* altered the class for the edit widget, 
 adding bubba as the third class.

 Works A-1 for me.

 Maybe Brush Script MT cursive doesn't work with your web browser?  
 (Another screenshot for the proof in the pudding, with an obnoxious font 
 size, below.)

 It is the font in the editor that you want adjusted, right?

 Total aside: "bubba" because it is easy for me to find and remember.  
 I'm a huge fan of the movie Forrest Gump, and really liked "Bubba" in that 
 movie.

 [image: Screenshot 2021-12-01 12.58.38 PM.png]

 On Wednesday, December 1, 2021 at 12:45:03 PM UTC-4 Charlie Veniot 
 wrote:

> I forgot to mention, you have to add that "bubba" class to the edit 
> text widget.
>
> As per the screenshot, the editor is showing that funky font.
>
> However, it did strangely take half-a-minute or so for that font to 
> take effect.
>
> On Wednesday, December 1, 2021 at 11:45:47 AM UTC-4 torc...@gmail.com 
> wrote:
>
>> thank you cj.v, but it didn't worked for me. 
>> it assign the class bubba to the iframe (just as 
>> $:/themes/tiddlywiki/vanilla/settings/editorfontfamily does) but... 
>> nothing 
>> changes.
>> i suspect it has to do with what Jeremy wrote:
>>
>> "The reason that custom fonts doesn’t work with the editor toolbar is 
>> because of the way that it creates the textarea element within an 
>> embedded 
>> iframe (this is done so that the selection in the textarea isn’t lost 
>> when 
>> the user clicks on a toolbar button and the textarea loses focus).
>>
>> The iframe doesn’t inherit any of the styles in the main document, so 
>> the code actually creates a hidden textarea and then reads back the 
>> styles, 
>> and then applies them to the textarea in the iframe. That means that any 
>> formatting applied to the textarea will be faithfully reproduced within 
>> the 
>> iframe. However, it only works for CSS properties applied directly to 
>> the 
>> textarea; it doesn’t transfer fonts, animations or other resources that 
>> can 
>> be defined in CSS.
>>
>> (The code is here: 
>> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/editor/engines/framed.js
>> )
>>
>> We could update things so that special stylesheets identified by a 
>> new system tag such as $:/tags/Stylesheet/FramedEditor would be 
>> automatically inserted within the iframe." 
>>
>> Il giorno mercoledì 1 dicembre 2021 alle 14:57:19 UTC+1 
>> cj.v...@gmail.com ha scritto:
>>
>>> G'day,
>>>
>>> If you are not averse to changing core TiddlyWiki templates, you 
>>> could add a style at the top of the content in 
>>> $:/core/ui/EditTemplate/body/editor.
>>>
>>> See my screenshot below, in which I set the font to Brush Script MT 
>>> cursive.
>>>
>>> It would be good for more experienced TiddlyWiki users to chime in 
>>> on any downsides to this approach.
>>>
>>> *(BTW: 

Re: [tw5] [tw] Using Custom Font in Tiddler Editor

2021-12-02 Thread Jeremy Ruston
> thank you Charlie and Jeremy! yes: mine is a font-face. 
> the problem is: I love fonts! I use different fonts for different wiki, they 
> embody the "soul" of the wiki (and I'd like to have the same font whether 
> desktop or mobile, viewing or editing). that's why until now i used the edit 
> widget for editing. but this means: no toolbar, and it can be annoying, 
> especially on mobile. 
> anyhow: thanks again for this priceless tool!
> m. 

Have you tried using the CodeMirror plugin? It allows you to change the editor 
font family through $:/ControlPanel settings panel

Best wishes

Jeremy

> 
> Il giorno mercoledì 1 dicembre 2021 alle 18:23:39 UTC+1 cj.v...@gmail.com 
>  ha scritto:
> Thanks for the info, Jeremy.  2-tier client server guy over here, so the 
> innards of web browsers is foreign territory for this kid.
> 
> So whatever browser Maurizio is using, that approach I'm suggesting should 
> work with some font-family available by default in whatever browser Maurizio 
> is using, right?
> 
> On Wednesday, December 1, 2021 at 1:15:16 PM UTC-4 jeremy...@gmail.com 
>  wrote:
> I think it's working for CJ because the "Brush Script MT" font is available 
> by default in that browser, without needing to be defined by a font-face tag. 
> That technique only works for built-in fonts because there's no way to inject 
> the CSS font-face declaration into the iframe.
> 
> Best wishes
> 
> Jeremy
> 
> 
> 
> 
> 
> On Wednesday, December 1, 2021 at 5:03:36 PM UTC cj.v...@gmail.com <> wrote:
> Just to confirm, I went to tiddlywiki.com , edited 
> (i.e. clicked the "edit" button) that core tiddler, (1) added the style lines 
> above the edit widget, and (2) altered the class for the edit widget, adding 
> bubba as the third class.
> 
> Works A-1 for me.
> 
> Maybe Brush Script MT cursive doesn't work with your web browser?  (Another 
> screenshot for the proof in the pudding, with an obnoxious font size, below.)
> 
> It is the font in the editor that you want adjusted, right?
> 
> Total aside: "bubba" because it is easy for me to find and remember.  I'm a 
> huge fan of the movie Forrest Gump, and really liked "Bubba" in that movie.
> 
> 
> 
> On Wednesday, December 1, 2021 at 12:45:03 PM UTC-4 Charlie Veniot wrote:
> I forgot to mention, you have to add that "bubba" class to the edit text 
> widget.
> 
> As per the screenshot, the editor is showing that funky font.
> 
> However, it did strangely take half-a-minute or so for that font to take 
> effect.
> 
> On Wednesday, December 1, 2021 at 11:45:47 AM UTC-4 torc...@gmail.com <> 
> wrote:
> thank you cj.v, but it didn't worked for me. 
> it assign the class bubba to the iframe (just as 
> $:/themes/tiddlywiki/vanilla/settings/editorfontfamily does) but... nothing 
> changes.
> i suspect it has to do with what Jeremy wrote:
> 
> "The reason that custom fonts doesn’t work with the editor toolbar is because 
> of the way that it creates the textarea element within an embedded iframe 
> (this is done so that the selection in the textarea isn’t lost when the user 
> clicks on a toolbar button and the textarea loses focus).
> 
> The iframe doesn’t inherit any of the styles in the main document, so the 
> code actually creates a hidden textarea and then reads back the styles, and 
> then applies them to the textarea in the iframe. That means that any 
> formatting applied to the textarea will be faithfully reproduced within the 
> iframe. However, it only works for CSS properties applied directly to the 
> textarea; it doesn’t transfer fonts, animations or other resources that can 
> be defined in CSS.
> 
> (The code is here: 
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/editor/engines/framed.js
>  
> )
> 
> We could update things so that special stylesheets identified by a new system 
> tag such as $:/tags/Stylesheet/FramedEditor would be automatically inserted 
> within the iframe." 
> 
> Il giorno mercoledì 1 dicembre 2021 alle 14:57:19 UTC+1 cj.v...@gmail.com <> 
> ha scritto:
> G'day,
> 
> If you are not averse to changing core TiddlyWiki templates, you could add a 
> style at the top of the content in $:/core/ui/EditTemplate/body/editor.
> 
> See my screenshot below, in which I set the font to Brush Script MT cursive.
> 
> It would be good for more experienced TiddlyWiki users to chime in on any 
> downsides to this approach.
> 
> (BTW: please ignore the goofy-looking "!!! EditTemplate body" ... that's me 
> entering little breadcrumbs to figure out which core tiddler is which.)
> 
> 
> 
> On Wednesday, December 1, 2021 at 6:19:45 AM UTC-4 torc...@gmail.com <> wrote:
> Hi everybody, any progress on this? (I really don't like see a different 
> fontfamily when editing)
> thank you so much for all the great work!
> 
> maurizio
> 
> Il giorno martedì 30 gennaio 2018 alle 21:09:06 UTC+1 Ton Gerner ha 

[tw5] Re: [tw] Using Custom Font in Tiddler Editor

2021-12-02 Thread Maurizio Torchio
 thank you Charlie and Jeremy! yes: mine is a font-face. 
the problem is: I love fonts! I use different fonts for different wiki, 
they embody the "soul" of the wiki (and I'd like to have the same font 
whether desktop or mobile, viewing or editing). that's why until now i used 
the edit widget for editing. but this means: no toolbar, and it can be 
annoying, especially on mobile. 
anyhow: thanks again for this priceless tool!
m. 

Il giorno mercoledì 1 dicembre 2021 alle 18:23:39 UTC+1 cj.v...@gmail.com 
ha scritto:

> Thanks for the info, Jeremy.  2-tier client server guy over here, so the 
> innards of web browsers is foreign territory for this kid.
>
> So whatever browser Maurizio is using, that approach I'm suggesting should 
> work with some font-family available by default in whatever browser 
> Maurizio is using, right?
>
> On Wednesday, December 1, 2021 at 1:15:16 PM UTC-4 jeremy...@gmail.com 
> wrote:
>
>> I think it's working for CJ because the "Brush Script MT" font is 
>> available by default in that browser, without needing to be defined by a 
>> font-face tag. That technique only works for built-in fonts because 
>> there's no way to inject the CSS font-face declaration into the iframe.
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>>
>>
>>
>> On Wednesday, December 1, 2021 at 5:03:36 PM UTC cj.v...@gmail.com wrote:
>>
>>> Just to confirm, I went to tiddlywiki.com, edited (i.e. clicked the 
>>> "edit" button) that core tiddler, *(1)* added the style lines above the 
>>> edit widget, and *(2)* altered the class for the edit widget, adding 
>>> bubba as the third class.
>>>
>>> Works A-1 for me.
>>>
>>> Maybe Brush Script MT cursive doesn't work with your web browser?  
>>> (Another screenshot for the proof in the pudding, with an obnoxious font 
>>> size, below.)
>>>
>>> It is the font in the editor that you want adjusted, right?
>>>
>>> Total aside: "bubba" because it is easy for me to find and remember.  
>>> I'm a huge fan of the movie Forrest Gump, and really liked "Bubba" in that 
>>> movie.
>>>
>>> [image: Screenshot 2021-12-01 12.58.38 PM.png]
>>>
>>> On Wednesday, December 1, 2021 at 12:45:03 PM UTC-4 Charlie Veniot wrote:
>>>
 I forgot to mention, you have to add that "bubba" class to the edit 
 text widget.

 As per the screenshot, the editor is showing that funky font.

 However, it did strangely take half-a-minute or so for that font to 
 take effect.

 On Wednesday, December 1, 2021 at 11:45:47 AM UTC-4 torc...@gmail.com 
 wrote:

> thank you cj.v, but it didn't worked for me. 
> it assign the class bubba to the iframe (just as 
> $:/themes/tiddlywiki/vanilla/settings/editorfontfamily does) but... 
> nothing 
> changes.
> i suspect it has to do with what Jeremy wrote:
>
> "The reason that custom fonts doesn’t work with the editor toolbar is 
> because of the way that it creates the textarea element within an 
> embedded 
> iframe (this is done so that the selection in the textarea isn’t lost 
> when 
> the user clicks on a toolbar button and the textarea loses focus).
>
> The iframe doesn’t inherit any of the styles in the main document, so 
> the code actually creates a hidden textarea and then reads back the 
> styles, 
> and then applies them to the textarea in the iframe. That means that any 
> formatting applied to the textarea will be faithfully reproduced within 
> the 
> iframe. However, it only works for CSS properties applied directly to the 
> textarea; it doesn’t transfer fonts, animations or other resources that 
> can 
> be defined in CSS.
>
> (The code is here: 
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/editor/engines/framed.js
> )
>
> We could update things so that special stylesheets identified by a new 
> system tag such as $:/tags/Stylesheet/FramedEditor would be automatically 
> inserted within the iframe." 
>
> Il giorno mercoledì 1 dicembre 2021 alle 14:57:19 UTC+1 
> cj.v...@gmail.com ha scritto:
>
>> G'day,
>>
>> If you are not averse to changing core TiddlyWiki templates, you 
>> could add a style at the top of the content in 
>> $:/core/ui/EditTemplate/body/editor.
>>
>> See my screenshot below, in which I set the font to Brush Script MT 
>> cursive.
>>
>> It would be good for more experienced TiddlyWiki users to chime in on 
>> any downsides to this approach.
>>
>> *(BTW: please ignore the goofy-looking "!!! EditTemplate body" ... 
>> that's me entering little breadcrumbs to figure out which core tiddler 
>> is 
>> which.)*
>>
>> [image: Screenshot 2021-12-01 9.52.23 AM.png]
>>
>> On Wednesday, December 1, 2021 at 6:19:45 AM UTC-4 torc...@gmail.com 
>> wrote:
>>
>>> Hi everybody, any progress on this? (I really don't like see a 
>>> different fontfamily 

[tw5] Re: [tw] Using Custom Font in Tiddler Editor

2021-12-01 Thread Charlie Veniot
Thanks for the info, Jeremy.  2-tier client server guy over here, so the 
innards of web browsers is foreign territory for this kid.

So whatever browser Maurizio is using, that approach I'm suggesting should 
work with some font-family available by default in whatever browser 
Maurizio is using, right?

On Wednesday, December 1, 2021 at 1:15:16 PM UTC-4 jeremy...@gmail.com 
wrote:

> I think it's working for CJ because the "Brush Script MT" font is 
> available by default in that browser, without needing to be defined by a 
> font-face tag. That technique only works for built-in fonts because 
> there's no way to inject the CSS font-face declaration into the iframe.
>
> Best wishes
>
> Jeremy
>
>
>
>
>
> On Wednesday, December 1, 2021 at 5:03:36 PM UTC cj.v...@gmail.com wrote:
>
>> Just to confirm, I went to tiddlywiki.com, edited (i.e. clicked the 
>> "edit" button) that core tiddler, *(1)* added the style lines above the 
>> edit widget, and *(2)* altered the class for the edit widget, adding 
>> bubba as the third class.
>>
>> Works A-1 for me.
>>
>> Maybe Brush Script MT cursive doesn't work with your web browser?  
>> (Another screenshot for the proof in the pudding, with an obnoxious font 
>> size, below.)
>>
>> It is the font in the editor that you want adjusted, right?
>>
>> Total aside: "bubba" because it is easy for me to find and remember.  I'm 
>> a huge fan of the movie Forrest Gump, and really liked "Bubba" in that 
>> movie.
>>
>> [image: Screenshot 2021-12-01 12.58.38 PM.png]
>>
>> On Wednesday, December 1, 2021 at 12:45:03 PM UTC-4 Charlie Veniot wrote:
>>
>>> I forgot to mention, you have to add that "bubba" class to the edit text 
>>> widget.
>>>
>>> As per the screenshot, the editor is showing that funky font.
>>>
>>> However, it did strangely take half-a-minute or so for that font to take 
>>> effect.
>>>
>>> On Wednesday, December 1, 2021 at 11:45:47 AM UTC-4 torc...@gmail.com 
>>> wrote:
>>>
 thank you cj.v, but it didn't worked for me. 
 it assign the class bubba to the iframe (just as 
 $:/themes/tiddlywiki/vanilla/settings/editorfontfamily does) but... 
 nothing 
 changes.
 i suspect it has to do with what Jeremy wrote:

 "The reason that custom fonts doesn’t work with the editor toolbar is 
 because of the way that it creates the textarea element within an embedded 
 iframe (this is done so that the selection in the textarea isn’t lost when 
 the user clicks on a toolbar button and the textarea loses focus).

 The iframe doesn’t inherit any of the styles in the main document, so 
 the code actually creates a hidden textarea and then reads back the 
 styles, 
 and then applies them to the textarea in the iframe. That means that any 
 formatting applied to the textarea will be faithfully reproduced within 
 the 
 iframe. However, it only works for CSS properties applied directly to the 
 textarea; it doesn’t transfer fonts, animations or other resources that 
 can 
 be defined in CSS.

 (The code is here: 
 https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/editor/engines/framed.js
 )

 We could update things so that special stylesheets identified by a new 
 system tag such as $:/tags/Stylesheet/FramedEditor would be automatically 
 inserted within the iframe." 

 Il giorno mercoledì 1 dicembre 2021 alle 14:57:19 UTC+1 
 cj.v...@gmail.com ha scritto:

> G'day,
>
> If you are not averse to changing core TiddlyWiki templates, you could 
> add a style at the top of the content in 
> $:/core/ui/EditTemplate/body/editor.
>
> See my screenshot below, in which I set the font to Brush Script MT 
> cursive.
>
> It would be good for more experienced TiddlyWiki users to chime in on 
> any downsides to this approach.
>
> *(BTW: please ignore the goofy-looking "!!! EditTemplate body" ... 
> that's me entering little breadcrumbs to figure out which core tiddler is 
> which.)*
>
> [image: Screenshot 2021-12-01 9.52.23 AM.png]
>
> On Wednesday, December 1, 2021 at 6:19:45 AM UTC-4 torc...@gmail.com 
> wrote:
>
>> Hi everybody, any progress on this? (I really don't like see a 
>> different fontfamily when editing)
>> thank you so much for all the great work!
>>
>> maurizio
>>
>> Il giorno martedì 30 gennaio 2018 alle 21:09:06 UTC+1 Ton Gerner ha 
>> scritto:
>>
>>> Hi Alfonso,
>>>
>>> If I remember correctly the following comes from Jeremy's TalkyTalky 
>>>  which uses the Google font 
>>> Lato:
>>>
>>> It contains the follwing stylesheet (a tiddler tagged with 
>>> $:/tags/Stylesheet):
>>>
>>> \define register-font(family,title,style,weight)
>>> @font-face {
>>>   font-family: "$family$";
>>>   font-style: $style$;
>>>   font-weight: 

[tw5] Re: [tw] Using Custom Font in Tiddler Editor

2021-12-01 Thread Jeremy Ruston
I think it's working for CJ because the "Brush Script MT" font is available 
by default in that browser, without needing to be defined by a font-face 
tag. That technique only works for built-in fonts because there's no way to 
inject the CSS font-face declaration into the iframe.

Best wishes

Jeremy





On Wednesday, December 1, 2021 at 5:03:36 PM UTC cj.v...@gmail.com wrote:

> Just to confirm, I went to tiddlywiki.com, edited (i.e. clicked the 
> "edit" button) that core tiddler, *(1)* added the style lines above the 
> edit widget, and *(2)* altered the class for the edit widget, adding 
> bubba as the third class.
>
> Works A-1 for me.
>
> Maybe Brush Script MT cursive doesn't work with your web browser?  
> (Another screenshot for the proof in the pudding, with an obnoxious font 
> size, below.)
>
> It is the font in the editor that you want adjusted, right?
>
> Total aside: "bubba" because it is easy for me to find and remember.  I'm 
> a huge fan of the movie Forrest Gump, and really liked "Bubba" in that 
> movie.
>
> [image: Screenshot 2021-12-01 12.58.38 PM.png]
>
> On Wednesday, December 1, 2021 at 12:45:03 PM UTC-4 Charlie Veniot wrote:
>
>> I forgot to mention, you have to add that "bubba" class to the edit text 
>> widget.
>>
>> As per the screenshot, the editor is showing that funky font.
>>
>> However, it did strangely take half-a-minute or so for that font to take 
>> effect.
>>
>> On Wednesday, December 1, 2021 at 11:45:47 AM UTC-4 torc...@gmail.com 
>> wrote:
>>
>>> thank you cj.v, but it didn't worked for me. 
>>> it assign the class bubba to the iframe (just as 
>>> $:/themes/tiddlywiki/vanilla/settings/editorfontfamily does) but... nothing 
>>> changes.
>>> i suspect it has to do with what Jeremy wrote:
>>>
>>> "The reason that custom fonts doesn’t work with the editor toolbar is 
>>> because of the way that it creates the textarea element within an embedded 
>>> iframe (this is done so that the selection in the textarea isn’t lost when 
>>> the user clicks on a toolbar button and the textarea loses focus).
>>>
>>> The iframe doesn’t inherit any of the styles in the main document, so 
>>> the code actually creates a hidden textarea and then reads back the styles, 
>>> and then applies them to the textarea in the iframe. That means that any 
>>> formatting applied to the textarea will be faithfully reproduced within the 
>>> iframe. However, it only works for CSS properties applied directly to the 
>>> textarea; it doesn’t transfer fonts, animations or other resources that can 
>>> be defined in CSS.
>>>
>>> (The code is here: 
>>> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/editor/engines/framed.js
>>> )
>>>
>>> We could update things so that special stylesheets identified by a new 
>>> system tag such as $:/tags/Stylesheet/FramedEditor would be automatically 
>>> inserted within the iframe." 
>>>
>>> Il giorno mercoledì 1 dicembre 2021 alle 14:57:19 UTC+1 
>>> cj.v...@gmail.com ha scritto:
>>>
 G'day,

 If you are not averse to changing core TiddlyWiki templates, you could 
 add a style at the top of the content in 
 $:/core/ui/EditTemplate/body/editor.

 See my screenshot below, in which I set the font to Brush Script MT 
 cursive.

 It would be good for more experienced TiddlyWiki users to chime in on 
 any downsides to this approach.

 *(BTW: please ignore the goofy-looking "!!! EditTemplate body" ... 
 that's me entering little breadcrumbs to figure out which core tiddler is 
 which.)*

 [image: Screenshot 2021-12-01 9.52.23 AM.png]

 On Wednesday, December 1, 2021 at 6:19:45 AM UTC-4 torc...@gmail.com 
 wrote:

> Hi everybody, any progress on this? (I really don't like see a 
> different fontfamily when editing)
> thank you so much for all the great work!
>
> maurizio
>
> Il giorno martedì 30 gennaio 2018 alle 21:09:06 UTC+1 Ton Gerner ha 
> scritto:
>
>> Hi Alfonso,
>>
>> If I remember correctly the following comes from Jeremy's TalkyTalky 
>>  which uses the Google font Lato:
>>
>> It contains the follwing stylesheet (a tiddler tagged with 
>> $:/tags/Stylesheet):
>>
>> \define register-font(family,title,style,weight)
>> @font-face {
>>   font-family: "$family$";
>>   font-style: $style$;
>>   font-weight: $weight$;
>>   src: url(<>) format("woff");
>> }
>> \end
>> \rules only filteredtranscludeinline transcludeinline macrodef 
>> macrocallinline
>>
>> /*
>> ** Fonts
>> */
>>
>> <> "900">>
>> <> "italic" "900">>
>> <> "700">>
>> <> "italic" "700">>
>> <> "normal" "100">>
>> <> "italic" "100">>
>> <> "400">>
>> <> "300">>
>> <> "italic" "300">>
>> <> "400">>
>>
>> Hope that helps.
>>
>> Cheers,
>>
>> Ton

[tw5] Re: [tw] Using Custom Font in Tiddler Editor

2021-12-01 Thread Charlie Veniot
I forgot to mention, you have to add that "bubba" class to the edit text 
widget.

As per the screenshot, the editor is showing that funky font.

However, it did strangely take half-a-minute or so for that font to take 
effect.

On Wednesday, December 1, 2021 at 11:45:47 AM UTC-4 torc...@gmail.com wrote:

> thank you cj.v, but it didn't worked for me. 
> it assign the class bubba to the iframe (just as 
> $:/themes/tiddlywiki/vanilla/settings/editorfontfamily does) but... nothing 
> changes.
> i suspect it has to do with what Jeremy wrote:
>
> "The reason that custom fonts doesn’t work with the editor toolbar is 
> because of the way that it creates the textarea element within an embedded 
> iframe (this is done so that the selection in the textarea isn’t lost when 
> the user clicks on a toolbar button and the textarea loses focus).
>
> The iframe doesn’t inherit any of the styles in the main document, so the 
> code actually creates a hidden textarea and then reads back the styles, and 
> then applies them to the textarea in the iframe. That means that any 
> formatting applied to the textarea will be faithfully reproduced within the 
> iframe. However, it only works for CSS properties applied directly to the 
> textarea; it doesn’t transfer fonts, animations or other resources that can 
> be defined in CSS.
>
> (The code is here: 
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/editor/engines/framed.js
> )
>
> We could update things so that special stylesheets identified by a new 
> system tag such as $:/tags/Stylesheet/FramedEditor would be automatically 
> inserted within the iframe." 
>
> Il giorno mercoledì 1 dicembre 2021 alle 14:57:19 UTC+1 cj.v...@gmail.com 
> ha scritto:
>
>> G'day,
>>
>> If you are not averse to changing core TiddlyWiki templates, you could 
>> add a style at the top of the content in 
>> $:/core/ui/EditTemplate/body/editor.
>>
>> See my screenshot below, in which I set the font to Brush Script MT 
>> cursive.
>>
>> It would be good for more experienced TiddlyWiki users to chime in on any 
>> downsides to this approach.
>>
>> *(BTW: please ignore the goofy-looking "!!! EditTemplate body" ... that's 
>> me entering little breadcrumbs to figure out which core tiddler is which.)*
>>
>> [image: Screenshot 2021-12-01 9.52.23 AM.png]
>>
>> On Wednesday, December 1, 2021 at 6:19:45 AM UTC-4 torc...@gmail.com 
>> wrote:
>>
>>> Hi everybody, any progress on this? (I really don't like see a different 
>>> fontfamily when editing)
>>> thank you so much for all the great work!
>>>
>>> maurizio
>>>
>>> Il giorno martedì 30 gennaio 2018 alle 21:09:06 UTC+1 Ton Gerner ha 
>>> scritto:
>>>
 Hi Alfonso,

 If I remember correctly the following comes from Jeremy's TalkyTalky 
  which uses the Google font Lato:

 It contains the follwing stylesheet (a tiddler tagged with 
 $:/tags/Stylesheet):

 \define register-font(family,title,style,weight)
 @font-face {
   font-family: "$family$";
   font-style: $style$;
   font-weight: $weight$;
   src: url(<>) format("woff");
 }
 \end
 \rules only filteredtranscludeinline transcludeinline macrodef 
 macrocallinline

 /*
 ** Fonts
 */

 <>>> "900">>
 <>>> "italic" "900">>
 <>>> "700">>
 <>>> "italic" "700">>
 <>>> "100">>
 <>>> "italic" "100">>
 <>>> "400">>
 <>>> "300">>
 <>>> "italic" "300">>
 <>>> "400">>

 Hope that helps.

 Cheers,

 Ton




-- 
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/39f6263c-f8a4-4074-97ae-a0fab715d79dn%40googlegroups.com.


[tw5] Re: [tw] Using Custom Font in Tiddler Editor

2021-12-01 Thread Maurizio Torchio
 thank you cj.v, but it didn't worked for me. 
it assign the class bubba to the iframe (just as 
$:/themes/tiddlywiki/vanilla/settings/editorfontfamily does) but... nothing 
changes.
i suspect it has to do with what Jeremy wrote:

"The reason that custom fonts doesn’t work with the editor toolbar is 
because of the way that it creates the textarea element within an embedded 
iframe (this is done so that the selection in the textarea isn’t lost when 
the user clicks on a toolbar button and the textarea loses focus).

The iframe doesn’t inherit any of the styles in the main document, so the 
code actually creates a hidden textarea and then reads back the styles, and 
then applies them to the textarea in the iframe. That means that any 
formatting applied to the textarea will be faithfully reproduced within the 
iframe. However, it only works for CSS properties applied directly to the 
textarea; it doesn’t transfer fonts, animations or other resources that can 
be defined in CSS.

(The code is here: 
https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/editor/engines/framed.js
)

We could update things so that special stylesheets identified by a new 
system tag such as $:/tags/Stylesheet/FramedEditor would be automatically 
inserted within the iframe." 

Il giorno mercoledì 1 dicembre 2021 alle 14:57:19 UTC+1 cj.v...@gmail.com 
ha scritto:

> G'day,
>
> If you are not averse to changing core TiddlyWiki templates, you could add 
> a style at the top of the content in $:/core/ui/EditTemplate/body/editor.
>
> See my screenshot below, in which I set the font to Brush Script MT 
> cursive.
>
> It would be good for more experienced TiddlyWiki users to chime in on any 
> downsides to this approach.
>
> *(BTW: please ignore the goofy-looking "!!! EditTemplate body" ... that's 
> me entering little breadcrumbs to figure out which core tiddler is which.)*
>
> [image: Screenshot 2021-12-01 9.52.23 AM.png]
>
> On Wednesday, December 1, 2021 at 6:19:45 AM UTC-4 torc...@gmail.com 
> wrote:
>
>> Hi everybody, any progress on this? (I really don't like see a different 
>> fontfamily when editing)
>> thank you so much for all the great work!
>>
>> maurizio
>>
>> Il giorno martedì 30 gennaio 2018 alle 21:09:06 UTC+1 Ton Gerner ha 
>> scritto:
>>
>>> Hi Alfonso,
>>>
>>> If I remember correctly the following comes from Jeremy's TalkyTalky 
>>>  which uses the Google font Lato:
>>>
>>> It contains the follwing stylesheet (a tiddler tagged with 
>>> $:/tags/Stylesheet):
>>>
>>> \define register-font(family,title,style,weight)
>>> @font-face {
>>>   font-family: "$family$";
>>>   font-style: $style$;
>>>   font-weight: $weight$;
>>>   src: url(<>) format("woff");
>>> }
>>> \end
>>> \rules only filteredtranscludeinline transcludeinline macrodef 
>>> macrocallinline
>>>
>>> /*
>>> ** Fonts
>>> */
>>>
>>> <>> "900">>
>>> <>> "italic" "900">>
>>> <>> >>
>>> <>> "700">>
>>> <>> "100">>
>>> <>> "italic" "100">>
>>> <>> "400">>
>>> <>> "300">>
>>> <>> "italic" "300">>
>>> <>> "400">>
>>>
>>> Hope that helps.
>>>
>>> Cheers,
>>>
>>> Ton
>>>
>>>
>>>

-- 
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/4692a382-91e6-43b9-af01-e4fb9b7754adn%40googlegroups.com.


[tw5] Re: [tw] Using Custom Font in Tiddler Editor

2021-12-01 Thread Maurizio Torchio
thank you cj.v... , but it does not work for me. 
it adds the class bubba to the textframe (just as 
$:/themes/tiddlywiki/vanilla/settings/editorfontfamily does), and on 
inspecting the element, font-family is correctly assigned but... nothing 
changes.
I think it has to do with what Jeremy said:

"The reason that custom fonts doesn’t work with the editor toolbar is 
because of the way that it creates the textarea element within an embedded 
iframe (this is done so that the selection in the textarea isn’t lost when 
the user clicks on a toolbar button and the textarea loses focus).

The iframe doesn’t inherit any of the styles in the main document, so the 
code actually creates a hidden textarea and then reads back the styles, and 
then applies them to the textarea in the iframe. That means that any 
formatting applied to the textarea will be faithfully reproduced within the 
iframe. However, it only works for CSS properties applied directly to the 
textarea; it doesn’t transfer fonts, animations or other resources that can 
be defined in CSS.

(The code is here: 
https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/editor/engines/framed.js
)

We could update things so that special stylesheets identified by a new 
system tag such as $:/tags/Stylesheet/FramedEditor would be automatically 
inserted within the iframe." 

Il giorno mercoledì 1 dicembre 2021 alle 14:57:19 UTC+1 cj.v...@gmail.com 
ha scritto:

> G'day,
>
> If you are not averse to changing core TiddlyWiki templates, you could add 
> a style at the top of the content in $:/core/ui/EditTemplate/body/editor.
>
> See my screenshot below, in which I set the font to Brush Script MT 
> cursive.
>
> It would be good for more experienced TiddlyWiki users to chime in on any 
> downsides to this approach.
>
> *(BTW: please ignore the goofy-looking "!!! EditTemplate body" ... that's 
> me entering little breadcrumbs to figure out which core tiddler is which.)*
>
> [image: Screenshot 2021-12-01 9.52.23 AM.png]
>
> On Wednesday, December 1, 2021 at 6:19:45 AM UTC-4 torc...@gmail.com 
> wrote:
>
>> Hi everybody, any progress on this? (I really don't like see a different 
>> fontfamily when editing)
>> thank you so much for all the great work!
>>
>> maurizio
>>
>> Il giorno martedì 30 gennaio 2018 alle 21:09:06 UTC+1 Ton Gerner ha 
>> scritto:
>>
>>> Hi Alfonso,
>>>
>>> If I remember correctly the following comes from Jeremy's TalkyTalky 
>>>  which uses the Google font Lato:
>>>
>>> It contains the follwing stylesheet (a tiddler tagged with 
>>> $:/tags/Stylesheet):
>>>
>>> \define register-font(family,title,style,weight)
>>> @font-face {
>>>   font-family: "$family$";
>>>   font-style: $style$;
>>>   font-weight: $weight$;
>>>   src: url(<>) format("woff");
>>> }
>>> \end
>>> \rules only filteredtranscludeinline transcludeinline macrodef 
>>> macrocallinline
>>>
>>> /*
>>> ** Fonts
>>> */
>>>
>>> <>> "900">>
>>> <>> "italic" "900">>
>>> <>> >>
>>> <>> "700">>
>>> <>> "100">>
>>> <>> "italic" "100">>
>>> <>> "400">>
>>> <>> "300">>
>>> <>> "italic" "300">>
>>> <>> "400">>
>>>
>>> Hope that helps.
>>>
>>> Cheers,
>>>
>>> Ton
>>>
>>>
>>>

-- 
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/fd52f29f-17c9-47bc-8127-42e9cf18a8a9n%40googlegroups.com.


Re: [tw5] Re: Bug in TW 5.2.0 in zoomin view.

2021-12-01 Thread Jeremy Ruston
Hi Siniy-Kit

> In TW 5.2.1-prereliase  everything is good. And it is great!

Excellent news, thanks for your help,

Best wishes

Jeremy

> 
> http://heeg.ru/shop2_3.html?id=10Q1RMs2QeKlvKywq7MGHSRltcDYXYTD5y2HFs0aygqE
> 
> понедельник, 29 ноября 2021 г. в 17:56:35 UTC+3, Siniy-Kit: 
>> Here  I have update my TW5 to 5.2.0  template. 
>> http://heeg.ru/shop2_3_.html?id=10Q1RMs2QeKlvKywq7MGHSRltcDYXYTD5y2HFs0aygqE#index
>> if I press back button (previous page) it scrolled to the bottom of the 
>> page. May be we can fix it by css styles?
>> 
>> вторник, 9 ноября 2021 г. в 19:57:29 UTC+3, jeremy...@gmail.com: 
>>> Hi Siniy-Kit,
>> 
>>> 
>>> I can confirm the problem with v5.2.0. I also checked v5.1.23 and it seems 
>>> to have the same problem.
>>> 
>>> Do you know when the problem was introduced? Did it indeed ever work 
>>> properly?
>>> 
>>> Best wishes
>>> 
>>> Jeremy
>>> 
>>> On Tuesday, November 9, 2021 at 4:45:33 PM UTC Jeremy Ruston wrote:
>>>> Hi Siniy-Kit
>>>> 
>>>> Thanks for the report, I'll investigate.
>>>> 
>>>> Best wishes
>>>> 
>>>> Jeremy
>>>> 
>>>> On Sunday, November 7, 2021 at 9:40:19 AM UTC Siniy-Kit wrote:
>>>>> Jeremy, help me please. I want to update my template to  new version, but 
>>>>> it works only with zoomin view. 
>>>>> 
>>>>> четверг, 28 октября 2021 г. в 15:52:49 UTC+3, Siniy-Kit: 
>>>>>> Old TW5 works good. But now it has bad auto scroll while navigating 
>>>>>> between tiddlers 
>>>>>> For example open this tiddler https://tiddlywiki.com/#Filter%20Operators 
>>>>>> then make zoomin view
>>>>>> 
>>>>>>  then go back to Filter Operators tiddler and press "range"
>>>>>> 
>>>>>> 
>>>>>> after click you will see this
>>>>>> 
>>>>>> 
>>>>>> I want to see the top of this tiddler, but it autoscroll to middle. Can 
>>>>>> we fix this bug? 
> 
> -- 
> 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/767e74c3-36a7-4b8c-a633-0bb7f13b5c24n%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/6D8FC6F6-CBE2-4A68-BA85-C1476CD7F211%40gmail.com.


[tw5] Re: Bug in TW 5.2.0 in zoomin view.

2021-12-01 Thread Siniy-Kit
In TW 5.2.1-prereliase  everything is good. And it is great!

http://heeg.ru/shop2_3.html?id=10Q1RMs2QeKlvKywq7MGHSRltcDYXYTD5y2HFs0aygqE

понедельник, 29 ноября 2021 г. в 17:56:35 UTC+3, Siniy-Kit: 

> Here  I have update my TW5 to 5.2.0  template. 
>
> http://heeg.ru/shop2_3_.html?id=10Q1RMs2QeKlvKywq7MGHSRltcDYXYTD5y2HFs0aygqE#index
> if I press back button (previous page) it scrolled to the bottom of the 
> page. May be we can fix it by css styles?
>
> вторник, 9 ноября 2021 г. в 19:57:29 UTC+3, jeremy...@gmail.com: 
>
>> Hi Siniy-Kit,
>
>
>> I can confirm the problem with v5.2.0. I also checked v5.1.23 and it 
>> seems to have the same problem.
>>
>> Do you know when the problem was introduced? Did it indeed ever work 
>> properly?
>>
>> Best wishes
>>
>> Jeremy
>>
>> On Tuesday, November 9, 2021 at 4:45:33 PM UTC Jeremy Ruston wrote:
>>
>>> Hi Siniy-Kit
>>>
>>> Thanks for the report, I'll investigate.
>>>
>>> Best wishes
>>>
>>> Jeremy
>>>
>>> On Sunday, November 7, 2021 at 9:40:19 AM UTC Siniy-Kit wrote:
>>>
>>>> Jeremy, help me please. I want to update my template to  new version, 
>>>> but it works only with zoomin view. 
>>>>
>>>> четверг, 28 октября 2021 г. в 15:52:49 UTC+3, Siniy-Kit: 
>>>>
>>>>> Old TW5 works good. But now it has bad auto scroll while navigating 
>>>>> between tiddlers 
>>>>> For example open this tiddler 
>>>>> https://tiddlywiki.com/#Filter%20Operators then make zoomin view
>>>>> [image: Снимок экрана 2021-10-28 154440.png]
>>>>>  then go back to Filter Operators tiddler and press "range"
>>>>> [image: Снимок экрана 2021-10-28 154716.png]
>>>>>
>>>>> after click you will see this
>>>>> [image: Снимок экрана 2021-10-28 154853.png]
>>>>>
>>>>> I want to see the top of this tiddler, but it autoscroll to middle. 
>>>>> Can we fix this bug? 
>>>>>
>>>>

-- 
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/767e74c3-36a7-4b8c-a633-0bb7f13b5c24n%40googlegroups.com.


[tw5] Re: [tw] Using Custom Font in Tiddler Editor

2021-12-01 Thread Maurizio Torchio
Hi everybody, any progress on this? (I really don't like see a different 
fontfamily when editing)
thank you so much for all the great work!

maurizio

Il giorno martedì 30 gennaio 2018 alle 21:09:06 UTC+1 Ton Gerner ha scritto:

> Hi Alfonso,
>
> If I remember correctly the following comes from Jeremy's TalkyTalky 
>  which uses the Google font Lato:
>
> It contains the follwing stylesheet (a tiddler tagged with 
> $:/tags/Stylesheet):
>
> \define register-font(family,title,style,weight)
> @font-face {
>   font-family: "$family$";
>   font-style: $style$;
>   font-weight: $weight$;
>   src: url(<>) format("woff");
> }
> \end
> \rules only filteredtranscludeinline transcludeinline macrodef 
> macrocallinline
>
> /*
> ** Fonts
> */
>
> < >>
> < "900">>
> <>
> < "700">>
> < "100">>
> < "italic" "100">>
> < >>
> < >>
> < "300">>
> < "400">>
>
> Hope that helps.
>
> Cheers,
>
> Ton
>
>
>

-- 
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/6e0fbd90-a27c-433f-a93c-9973e6addf3en%40googlegroups.com.


[tw5] Re: Bug in TW 5.2.0 in zoomin view.

2021-11-29 Thread Siniy-Kit
Here  I have update my TW5 to 5.2.0  template. 
http://heeg.ru/shop2_3_.html?id=10Q1RMs2QeKlvKywq7MGHSRltcDYXYTD5y2HFs0aygqE#index
if I press back button (previous page) it scrolled to the bottom of the 
page. May be we can fix it by css styles?

вторник, 9 ноября 2021 г. в 19:57:29 UTC+3, jeremy...@gmail.com: 

> Hi Siniy-Kit,
>
> I can confirm the problem with v5.2.0. I also checked v5.1.23 and it seems 
> to have the same problem.
>
> Do you know when the problem was introduced? Did it indeed ever work 
> properly?
>
> Best wishes
>
> Jeremy
>
> On Tuesday, November 9, 2021 at 4:45:33 PM UTC Jeremy Ruston wrote:
>
>> Hi Siniy-Kit
>>
>> Thanks for the report, I'll investigate.
>>
>> Best wishes
>>
>> Jeremy
>>
>> On Sunday, November 7, 2021 at 9:40:19 AM UTC Siniy-Kit wrote:
>>
>>> Jeremy, help me please. I want to update my template to  new version, 
>>> but it works only with zoomin view. 
>>>
>>> четверг, 28 октября 2021 г. в 15:52:49 UTC+3, Siniy-Kit: 
>>>
 Old TW5 works good. But now it has bad auto scroll while navigating 
 between tiddlers 
 For example open this tiddler 
 https://tiddlywiki.com/#Filter%20Operators then make zoomin view
 [image: Снимок экрана 2021-10-28 154440.png]
  then go back to Filter Operators tiddler and press "range"
 [image: Снимок экрана 2021-10-28 154716.png]

 after click you will see this
 [image: Снимок экрана 2021-10-28 154853.png]

 I want to see the top of this tiddler, but it autoscroll to middle. Can 
 we fix this bug? 

>>>

-- 
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/9fa9386d-7593-4de1-a928-7a55af822cd1n%40googlegroups.com.


Re: [Talk TW] [Google Group (Read Only)] [tw5] No CSS while hosting Tiddlywiki on Node.js on Qnap NAS

2021-11-27 Thread Jeremy Ruston
Hi Matt

It looks like the problem is that your wiki is missing a theme plugin. Try 
adding this to your tiddlywiki.info file:


"themes": [
"tiddlywiki/vanilla",
"tiddlywiki/snowwhite"
],

For example:

https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/empty/tiddlywiki.info

Best wishes

Jeremy

--
Jeremy Ruston
jer...@jermolene.com
https://jermolene.com

> On 26 Nov 2021, at 23:04, Matt Kobe via Talk TW  
> wrote:
> 
> 
> Hi. I try to host Tiddlywiki Node.js on my Qnap NAS (with COntainer Station / 
> Docker). I managed to do it successfully but there are 2 problems: CSS is not 
> working (no template) and it doesn't save online.
> 
> Take a look: http://vielebny.myqnapcloud.com:5678/ 
> 
> What is wrong?
> It is hosted in Container Station with Node.js 17.1.0, Tiddlywiki 5.2.0
> 
> Steps I made inside Container: 
> 1. npm install -g tiddlywiki
> 2. tiddlywiki kompendium --init server
> 3. tiddlywiki kompendium --listen
> 4. forever start --spinSleepTime 1 
> ./usr/local/lib/node_modules/tiddlywiki/tiddlywiki.js ./ --server 5678 
> $:/core/save/lazy-all "" "" "" "" 0.0.0.0 ""
> 
> On Synology DSM it worked like a charm. 
> -- 
> 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/bd316685-7300-44a0-8cb3-eb8e3c831f70n%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/00DF6292-E28D-425C-8CCD-EE1BD442D3DE%40gmail.com.


Re: [Talk TW] [Google Group (Read Only)] [tw5] No CSS while hosting Tiddlywiki on Node.js on Qnap NAS

2021-11-27 Thread Jeremy Ruston
Hi Matt

It looks like the problem is that your wiki is missing a theme plugin. Try 
adding this to your tiddlywiki.info file:


"themes": [
"tiddlywiki/vanilla",
"tiddlywiki/snowwhite"
],

For example:

https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/empty/tiddlywiki.info

Best wishes

Jeremy

--
Jeremy Ruston
jer...@jermolene.com
https://jermolene.com

> On 26 Nov 2021, at 23:04, Matt Kobe via Talk TW  
> wrote:
> 
> 
> Hi. I try to host Tiddlywiki Node.js on my Qnap NAS (with COntainer Station / 
> Docker). I managed to do it successfully but there are 2 problems: CSS is not 
> working (no template) and it doesn't save online.
> 
> Take a look: http://vielebny.myqnapcloud.com:5678/ 
> 
> What is wrong?
> It is hosted in Container Station with Node.js 17.1.0, Tiddlywiki 5.2.0
> 
> Steps I made inside Container: 
> 1. npm install -g tiddlywiki
> 2. tiddlywiki kompendium --init server
> 3. tiddlywiki kompendium --listen
> 4. forever start --spinSleepTime 1 
> ./usr/local/lib/node_modules/tiddlywiki/tiddlywiki.js ./ --server 5678 
> $:/core/save/lazy-all "" "" "" "" 0.0.0.0 ""
> 
> On Synology DSM it worked like a charm. 
> -- 
> 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/bd316685-7300-44a0-8cb3-eb8e3c831f70n%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/6D978B93-F581-40ED-B20E-84C8D353B67E%40gmail.com.


[tw5] Basic Programming Language hosting in TW ?

2021-11-26 Thread Charlie Veniot
*(Yeah, BASIC has always tugged at my heart strings.)*

Download attached json, and drag into a TiddlyWiki instance to import the 
two tiddlers.

See https://github.com/google/wwwbasic to read about the related javascript 
library.

H, has me thinking:

Using TW as a host for basic programming language code in tiddlers, 
feeding that code into dynamically created HTML fed to an iframe,
and display the results of the basic code interpreted by javascript.








-- 
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/8c139670-763c-418b-bb12-031c6611b89en%40googlegroups.com.


BasicProgrammingLanguage.json
Description: application/json


[tw5] Re: TW 5.2.0 + CouchDB ?

2021-11-26 Thread Jeremy Ruston
CouchDB was already established when I started TiddlyWiki 5 in 2011, and 
I'd been following it with interest. Not only did it have solid 
synchronisation functionality, at the time it had intriguing features for 
hosting JavaScript applications, long before Node.js.

I think there were a few reasons that I didn't personally take CouchDB 
further in TiddlyWiki 5:

* TiddlyWiki's internal store needs to offer a synchronous API, but CouchDB 
offers only async APIs. That means there would always be a requirement for 
a sync process between TWs synchronous DB and the CouchDB API, which means 
that TW still has to handle synchronisation
* The difficulties of setting up and running a server of my own
* The lack of CouchDB online services

I was delighted to see Danielo's work with NoteSelf, and it deservedly 
attracted a lot of interest. It demonstrated that CouchDB can be 
retrofitted onto TW5 just like any other database with an async API.

Best wishes

Jeremy



On Thursday, November 25, 2021 at 3:01:05 PM UTC Mark S. wrote:

>
> That was it for me too. In the space of a month, it went from this 
> friendly, reasonably understandable thing, to this borg-like 
> mega-corporation thing. HAL*  doesn't really cater to "little people" -- 
> that's not their mission statement.
>  
> * Advance each letter one step
> On Thursday, November 25, 2021 at 4:09:23 AM UTC-8 swilson...@gmail.com 
> wrote:
>
>> @Jan
>> I was quite keen on noteself, had it set up and everything but then after 
>> the takeover, Couch DB moved past my tolerance for banging my head against 
>> software and it killed it for me.  I suspect that was true for others.
>>
>> On Monday, 22 November 2021 at 20:06:16 UTC cj.v...@gmail.com wrote:
>>
>>> That would be very cool.
>>>
>>> *Comments*
>>>
>>> Other than technical coolness, what would be the advantage of it?  From 
>>> just a user perspective (i.e. forget technical stuff) what reason would I 
>>> have to want that?
>>>
>>> You're talking technological "wowness", but bring it back to "in the 
>>> trenches" "daily usage" terms for a typical user: why should he/she care?
>>>
>>> To investigate how people use TiddlyWiki, what choices they make, and 
>>> why,  you will get more responses over at TiddlyTalk.  It has become the 
>>> fan-favourite.
>>>
>>> Me, I much prefer Google Groups, so I am very happy to reply here:
>>>
>>> *My use cases*
>>>
>>> *Personal TiddlyWiki*
>>>
>>> I store all of my personal TiddlyWiki instances on Google Drive.  
>>> TiddlyWiki aside, if I have no access to the internet, any computer is 
>>> useless to me.
>>>
>>> However, since I have offline access to my files on Google Drive, my 
>>> Chromebook isn't quite the brick folk would think it is ...
>>>
>>> Most important to me is to have access to all of my things in Google 
>>> Drive from any connected device anywhere.
>>>
>>> Having my TiddlyWiki instances tied to databases of a web browser on 
>>> some machine?  Nope, not for me.  Unless whatever you come up with has 
>>> auto-syn with the cloud, I won't be using it.
>>>
>>> A big draw to single-file TiddlyWiki: 10 years from now, however long a 
>>> TiddlyWiki has gathered dust, I can open it and everything will be right 
>>> thre.
>>>
>>> *Multi-User TiddlyWik*
>>>
>>> In this case, TiddlyWiki instances I've setup in virtual machines using 
>>> cloud services.
>>>
>>> So that I can take advantage of all the goodness that is nodejs 
>>> TiddlyWiki.  All of them tiddlers sitting in individual text files, right 
>>> where I want them.
>>>
>>> Although what you describe would be, I think, of no interest to me here, 
>>> the ability to have these TiddlyWiki instances able to access databases on 
>>> these servers, so that the TiddlyWiki instances could have access to data 
>>> coming from other systems?  That would get my attention.
>>>
>>> On Monday, November 22, 2021 at 6:26:58 AM UTC-4 V wrote:
>>>
>>>> Hi. 
>>>>
>>>> I have been following the TW project for years and I am still very 
>>>> surprised that the community continues to actively support super strange, 
>>>> inconvenient and limited ways of saving and synchronizing – but at the 
>>>> same 
>>>> time all developments using normal technologies on which synchronization 
>>>> could be easy, seamless and safe, such as Co

[tw5] Re: TW 5.2.0 + CouchDB ?

2021-11-25 Thread 'Mark S.' via TiddlyWiki

That was it for me too. In the space of a month, it went from this 
friendly, reasonably understandable thing, to this borg-like 
mega-corporation thing. HAL*  doesn't really cater to "little people" -- 
that's not their mission statement.
 
* Advance each letter one step
On Thursday, November 25, 2021 at 4:09:23 AM UTC-8 swilson...@gmail.com 
wrote:

> @Jan
> I was quite keen on noteself, had it set up and everything but then after 
> the takeover, Couch DB moved past my tolerance for banging my head against 
> software and it killed it for me.  I suspect that was true for others.
>
> On Monday, 22 November 2021 at 20:06:16 UTC cj.v...@gmail.com wrote:
>
>> That would be very cool.
>>
>> *Comments*
>>
>> Other than technical coolness, what would be the advantage of it?  From 
>> just a user perspective (i.e. forget technical stuff) what reason would I 
>> have to want that?
>>
>> You're talking technological "wowness", but bring it back to "in the 
>> trenches" "daily usage" terms for a typical user: why should he/she care?
>>
>> To investigate how people use TiddlyWiki, what choices they make, and 
>> why,  you will get more responses over at TiddlyTalk.  It has become the 
>> fan-favourite.
>>
>> Me, I much prefer Google Groups, so I am very happy to reply here:
>>
>> *My use cases*
>>
>> *Personal TiddlyWiki*
>>
>> I store all of my personal TiddlyWiki instances on Google Drive.  
>> TiddlyWiki aside, if I have no access to the internet, any computer is 
>> useless to me.
>>
>> However, since I have offline access to my files on Google Drive, my 
>> Chromebook isn't quite the brick folk would think it is ...
>>
>> Most important to me is to have access to all of my things in Google 
>> Drive from any connected device anywhere.
>>
>> Having my TiddlyWiki instances tied to databases of a web browser on some 
>> machine?  Nope, not for me.  Unless whatever you come up with has auto-syn 
>> with the cloud, I won't be using it.
>>
>> A big draw to single-file TiddlyWiki: 10 years from now, however long a 
>> TiddlyWiki has gathered dust, I can open it and everything will be right 
>> thre.
>>
>> *Multi-User TiddlyWik*
>>
>> In this case, TiddlyWiki instances I've setup in virtual machines using 
>> cloud services.
>>
>> So that I can take advantage of all the goodness that is nodejs 
>> TiddlyWiki.  All of them tiddlers sitting in individual text files, right 
>> where I want them.
>>
>> Although what you describe would be, I think, of no interest to me here, 
>> the ability to have these TiddlyWiki instances able to access databases on 
>> these servers, so that the TiddlyWiki instances could have access to data 
>> coming from other systems?  That would get my attention.
>>
>> On Monday, November 22, 2021 at 6:26:58 AM UTC-4 V wrote:
>>
>>> Hi. 
>>>
>>> I have been following the TW project for years and I am still very 
>>> surprised that the community continues to actively support super strange, 
>>> inconvenient and limited ways of saving and synchronizing – but at the same 
>>> time all developments using normal technologies on which synchronization 
>>> could be easy, seamless and safe, such as CouchDB, are not supported in 
>>> official release and abandoned by community.
>>>
>>> Especially considering the new data storage format in JSON, with which 
>>> synchronization with object databases has never been easier. It's even 
>>> easier than maintaining the current server solution on files, which in 
>>> principle cannot work offline, unlike a solution based on 
>>> IndexedDB+PouchDB→CouchDB or IndexedDB→Mongo/Posrgres.
>>>
>>> I have used PouchDB adapter from NoteSelf, but it's outdated and 
>>> contains a lot of bugs. Other solutions were outdated even earlier.
>>>
>>> If IndexedDB/CouchDB solution were supported out of the box, there would 
>>> be no reason at all to use paid solutions like Evernote or Notion for 
>>> personal notes.
>>>
>>> Based on discussions & repo, it seems that no movement in this direction 
>>> is planned.
>>>
>>> I have only one question – why? 
>>> Is it really more convenient for everyone to save files in Dropbox using 
>>> crutches, constantly losing changes between devices and merging conflicts? 
>>>
>>> Are these some kind of ideological reasons?
>>>
>>>
>>>

-- 
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/1bb58cd0-92e9-4199-8f5b-00833aecead0n%40googlegroups.com.


[tw5] Re: TW 5.2.0 + CouchDB ?

2021-11-25 Thread Stephen Wilson
@Jan
I was quite keen on noteself, had it set up and everything but then after 
the takeover, Couch DB moved past my tolerance for banging my head against 
software and it killed it for me.  I suspect that was true for others.

On Monday, 22 November 2021 at 20:06:16 UTC cj.v...@gmail.com wrote:

> That would be very cool.
>
> *Comments*
>
> Other than technical coolness, what would be the advantage of it?  From 
> just a user perspective (i.e. forget technical stuff) what reason would I 
> have to want that?
>
> You're talking technological "wowness", but bring it back to "in the 
> trenches" "daily usage" terms for a typical user: why should he/she care?
>
> To investigate how people use TiddlyWiki, what choices they make, and 
> why,  you will get more responses over at TiddlyTalk.  It has become the 
> fan-favourite.
>
> Me, I much prefer Google Groups, so I am very happy to reply here:
>
> *My use cases*
>
> *Personal TiddlyWiki*
>
> I store all of my personal TiddlyWiki instances on Google Drive.  
> TiddlyWiki aside, if I have no access to the internet, any computer is 
> useless to me.
>
> However, since I have offline access to my files on Google Drive, my 
> Chromebook isn't quite the brick folk would think it is ...
>
> Most important to me is to have access to all of my things in Google Drive 
> from any connected device anywhere.
>
> Having my TiddlyWiki instances tied to databases of a web browser on some 
> machine?  Nope, not for me.  Unless whatever you come up with has auto-syn 
> with the cloud, I won't be using it.
>
> A big draw to single-file TiddlyWiki: 10 years from now, however long a 
> TiddlyWiki has gathered dust, I can open it and everything will be right 
> thre.
>
> *Multi-User TiddlyWik*
>
> In this case, TiddlyWiki instances I've setup in virtual machines using 
> cloud services.
>
> So that I can take advantage of all the goodness that is nodejs 
> TiddlyWiki.  All of them tiddlers sitting in individual text files, right 
> where I want them.
>
> Although what you describe would be, I think, of no interest to me here, 
> the ability to have these TiddlyWiki instances able to access databases on 
> these servers, so that the TiddlyWiki instances could have access to data 
> coming from other systems?  That would get my attention.
>
> On Monday, November 22, 2021 at 6:26:58 AM UTC-4 V wrote:
>
>> Hi. 
>>
>> I have been following the TW project for years and I am still very 
>> surprised that the community continues to actively support super strange, 
>> inconvenient and limited ways of saving and synchronizing – but at the same 
>> time all developments using normal technologies on which synchronization 
>> could be easy, seamless and safe, such as CouchDB, are not supported in 
>> official release and abandoned by community.
>>
>> Especially considering the new data storage format in JSON, with which 
>> synchronization with object databases has never been easier. It's even 
>> easier than maintaining the current server solution on files, which in 
>> principle cannot work offline, unlike a solution based on 
>> IndexedDB+PouchDB→CouchDB or IndexedDB→Mongo/Posrgres.
>>
>> I have used PouchDB adapter from NoteSelf, but it's outdated and contains 
>> a lot of bugs. Other solutions were outdated even earlier.
>>
>> If IndexedDB/CouchDB solution were supported out of the box, there would 
>> be no reason at all to use paid solutions like Evernote or Notion for 
>> personal notes.
>>
>> Based on discussions & repo, it seems that no movement in this direction 
>> is planned.
>>
>> I have only one question – why? 
>> Is it really more convenient for everyone to save files in Dropbox using 
>> crutches, constantly losing changes between devices and merging conflicts? 
>>
>> Are these some kind of ideological reasons?
>>
>>
>>

-- 
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/44ec822f-550c-482b-944c-03426ba4e9ban%40googlegroups.com.


[tw5] Re: TW 5.2.0 + CouchDB ?

2021-11-22 Thread Charlie Veniot
That would be very cool.

*Comments*

Other than technical coolness, what would be the advantage of it?  From 
just a user perspective (i.e. forget technical stuff) what reason would I 
have to want that?

You're talking technological "wowness", but bring it back to "in the 
trenches" "daily usage" terms for a typical user: why should he/she care?

To investigate how people use TiddlyWiki, what choices they make, and why,  
you will get more responses over at TiddlyTalk.  It has become the 
fan-favourite.

Me, I much prefer Google Groups, so I am very happy to reply here:

*My use cases*

*Personal TiddlyWiki*

I store all of my personal TiddlyWiki instances on Google Drive.  
TiddlyWiki aside, if I have no access to the internet, any computer is 
useless to me.

However, since I have offline access to my files on Google Drive, my 
Chromebook isn't quite the brick folk would think it is ...

Most important to me is to have access to all of my things in Google Drive 
from any connected device anywhere.

Having my TiddlyWiki instances tied to databases of a web browser on some 
machine?  Nope, not for me.  Unless whatever you come up with has auto-syn 
with the cloud, I won't be using it.

A big draw to single-file TiddlyWiki: 10 years from now, however long a 
TiddlyWiki has gathered dust, I can open it and everything will be right 
thre.

*Multi-User TiddlyWik*

In this case, TiddlyWiki instances I've setup in virtual machines using 
cloud services.

So that I can take advantage of all the goodness that is nodejs 
TiddlyWiki.  All of them tiddlers sitting in individual text files, right 
where I want them.

Although what you describe would be, I think, of no interest to me here, 
the ability to have these TiddlyWiki instances able to access databases on 
these servers, so that the TiddlyWiki instances could have access to data 
coming from other systems?  That would get my attention.

On Monday, November 22, 2021 at 6:26:58 AM UTC-4 V wrote:

> Hi. 
>
> I have been following the TW project for years and I am still very 
> surprised that the community continues to actively support super strange, 
> inconvenient and limited ways of saving and synchronizing – but at the same 
> time all developments using normal technologies on which synchronization 
> could be easy, seamless and safe, such as CouchDB, are not supported in 
> official release and abandoned by community.
>
> Especially considering the new data storage format in JSON, with which 
> synchronization with object databases has never been easier. It's even 
> easier than maintaining the current server solution on files, which in 
> principle cannot work offline, unlike a solution based on 
> IndexedDB+PouchDB→CouchDB or IndexedDB→Mongo/Posrgres.
>
> I have used PouchDB adapter from NoteSelf, but it's outdated and contains 
> a lot of bugs. Other solutions were outdated even earlier.
>
> If IndexedDB/CouchDB solution were supported out of the box, there would 
> be no reason at all to use paid solutions like Evernote or Notion for 
> personal notes.
>
> Based on discussions & repo, it seems that no movement in this direction 
> is planned.
>
> I have only one question – why? 
> Is it really more convenient for everyone to save files in Dropbox using 
> crutches, constantly losing changes between devices and merging conflicts? 
>
> Are these some kind of ideological reasons?
>
>
>

-- 
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/df229928-af14-437b-8c37-028cc783bb31n%40googlegroups.com.


[tw5] Re: TW 5.2.0 + CouchDB ?

2021-11-22 Thread Jan
Hi V,
this is a very important topic... 
I also would like to have the browser storage plugin play a more important 
role, because for some first-time users it is a deception that their 
changes are not saved when they return - couchDB could heal this. 
One setback for noteself was that the service proposed there - cloudant - 
was bought by ...IBM? and it became more complicated to obtain it. 

Another problem is that browser storage is great for personal notetaking 
but not if your wiki is meant for others (like students and so on).
If you are working on various machines and basically saving to a server, it 
can have unwanted side effects like Zombi-Tiddlers reappearing after they 
have been deleted and then saved are back by accident.
So I never really used browser storage, and so I cannot say whether the 
idea is weird:

I would like to have a sort of browser storage-on-demand, where you are 
either asked whether you want to recover from the  browser storage in the 
beginning if there is saved content that is not in the server-version. 

Best wishes Jan

P.S. It would be great to continue this discussion on 
https://talk.tiddlywiki.org/ It took me some time to find out why I could 
not reply in the there. 




mcdermott...@gmail.com schrieb am Montag, 22. November 2021 um 17:26:29 
UTC+1:

> I can't speak for everyone, only myself. When I picked TiddlyWiki several 
> years ago, I imposed the following constraints on myself (brief reason in 
> square brackets):
>
> * Lightweight text markup that included hyperlinking [these are among the 
> things that separate the solution from text-only]
> * Searchable
> * Open source [the content I generate for myself is too important to me 
> for it to go dark if a startup shutters]
> * Offline-first [travel or an internet outage shouldn't completely 
> separate me from my "second brain"]
>
> The first two are basic notetaking sorts of things, but the other two are 
> why I use the default file saver with TiddlyDesktop. A single file + 
> synchronization happens to be among the easier ways (to me) of 
> accomplishing offline first. Everything is a trade-off.
>
> I will say that document databases are a dime a dozen. Plain text and HTML 
> are probably the two most stable interfaces in technology today. I (and, I 
> suspect, a great deal of TiddlyWiki's user base) value that sort of 
> stability.
> On Monday, November 22, 2021 at 4:26:58 AM UTC-6 V wrote:
>
>> Hi. 
>>
>> I have been following the TW project for years and I am still very 
>> surprised that the community continues to actively support super strange, 
>> inconvenient and limited ways of saving and synchronizing – but at the same 
>> time all developments using normal technologies on which synchronization 
>> could be easy, seamless and safe, such as CouchDB, are not supported in 
>> official release and abandoned by community.
>>
>> Especially considering the new data storage format in JSON, with which 
>> synchronization with object databases has never been easier. It's even 
>> easier than maintaining the current server solution on files, which in 
>> principle cannot work offline, unlike a solution based on 
>> IndexedDB+PouchDB→CouchDB or IndexedDB→Mongo/Posrgres.
>>
>> I have used PouchDB adapter from NoteSelf, but it's outdated and contains 
>> a lot of bugs. Other solutions were outdated even earlier.
>>
>> If IndexedDB/CouchDB solution were supported out of the box, there would 
>> be no reason at all to use paid solutions like Evernote or Notion for 
>> personal notes.
>>
>> Based on discussions & repo, it seems that no movement in this direction 
>> is planned.
>>
>> I have only one question – why? 
>> Is it really more convenient for everyone to save files in Dropbox using 
>> crutches, constantly losing changes between devices and merging conflicts? 
>>
>> Are these some kind of ideological reasons?
>>
>>
>>

-- 
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/9d088608-b5c3-4fba-8ff7-ba9d68fa305bn%40googlegroups.com.


[tw5] Re: TW 5.2.0 + CouchDB ?

2021-11-22 Thread Michael McDermott
I can't speak for everyone, only myself. When I picked TiddlyWiki several 
years ago, I imposed the following constraints on myself (brief reason in 
square brackets):

* Lightweight text markup that included hyperlinking [these are among the 
things that separate the solution from text-only]
* Searchable
* Open source [the content I generate for myself is too important to me for 
it to go dark if a startup shutters]
* Offline-first [travel or an internet outage shouldn't completely separate 
me from my "second brain"]

The first two are basic notetaking sorts of things, but the other two are 
why I use the default file saver with TiddlyDesktop. A single file + 
synchronization happens to be among the easier ways (to me) of 
accomplishing offline first. Everything is a trade-off.

I will say that document databases are a dime a dozen. Plain text and HTML 
are probably the two most stable interfaces in technology today. I (and, I 
suspect, a great deal of TiddlyWiki's user base) value that sort of 
stability.
On Monday, November 22, 2021 at 4:26:58 AM UTC-6 V wrote:

> Hi. 
>
> I have been following the TW project for years and I am still very 
> surprised that the community continues to actively support super strange, 
> inconvenient and limited ways of saving and synchronizing – but at the same 
> time all developments using normal technologies on which synchronization 
> could be easy, seamless and safe, such as CouchDB, are not supported in 
> official release and abandoned by community.
>
> Especially considering the new data storage format in JSON, with which 
> synchronization with object databases has never been easier. It's even 
> easier than maintaining the current server solution on files, which in 
> principle cannot work offline, unlike a solution based on 
> IndexedDB+PouchDB→CouchDB or IndexedDB→Mongo/Posrgres.
>
> I have used PouchDB adapter from NoteSelf, but it's outdated and contains 
> a lot of bugs. Other solutions were outdated even earlier.
>
> If IndexedDB/CouchDB solution were supported out of the box, there would 
> be no reason at all to use paid solutions like Evernote or Notion for 
> personal notes.
>
> Based on discussions & repo, it seems that no movement in this direction 
> is planned.
>
> I have only one question – why? 
> Is it really more convenient for everyone to save files in Dropbox using 
> crutches, constantly losing changes between devices and merging conflicts? 
>
> Are these some kind of ideological reasons?
>
>
>

-- 
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/665e3ab6-5079-4c59-bb59-ebe112a842f3n%40googlegroups.com.


[tw5] TW 5.2.0 + CouchDB ?

2021-11-22 Thread V
Hi. 

I have been following the TW project for years and I am still very 
surprised that the community continues to actively support super strange, 
inconvenient and limited ways of saving and synchronizing – but at the same 
time all developments using normal technologies on which synchronization 
could be easy, seamless and safe, such as CouchDB, are not supported in 
official release and abandoned by community.

Especially considering the new data storage format in JSON, with which 
synchronization with object databases has never been easier. It's even 
easier than maintaining the current server solution on files, which in 
principle cannot work offline, unlike a solution based on 
IndexedDB+PouchDB→CouchDB or IndexedDB→Mongo/Posrgres.

I have used PouchDB adapter from NoteSelf, but it's outdated and contains a 
lot of bugs. Other solutions were outdated even earlier.

If IndexedDB/CouchDB solution were supported out of the box, there would be 
no reason at all to use paid solutions like Evernote or Notion for personal 
notes.

Based on discussions & repo, it seems that no movement in this direction is 
planned.

I have only one question – why? 
Is it really more convenient for everyone to save files in Dropbox using 
crutches, constantly losing changes between devices and merging conflicts? 

Are these some kind of ideological reasons?


-- 
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/763efd27-560b-4389-9de0-42f34862833fn%40googlegroups.com.


[tw5] Re: variables in subfilters make TW crash

2021-11-21 Thread CarloGgi
BINGO!

Thanks. :)

On Sunday, November 21, 2021 at 3:44:56 PM UTC+2 saq.i...@gmail.com wrote:

> I suspect you are using TW v5.1.23 in which this is a know issue. 
> Upgrading to v5.2.0 should resolve it. If it does not, please report back.
>
> On Sunday, November 21, 2021 at 2:30:27 PM UTC+1 CarloGgi wrote:
>
>>
>> Hallo everybody, I go into trouble when using variables in subfilters, 
>> they make code as simple as
>>
>> <$list variable="indx" filter="[tag[myTag]indexes[]]">
>>
>> <$vars subf="[getindexsplit[,]trim[]match[aword]]">
>>
>> <$list filter="[tag[myTag]filter]" variable="result">
>>  <> 
>> 
>>
>> 
>>
>> 
>>
>> to crash TW with Internal Javascript error: "TypeError: widget is 
>> undefined"
>>
>>
>> Even narrowing down the outer <$list> to a simple <$set> widget as in
>>
>>
>> <$set name="indx" value="index-01">
>>
>> <$vars subf="[getindexsplit[,]trim[]match[aword]]">
>>
>> <$list filter="[tag[myTag]filter]" variable="result">
>>  <> 
>> 
>> 
>>
>> 
>>
>> doesn't improve things at all. Same Internal Javascript error: 
>> "TypeError: widget is undefined". It really looks like using variables 
>> inside subfilters is the problem, as soon as I replace it with a parameter, 
>> like for example
>>
>>   <$vars subf="[getindex[index-01]split[,]trim[]match[aword]]">
>>
>> Tiddliwiki stops complaining.
>>
>> Thanks for any hints, suggestions, etc.
>>
>> CG
>>
>> Ubuntu 18.04.6 LTS
>> Firefox 94.0
>>
>>

-- 
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/8811175a-f3df-4ef8-a1da-8293b4ed0af9n%40googlegroups.com.


[tw5] Re: variables in subfilters make TW crash

2021-11-21 Thread CarloGgi
I forgot the most important: TW version!

*Tiddlywiki* *5.1.23*
Ubuntu 18.04.6 LTS
Firefox 94.0

CG

On Sunday, November 21, 2021 at 3:30:27 PM UTC+2 CarloGgi wrote:

>
> Hallo everybody, I go into trouble when using variables in subfilters, 
> they make code as simple as
>
> <$list variable="indx" filter="[tag[myTag]indexes[]]">
>
> <$vars subf="[getindexsplit[,]trim[]match[aword]]">
>
> <$list filter="[tag[myTag]filter]" variable="result">
>  <> 
> 
>
> 
>
> 
>
> to crash TW with Internal Javascript error: "TypeError: widget is 
> undefined"
>
>
> Even narrowing down the outer <$list> to a simple <$set> widget as in
>
>
> <$set name="indx" value="index-01">
>
> <$vars subf="[getindexsplit[,]trim[]match[aword]]">
>
> <$list filter="[tag[myTag]filter]" variable="result">
>  <> 
> 
> 
>
> 
>
> doesn't improve things at all. Same Internal Javascript error: "TypeError: 
> widget is undefined". It really looks like using variables inside 
> subfilters is the problem, as soon as I replace it with a parameter, like 
> for example
>
>   <$vars subf="[getindex[index-01]split[,]trim[]match[aword]]">
>
> Tiddliwiki stops complaining.
>
> Thanks for any hints, suggestions, etc.
>
> CG
>
> Ubuntu 18.04.6 LTS
> Firefox 94.0
>
>

-- 
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/835b4d32-5d34-42fd-aec8-8de326bcae96n%40googlegroups.com.


[tw5] Re: variables in subfilters make TW crash

2021-11-21 Thread Saq Imtiaz
I suspect you are using TW v5.1.23 in which this is a know issue. Upgrading 
to v5.2.0 should resolve it. If it does not, please report back.

On Sunday, November 21, 2021 at 2:30:27 PM UTC+1 CarloGgi wrote:

>
> Hallo everybody, I go into trouble when using variables in subfilters, 
> they make code as simple as
>
> <$list variable="indx" filter="[tag[myTag]indexes[]]">
>
> <$vars subf="[getindexsplit[,]trim[]match[aword]]">
>
> <$list filter="[tag[myTag]filter]" variable="result">
>  <> 
> 
>
> 
>
> 
>
> to crash TW with Internal Javascript error: "TypeError: widget is 
> undefined"
>
>
> Even narrowing down the outer <$list> to a simple <$set> widget as in
>
>
> <$set name="indx" value="index-01">
>
> <$vars subf="[getindexsplit[,]trim[]match[aword]]">
>
> <$list filter="[tag[myTag]filter]" variable="result">
>  <> 
> 
> 
>
> 
>
> doesn't improve things at all. Same Internal Javascript error: "TypeError: 
> widget is undefined". It really looks like using variables inside 
> subfilters is the problem, as soon as I replace it with a parameter, like 
> for example
>
>   <$vars subf="[getindex[index-01]split[,]trim[]match[aword]]">
>
> Tiddliwiki stops complaining.
>
> Thanks for any hints, suggestions, etc.
>
> CG
>
> Ubuntu 18.04.6 LTS
> Firefox 94.0
>
>

-- 
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/5c476fec-8592-4eb4-b024-2bdbf37af6e1n%40googlegroups.com.


[tw5] variables in subfilters make TW crash

2021-11-21 Thread CarloGgi

Hallo everybody, I go into trouble when using variables in subfilters, they 
make code as simple as

<$list variable="indx" filter="[tag[myTag]indexes[]]">

<$vars subf="[getindexsplit[,]trim[]match[aword]]">

<$list filter="[tag[myTag]filter]" variable="result">
 <> 






to crash TW with Internal Javascript error: "TypeError: widget is undefined"


Even narrowing down the outer <$list> to a simple <$set> widget as in


<$set name="indx" value="index-01">

<$vars subf="[getindexsplit[,]trim[]match[aword]]">

<$list filter="[tag[myTag]filter]" variable="result">
 <> 





doesn't improve things at all. Same Internal Javascript error: "TypeError: 
widget is undefined". It really looks like using variables inside 
subfilters is the problem, as soon as I replace it with a parameter, like 
for example

  <$vars subf="[getindex[index-01]split[,]trim[]match[aword]]">

Tiddliwiki stops complaining.

Thanks for any hints, suggestions, etc.

CG

Ubuntu 18.04.6 LTS
Firefox 94.0

-- 
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/912336c7-faa8-4451-a030-63f30a52a8c5n%40googlegroups.com.


[tw5] Re: Bug in TW 5.2.0 in zoomin view.

2021-11-14 Thread Siniy-Kit
TW 5.1.21 worked good  
https://heeg.ru/shop2_2.html?id=16gDZVsB8FOIxrsFKbkbBNWC37lPUAfKOGf-rCVxeOmY


вторник, 9 ноября 2021 г. в 19:57:29 UTC+3, jeremy...@gmail.com: 

> Hi Siniy-Kit,
>
> I can confirm the problem with v5.2.0. I also checked v5.1.23 and it seems 
> to have the same problem.
>
> Do you know when the problem was introduced? Did it indeed ever work 
> properly?
>
> Best wishes
>
> Jeremy
>
> On Tuesday, November 9, 2021 at 4:45:33 PM UTC Jeremy Ruston wrote:
>
>> Hi Siniy-Kit
>>
>> Thanks for the report, I'll investigate.
>>
>> Best wishes
>>
>> Jeremy
>>
>> On Sunday, November 7, 2021 at 9:40:19 AM UTC Siniy-Kit wrote:
>>
>>> Jeremy, help me please. I want to update my template to  new version, 
>>> but it works only with zoomin view. 
>>>
>>> четверг, 28 октября 2021 г. в 15:52:49 UTC+3, Siniy-Kit: 
>>>
>>>> Old TW5 works good. But now it has bad auto scroll while navigating 
>>>> between tiddlers 
>>>> For example open this tiddler 
>>>> https://tiddlywiki.com/#Filter%20Operators then make zoomin view
>>>> [image: Снимок экрана 2021-10-28 154440.png]
>>>>  then go back to Filter Operators tiddler and press "range"
>>>> [image: Снимок экрана 2021-10-28 154716.png]
>>>>
>>>> after click you will see this
>>>> [image: Снимок экрана 2021-10-28 154853.png]
>>>>
>>>> I want to see the top of this tiddler, but it autoscroll to middle. Can 
>>>> we fix this bug? 
>>>>
>>>

-- 
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/1e2f6793-cb6e-4298-928d-6ec69e65a88cn%40googlegroups.com.


[tw5] Re: Bug in TW 5.2.0 in zoomin view.

2021-11-13 Thread Soren Bjornstad
This issue I was experiencing might be the same thing or related:
https://groups.google.com/g/tiddlywiki/c/7HPSS67j4uU/m/kOgsG8YQBAAJ


On Tuesday, November 9, 2021 at 10:57:29 AM UTC-6 jeremy...@gmail.com wrote:

> Hi Siniy-Kit,
>
> I can confirm the problem with v5.2.0. I also checked v5.1.23 and it seems 
> to have the same problem.
>
> Do you know when the problem was introduced? Did it indeed ever work 
> properly?
>
> Best wishes
>
> Jeremy
>
> On Tuesday, November 9, 2021 at 4:45:33 PM UTC Jeremy Ruston wrote:
>
>> Hi Siniy-Kit
>>
>> Thanks for the report, I'll investigate.
>>
>> Best wishes
>>
>> Jeremy
>>
>> On Sunday, November 7, 2021 at 9:40:19 AM UTC Siniy-Kit wrote:
>>
>>> Jeremy, help me please. I want to update my template to  new version, 
>>> but it works only with zoomin view. 
>>>
>>> четверг, 28 октября 2021 г. в 15:52:49 UTC+3, Siniy-Kit: 
>>>
 Old TW5 works good. But now it has bad auto scroll while navigating 
 between tiddlers 
 For example open this tiddler 
 https://tiddlywiki.com/#Filter%20Operators then make zoomin view
 [image: Снимок экрана 2021-10-28 154440.png]
  then go back to Filter Operators tiddler and press "range"
 [image: Снимок экрана 2021-10-28 154716.png]

 after click you will see this
 [image: Снимок экрана 2021-10-28 154853.png]

 I want to see the top of this tiddler, but it autoscroll to middle. Can 
 we fix this bug? 

>>>

-- 
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/7fdf9810-6ef8-428d-94a6-8692e5d9cf71n%40googlegroups.com.


[tw5] Re: Windows 10 lost my TW HTML file

2021-11-12 Thread Paul Hampshire

Depending on where you were saving it (Documents folder for example) 
Windows might have backed it up for you with MS OneDrive. You can access it 
via your browser https://onedrive.live.com/
On Friday, November 12, 2021 at 3:13:25 PM UTC-5 rcsalsb...@gmail.com wrote:

> Windows 10 updated in the middle of the night and lost my HTML file.  No I 
> hadn't backed it up.  Is there any way to recover it?
>
> Windows 10; Browser Chrome. The HTML file was reset to download size.  
> Everything was closed by the update, but when I restored the open chrome 
> window the file was empty.
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/631e1584-ab05-440b-84dd-9a01448437f8n%40googlegroups.com.


[tw5] Windows 10 lost my TW HTML file

2021-11-12 Thread Russell Salsbury
Windows 10 updated in the middle of the night and lost my HTML file.  No I 
hadn't backed it up.  Is there any way to recover it?

Windows 10; Browser Chrome. The HTML file was reset to download size.  
Everything was closed by the update, but when I restored the open chrome 
window the file was empty.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bb48db07-cff6-4921-9080-001969434050n%40googlegroups.com.


[tw5] Re: Bug in TW 5.2.0 in zoomin view.

2021-11-09 Thread Jeremy Ruston
Hi Siniy-Kit,

I can confirm the problem with v5.2.0. I also checked v5.1.23 and it seems 
to have the same problem.

Do you know when the problem was introduced? Did it indeed ever work 
properly?

Best wishes

Jeremy

On Tuesday, November 9, 2021 at 4:45:33 PM UTC Jeremy Ruston wrote:

> Hi Siniy-Kit
>
> Thanks for the report, I'll investigate.
>
> Best wishes
>
> Jeremy
>
> On Sunday, November 7, 2021 at 9:40:19 AM UTC Siniy-Kit wrote:
>
>> Jeremy, help me please. I want to update my template to  new version, but 
>> it works only with zoomin view. 
>>
>> четверг, 28 октября 2021 г. в 15:52:49 UTC+3, Siniy-Kit: 
>>
>>> Old TW5 works good. But now it has bad auto scroll while navigating 
>>> between tiddlers 
>>> For example open this tiddler https://tiddlywiki.com/#Filter%20Operators 
>>> then make zoomin view
>>> [image: Снимок экрана 2021-10-28 154440.png]
>>>  then go back to Filter Operators tiddler and press "range"
>>> [image: Снимок экрана 2021-10-28 154716.png]
>>>
>>> after click you will see this
>>> [image: Снимок экрана 2021-10-28 154853.png]
>>>
>>> I want to see the top of this tiddler, but it autoscroll to middle. Can 
>>> we fix this bug? 
>>>
>>

-- 
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/3864b03a-816a-4878-b703-9b1fa4651fdbn%40googlegroups.com.


  1   2   3   4   5   6   7   8   9   10   >