[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-10-17 Thread Steven Schneider
Great thread, folks. And thanks for the call out to {{DesignWrite}} -- a 
learning community for TW that will re-launch in Spring 2017, with a pilot 
system ready for December. Watch this space!

Thomas, your < macro is beautiful!

 //steve.

On Tuesday, August 9, 2016 at 6:27:54 PM UTC-4, Mat wrote:
>
> Thomas Elmiger wrote:
>  
>
>> Nesting is absolutely possible
>>
>
> AH! Here I was babbling and you had already done it. Looks great!
>
> <:-) 
>

-- 
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/eae89780-8e6e-486e-a68e-aed3b5c0ebeb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-08-09 Thread Mat
Thomas Elmiger wrote:
 

> Nesting is absolutely possible
>

AH! Here I was babbling and you had already done it. Looks great!

<:-) 

-- 
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/9e34f117-e418-4a35-9622-85a05b0344cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-08-09 Thread Mat
Josiah wrote:

I personally see immediate good use cases for it: For instance, inline 
> clarifications of Middle English words in an ebook version of Chaucer's "A 
> Canterbury Tales".
>

In deed, the obvious example that comes to mind. 


SUGGESTION: I'm not sure if it would be feasible but one could really go 
> places with this is IF expansions/contractions could be NESTED.
>

Incidentally I happened to recreate a kind of stretchtext thing today. 
Didn't realize it until after I had made it. However, it is not ready for 
public eyes because it is part of... let's just say it's part of the most 
important TW project since sliced bread... and my focus should be on that 
bigger project. Those who follow along know what I'm talking about. 
 Anyway, I'm just saying that nested stretchtext will very likely come in 
due 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 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/c093fa21-f668-4801-ab07-eb553d2314b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-08-09 Thread Josiah
Thomas 

Really excellent. Very powerful.

In essence you could replicate http://www.telescopictext.com/ ?

I will write you a text in the next couple of days that can be a bit of fun 
to apply this to.

Best wishes
Josiah

On Tuesday, 9 August 2016 23:25:33 UTC+2, Thomas Elmiger wrote:
>
> Ciao Josiah
>
> Nesting is absolutely possible using transclusion. I made a new 
> demo/testcase here: 
> http://tid.li/tw5/hacks.html#TextStretch%20Transclusion%20Examples 
> – 
> hope you like it. (I transclude fields from the same tiddler plus one other 
> tiddler in block mode.)
>
> Verbal game sounds interesting to me, I would be happy to play ;–)
>
> Cheers and buonanotte
> Thomas
>

-- 
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/a20911af-4165-4c4b-8553-c8ae96bb4d8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-08-09 Thread Thomas Elmiger
Ciao Josiah

Nesting is absolutely possible using transclusion. I made a new 
demo/testcase here: 
http://tid.li/tw5/hacks.html#TextStretch%20Transclusion%20Examples 
– hope you like it. (I transclude fields from the same tiddler plus one 
other tiddler in block mode.)

Verbal game sounds interesting to me, I would be happy to play ;–)

Cheers and buonanotte
Thomas

-- 
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/86bcd034-e446-49c6-9a9b-067f08309d69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-08-09 Thread Josiah
Ciao Thomas, c pa, Mat & others...

Great stuff. Very useful. 

I personally see immediate good use cases for it: For instance, inline 
clarifications of Middle English words in an ebook version of Chaucer's "A 
Canterbury Tales".

I can also see other interesting apps for "verbal games".

SUGGESTION: I'm not sure if it would be feasible but one could really go 
places with this is IF expansions/contractions could be NESTED.

Best wishes
Josiah



