[tw5] Re: Macro to URI-Encode/Decode String Input?

2018-09-26 Thread 'Mark S.' via TiddlyWiki
Since you seem to want to use a template, maybe rather than doing it piece 
by piece you could do it in once. For instance, if you had a template 
tiddler:

title: template

Subject: {{!!subject}}
mailto: {{!!to}}
message: When in the course of human events,
it becomes necessary for one people to dissolve


And a tiddler with this code and field contents

subject: Self evident truths 
title: encode example
to: dtr...@whitehouse.gov

<$wikify  name="missive" text="{{||template}}" >
<$list filter="[] +[encodeuri[]]">
<>

<$wikify>


Then the output looks like:

Subject:%20Self%20evident%20truths%20%0Amailto:%20dtr...@whitehouse.gov%
0Amessage:%20When%20in%20the%20course%20of%20human%20events,%0Ait%20becomes%
20necessary%20for%20one%20people%20to%20dissolve%0A 
<%20dtr...@whitehouse.gov%0Amessage:%20When%20in%20the%20course%20of%20human%20events,%0Ait%20becomes%20necessary%20for%20one%20people%20to%20dissolve%0A>

-- Mark


On Wednesday, September 26, 2018 at 6:31:17 PM UTC-7, Scott Simmons 
(Secret-HQ) wrote:
>
> Hi, all --
>
> What's the TiddlyWay to URI-encode and URI-decode strings for use in 
> macros?  I know there's a filter now that do some of that, but what I'd 
> like is the ability to pass in a string via a macro and get back the 
> URI-encoded version, which I could use to set variables to use in building 
> a "mailto:; string.
>
> For example, I have different tiddlers with different (short!) e-mail 
> form-letter skeletons.  I want my macro to be able to grab the body of one, 
> URI-encode it, and assemble a URL like:
>
> mailto:jd...@coolexample.com 
> ?subject=One%20of%20Several%20Possible%20Subject%20Lines=That%20whole%20tiddler%body%from%the%20other%20tiddler%2E
>
> Will I have to venture into the land of JavaScript modules for 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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f828b336-ea9b-46bf-892e-f836f26a5cca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TiddlyWiki is a platform?

2018-09-26 Thread Guille Rmo
I think of TW as a content operating system. It is extremely powerful and 
can be hacked to do almost anything. Somehow it has not got more popular, 
but as more complete products arise, it will have wider adoption. 

For instance, you could replace wordpress with TW, a WYSIWYG and a blog 
theme (you would need to make lighter though, perhaps by making a public 
version of the blog without editing capabilities). That would be an awesome 
product. 

You could also have a spreadsheet on drugs that is not limted to columnar 
data (there are already many plugins that allow you to do this, but having 
sample apps could help). 

I remember I also saw a TW that allowed you to build presentations. However 
it was not intuitive at all. 

As you mentioned it is a matter of building those products thoroughly, 
documenting, promoting, polishing the products and maintaining them.

I would say it is a platform for building platforms.



