[tw5] Re: Is there a way to generate a set of dynamical variables?

2019-11-05 Thread Stephan Hradek


Am Mittwoch, 6. November 2019 06:21:04 UTC+1 schrieb TonyM:
>
> My dream is to be able to attach a json file of tiddlers to an email as 
> well, any idea if this may be possible?
>
 
As far as I know it's not possible to add attachments with a mailto-link. 
You could "paste" the JSON content into the mail body. 

-- 
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/e53d932e-0db7-4a3d-bbab-c21054c735b1%40googlegroups.com.


[tw5] Re: Resource: Mohammad's Wikis

2019-11-05 Thread @TiddlyTweeter


I updated the summary index of MOHAMMAD'S WIKIS 
.

-- 
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/e2ca4e80-0524-4069-979c-01034ea7cdb7%40googlegroups.com.


[tw5] Re: Is there any way to extend how the editor works?

2019-11-05 Thread A Gloom
I wanted to point out, that there is a simple way to create a fast workflow.

The other possibility would be to create a complete new shortcut, that does 
a "insert linebreak and start with *". But there is an insert * 
shortcut already. ... So why create a new one. 

enter ctrl-shift-L (list bullet)
enter ctrl-shift-N (list numbered)

a keyboard shortcut combining the 2 would be handy

or just modify the list-bullet & list-numbered shortcuts to suit an user's 
needs?

-- 
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/74bb9f2b-0ad5-4b63-8d9a-2f573578985d%40googlegroups.com.


[tw5] Re: "type" filter operator missing from official list?

2019-11-05 Thread A Gloom
ty Mark & Tony, I forgot about the automatic field operator assumption