On Monday, 8 August 2016 23:31:05 UTC+2, Thomas Elmiger wrote:
>
> Thank you, c pa, for reviewing my solution and suggesting an alternative! 
> Your version resembles my first try (TextStretch 0.7.1 
> ) in many ways. Let me 
> point out some differences: 
>
> 1) Using the $id$ supplied by the user makes this parameter mandatory for 
> many cases. As soon as you have two or more stretch elements you *must* 
> define a unique id, else all elements will open and close at the same time. 
> I wanted to generate an id, if it is not specified by the user: 
>
> <$set name="uid" filter="[!prefix[_false_]]" value=<> emptyValue=<
> > >
>
> If no id was set by the user, my default "_false_" is used => I assign the 
> content value as the new id. This already works, but the state tiddler 
> titles can get very long when the whole text-content ist appended. This is 
> not only ugly, it also blows up the size of your wiki. This is why I 
> generate a hash number over the text: 
>
> <$set name="xuid" filter="[prefix[_false_]]" value="error: xuid 
> hashing" emptyValue=<> >
>
> By the way, the instruction to import the HashStr-macro is already in my 
> docs: 
> "Drag the links from the following list to your Wiki, save and *reload*." 
> The link to the 
>
>- macro for hashing: $:/_telmiger/utils/HashStr.js 
>
>
> is in the list. Should I emphasize the reload part?
>
> (Maybe there is a better solution to call the core function 
> $tw.utils.hashString(str); ? – to call it from my own js-macro was the 
> only one I found.)
>
>
> 2) The reason, why I use <$set name="var" value="""$var$"""> a lot is 
> this: I had some problems with $content$ containing/surrounded by "" or ' 
> and try to sanitize it by putting it between """three quotation marks""" on 
> each side. I copied this from Mat’s solution, actually. When I have the 
> time, I will do further testing, if they all are needed.
>
> Thanks again for your feedback – this is highly appreciated – and good 
> night!
> Thomas
>
>

-- 
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/165eff6d-b518-4c15-9a78-0818303cfe04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-08-08 Thread Thomas Elmiger
Thank you, c pa, for reviewing my solution and suggesting an alternative! 
Your version resembles my first try (TextStretch 0.7.1) in many ways. Let 
me point out some differences: 

1) Using the $id$ supplied by the user makes this parameter mandatory for 
many cases. As soon as you have two or more stretch elements you *must* 
define a unique id, else all elements will open and close at the same time. 
I wanted to generate an id, if it is not specified by the user: 

<$set name="uid" filter="[!prefix[_false_]]" value=<> emptyValue=<
> >

If no id was set by the user, my default "_false_" is used => I assign the 
content value as the new id. This already works, but the state tiddler 
titles can get very long when the whole text-content ist appended. This is 
not only ugly, it also blows up the size of your wiki. This is why I 
generate a hash number over the text: 

<$set name="xuid" filter="[prefix[_false_]]" value="error: xuid 
hashing" emptyValue=<> >

By the way, the instruction to import the HashStr-macro is already in my 
docs: 
"Drag the links from the following list to your Wiki, save and *reload*." 
The link to the 

   - macro for hashing: $:/_telmiger/utils/HashStr.js 

is in the list. Should I emphasize the reload part?

(Maybe there is a better solution to call the core function 
$tw.utils.hashString(str); ? – to call it from my own js-macro was the only 
one I found.)


2) The reason, why I use <$set name="var" value="""$var$"""> a lot is this: 
I had some problems with $content$ containing/surrounded by "" or ' and try 
to sanitize it by putting it between """three quotation marks""" on each 
side. I copied this from Mat’s solution, actually. When I have the time, I 
will do further testing, if they all are needed.

Thanks again for your feedback – this is highly appreciated – and good 
night!
Thomas

-- 
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/6f1979a6-f472-46b7-9cac-c1ef95a0d593%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-08-07 Thread 'c pa' via TiddlyWiki
Here's the replacement. Seems to work

\define strex(content:"TextStretch", label:"…", start:"[", end:"]", 
class:"", id:"default")
<$set name="state" value=<> >

<$reveal type="nomatch" state=<> text="visible" 
animate="yes">
<$button set=<> setTo="visible" 
class="strex-open $class$" tooltip="more info">
$label$


<$reveal type="match" state=<> text="visible" 
animate="yes">


<$button set=<> setTo="hidden" 
class="strex-close strex-start $class$" tooltip="hide text part">
$start$
<$action-setfield $tiddler=<> 
$value="" />

$content$
<$button set=<> setTo="hidden" 
class="strex-close strex-end $class$" tooltip="hide info">
$end$
<$action-setfield $tiddler=<>/>





\end

-- 
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/eb21dba3-6310-4e31-b216-0c502d007217%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-08-07 Thread 'c pa' via TiddlyWiki
I copied and used your macros. Cool