El jueves, 20 de septiembre de 2018, 20:16:19 (UTC-6), TonyM escribió:
>
> Folks,
>
> I wrote this for a broader audience but would love your feedback, and to 
> strike up a conversation about this "Overview" of tiddlywiki as I see it.
>
> How would you let people know about tiddlywiki its infinite potential, 
> without scaring them off? I would love to read your views.
> Regards
> Tony
>
>
> *On TiddlyWiki*
>  
> Have you ever come across something so powerful, so capable of addressing 
> many different needs that it is difficult to tell others about it, without 
> leaving out a lot of details?
>  
> I have, and it has a quirky name "TiddlyWiki". However a rough translation 
> may be "little Wiki" it hardly does it any justice, even if you do 
> understand the power of the modern Wiki.
>  
> As a result I have come to describe it as "The TiddlyWiki Platform", this 
> in some ways sidelines the name yet retains its unique and quirky name that 
> serves it well. Before we move forward, I must tell you it is open source, 
> has a powerful community behind it and you can make it your own in a few 
> minutes. Any time invested in these words may prove to be a turning point 
> in your life, as it was for me when I discovered TiddlyWiki myself.
>  
> *Why use the word platform?*
> Well we can all imagine a platform such as a stage on which all the works 
> of Shakespeare could be performed, or the platform we call foundations on 
> which a house of your dreams or the tallest buildings may be built, and for 
> those familiar with the Internet, software or computer platforms upon which 
> we can build almost anything.
>  
> *TiddlyWiki as a platform*
> There is no doubt TiddlyWiki is a platform on which to build many *things*, 
> and by its nature TiddlyWiki is like a powerful notepad on which you can 
> write or design almost anything you can think of, these "things" can also 
> be Applications (Apps),  websites, documents, databases, training material 
> and much more.
>  
> I was original attracted to TiddlyWiki due to its catch phrase "a 
> non-linear personal web notebook" the meaning of which which may escape 
> many. To me the "non-linear" implies no structure is imposed on you, but 
> you can impose structure upon it, "personal" means you can take control of 
> it to your own ends and "Web Notebook" has come to mean to me, making use 
> of Standard Web/Internet Technologies such as the browser and all that 
> exists there in.
>  
> *So what are its features?* Well to be honest they are so numerous that 
> if I listed them for you, its many and varied applications would include 
> terminology and jargon from so many fields that may be meaningless to you. 
> Instead in this article I would like to suggest you take my broad 
> statements at face value and engage your imagination. If I were to mention 
> a feature, like it can be a single file website, or a Document, you may be 
> inclined to think it can not be a multi-file multi-user Website which it 
> can also be, but if you understood what I just said, you may think it could 
> not be an application on a phone, or a personal organiser, a book you are 
> authoring or a mapping or dash board tool. Similarly you may suddenly feel 
> it must be so complex that you feel it could not be for you, when it can be.
>  
> In the end and after considerable deliberation, and discussions within the 
> Community I have come to realise only a few will ever identify its value 
> for its broad potential use. and most will discover its use, as a result of 
> stumbling upon  a specific and focused application that meets someone 
> current needs. With this in mind I plan to build a set of focused solutions 
> sites, to publicise its uses and then let people discover it's broader 
> potentials when they are ready. Few would take the proverbial "Red Pill" 
> before harbouring a deep and profound curiosity that there is something 
> behind this.
>  
> *Why is it important to consider TiddlyWiki a platform?*
> Apart from helping people go beyond its wonderful 

[tw5] Macro to URI-Encode/Decode String Input?

2018-09-26 Thread Scott Simmons (Secret-HQ)
Hi, all --

What's the TiddlyWay to URI-encode and URI-decode strings for use in macros?  I 
know there's a filter now that do some of that, but what I'd like is the 
ability to pass in a string via a macro and get back the URI-encoded version, 
which I could use to set variables to use in building a "mailto:; string.

For example, I have different tiddlers with different (short!) e-mail 
form-letter skeletons.  I want my macro to be able to grab the body of one, 
URI-encode it, and assemble a URL like:

mailto:j...@coolexample.com?subject=One%20of%20Several%20Possible%20Subject%20Lines=That%20whole%20tiddler%body%from%the%20other%20tiddler%2E

Will I have to venture into the land of JavaScript modules for 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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9ddc5139-31ff-4939-b989-396da019ca64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TiddlyWiki is a platform?

2018-09-26 Thread TonyM
Josiah,

You say
 a beginner needs to FORM the "platform" by matching OS / Browser / Saver.

However on reflection I am not sure this is or should be true. I think it is 
this that forms the first barrier.

Perhaps we could call this the "making it your own" step for a beginner.

I think that before users are asked to make it their own they need online, 
interactive and savable wikis such as on noteself. New users need to understand 
the value of tiddlywiki before they need to invest time navigating save options 
otherwise we are simply depending on their imagination to propel them.

Once we collect some helpful usable demos I think we need some guided 
instructions where user choice is minimised. An example may be windows users 
download a hta file, or we take them through the timimi addon for firefox or 
chrome, perhaps even tell them how to get ff or chrome.

Alternativly preconfigured wikis in tiddlyspot/marffapad.

Regards
Tony

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ce3dfea9-04b6-46bb-b973-ebaaa110b6da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] A list of dragable button

2018-09-26 Thread TonyM
Mohammad

I am not so practiced on drag and drop yet but could you simply add another 
action widget to your button?

There are a few ways to create tiddlers. Inside the button widget, two with 
indepentant action widgets,

The One with the base tiddler set also allows you to name a place to store the 
new tiddler title.

Another way to create tiddlers is simply to set any field including text to a 
value. In this case you already know the tiddler title.

Regards
Tony

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0aa49824-5b9b-4306-9e14-8e9f3f6c8f4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: The geolocation widget is alive

2018-09-26 Thread Jan

Salut Sylvain,
thank you, I began to feel entirely stupid...it helps my psychic health 
that you encounter the same effect.