so what does the field operator [type[]] produce?  tiddlers with no type 
set?  Most of my tiddlers that don't have a type set display their type 
application/x-tiddler (not in Tiddler Info>Advanced>Fields which reads type 
only if set, but in the More>Fields list

-- 
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/c5e90de4-b72c-4309-8a66-2a67eaf4a102%40googlegroups.com.


[tw5] Re: Is there a way to generate a set of dynamical variables?

2019-11-05 Thread TonyM
Stephan,

I have had so much trouble building email composition and send tools thanks 
for sharing. Your use of [[something:value]] is interesting. I am yet to 
understand fully how it works.

My dream is to be able to attach a json file of tiddlers to an email as 
well, any idea if this may be possible?

Regards
Tony

On Monday, November 4, 2019 at 11:24:12 PM UTC+11, Stephan Hradek wrote:
>
> @all who answered - Thanks for your time.
>
> What I did now is to provide a working example at 
> https://github.com/Skeeve/mailtemplates-made-easy/tree/master/wiki 
>
> If you're interested you can download from there.
>
> The only questions I have are:
>
>
>1. How can I make sure, the default values are set. In this case not 
>touching the checkbox will set no value for the placeholder *known_cb* 
>and will thus give wrong results.
>2. Is there a way I could use Tiddlywiki's variable-notation 
><> instead of the transclude-a-field notation {{!!fieldname}}
>
> The Question at 1. is the more important one. The Question at 2. is just 
> that I personally find it more understandable for non-TiddlyWiki-users (and 
> that's what the system should be for) to use <> than 
> {{!!something}}. It's just that the 2 exclamation marks do not make sense 
> to people not knowning about TiddlyWiki.
>
> BTW: I couldn't save to tiddlyspot. It simply fails without any hint about 
> what's wrong. Just pops up "Started saving".
>

-- 
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/b794f6f4-0abd-4e85-b924-b2bbd23af2b8%40googlegroups.com.


[tw5] Re: "type" filter operator missing from official list?

2019-11-05 Thread TonyM
A,

Mark beat me too it

The reason is there is not special operator. since type is a field name you 
are effectively using a version of the Field Operator 


This is actually a nice option because to can say fieldname[value] which in 
a way allows you to define what look like custom operators eg
show-details[yes]

Regards
Tony

On Wednesday, November 6, 2019 at 2:21:53 PM UTC+11, A Gloom wrote:
>
> I didn't see the "type" operator (ie:type[text/vnd.tiddlywiki]) on the 
> official list of filter operators (or have a tiddler) at TWcom
>
> Interestingly, [type[]] placed in Advanced Search>Filter produses result 
> by not the total result one would expect-- couldn't determine what its 
> selection criteria is
>

-- 
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/901f2585-5285-4f05-9d10-90838d5c240d%40googlegroups.com.


[tw5] Re: "type" filter operator missing from official list?

2019-11-05 Thread 'Mark S.' via TiddlyWiki
"type" isn't a filter operator -- it's a field. 

>From the docs for the field operator:

The syntax of a filter step  treats 
> any unrecognised filter operator 
>  as if it was the suffix to 
> the field operator. 
>

HTH


On Tuesday, November 5, 2019 at 7:21:53 PM UTC-8, A Gloom wrote:
>
> I didn't see the "type" operator (ie:type[text/vnd.tiddlywiki]) on the 
> official list of filter operators (or have a tiddler) at TWcom
>
> Interestingly, [type[]] placed in Advanced Search>Filter produses result 
> by not the total result one would expect-- couldn't determine what its 
> selection criteria is
>

-- 
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/e606963f-4200-48ad-a4ac-6ee82e5b80b1%40googlegroups.com.


[tw5] Re: Is there any way to extend how the editor works?

2019-11-05 Thread PMario
On Tuesday, November 5, 2019 at 4:09:40 PM UTC+1, Mark S. wrote:
>
> But isn't ctl-enter already used for closing the current tiddler? Or am I 
> the only one that finds that useful?
>

You are right. ... I don't use ctrl-Enter to save. I even find it 
inconvenient. ... But that doesn't matter. 

I wanted to point out, that there is a simple way to create a fast 
workflow. 

The other possibility would be to create a complete new shortcut, that does 
a "insert linebreak and start with *". But there is an insert * 
shortcut already. ... So why create a new one. 

-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/1733ac31-f156-4367-968c-617cf3741f7f%40googlegroups.com.


[tw5] Re: User Class and Customizing Tiddler Visual Style

2019-11-05 Thread PMario
Hi HC,

If you want to use wikitext features as transclusions in style-sheet 
tiddlers you need to make them text/vnd-tiddlywiki and _not_ text/css

Since your first style definition failed, the whole tiddler failed. 

Use the attachment and it should work. 

-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/043e149e-4339-41ed-b499-f8b2286c612b%40googlegroups.com.


stylesheet_semantic_tags-border-colors.json
Description: application/json


[tw5] Re: Is there any way to extend how the editor works?

2019-11-05 Thread A Gloom
On Tuesday, November 5, 2019 at 10:09:40 AM UTC-5, Mark S. wrote:
>
> But isn't ctl-enter already used for closing the current tiddler? Or am I 
> the only one that finds that useful?
>

 I use the default cntrl enter for closing a tiddler in edit mode– very 
handy along with esc

-- 
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/e0b0fac7-e5ad-4e09-8c4e-6b444b263865%40googlegroups.com.


[tw5] Re: GGrexit did not happen. SO, make the best of GG. #1

2019-11-05 Thread A Gloom


EDIT:

The search can still function without ... the data tiddlers (the select a 
wiki, wiki info and ToC won't function), but the enter a wiki url would 
still work and searches can still be done through it. 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/842a8d44-1e28-4d91-9601-32eecf65d03c%40googlegroups.com.


[tw5] "type" filter operator missing from official list?

2019-11-05 Thread A Gloom
I didn't see the "type" operator (ie:type[text/vnd.tiddlywiki]) on the 
official list of filter operators (or have a tiddler) at TWcom

Interestingly, [type[]] placed in Advanced Search>Filter produses result by 
not the total result one would expect-- couldn't determine what its 
selection criteria is

-- 
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/e3ca0504-af57-4efc-ab3a-1efc829ee2a9%40googlegroups.com.


Re: [tw5] Tiny Todolist Plugin 1.00 final release: Create todo item with different categories

2019-11-05 Thread ILYA Khlopotov
Hello Mohammad,

I am quite new to Tiddlywiki and I am trying to adapt your plugin to create
independent tiddlers instead of using JSON tiddlers. I was able to create
new tiddler but I cannot update view template to display these tiddlers.

The way I create the tiddler is:
```
\define todolist-add-task-action()
<$set name=item value=<> >
<$action-setfield $tiddler=<> caption={{{
[getindex[itemtext]] }}} parent=<>
type="text/x-markdown"/>
<$action-setfield $tiddler=<> $index=<>
$value="undone" />
<$action-setfield $tiddler=<> $index=<>
$value="none" />

<$action-setfield $tiddler=<> $index="itemtext" $value=""/>
\end
```

My question is. Is it really doable to modify your plugin or it would be
easier to write it from scratch?

Best regards,
ILYA

On Sun, Jul 21, 2019 at 10:38 PM Mohammad 
wrote:

> *Announcement: Todolist Plugin*
>
> *Date: July 22, 2019*
> *Release: 1.0.0 final release*
>
> *Change log*
>
> 22th July 2019
>
>- New categories added: share, tip, horn
>- Show/hide item created timestamp
>- Min width of ui is 320px to fit the small screen of cell phones
>- Minor issues fixed
>
>
>
> I highly appreciate to receive your feedback, comments and idea
> *If you like it star it at GitHib*
>
>
> Demo: https://kookma.github.io/TW-Todolist/
> Code: https://github.com/kookma/TW-Todolist
>
> Best wishes
> Mohammad
>
> References
>
>- https://groups.google.com/d/msg/tiddlywiki/oUGvi4hPEvw/gECfF4DsDwAJ
>- https://groups.google.com/d/msg/tiddlywiki/GPCpShBbaYA/UZOQ_o2DEAAJ
>
>
>
>
> *___*
>
> *Announcement: Todolist Plugin*
>
> *Date: July 19, 2019*
> *Release: 1.0 release candidate 7*
>
> *Change log*
>
> *19th July 2019*
> [NEW] Priority button cycles through five levels of priority and use
> colors for levels
> [NEW] New minimal interface
> [NEW] New internal tiddlers explorer lets you to delete individual todo
> list
> [NEW] Documentation example shows to create multiple todo list in a single
> tiddler
> [Fixed] priority macros does not insert symbols any more
>
>
> I highly appreciate to receive your feedback, comments and idea
> If you like it star it at GitHib
>
>
> Demo: https://kookma.github.io/TW-Todolist/
> Code: https://github.com/kookma/TW-Todolist
>
> Best wishes
> Mohammad
>
> References
>
>- https://groups.google.com/d/msg/tiddlywiki/oUGvi4hPEvw/gECfF4DsDwAJ
>- https://groups.google.com/d/msg/tiddlywiki/GPCpShBbaYA/UZOQ_o2DEAAJ
>
> --
> 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/a140a58d-bfb0-432f-b0d6-8e4399cde4c2%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/CAP2DrbQbFSyuyN_Y1mFu-6e6Q7r91atKGVPh_pRGsvw2wmutZg%40mail.gmail.com.


Re: [tw5] Livenote: an experimental plane text notebook

2019-11-05 Thread ILYA
This is an awesome tool. Would it be possible to customize tiddler name used 
for storage?

For example to use input field to specify tiddler name.

Best regards,
ILYA

On 26 October 2019 09:02:23 GMT-07:00, Mohammad  
wrote:
>*Tiddlywiki wonderland!*
>
>
>This is to show how Tiddlywiki can be used for live note taking!
>By livenote I mean to just write and no further action required!
>
>This can be used in a normal Tiddlywiki!
>
>This just an experiment!
>
>http://livenote.tiddlyspot.com/#
>
>--Mohammad
>
>-- 
>You received this message because you are subscribed to the Google
>Groups "TiddlyWiki" group.
>To unsubscribe from this group and stop receiving emails from it, send
>an email to tiddlywiki+unsubscr...@googlegroups.com.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/tiddlywiki/b9e5512b-47f2-4015-8326-e2386711025f%40googlegroups.com.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/A7F51B21-0C62-43C5-9938-F6AF2E3DAF48%40gmail.com.


[tw5] Re: New release of the Locator plugin: drag-n-drop support, clarified tutorial and usage

2019-11-05 Thread Joshua Fontany
Jumping back to Tiddlywiki this week, and look at all the awesome stuff!

This looks like a very well thought out set of tools.

Love the custom splash screen, too (I just discovered that is now possible 
in the newer release notes).

Best,
Joshua Fontany

On Monday, November 4, 2019 at 10:52:11 PM UTC-8, bimlas wrote:
>
> Dear all,
>
> The latest version of the Locator (Table of Contents, tag search, related 
> tags finder) plugin is available:
>
>- Move tiddler from current context to higher- or subtopic by 
>drag-n-dropping in the Locator sidebar
>- Assign any tiddler to any of the titles in the Locator sidebar by 
>drag-n-dropping
>- Show the (top-level) base tag to be able to move the tiddler titles 
>there
>- Add button to open search results in advanced search
>- Show buttons using the Kin filter only when the filter operator is 
>available
>- Fix related tag issue (not all of them were listed)
>- Fix whitespace issue
>- Refactor the code
>- Add tutorial to the demo
>
> https://bimlas.gitlab.io/tw5-locator/
>
> Unfortunately, many people have not understood what this plugin is for so 
> far, I hope that by completing this tutorial makes it clear.
>
> I look forward to your comments, suggestions, new ideas!
>

-- 
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/95a92fd9-71cc-4dd6-912e-eee81960489a%40googlegroups.com.


[tw5] How do I get the value of the text field of a tiddler into a js-macro.

2019-11-05 Thread Jan

Hi!
I need to get the content of the field text as a variable for a macro. 
This macro is triggered when an Iframe is clicked. Therefore it does not 
need a macrocall.
It generates three tiddler for textfiles on the server via 
http.requests. The aim ist to receive postings from students which are 
clicked in a PHP in an Iframe and then generate kartouche.txt.
This worked some time with the names of the files ("kartouche.txt") but 
then it ceased to wor because the request got caught by the Proxy. So I 
need to combine it to a changing number generated in the text of 
$:/Temp/anti  + 
"kartouche.txt" to get a changing name.
This is my approach but it does not work yet. Handicap: The solution 
should also work calling just "kartouche.txt" if "anti" is not set yet.


Thanks for your help

   |title: $:/core/modules/macros/urltext.js
   type: application/javascript
   module-type: macro
   Makro, das eine Textdatei darstellt
   \*/

   (function(){
   /*jslint node: true, browser: true */
   /*global $tw: false */
   "use strict";

   /*
   Information about this macro
   */
   exports.name = "geturl";
   exports.params = [
  {name: "anti"}
   ];

   /*
   Run the macro
   */
   exports.run = function() {
   var monitor = setInterval(function(){
var elem = document.activeElement;
if(elem && elem.tagName == 'IFRAME'){
setTimeout(TimeoutFunction, 350);
   clearInterval(monitor);
   }
   }, 100);
   };
  function TimeoutFunction(anti) {
  var kartouche = anti + "kartouche.txt";
  var client = new XMLHttpRequest();client.open('GET', kartouche , 
false);
  client.setRequestHeader('Content-type', 'Content-Type: text/html; 
charset=ISO-8859-1');
  client.onreadystatechange = function() {
if (client.readyState == 4 && client.status == 200)
{
  var titel = client.responseText.replace("+", "%20");
  var fields = {title: '$:/Temp/URL', text:  titel}
   $tw.wiki.addTiddler(new $tw.Tiddler(fields))
}
}
   client.send();
   var kassiber = anti + "kassiber.txt";
   var inhalt = new XMLHttpRequest();inhalt.open('GET', kassiber, false);
  inhalt.setRequestHeader('Content-type', 'Content-Type: text/html; 
charset=ISO-8859-1');
  inhalt.onreadystatechange = function() {
if (inhalt.readyState == 4 && inhalt.status == 200)
{
  var nachricht = inhalt.responseText.replace("+", "%20");
  var fields = {title: '$:/Temp/URL-Text', text:  nachricht}
   $tw.wiki.addTiddler(new $tw.Tiddler(fields))
}
}
   inhalt.send();
 var geo = anti + "position.txt";
 var position = new XMLHttpRequest();position.open('GET', geo, false);
  position.setRequestHeader('Content-type', 'Content-Type: text/html; 
charset=ISO-8859-1');
  position.onreadystatechange = function() {
if (position.readyState == 4 && position.status == 200)
{
  var koordinaten = position.responseText.replace("+", "%20");
  var fields = {title: '$:/Temp/URL-Position', text:  koordinaten}
   $tw.wiki.addTiddler(new $tw.Tiddler(fields))
}
}
   position.send();
   }
   })();|


--
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/5DC1CBA4.5050500%40googlemail.com.


[tw5] Re: Is there a way to generate a set of dynamical variables?

2019-11-05 Thread 'Mark S.' via TiddlyWiki
You're doing some amazing stuff there, BTW.

I may not understand, but perhaps for #1 you should create a template 
editor for the user. This editor would, for instance,
contain the instructions re the fields and format, so the user didn't have 
to look them up. Then, when the user clicked
a "save" or "finalize" button, the template tiddler would be created 
including any necessary fields.

For #2, since you are doing your own parsing, perhaps you could substitute 
{{!! for << and }} for >> before processing the text.
You might be able to do this with a split/join sequence, e.g. 
splitjoin where startchevron and leftbrackets 
are previously defined values << and {{!! respectively.
This would allow the user to use "<>" and not have to know that they 
are actually referencing a field.

Although, to me {{!!field}} is just fine ;-)

Good luck!
On Monday, November 4, 2019 at 4:24:12 AM UTC-8, Stephan Hradek wrote:
>
> @all who answered - Thanks for your time.
>
> What I did now is to provide a working example at 
> https://github.com/Skeeve/mailtemplates-made-easy/tree/master/wiki 
>
> If you're interested you can download from there.
>
> The only questions I have are:
>
>
>1. How can I make sure, the default values are set. In this case not 
>touching the checkbox will set no value for the placeholder *known_cb* 
>and will thus give wrong results.
>2. Is there a way I could use Tiddlywiki's variable-notation 
><> instead of the transclude-a-field notation {{!!fieldname}}
>
> The Question at 1. is the more important one. The Question at 2. is just 
> that I personally find it more understandable for non-TiddlyWiki-users (and 
> that's what the system should be for) to use <> than 
> {{!!something}}. It's just that the 2 exclamation marks do not make sense 
> to people not knowning about TiddlyWiki.
>
> BTW: I couldn't save to tiddlyspot. It simply fails without any hint about 
> what's wrong. Just pops up "Started saving".
>

-- 
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/80ddbf02-5945-41de-b5f0-f0bfe711e6d5%40googlegroups.com.


[tw5] Re: Is there any way to extend how the editor works?

2019-11-05 Thread 'Mark S.' via TiddlyWiki
But isn't ctl-enter already used for closing the current tiddler? Or am I 
the only one that finds that useful?

On Tuesday, November 5, 2019 at 1:04:22 AM UTC-8, PMario wrote:
>
> Hi Scott, 
>
> I'd do the following: 
>
>  - Open ControlPanel 
> : Keyboard 
> Shortcut - tab
>  - Select "list-bullet" configuration
>  - edit
>  - add ctrl-Enter
>
> Now your workflow can be:
>
> Enter some text ctrl-Enter ... will add and remove the bullet point. Enter 
> ... will start a new line.
>
> or
>
> ctrl-Enter type some new text. 
>
> I did test it and I think it's an incredible fast workflow. ... at least 
> for me ;)
>
> 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/80689422-3a6f-4b18-b70e-22920ca50a12%40googlegroups.com.


[tw5] Re: Is there any way to extend how the editor works?

2019-11-05 Thread TonyM
I use auto hotkey for similar actions. I have used the number pad enter key to 
do a down arrow and home to move to the beginning of the next line.

You could do what you want. "Home, * end of line enter"

regards tony.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a3522821-f231-4cc6-b06e-81206c1566c8%40googlegroups.com.


Re: [tw5] A DisplayTiddler Variable for use in multiple transclusions.

2019-11-05 Thread Jeremy Ruston
> Is the following an example of a lateral variable?

No, that’s just using a variable to update the value in a tiddler. It’s a 
perfectly useful technique.

> If there were a way to change the value in tiddlername without a trigger do I 
> not have a lateral variable?

No. For a tiddler value to change, there has to be a trigger.

Hence the need for lateral variables.

Best wishes

Jeremy



> 
> regards
> Tony
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/60fa391a-262e-407b-8952-7981d2fa1419%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/4AA259F0-341A-49A6-A1F6-DF1C6F37E0EC%40gmail.com.


Re: [tw5] A DisplayTiddler Variable for use in multiple transclusions.

2019-11-05 Thread TonyM
Jeremy

Is the following an example of a lateral variable?

\define varvalue() {{tiddlername}}
on close tiddler I have an action that adds 1 to <> and saves it back 
to tiddlername and sets a current tiddler field to the same value. 

This is how I get unique serial numbers for tiddlers.

This is ok because I can use the close button as the trigger. 

If there were a way to change the value in tiddlername without a trigger do I 
not have a lateral variable?

regards
Tony

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/60fa391a-262e-407b-8952-7981d2fa1419%40googlegroups.com.


Re: [tw5] Abridged summary of tiddlywiki@googlegroups.com - 50 updates in 14 topics

2019-11-05 Thread Jeremy Ruston
Hi Richard

I think that’ll be the updog.co  link, there appears to have 
been a bit of a tug of war with Google recently on it.

Best wishes

Jeremy

> On 4 Nov 2019, at 23:40, Richard Drake  wrote:
> 
> Gmail gave a warning about one of the links here 
> 
> On Thu, 31 Oct 2019 at 02:26,  > wrote:
> tiddlywiki@googlegroups.com 
> 
> Google Groups 
> 
>
> 
>
> Today's topic summary  <>
> View all topics 
> 
> Classic Notes: a small tool to create semantic notebox 
>  - 1 Update
> Is there a way to generate a set of dynamical variables? 
>  - 4 Updates
> TiddlyWiki upgrade  - 2 
> Updates
> confused about UTC term used for the dates 
>  - 3 Updates
> Looking for ideas on how to use TiddlyWiki to track my reading habits. 
>  - 2 Updates
> TW too slow to use at only 8 MB 
>  - 8 Updates
> Philosophy & TW -- Title v. Content 
>  - 2 Updates
> CSS question regarding the html  tag 
>  - 3 Updates
> Changeable uri for embedded pdf-files 
>  - 1 Update
> Variable equals itself plus something else 
>  - 3 Updates
> Experiment: GG layout from TW. Request for feedback. TEST #1 
>  - 5 Updates
> How do I access an embedded binary file? 
>  - 4 Updates
> Tiddly Commander filter  
> - 11 Updates
> $edit-text type="date" in UTC format ? 
>  - 1 Update
>  <>Classic Notes: a small tool to create semantic notebox 
> 
> 
> TonyM mailto:anthony.mus...@gmail.com>>: Oct 30 
> 06:41PM -0700 
> 
> Mohammad,
>  
> Love your work. I need a degree in what Mohammad has produced just to make 
> full use of it all.
>  
> Do you really know this is compatible with Tiddlywiki5.1.5+ ?
>  
> Thanks
> Tony
> ...more 
> 
>  
> Back to top  <>Is there a way 
> to generate a set of dynamical variables? 
> 
> 
> Stephan Hradek mailto:stephan.hra...@gmail.com>>: 
> Oct 30 02:04AM -0700 
> 
> Background of my question: For a colleague who often needs to write 
> standard mails I've created a TiddlyWiki where one can create 2 tiddlers. 
> One with the standard mailtext using place holders. ...more 
> 
>  
> "Mark S." mailto:throa...@yahoo.com>>: Oct 30 07:16AM 
> -0700 
> 
> I've read your post several times now, but I'm still unsure what you want.
>  
> Perhaps you could show the list code you are using, and then highlight the 
> output, indicating
> what you would desire the ...more 
> 
>  
> Xavier Cazin mailto:caz...@gmail.com>>: Oct 30 03:21PM 
> +0100 
> 
> Hi Stefan,
>  
> I'm almost certain that filters hold the answer to your questions.
> Especially since they include operators like subfilter[], then[] and else[]
> —and also *~run* constructs. ...more 
> 
>  
> TonyM mailto:anthony.mus...@gmail.com>>: Oct 30 
> 06:37PM -0700 
> 
> Stephan,
>  
> I am a little confused about you question as well.
>  
> I do not really like the notation of the placeholders
>  
>  
> This is not helpful, the notation should not be the problem, perhaps its 
> ...more 
> 
>  
> Back to top  <>TiddlyWiki 
> upgrade  
> 
>   
> Magenta Ward mailto:war...@sunypoly.edu>>: Oct 30 
> 08:24AM -0700 
> 
> Hello, 
>  
> Yes, we are testing out the ADA compliance. As of right now we are getting 
> a low score, we are hoping that this per-release version will give it a 
> little boost. 
>  
> - Magenta Ann
>  
> ...more 
> 
>  
> TonyM mailto:anthony.mus...@gmail.com>>: Oct 30 
> 06:24PM -0700 
> 
> Magenta,
>  
> We have a few community members that champion or require accessibility 
> features themself. I would suggest publishing the results of your analysis 
> and requesting help in a new thread. ...more 
> 
>  
> Back to top  <>confused about 
> UTC term used for the dates  
> 

Re: [tw5] A DisplayTiddler Variable for use in multiple transclusions.

2019-11-05 Thread Jeremy Ruston
Hi Mario

I’m not sure I’m following all of this thread, but it looks like you’re wanting 
variables to work fundamentally differently than they do at the moment. Some of 
your examples require lateral variables, which is to say variable values that 
are inherited by widgets from their older siblings instead of just from their 
parents. That’s a big change, and requires the refresh mechanism to be 
redesigned, but it’s one I’m interested in for TWX because it’s the only way 
we’ll be able to do things like autonumbering of footnotes.

Best wishes

Jeremy

> On 5 Nov 2019, at 10:25, PMario  wrote:
> 
> On Tuesday, November 5, 2019 at 11:20:58 AM UTC+1, PMario wrote:
> On Tuesday, November 5, 2019 at 11:12:12 AM UTC+1, PMario wrote:
> ... 
> Some _pseudo code_ may look like: 
> 
> \define stack-1()
> 
> <$list filter="[tag[test]]">
> 
> BUT if we add eg:  
> <$set name="stack-1" ... 
> 
> <$push name="stack-1" value={{!!value}}/>
> 
> 
> I think, we are doomed!
> 
> May be stacks must be all uppercase eg: STACK-1 so we can check and see, 
> there is something special going on. 
> 
> I think, the name stack is somewhat misleading, since we can do: 
> [enlist[STACK-1]nth[3]] or stuff like this, which is "array handling"
> 
> -m
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/75d370dd-8721-445c-88ac-981897a3c1ec%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/67FC6809-1E0B-4CB4-B562-86002A539BB1%40gmail.com.


Re: [tw5] A DisplayTiddler Variable for use in multiple transclusions.

2019-11-05 Thread PMario
On Tuesday, November 5, 2019 at 11:20:58 AM UTC+1, PMario wrote:
>
> On Tuesday, November 5, 2019 at 11:12:12 AM UTC+1, PMario wrote:
> ... 
>
>> Some _pseudo code_ may look like: 
>>
>> \define stack-1()
>>
>> <$list filter="[tag[test]]">
>>
>
> BUT if we add eg:  
> <$set name="stack-1" ... 
>
> <$push name="stack-1" value={{!!value}}/>
>> 
>>
>
> I think, we are doomed!
>

May be stacks must be all uppercase eg: STACK-1 so we can check and see, 
there is something special going on. 

I think, the name stack is somewhat misleading, since we can do: 
[enlist[STACK-1]nth[3]] or stuff like this, which is "array handling"

-m


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/75d370dd-8721-445c-88ac-981897a3c1ec%40googlegroups.com.


Re: [tw5] A DisplayTiddler Variable for use in multiple transclusions.

2019-11-05 Thread PMario
On Tuesday, November 5, 2019 at 11:12:12 AM UTC+1, PMario wrote:
... 

> Some _pseudo code_ may look like: 
>
> \define stack-1()
>
> <$list filter="[tag[test]]">
>

BUT if we add eg:  
<$set name="stack-1" ... 

<$push name="stack-1" value={{!!value}}/>
> 
>

I think, we are doomed!

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fcff6939-b71c-42e4-9115-9d3da6256aca%40googlegroups.com.


Re: [tw5] A DisplayTiddler Variable for use in multiple transclusions.

2019-11-05 Thread PMario
On Sunday, November 3, 2019 at 11:27:24 PM UTC+1, TonyM wrote:
... 

> capture the full path to a tiddler while generating a toc.


This should be done using nested variables. There are several advantages 
that come with it.  

Pushing values onto a stack from multiple datasets then computing the 
> average, min max etc..
>

I think, that's an argument. ... So "the stack 
" can be created 
once and used several times. ... 

Some _pseudo code_ may look like: 

\define stack-1()

<$list filter="[tag[text]]">
<$push name="stack-1" value={{!!value}}/>


{{{[] +[sum[]]}}}

{{{[] +[maxall[]]}}}

<$clear name="statck-1"/>

or something like this.

-- 
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/f711fee8-5cd3-4c4d-b013-da65ec536f3d%40googlegroups.com.


Re: [tw5] CSS question regarding the html tag

2019-11-05 Thread Hubert
Thank you Jeremy, Sylvain, Magnus and Eric for your input.

>
> For CSS background images you’d need to use an SVG image. I don’t think 
> there’s a straightforward way to convert the core images, you’d probably 
> just need to do it manually.
>

Having Jeremy's confirmation, I've settled on non-core SVG elements defined 
as images to make it work in my  elements. I'm keeping all my 
other SVGs as non-images (the same way as in the core) for the very purpose 
of being able to flexibly modify them as needed (fill, hover effects, 
etc.), depending on application.

Thanks again.

Regards,
Hubert

On Monday, 4 November 2019 19:12:12 UTC, Sycom wrote:
>
> Just to say there was no criticism of course. Just pure facts. While 
> working on leaflet plugin, I've discovered why the image/svg+xml 
> content-type was not defined: because this images ARE text/vnd-tiddlywiki 
> for good reasons.
>
> The reason why xml namespace is "missing" is not as clear for me. As far 
> as I understand, for web applications with parser, it is generallly needed. 
> See 
> https://stackoverflow.com/questions/18467982/are-svg-parameters-such-as-xmlns-and-version-needed
>
> Is this also a feature?
>
> In this particular case, it would solve the problem since 
>
> > {background: url("data:image/svg+xml, <$view 
> tiddler="$:/core/images/chevron-right" format="urlencoded"/>") no-repeat 
> top left;} 
>
> Works perfectly if xmlns is defined
>
> Warm regards
>
> Sylvain
> @sycom
>
>
> Le lun. 4 nov. 2019 à 19:25, Jeremy Ruston  > a écrit :
>
>>
>> Most of the core icons have no type defined (image/svg+xml) AND lacks a 
>> xmlns declaration (http://www.w3.org/2000/svg; …)
>>
>>
>> Just to be clear, this is because the core icons are designed to be used 
>> as SVG elements embedded in the HTML, rather than images. The primary 
>> reason is that it lets us style/colour the icons at the point of using 
>> them. There’s some discussion of the difference here:
>>
>> https://tiddlywiki.com/#Using%20SVG
>>
>> For CSS background images you’d need to use an SVG image. I don’t think 
>> there’s a straightforward way to convert the core images, you’d probably 
>> just need to do it manually.
>>
>> Best wishes
>>
>> Jeremy.
>>
>>
>>
>> -- 
>> 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/YznqeuiZyqQ/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> tiddl...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/7BBE975C-1844-4050-951C-DEE24A7129B8%40gmail.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/87a85424-eb9c-4a8e-a71e-647c329e7393%40googlegroups.com.


[tw5] Re: Single line break query

2019-11-05 Thread PMario
Hi Jon, 

If you don't want to use a tag, to apply the "special" styling you can use 
the "user class " 
field. 

eg: create a field named: class
add the value eg: myText

This field needs to be part of every tiddler, which needs special 
formatting. I think *the tagging mechanism will be more convenient*. 



create a tiddler named eg: my-styles and tag it: $:/tags/Stylesheet ... add

.myText {
  word-break: normal; 
  word-wrap: break-word;
  white-space: pre-wrap;
}

This will have the same effect as tagging it and use the data- definition. 

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/949ce550-b501-4062-8eed-8e7e88c1ca1a%40googlegroups.com.


[tw5] Re: Is there any way to extend how the editor works?

2019-11-05 Thread PMario
Hi Scott, 

I'd do the following: 

 - Open ControlPanel 
: Keyboard 
Shortcut - tab
 - Select "list-bullet" configuration
 - edit
 - add ctrl-Enter

Now your workflow can be:

Enter some text ctrl-Enter ... will add and remove the bullet point. Enter 
... will start a new line.

or

ctrl-Enter type some new text. 

I did test it and I think it's an incredible fast workflow. ... at least 
for me ;)

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/55fd5066-79c6-422f-b71c-30b5b6f6805a%40googlegroups.com.