Your instructions are missing how to import the uuid macro so I replaced it 
with <>
Within the macro definitions you don't need to set so many variables, 

Rather than using <$set name="var" value="$var$"><$macrocall 
$name="macroname" variable=<> />
Use <$macrocall $name="macroname" variable="$var$" />

-- 
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/529dd5e7-a742-4733-adc0-df9643618442%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-08-06 Thread Thomas Elmiger
There is a new version of TextStretch 
 – I spent quite some time on 
ease of use, functionality and documentation. But still I am afraid, it is 
far from being finished or even perfect. A short overview of changes (taken 
from the new versions tiddler):

This is a major update, it is not backwards compatible.

   - Renaming of the macro formerly known as *stretchtext*. Finally, I 
   opted for the unique string *strex*. It can be found and replaced 
   easily, if necessary.
   - Parameter *class* added for styling purposes.
   - CSS update to show the power of *class*es.
   - TextStretch Examples 
    added.
   - TiddlyWiki update to version 5.1.13.
   - An *id* parameter is now generated automatically [ as a hash number 
   obtained from the *content* ] . The macro parameter *id* is still 
   available, but was moved to the end of the parameter list.
   - Documentation update.

Give it a try and let me know what you think, if you find the time. There 
is no hurry, I will be mostly offline the next few days.

Kind regards, Thomas

@codacoder: You were right and wrong. Right: It was possible to automate 
the id. Wrong: It wasn’t "not too difficult" but it was really difficult 
indeed, at least for me. Now I call a macro from a macro that is called 
from a macro and uses a helper macro. Maybe not the most elegant solution, 
but working. – Thanks for insisting anyway ;–)

@Birthe, @Eric, @codacoder: Although I like nota (derived from nota bene) 
very much, I opted for strex as the new macro name – mostly because this 
artificial word is NOT used in normal texts. And because I am the kind of 
guy who loves the search (and replace) function of text editors. Thanks 
again for your inputs on this matter.

-- 
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/43117cc2-12ed-4008-90e2-c9e9f067660a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-07-17 Thread 'pedruchini' via TiddlyWiki
Hi Thomas

Thanks for your quick reply. I some cases the id of TextStretch is an 
advantage, but not in my use case, I don't mind if it also deletes search 
states and tab states.

Pedro.

On Sunday, July 17, 2016 at 6:08:47 PM UTC+1, Thomas Elmiger wrote:
>
> Hi pedruchini 
>
> Concerning solutions one and two: they do nearly the same and delete ALL 
> state tiddlers (also search, active tabs, …). This is why I prefixed the 
> state tiddlers of TextStretch. To delete these you can filter for 
> $:/state/txtstr_ with solution one or two (I would prefer two because it 
> filters for a prefix). BUT: This is not possible for the state tiddlers of 
> StretchText as they are not prefixed at the moment. 
> Good luck! 
> Thomas

-- 
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/69d41fb0-3b64-4d3f-a921-3aab3697eda3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-07-17 Thread Thomas Elmiger
Hi pedruchini 

Concerning solutions one and two: they do nearly the same and delete ALL state 
tiddlers (also search, active tabs, …). This is why I prefixed the state 
tiddlers of TextStretch. To delete these you can filter for $:/state/txtstr_ 
with solution one or two (I would prefer two because it filters for a prefix). 
BUT: This is not possible for the state tiddlers of StretchText as they are not 
prefixed at the moment. 
Good luck! 
Thomas

-- 
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/c9fe0e81-7348-4a8c-8410-c40b7eff1fde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-07-17 Thread Thomas Elmiger
Hi pedruchini

Concerning solutions one and two: they do nearly the same and delete ALL state 
tiddlers (also search, active tabs, …). This is why I prefixed the state 
tiddlers of TextStrech. To delete these you can filter for $:/state/txtstr_ 
with solution one or two (I would prefer two because it filters for a prefix). 
BUT: This is not possible for the state tiddlers of StretchText as they are not 
prefixed at the moment. 
Good luck!
Thomas