I already tried listops append and other tricks and broke the wiki...
It could help to have something like "basetitle" and "tags" in your 
widget like in create Tiddler.


Yours Jan



Am 26.09.2018 um 11:42 schrieb SylvainComte:

Hello Jan,

Better understand your workflow now.

I made a short test to check something and discovered a new mystery, 
action-setfield works perfectly with almost any field name but not 
with point nor points (!?!)


maybe somebody more fluent in TiddlyWiki can explain this. Maybe the 
leaflet plugin brake something or maybe just the template...


I found a workaround by separating button for "point" and button for 
"points"


<$edit-text tag=input tiddler="$:/temp/newloc" placeholder="Titel
des neuen Ortes"/> <$geoloc />

<$list filter="[{$:/temp/newloc}minlength[4]!is[tiddler]]">
<$set name=target value={{$:/temp/newloc}} >

<$list filter="[[Position_speichern]has[point]]">
<$button class="tc-btn-big-green">
Eintrag erzeugen point
<$action-setfield $tiddler=<> $field="point"
$value={{!!point}} />
<$action-navigate $to={{$:/temp/newloc}}/>
<$action-deletefield point points/>



<$list filter="[[Position_speichern]has[points]]">
<$button class="tc-btn-big-green">
Eintrag erzeugen points
<$action-setfield $tiddler={{$:/temp/newloc}} $field="points"
$value={{!!points}} />
<$action-navigate $to={{$:/temp/newloc}}/>
<$action-deletefield point points/>







Which seems to work. *BUT *something is wrong with leaflet plugin or 
geoTiddler template and clicking on the button will brake the wiki :-/


More investigations needed...

Sylvain

Le mercredi 26 septembre 2018 00:51:54 UTC+2, Jan a écrit :

Salut Sylvain,
Aaah,...but it is something else. The button does not work even
though the point is already set.
Somehow setting the field does not work. I really do not know why.

I would like to use this indirect approach because by this means I can
-control the position on the map before creating a tiddler.
-automatically navigate to the new Tiddler.
-apply a tag ("like not exported yet") which i need to generate an
export of the newly created entries via php.

Selfisch reasons...but necessary for me

Salut Jan







Am 25.09.2018 um 17:14 schrieb SylvainComte:

Hi Jan,

- I think you can force your site to use SSL by using .htaccess file

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]



- If I get your mechanism
* As you call <$geoLoc /> with "Position" target, the point
is saved in a new tiddler called "Position",
* so when you click on "Eintrag erzeugen", you copy the point
field of "Position_speichern" (and not the one in Position you
just stored) in your new tiddler.
but as often with tiddlywiki when using variables in variables
there is something that broke up.

I suggest you something more straightforward :

<$edit-text tag="input"  tiddler="$:/temp/newloc"
placeholder="Titel des neuen Ortes"/>
<$set name=target value={{$:/temp/newloc}} > <$geoloc
target=<> />



You may enhance this with a dropdown list of geoTiddler you can
pick-up (to complete them with new point)

cheers

Sylvain

Le lundi 24 septembre 2018 23:05:57 UTC+2, Jan a écrit :

Salut Sylvain, Hi everyboy!

The widget works, but I have two problems
-How can I force a site to open in https?
-I tried to make a mechanism to create a new LocationTiddler
with a chosen Name

I made this Position_speichern(Save position) Tiddler here
but I cannot fint out why it does set the point...

!<$geoloc target="Position" />
<$list filter="[all[current]has[point]]
[all[current]has[points]] ">
<$edit-text tiddler="$:/temp/newloc" placeholder="Titel des
neuen Ortes"/>
<$list filter="[{$:/temp/newloc}minlength[4]!is[tiddler]]">
<$button class="tc-btn-big-green"> Eintrag erzeugen
<$list filter="[[Position_speichern]has[point]]">
<$action-setfield $tiddler={{$:/temp/newloc}} $field="points"
$value={{Position_speichern!!point}}/>

<$list filter="[[Position_speichern]has[points]] ">
<$action-setfield $tiddler={{$:/temp/newloc}} $field="points"
$value={{Position_speichern!!points}}/>

<$action-navigate $to={{$:/temp/newloc}}/>
<$action-deletefield point points/>




It can be found an tested here:
https://Szenio.de/geo

Greetings Jan





Am 12.09.2018 um 09:06 schrieb SylvainComte:

Hi Sylvain,

  

[tw5] Re: Round calculation possible with the plugin $:/plugins/mklauber/math.js?

2018-09-26 Thread 'Surya' via TiddlyWiki
 Ahhh, that's it! -I think ;-)
It works correct now in five cases.
I write now for example: <$calc>round({{!!totalweight}} /44* 3,2)g

Oh I am sorry- I just saw, that you wrote exactly that (the ",2")! Probably 
I misinterpretet that ",2"...
Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/47b62d19-58c9-4222-8560-346245c8a47d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Round calculation possible with the plugin $:/plugins/mklauber/math.js?

2018-09-26 Thread 'Mark S.' via TiddlyWiki
None of your examples show where or how you're getting the number 
1.70454... .

The round function is called with 
round(number-to-be-rounded,number-of-decimal places) . So in your case:

<$calc>round(1.704545454,2)

will yield 1.7 (it drops the zero, maybe some other function can force the 
final digit).

If you're still having problems, maybe show how you're calling the round 
function.

Good luck!
-- Mark

On Wednesday, September 26, 2018 at 12:10:36 PM UTC-7, Surya wrote:
>
> Oh sorry, it works, but not as I need...
> For example, I have the case with the result of 1.7045454545454544g 
> without round.
> In this case it gives the result 2g with round.
> But it should give the result 1,70g.
>
> I tried some things like round (2), round (e, 2), round.2, round 2, 
> round,2. But nothing worked correct...
> Do you know, how I could edit 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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6f24b027-8e4f-4367-8478-b290d1c49dda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Round calculation possible with the plugin $:/plugins/mklauber/math.js?

2018-09-26 Thread 'Surya' via TiddlyWiki
Oh sorry, it works, but not as I need...
For example, I have the case with the result of 1.7045454545454544g without 
round.
In this case it gives the result 2g with round.
But it should give the result 1,70g.

I tried some things like round (2), round (e, 2), round.2, round 2, 
round,2. But nothing worked correct...
Do you know, how I could edit 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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/29a242c1-c5c2-434f-8d4a-73f7687b6eb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Better interoperability when writing math (LaTeX)

2018-09-26 Thread Szabolcs Horvát
Indeed, there is a compromise here, but I would call it a minor one.

The systems I mentioned (including LaTeX itself) allow including a dollar 
sign using \$, which is much shorter and simpler than $\dollar$.

While I admit that the following is a guess, I'd expect most people who 
need advanced math don't need $ signs in the same TiddlyWiki (or don't need 
to type them nearly as often as math).

Let me emphasize something from my original post once again: Sadly, most 
people who need this can't implement it, and most who can don't need it. 
With open source projects, unfortunately that often means that the feature 
just doesn't get implemented.  Or if it does, it might be in an 
unmaintained unofficial patch that one can't count on in the long term.

This is why I am asking here, hoping that TW will gain this as an official 
feature that is easy to set up and will work even years from now.

On Wednesday, 26 September 2018 10:13:55 UTC+2, AndrewMc wrote:
>
> A small thing to note is that some people will use $ for their currency 
> symbol. If you make single-$ a delimiter, then writing about money is made 
> more difficult.
> I have this issue in a TWc that contains a lot of mathematical notation. I 
> ended up having to define "\dollar" as a dollar sign, $, so that I could 
> write a single dollar sign using Latex as "$\dollar$".
>
> Cheers
> Andrew Mc
>
> On Wednesday, September 26, 2018 at 1:27:54 AM UTC+12, Szabolcs Horvát 
> wrote:
>>
>> Hello everyone,
>>
>> I use TiddlyWiki with the KaTeX plugin.  Unfortunately, the writing 
>> experience is not as good as with some other tools, and the copy/paste 
>> interoperability is bad.
>>
>> It would be very useful to have the following features:
>>
>>  - Single-$ delimiters for inline math. Keep $$ for display math only.
>>  - Make math work in MarkDown tiddlers.
>>
>> Advantages:
>>
>> 1. Writing without breaking one's flow. $$ is a pain to type if it has to 
>> be typed multiple times in each sentence. Example:
>>
>> "There are no three integers $$a$$, $$b$$ and $$c$$ so that $$a^n + b^n = 
>> c^n$$ for any integer $$n$$ greater than 2."
>>
>> Such sentences, with multiple tiny bits of math, are common when writing 
>> mathematical prose. Those who only use LaTeX occasionally may not 
>> immediately see it, but single-$ is a significant improvement over 
>> double-$$ when writing serious math.  Unfortunately, most people who 
>> implement tools have a programming background and only use math 
>> occasionally. Most people who write a lot of math don't have the expertise 
>> to implement and maintain such tools.
>>
>> 2. Easy copy-pasting between different systems.
>>
>> I would like to be able to directly paste text from tiddlers to a LaTeX 
>> document, or to Markdown documents. Mathematical text will have little 
>> formatting (such as bold or italic), but a lot of LaTeX-snippets.  If the 
>> math delimiters matched normal LaTeX, pasting would be possible with 
>> minimal modifications. 
>>
>> Tools that people who work with math actually use have more-or-less 
>> standardized on a LaTeX-compatible notation in Markdown documents. Consider 
>> Math.StackExchange, MathOverflow, Jupyter Notebooks, Markdown-Preview-Plus 
>> plugin for Atom, Sage Math, etc.
>>
>>
>> Can these features please be considered?  They would make TiddlyWiki a 
>> much more viable tool for researchers and mathematicians. I think it is a 
>> great way to plan a paper, but I would like to be able to type faster 
>> (without breaking by flow due to all the $$-delimiters) and I would like to 
>> be able to paste from the tiddlers to the final paper, as well as from 
>> other notes into tiddlers, without having to make significant modifications 
>> every time.
>>
>> Szabolcs
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a0cea8ac-c545-4b4f-bd61-b8b2b09b9e82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: center table horizontally in a tiddler