-- 
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/2da47ee0-74c5-42db-ae95-bd714c246039%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-07-17 Thread 'pedruchini' via TiddlyWiki
Based on Mabalele's post 
(https://groups.google.com/forum/#!topic/tiddlywiki/F_laLj-y5lk), I found 
two solutions

<$button>
<$action-deletetiddler $filter="[search:title[$:/state/]]"/>
clear


and

<$button>
<$action-deletetiddler $filter="[prefix[$:/state/]]"/>
clear


I pasted one on these on top of the tiddler and it works. But, is it safe 
to do that? Any side effect? Which ones of this two solutions is better?

On Tuesday, June 21, 2016 at 2:37:39 PM UTC+1, pedruchini wrote:
>
> Let's suppose  several contents are displayed at the same time.
> Now, I need to hide them in one click, instead of clicking on every label. 
>
> Is it possible to create a "clear" button or something that hides all the 
> contents ?
>
> If the contents remain displayed when I close the tiddler, the next time I 
> open that tiddler the contents appear displayed. Even if I close my whole 
> TW or Firefox, when reopened, Firefox remembers that the contents were 
> displayed.
>
> I find stretchText  very useful and 
> with a "clear" or "refresh" button it would be perfect.
>
>
>
>
>

-- 
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/902dc9d0-9dee-435d-b0e1-0447f02b43cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-07-13 Thread Rustem


> http://www.telescopictext.com/
>>
>
Wow. I need a plugin for Microsoft Outlook. :D

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/a3689c31-944a-4bb3-9787-870d3668a208%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-07-13 Thread Thomas Elmiger
nota sounds good for me!

-- 
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/4dd4abc5-b5a8-401b-b2cf-2d7b8373ca52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-07-13 Thread codacodercodacoder
nota

http://www.thefreedictionary.com/nota+bene


On Wednesday, July 13, 2016 at 11:04:36 AM UTC-5, Thomas Elmiger wrote:
>
> Thank you, Eric, for pointing this out. 
>
> How about “strex”? 
> Reminds of stretch and expand, could also stand for STRing EXpander. 
>
> (According to Google it is also used in life science as well as mobile 
> payment in Norway.) 
>
> Suggestions welcome! 
> Thomas

-- 
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/61bc0941-8cf9-4bc7-b71e-9c8cc9580fdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-07-13 Thread Thomas Elmiger
Thank you, Eric, for pointing this out. 

How about “strex”? 
Reminds of stretch and expand, could also stand for STRing EXpander. 

(According to Google it is also used in life science as well as mobile payment 
in Norway.)

Suggestions welcome!
Thomas

-- 
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/f3833722-3d14-41c8-b575-836c354bc16a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-07-13 Thread Eric Shulman
On Wednesday, July 13, 2016 at 4:37:09 AM UTC-7, Thomas Elmiger wrote:
>
> A valid point. How about tex – the Text EXpander? 
> Has anyone ever heard of a macro named “tex”? 
>

Though there may not currently be a macro named "tex", it seems to me that 
keyword should not be used, since "TeX" is already a well-established name 
for a document formatting system:

https://en.wikipedia.org/wiki/TeX

quote:

> In several technical fields, in particular, computer science, mathematics, 
> engineering, and physics, TeX has become a de facto standard. Many 
> thousands of books have been published using TeX, including books published 
> by Addison-Wesley, Cambridge University Press, Elsevier, Oxford University 
> Press and Springer. Numerous journals in these fields are produced using 
> TeX or LaTeX, allowing authors to submit their raw manuscript written in 
> TeX.

-- 
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/20846673-7edd-41e3-b731-c00d34528bfc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-07-13 Thread Thomas Elmiger
Hej Birthe

A valid point. How about tex – the Text EXpander?

Has anyone ever heard of a macro named “tex”?

Thomas 

-- 
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/c44bd788-882e-4b2c-a35b-87a2aed6b87a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-07-13 Thread 'Birthe C' via TiddlyWiki
Hi Thomas

Textstretch is a very long name prone for spelling errors. It is an exact 
name, but I wonder if a shorter and easier spelled name could be found? It 
is not easy I am not good enough in english to have a suggestion but maybe 
somebody else have suggestions.


Birthe

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/ccacfbda-cbb0-4be1-bc17-6d27d4627500%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-07-12 Thread Thomas Elmiger
Hi Coda, thanks for stretching your points out in this way ;–)