2018-09-26 Thread Andrew Lister
Thank you!!

On Wednesday, 26 September 2018 10:46:14 UTC-4, Eric Shulman wrote:
>
> On Wednesday, September 26, 2018 at 6:22:57 AM UTC-7, Andrew Lister wrote:
>>
>> I'm trying to center a table horizontally in a tiddler, following these 
>> instructions:
>> https://groups.google.com/forum/#!topic/tiddlywiki/m3XEE6_5eXo
>> to put that in my StyleSheet, I created a tiddler "center table" and 
>> tagged it with $:/tags/Stylesheet 
>> I'm probably doing something obvious wrong; any help appreciated.
>>
>
> You almost have it, except that the ".viewer" syntax you used is for 
> TWClassic.
>
> For TW5, write:
> .tc-tiddler-body table.centered{
> margin:0 auto;
> }
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools.com: "Small Tools for Big Ideas!" (tm)
> InsideTiddlyWiki: The Missing Manuals
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a2b5a8eb-eb31-473e-b7ad-eeb5192ebf33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] A list of dragable button

2018-09-26 Thread Mohammad
How is it possible to have a list of draggable button?

The purpose is to have a draggable list of tiddler titles, when click on 
one of them navigate to a that tiddler and at same time set some other 
tiddler text to the title of navigated one!



<$button
  to=<> 
  set="$:/state/presentation" 
  setTo=<>
>{{!!title}}







I tried to do this with linkcatcher and list-tagged-draggable  but failed 

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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fb882564-caf0-41bd-87e7-bbfe0a3623b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Sort Filter results by most common

2018-09-26 Thread 'Mark S.' via TiddlyWiki
This version doesn't make you provide the origins list by hand. It shows 
the link to the origin, rather than wrapping the count-origin:

! ORIGIN COUNTS

<$wikify text="<> +[nsort[]]" name="filter-counts">
<$list filter=<> variable="count-origin">
<$wikify text="<>" name="list-origins-list">
<$list filter=<>  variable="origintype">
<$wikify name=filter-for-origin text=
"[title[<>]regexp[-<>$]]" >
<$list filter=<> variable=originname>
<> <$link to=<>><> 









On Tuesday, September 25, 2018 at 1:12:45 PM UTC-7, Dave wrote:
>
> Yes, my mind boggles even understanding what your script before this 
> does.  This will give me something to ponder on a Sunday afternoon :)
>
> Thank you so much!
> - Dave
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a8661566-4398-4f96-ae08-370b7c6053c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: node.js with tls (https)

2018-09-26 Thread Jeremy Ruston
Hi Oliver

As Jed says, the soon to be released 5.1.18 includes core support for serving 
over https:

https://tiddlywiki.com/prerelease/#Using%20HTTPS 


Best wishes

Jeremy.

> On 26 Sep 2018, at 15:03, Jed Carty  wrote:
> 
> I have some wikis running online with https. You may be able to do this with 
> the normal tiddlywiki server when 5.1.18 comes out, but for now I made my own 
> server as a back-end for wikis using Bob.
> 
> If you just want to use the normal wiki without any of Bob's features this is 
> probably a lot more than in necessary, but it could be an example if you want.
> 
> The repo is here https://github.com/OokTech/SecureWikiServer
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to tiddlywiki@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/e519eb5f-8dc0-46c9-b7bb-fed980d20f25%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1C5098FF-C308-425F-9ED9-EBA81BA77255%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Set height of tiddler