This is exactly the kind of discussion I had been looking for, very helpful 
indeed. 
In the meantime I have updated the docs, have a look at 
http://tid.li/tw5/hacks.html#TextStretch 

It was of course my intention to make authoring as efficient as possible, 
that’s why I use default values. When writing a book, I think you want to 
stay consitent and use these all/most of the time. Your effort with my 
solution would look like this: 


Some text <> and for the second TextStretch 
element with the preset label <>.




Alternatively, with Mat’s solution, you would have to write


Some text <> and for the second StretchText 
element with the same label <>.


As you can see: you need an id in both cases.

My second concern was computing power. The steps to process my macro call 
are:

   1. receive params
   2. use content, id and label (as they are defined by the author or the 
   default)

Mat’s solution does this (simplified):

   1. receive params
   2. separate id from label (this is not a simple step!)
   3. use content, label and id

So please reconsider, whitch way suits you best, and let us know, if you 
find an even better way! 

Concerning the last point, I have added some licence information in my docs 
:–D


All the best, Thomas





-- 
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/b27aed8b-d517-484a-846f-7a85b8af9bcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-07-12 Thread codacodercodacoder
Thanks Thomas. Replies within..

On Tuesday, July 12, 2016 at 12:26:13 AM UTC-5, Thomas Elmiger wrote:
>
> Thanks for your feedback, Coda! 
> You are right, I will have to explain the id better … and in fact I had 
> tried to eliminate this parameter at first. But I came to the conclusion 
> that it might be a feature in some cases, while it is not a real issue in 
> most others. 


If it's a feature in some cases, make it optional (and apply a guid perhaps 
if the id is not supplied by the user).

If it's "not a real issue" for the user then it's (usually) not too 
difficult to handle it in the code, either.

Believe me, I'd *love* to use it, but the id is one param too many, for the 
reasons I described.  Let me expand on that here...

Nothing in vanilla TW5 forces me to "think" about IDs - Jeremy got this 
100% right. When moving stuff around between tiddlers (i.e. cut and paste 
wikitext/markup) I generally do not need to worry about the surrounding 
context (unless it's macro/template code, of course). But when the text 
contains IDs, I certainly will need to ensure I don't have clashes so that 
all id="5" TS blocks don't open up when the intent was one specific TS. And 
searching through a chapter/section of a book, 12,000 chars long for id 
clashes is not my idea of productive (or fun) use of my time.

The bigger a TW5 tome becomes, the review-edit-change cycle will get more 
"expensive" on the user and resistance-to-change will build due to the 
tediousness of having to manage those IDs by hand. Trust me - I know. I 
have a catalogue of my own (early TW5) mistakes in this regard which are 
now so embedded in my system, "life's too short" to fix them.

I hope that made sense?

The key benefit of Mat's solution was "speed of use" at "authoring-time". 
And whether or not he uses an id internally, it wasn't left to me to manage 
it during the scenario I mention above. (I only decided not to use it on 
cosmetic grounds... but that was a while ago, I should check it out again.)

Anyway, I hope this feedback is useful...


-- 
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/b045a1cd-4699-47c2-8593-85b6c912c3ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-07-11 Thread Thomas Elmiger
Thanks for your feedback, Coda! 
You are right, I will have to explain the id better … and in fact I had tried 
to eliminate this parameter at first. But I came to the conclusion that it 
might be a feature in some cases, while it is not a real issue in most others. 
In fact, the id is only needed to separate TextStretch-elements from the *same* 
tiddler. TiddlyWiki’s state-mechanism cares for the rest. So thousands of 
tiddlers are not a problem. 
If you analyse Mat’s solution, you will find an id element too, hidden in the 
appendix (e.g. _1) to the label. This results in more complex macro code, 
because you have to separate the label from the id again. Whe I realised this, 
I opted for transparency and simpler code. And yes: to bother users with an 
additional parameter. 
I hope I find the time to update the docs soon. 
Cheers, Thomas

-- 
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/f3264a85-1b4e-4fac-9075-5d01cdaec64f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-07-11 Thread codacodercodacoder


On Sunday, July 10, 2016 at 1:41:11 PM UTC-5, Thomas Elmiger wrote:
>
>
> Hi everyone,
>
> May I introduce my own variant of this great idea? I tried to simplify a 
> bit for my limited usecase and I gave it a stretchy appearance (tested in 
> some browsers only).
>
> The result can be found here: http://tid.li/tw5/hacks.html#TextStretch – 
> Yep, I just switched the components of the name, I hope this is not 
> confusing … 
>
> Thanks for the inspiration, Mat!
>
> Kind regards and happy stretching
> Thomas
>

It's a beautiful things Thomas. However, it would be vastly improved if the 
user did not need to supply the id. If you look at Mat's original, it did 
not need an id. That makes Mat's "better" for larger texts/TWs - managing 
ids will become a huge headache for those users working on vast 
tomes/thousands of tiddlers.

If you can manage the id internally to the macro, you'll have the killer 
stretchy-thing (tm) ;)

Coda

-- 
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/df36a9cd-d948-4062-8e35-efe0e54c6b96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-07-11 Thread Mat
Thomas - *great *work! You really got the text to stretch in a visual way - 
really cool!

<:-)


On Sunday, July 10, 2016 at 8:41:11 PM UTC+2, Thomas Elmiger wrote:
>
>
> Hi everyone,
>
> May I introduce my own variant of this great idea? I tried to simplify a 
> bit for my limited usecase and I gave it a stretchy appearance (tested in 
> some browsers only).
>
> The result can be found here: http://tid.li/tw5/hacks.html#TextStretch – 
> Yep, I just switched the components of the name, I hope this is not 
> confusing … 
>
> Thanks for the inspiration, Mat!
>
> Kind regards and happy stretching
> Thomas
>

-- 
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/5c351db2-324e-4976-9490-85bf88da20a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-07-11 Thread Thomas Elmiger
Hej Birthe, mange tak for din kommentar! – Thanks for testing and giving 
feedbak, I am glad you like it!

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


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-07-11 Thread 'Birthe C' via TiddlyWiki
Hi Thomas Elmiger,

Now we are really spoilt for choice. I looks cool and I like that we are 
able to use transclusion from fields. I had great fun testing this.


Birthe


Den søndag den 10. juli 2016 kl. 20.41.11 UTC+2 skrev Thomas Elmiger:
>
>
> Hi everyone,
>
> May I introduce my own variant of this great idea? I tried to simplify a 
> bit for my limited usecase and I gave it a stretchy appearance (tested in 
> some browsers only).
>
> The result can be found here: http://tid.li/tw5/hacks.html#TextStretch – 
> Yep, I just switched the components of the name, I hope this is not 
> confusing … 
>
> Thanks for the inspiration, Mat!
>
> Kind regards and happy stretching
> Thomas
>

-- 
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/b2340720-ffd5-4777-a2ad-94bd0e868835%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-07-10 Thread Thomas Elmiger

Hi everyone,

May I introduce my own variant of this great idea? I tried to simplify a 
bit for my limited usecase and I gave it a stretchy appearance (tested in 
some browsers only).

The result can be found here: http://tid.li/tw5/hacks.html#TextStretch – 
Yep, I just switched the components of the name, I hope this is not 
confusing … 

Thanks for the inspiration, Mat!

Kind regards and happy stretching
Thomas

-- 
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/a2db114b-df7c-478c-8dd3-99c8dc010411%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-06-23 Thread 'pedruchini' via TiddlyWiki
I'm afraid I don't have the skills. I'm just a TW5 user who appreciates 
your work and I think that button would be a nice addition.

-- 
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/d488cb5f-9616-4a01-8ee7-d304a3c72c34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-06-23 Thread 'pedruchini' via TiddlyWiki
I'm afraid I don't have the skills. I'm just a TW5 user who appreciates 
your work and I thinks that button would be a nice addition.

-- 
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/ba00ecd3-7d81-4cf8-9f84-d0be9601df48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-06-22 Thread Josiah
Its a great tool already. VERY useful.

For instance, it allows texts in variant languages to give definitions and 
clarifications inline without any saga. 

To be FULLY compliant with Mr Ted's aims (which he has never actually 
realized in any way) it would need to be able to NEST expansions AND  
contractions too.

One step at a time.

j x