2018-09-26 Thread Mohammad
To set a minimum height of tiddlers which syntax is correct?

[data-tags ~="slide"]   .tc-tiddler-body{
min-height: 70vh;
}


or


[data-tags ~="slide"] .tc-tiddler-frame {
min-height: 70vh;
}


or

[data-tags ~="slideHeader"] .tc-tiddler-frame .tc-tiddler-body {
min-height: 70vh;
overflow-y:auto;
}


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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9c8aaad3-063d-400a-a742-530f3b08d8c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: center table horizontally in a tiddler

2018-09-26 Thread Eric Shulman
On Wednesday, September 26, 2018 at 6:22:57 AM UTC-7, Andrew Lister wrote:
>
> I'm trying to center a table horizontally in a tiddler, following these 
> instructions:
> https://groups.google.com/forum/#!topic/tiddlywiki/m3XEE6_5eXo
> to put that in my StyleSheet, I created a tiddler "center table" and 
> tagged it with $:/tags/Stylesheet 
> I'm probably doing something obvious wrong; any help appreciated.
>

You almost have it, except that the ".viewer" syntax you used is for 
TWClassic.

For TW5, write:
.tc-tiddler-body table.centered{
margin:0 auto;
}

enjoy,
-e
Eric Shulman
TiddlyTools.com: "Small Tools for Big Ideas!" (tm)
InsideTiddlyWiki: The Missing Manuals

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dd955c33-7c1c-4ec4-ae46-36f249bbe056%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: node.js with tls (https)

2018-09-26 Thread Jed Carty
I have some wikis running online with https. You may be able to do this 
with the normal tiddlywiki server when 5.1.18 comes out, but for now I made 
my own server as a back-end for wikis using Bob.

If you just want to use the normal wiki without any of Bob's features this 
is probably a lot more than in necessary, but it could be an example if you 
want.

The repo is here https://github.com/OokTech/SecureWikiServer

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e519eb5f-8dc0-46c9-b7bb-fed980d20f25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] node.js with tls (https)

2018-09-26 Thread rooster91an
Hi everyone!
I am testing running my previous standalone tiddlywikis now with node.js. 
This works quite good and I am enthusiastic about the possibilities. But I 
want to make some of them accessible from internet, so I would prefer to 
run tiddlywiki with tls (ssl/https) encryption instead of standard http. 
The Encryption-tiddler at tiddlywiki.com gives a hint that this may be 
possible. I am familiar with the certificate issues with other webservers 
like apache, but I have no idea how to handle this with tiddlywiki via 
node.js. 
Did anyone do this so far? Are there any experiences with this? 
Thank you for any advice.

Regards
Oliver Hahn

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/54697071-63ab-4bd9-b775-7c4eec059e49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] center table horizontally in a tiddler

2018-09-26 Thread Andrew Lister
I'm trying to center a table horizontally in a tiddler, following these 
instructions:

https://groups.google.com/forum/#!topic/tiddlywiki/m3XEE6_5eXo

specifically:

If you want a table centered, you either use...

|centered|k
|cell|cell|

...with the following styles in your StyleSheet...

.viewer table.centered{
margin:0 auto;
}


to put that in my StyleSheet, I created a tiddler "center table" and tagged 
it with $:/tags/Stylesheet 

I'm probably doing something obvious wrong; any help appreciated.

(Is there a reason against centering tables horizontally?)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7090fdb6-8bda-4e80-99cd-14b85498f5fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob version 1.0.5 Salt Bagels, or I should probably let people know about the plugin library

2018-09-26 Thread @TiddlyTweeter
Ciao Jed & Bob

Am I right in thinking that "internalFetch" cannot fetch from the 
"RootWiki"?

Josiah

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c0837ce6-3f31-4414-a378-3e00f61dc78f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob version 1.0.5 Salt Bagels, or I should probably let people know about the plugin library

2018-09-26 Thread @TiddlyTweeter
For folk on email ... I just updated my post on Bob's "internalFetch" at 
https://groups.google.com/d/msg/tiddlywiki/9Qflg67CYYI/TPTmuzTYCAAJ

@TiddlyTweeter

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0e4f8161-27fa-450a-b1e9-8a4cb32ceb39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: The geolocation widget is alive

2018-09-26 Thread SylvainComte
Hello Jan,

Better understand your workflow now.

I made a short test to check something and discovered a new mystery, 
action-setfield works perfectly with almost any field name but not with 
point nor points (!?!)

maybe somebody more fluent in TiddlyWiki can explain this. Maybe the 
leaflet plugin brake something or maybe just the template...

I found a workaround by separating button for "point" and button for 
"points"

<$edit-text tag=input tiddler="$:/temp/newloc" placeholder="Titel des neuen 
Ortes"/> <$geoloc />

<$list filter="[{$:/temp/newloc}minlength[4]!is[tiddler]]">
<$set name=target value={{$:/temp/newloc}} >

<$list filter="[[Position_speichern]has[point]]">
<$button class="tc-btn-big-green">
Eintrag erzeugen point
<$action-setfield $tiddler=<> $field="point" 
$value={{!!point}} />
<$action-navigate $to={{$:/temp/newloc}}/>
<$action-deletefield point points/>



<$list filter="[[Position_speichern]has[points]]">
<$button class="tc-btn-big-green">
Eintrag erzeugen points
<$action-setfield $tiddler={{$:/temp/newloc}} $field="points" 
$value={{!!points}} />
<$action-navigate $to={{$:/temp/newloc}}/>
<$action-deletefield point points/>







Which seems to work. *BUT *something is wrong with leaflet plugin or 
geoTiddler template and clicking on the button will brake the wiki :-/

More investigations needed...

Sylvain

Le mercredi 26 septembre 2018 00:51:54 UTC+2, Jan a écrit :
>
> Salut Sylvain,
> Aaah,...but it is something else. The button does not work even though the 
> point is already set.
> Somehow setting the field does not work. I really do not know why.
>
> I would like to use this indirect approach because by this means I can
> -control the position on the map before creating a tiddler.
> -automatically navigate to the new Tiddler.
> -apply a tag ("like not exported yet") which i need to generate an export 
> of the newly created entries via php.
>
> Selfisch reasons...but necessary for me
>
> Salut Jan
>
>
>
>
>
>
>
> Am 25.09.2018 um 17:14 schrieb SylvainComte:
>
> Hi Jan, 
>
> - I think you can force your site to use SSL by using .htaccess file
>
>> RewriteEngine On
>> RewriteCond %{SERVER_PORT} 80
>> RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
>
>
>
> - If I get your mechanism
> * As you call <$geoLoc /> with "Position" target, the point is saved 
> in a new tiddler called "Position",
> * so when you click on "Eintrag erzeugen", you copy the point field 
> of "Position_speichern" (and not the one in Position you just stored) in 
> your new tiddler.
> but as often with tiddlywiki when using variables in variables there is 
> something that broke up.
>
> I suggest you something more straightforward :
>
> <$edit-text tag="input"  tiddler="$:/temp/newloc" placeholder="Titel des 
> neuen Ortes"/>
> <$set name=target value={{$:/temp/newloc}} > <$geoloc target=<> />
> 
>
>
> You may enhance this with a dropdown list of geoTiddler you can pick-up 
> (to complete them with new point)
>
> cheers
>
> Sylvain
>
> Le lundi 24 septembre 2018 23:05:57 UTC+2, Jan a écrit : 
>>
>> Salut Sylvain, Hi everyboy!
>>
>> The widget works, but I have two problems 
>> -How can I force a site to open in https?
>> -I tried to make a mechanism to create a new LocationTiddler with a 
>> chosen Name
>>
>> I made this Position_speichern(Save position) Tiddler here but I cannot 
>> fint out why it does set the point...
>>
>> !<$geoloc target="Position" />
>> <$list filter="[all[current]has[point]] [all[current]has[points]] ">
>> <$edit-text tiddler="$:/temp/newloc" placeholder="Titel des neuen Ortes"/>
>> <$list filter="[{$:/temp/newloc}minlength[4]!is[tiddler]]">
>> <$button class="tc-btn-big-green"> Eintrag erzeugen
>> <$list filter="[[Position_speichern]has[point]]">
>> <$action-setfield $tiddler={{$:/temp/newloc}} $field="points" 
>> $value={{Position_speichern!!point}}/>
>> 
>> <$list filter="[[Position_speichern]has[points]] ">
>> <$action-setfield $tiddler={{$:/temp/newloc}} $field="points" 
>> $value={{Position_speichern!!points}}/>
>> 
>> <$action-navigate $to={{$:/temp/newloc}}/>
>> <$action-deletefield point points/>
>> 
>> 
>> 
>>
>> It can be found an tested here:
>> https://Szenio.de/geo
>>
>> Greetings Jan
>>
>>
>>  
>>
>>
>> Am 12.09.2018 um 09:06 schrieb SylvainComte:
>>
>> Hi Sylvain, 
>>
>> As I pretty much like hearts, I'll go for a post there ;-)
>>
>> I also noticed that bug with osm tiles. Seems they've reduced zoom range 
>> for their tile provider. I should edit the json tile file...
>>
>> cheers
>>
>> Sylvain
>>
>> Le lundi 10 septembre 2018 23:16:12 UTC+2, Sylvain Naudin a écrit : 
>>>
>>> Great Sylvain !!
>>>
>>> If we where in French Discourse I'll put a red heart on post :D
>>>
>>> Just tested online over https, it's quite good GPS position of my home 
>>> with mobile phone. Very promising possibilities for OSM mapping party to 
>>> collect data.
>>>
>>> Notice that 