On Wednesday, 22 June 2016 17:45:23 UTC+2, Mat wrote:
>
> pedruchini,
>
> >Let's suppose  several contents are displayed at the same time.
>
> Yeah, that's a reasonable request. I think I know how to do this so 
> probably try within the next few days. If you want to try it yourself 
> before I have a go; Bascially, the idea is to make the state tiddlers be 
> titled with a common prefix for all StretchTexts and then have a button to 
> batch delete of all those statetiddlers.
>
> <:-)
>

-- 
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/61019c88-5a60-4925-b184-a4731c1bdab1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-06-22 Thread Mat
pedruchini,

>Let's suppose  several contents are displayed at the same time.

Yeah, that's a reasonable request. I think I know how to do this so 
probably try within the next few days. If you want to try it yourself 
before I have a go; Bascially, the idea is to make the state tiddlers be 
titled with a common prefix for all StretchTexts and then have a button to 
batch delete of all those statetiddlers.

<:-)

-- 
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/b850bb6b-0b8c-4678-9097-f3c0e903d9c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-06-21 Thread 'pedruchini' via TiddlyWiki
Let's suppose  several contents are displayed at the same time.
Now, I need to hide them in one click, instead of clicking on every label. 

Is it possible to create a "clear" button or something that hides all the 
contents ?

If the contents remain displayed when I close the tiddler, the next time I 
open that tiddler the contents appear displayed. Even if I close my whole 
TW or Firefox, when reopened, Firefox remembers that the contents were 
displayed.

I find stretchText  very useful and 
with a "clear" or "refresh" button it would be perfect.




-- 
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/da367eaa-547d-4509-968d-cd1be10ae8d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-06-02 Thread Mat
Updated

Happy to say the mysterious Firefox artefacts were... not that mysterious 
after all.

Thanks for reporting Birthe!

<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/e10649fa-8acd-4457-a838-7295aa8a6bfa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-06-02 Thread Mat

>
> Firefox 

 
What the fu..ddlywiki... Where do those thingies come from? Sorry for that. 
Now I understand what your partner meant with broken. Will look into it. 

Thanx for reporting!

<:-)

-- 
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/b7913147-a756-4187-a3d0-373534ef7b1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-06-02 Thread 'Birthe C' via TiddlyWiki
Hi Mat,

It looks perfect in Chrome and now I understand what you mean with 
animation.
I totally agree with you that we want to see what was added. 

We used Firefox.  Two grey frames, one framing the content and the other to 
the right and on my small screen often covering sidebar. 


Birthe




-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/8d8edeb4-2642-42ff-a157-47cc6e03788e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-06-02 Thread Mat
Birthe C wrote:

I think the grey frames may confuse the reader. I updated my  wiki  and 
> right after my partner refused to read any further. He thought he had 
> ruined something ;-)
>


Whupps!? :-)  

Do you mean the idea with the outline alltogether? (I think it would be 
confusing if there was no indication of what was added, no?)

Or are you perhaps referring to that currently, when clicking opening a 
label, the outline animation is;

  *fade-in...fade-out.*..[and if mouse *remains *on the label]...
*instant-outline*. 

If I could, I would not include that last *instant *outline there, but I *do 
*want the instant outline to appear when one mouses out and then *hovers 
again* over the label.

I don't know how to make the *instant-outline* not be active that first 
time. Trying to figure it out tho.

<:-)

-- 
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/d0764019-1d7b-49de-a0f2-584f714e1723%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-06-02 Thread 'Birthe C' via TiddlyWiki
Hi Mat,

I think the grey frames may confuse the reader. I updated my  wiki  and 
right after my partner refused to read any further. He thought he had 
ruined something ;-)


Birthe



On Wednesday, June 1, 2016 at 11:15:40 PM UTC+2, Mat wrote:
>
> StretchText updated .
>
> The earlier main issues to format the label text properly, now works. Also 
> some styling updates.
>
> It's probably ready to be packaged into a plugin now but will let it stay 
> in Beta for more testing in actual use.
>
> Do tell if you hit any problems.
>
> <:-)
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/a4f55fa8-ebc0-4707-a2c1-75dba801241e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-06-01 Thread Mat
StretchText updated .

The earlier main issues to format the label text properly, now works. Also 
some styling updates.

It's probably ready to be packaged into a plugin now but will let it stay 
in Beta for more testing in actual use.