[tw5] Re: How to use the | symbol in a table

2018-09-26 Thread Sebastian Heyneman
Thanks! Here's the link for superscript and subscript formatting 
- https://tiddlywiki.com/#Formatting%20in%20WikiText

And here's the link for macros - https://tiddlywiki.com/#Macros

(I'm just adding this in case others visit the thread with a similar 
question)

On Tuesday, September 25, 2018 at 4:33:33 PM UTC-7, Mark S. wrote:
>
> You can slip it in via a macro:
>
> \define p() |
> | table | column |
> | nice | day <> |
>
>
>
> On Tuesday, September 25, 2018 at 8:06:32 AM UTC-7, Sebastian Heyneman 
> wrote:
>>
>> Hi, I'm making a table and one of my cells includes the value |. 
>>
>> How do I include it without the table triggering the end of that cell? 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/55716783-63d0-4265-aa5e-86d6c70f81bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Better interoperability when writing math (LaTeX)

2018-09-26 Thread AndrewMc
A small thing to note is that some people will use $ for their currency 
symbol. If you make single-$ a delimiter, then writing about money is made 
more difficult.
I have this issue in a TWc that contains a lot of mathematical notation. I 
ended up having to define "\dollar" as a dollar sign, $, so that I could 
write a single dollar sign using Latex as "$\dollar$".

Cheers
Andrew Mc

On Wednesday, September 26, 2018 at 1:27:54 AM UTC+12, Szabolcs Horvát 
wrote:
>
> Hello everyone,
>
> I use TiddlyWiki with the KaTeX plugin.  Unfortunately, the writing 
> experience is not as good as with some other tools, and the copy/paste 
> interoperability is bad.
>
> It would be very useful to have the following features:
>
>  - Single-$ delimiters for inline math. Keep $$ for display math only.
>  - Make math work in MarkDown tiddlers.
>
> Advantages:
>
> 1. Writing without breaking one's flow. $$ is a pain to type if it has to 
> be typed multiple times in each sentence. Example:
>
> "There are no three integers $$a$$, $$b$$ and $$c$$ so that $$a^n + b^n = 
> c^n$$ for any integer $$n$$ greater than 2."
>
> Such sentences, with multiple tiny bits of math, are common when writing 
> mathematical prose. Those who only use LaTeX occasionally may not 
> immediately see it, but single-$ is a significant improvement over 
> double-$$ when writing serious math.  Unfortunately, most people who 
> implement tools have a programming background and only use math 
> occasionally. Most people who write a lot of math don't have the expertise 
> to implement and maintain such tools.
>
> 2. Easy copy-pasting between different systems.
>
> I would like to be able to directly paste text from tiddlers to a LaTeX 
> document, or to Markdown documents. Mathematical text will have little 
> formatting (such as bold or italic), but a lot of LaTeX-snippets.  If the 
> math delimiters matched normal LaTeX, pasting would be possible with 
> minimal modifications. 
>
> Tools that people who work with math actually use have more-or-less 
> standardized on a LaTeX-compatible notation in Markdown documents. Consider 
> Math.StackExchange, MathOverflow, Jupyter Notebooks, Markdown-Preview-Plus 
> plugin for Atom, Sage Math, etc.
>
>
> Can these features please be considered?  They would make TiddlyWiki a 
> much more viable tool for researchers and mathematicians. I think it is a 
> great way to plan a paper, but I would like to be able to type faster 
> (without breaking by flow due to all the $$-delimiters) and I would like to 
> be able to paste from the tiddlers to the final paper, as well as from 
> other notes into tiddlers, without having to make significant modifications 
> every time.
>
> Szabolcs
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3647826d-bd15-4365-a45b-da6035899a2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.