Do tell if you hit any problems.

<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/dfae9218-823e-437c-9761-1247ece4c302%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-05-27 Thread Mat
@Hegart, thanks for showing this. Funny how a concept that I'm interested 
in has been there all the time and I've just missed it. Probably partly 
because I didn't know the term for it.

Yes, nesting does seem to complicate it but I hope to come up with 
something that keeps simplicity for the author. (This is not prio right now 
tho). I think a difficulty is that you cannot nest macro calls, as far as I 
know.

<:-)

-- 
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/46273337-9502-4422-9a56-b0fe8c49774d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-05-26 Thread Hegart Dmishiv
Hi Mat, 

I remember looking at the concept of StretchText during the 
*{{DesignWrite}}* course. I had a go at implementing it myself 

 
using Tobias' *<$appear>* plugin. Your macro looks interesting though, and 
much neater to code than my nested appears.

Hegart.


On Thursday, 26 May 2016 09:28:19 UTC+12, Mat wrote:
>
> StretchText  - a long time fantasy of 
> mine... that I was informed was old hat (heh!)
>
>
>- It enables writing text that turn to readers with varying levels of 
>knowledge or interest and...
>- provides a more *subtle* alternative to hyperlinking than regular 
>links or popups.
>
>
> Unfortunately I don't have the skills to straighten out some issues in it 
> so it's only a Beta and I'd appreciate any advice.
>
> <:-)
>

-- 
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/2b9840c8-5554-4752-a0f3-35c721e9231d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-05-26 Thread Mat

>
> http://www.telescopictext.com/
>

@Richard - thanks for the links! Yes, similar concept but/and with a few 
interesting differences that I'll reflect on for anyone who is interested 
in the concept;

In creating StretchText I wanted it to be very simple to use but this 
typically comes at the expense of flexibility of course. My first attempt 
was to merely make the label expand directly. But, as I mention in my 
creation, this made the remaining right part of the original sentence hang 
like an appendix at the end. It seems to me that telescopic text does not 
deal with this, even if they've polished their sample texts so it's not 
obvious. If you try to actually compose text like this it is immediately 
clear it is totally unpractical.

...*or* just maybe their version allows to completely *exchange* the label 
word/s for the content, I can't tell. The telescopic text does also show 
before the original label text, so that's an indication. With complete 
exchange, you could make the whole sentence be the label so this is 
exchanged, which seems useful and solves the appendix problem. In 
StretchText I wanted the syntax to follow the actual sentence, so you 
basically just insert the macro brackets and parameter quotation marks. 
Complete exchange might be better though.

...but I do miss a reverse/back toggle in their version. StretchText 
obviously leaves the button for toggling.

There is also difference in visual guidance as to *what part* is the 
appearing text - both for the actual appearance and what it was that was 
added. Telescopictext takes the easy route in just having it appear in a 
blink. I found this too twitchy for StretchText (interestingly it doesn't 
appear *quite* as twitchy in telescopic text. Not sure why.) I made early 
attempts to make the content text visually "feed out" (by animating 
font-size, line-height etc) but this was not good because all text 
occurring in the rest of the document was then pushed visually, including 
the repositioning of the line breaks etc, making for an unappealing visual 
rattling. I ended up with a compromise; the content "space" does appear in 
a blink but there is a (quick) fade in for the actual content.

Their decision to leave the text as a completely integrated part, contrary 
to my outlining border, might be a good idea for readability though. I'm 
thinking I should change it so the border fades away.

Interesting stuff.


<:-)

-- 
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/7a0ad5e3-da0e-40bd-b0cb-e31acfaf4b31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Presenting: StretchText - an alternative to links or popups

2016-05-25 Thread RichardWilliamSmith
Thanks Mat,

You inspired me to search again for something I had previously found and 
then lost, because it was very hard to google for - the term I was lacking 
was "telescopic text", check this out -

http://www.telescopictext.com/
http://www.telescopictext.org/

This Medium article links to some examples of it in use.

https://medium.com/@thisisdare/a-short-history-of-telescopic-text-67b7128e31bb

Cool, huh?

Regards,
Richard

-- 
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/6ad60c9d-d150-45a3-8869-802316d86815%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.