[tw] Re: [TW5] Tabs Help

2016-08-30 Thread Tobias Beer
Hi,

Can you perhaps create a more specific example on your demo wiki
and comment directly in there where you're stuck with it?

Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/f2a45a47-b2c1-46b5-89c3-615c7bf7d635%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Have a Macro Insert the Value of a Tiddler as a Tag

2016-08-30 Thread Tobias Beer
Hi Taylor,

See if you can follow these instructions
to build a custom "my new journal" button,
because that's apparently what you need:

Create Tiddler From Template @ tb5 


Best wishes,

Tobias. 

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


Re: [tw] Re: How do I count and get numbers for the instances that call a macro within a Tiddler/Within the storyriver.

2016-08-30 Thread Tobias Beer
Hi Jan
 

> To parseTreeNodes sounds a little chinese for me...but I think I 
> understand.
>

Yes, it takes some getting used to terminology. Think of it like that: You 
have wikitext and that is parsed by the TiddlyWiki core into a parseTree 
and then a widget tree subsequently constructed from that, which in turn 
eventually generates DOM elements for the browser to display, but not 
necessarily.

Since TiddlyWiki does away with the focus on manipulating DOM elements 
directly, operating on a widgets architecture, there is a bit of a gap. 
With TiddlyWiki classic it was easy to do DOM traversal and manipulation 
with jQuery and so we could do all kinds of fancy stuff after the fact, 
meaning, after TiddlyWiki did its default thing with the wikitext.

However, with the new architecture, we're a bit lacking on a general 
interface for developers to traverse the widget-tree-representation of your 
wiki text, e.g. so as to say "find that list and give me its list 
elements". Such a traversal may not even be desirable owed to the 
transient, stateless nature of widgets... which doesn't mean that they do 
not actually have a state, but that they can be trashed and recreated at 
any given moment... so if you have some other output that would depend on 
the current widget representation, there's a chance it would not notice 
that the thing it references and relies on to do further stuff actually 
changed from the first time it was created, e.g. that footnote index.

So, with TiddlyWiki classic there were HTML / DOM elements like ULs and LIs 
(which we still have, of course) for which we could use simple jQuery 
selectors to address them. However, now we would need some simplistic 
equivalent to address the underlying list widget, so as to be able to then 
do magick with a possibly much safer and much more powerful encapsulation 
in the form of a widget, that provides well defined interfaces for actually 
handling it, e.g. when to refresh or recompute the state of that widget, 
etc...
 

> If it is what Ithink it would put us all a big deal forward and could be 
> the basis for many things I try to build.
> - a filter  collecting Footnotes
> - a way of transcluding/navigating to parts of Tiddlers
> ... and thus new possibilities to present information stored in TWs for 
> example in Slideshows et cetera
>

So, that's the thing: you would need to be able to tell the TiddlyWiki core:

   - that right there is my "tiddler" in the widget tree
   - and in that thing being the "tiddler" rendered from that wikitext, go 
   find elements matching this or that pattern, e.g. all list widget where 
   some attribute is such and such
   - eventually return the corresponding widgets so that I can do fancy 
   stuff based on what I'm given, e.g. with the list items ...presuming I know 
   all about list widgets and how to get from the list itself to the items
   
However, one core paradigm is that widgets are transient things by nature, 
especially their representation in the DOM. So, in general the philosophy 
would be to always work try and with the underlying wikitext first. And if 
that proves difficult, chances are you simply haven't sliced and diced your 
wikitext just enough for you to be able to address every single chunk of 
concern separately.


To conclude with a much more practical example, let me put it this way:
if you turned your footnotes into actual tiddlers, e.g. as

$:/fn/the related tiddler/foo
$:/fn/the related tiddler/bar

and then retrieved it as:

<>

in the context of *the related tiddler*, then you could do all kinds of 
magick with those footnotes ...and all that would be missing is some 
simplistic plugin that, instead of using some markup in the tiddler, would 
go create those "under-the-hood"-related system tiddlers being the 
footnotes... which it would be most trivial to later on list with whatever 
eye-candy you fancy most.

Based on a given list of chapter tiddlers being rendered each with their 
individual, related footnotes tiddlers you could as well easily generate 
one big list of footnotes. All you need is for your footnotes to be actual 
tiddlers. Hence system tiddlers since you may not actually want them to be 
searchable on their own.

However, you could easily run into problems with the above approach if you 
ever chose to rename those titles. So, one crucial missing piece to safely 
model stuff like this, is that eventually TiddlyWiki will bring core 
support for every single (non-system) tiddler to have an auto-generated 
unique id, so it would be:

$:/some-unique-id-12345/foo
$:/another-uniqueid-54321/bar

With the eventual tiddler being:

title: some related tiddler
id: some-unique-id-12345

Refer to <>.

Am I making sense?

Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to t

[tw] Re: copy & pasting text AND images to Windows clipboard

2016-08-30 Thread Tobias Beer
Hi Tony,

Any images you drag and drop onto TiddlyWiki are stored as base64 encoded 
and that is the problem.

   - neither browsers support "copy as images" (to clipboard)
   - nor Microsoft Office supports "paste as images" (from clipboard)
   
...whereby any base64 encoded datauri's would be automagically converted 
into their image representation.

So, the best chance you have is to not drag and drop images onto 
TiddlyWiki, but to store them into some *img* subfolder and then display 
them in TiddlyWiki, e.g. using something like ximg 
. Then you would have actual images 
that you can later copy & pasta as you're used to.

Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/83c64278-da92-43c3-bbc2-42161bdc8949%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How do I modify the wikitex syntax for definitions (semicolon) ?

2016-08-30 Thread 'pedruchini' via TiddlyWiki
Thank you, Ton. 

Your guides are very useful: http://tongerner.tiddlyspot.com

Now I will try to modify other elements, just for fun.

Cheers,

Pedro

On Tuesday, August 30, 2016 at 5:43:41 PM UTC+1, Ton Gerner wrote:
>
> Hi pedruchini,
>
> $:/themes/tiddlywiki/vanilla/base contains:
>
> dl dt { font-weight: bold; margin-top: 6px; }
>
> To overwrite it:
>
> Create a tiddler tagged with $:/tags/Stylesheet which contains:
>
> dl dt { font-weight: normal; }
>
> Hope that helps.
>
> Cheers,
>
> Ton
>
>

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


[tw] Deactivate fold animation for view templates

2016-08-30 Thread Danielo Rodríguez
It's me again!

I was wondering if it is possible to deactivate fold animations setting 
certain variable. For what I have seen on the core the answer is no, is not 
possible, but I could be wrong.
If it is not possible, I think that creating a configuration to avoid it in 
certain cases would be helpful. Preferible using a variable rather than a 
tiddler because it is much more configurable

Regards 

-- 
You received this message because you are subscribed to the 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/f637ba47-b950-4a3c-bf70-9557b749a265%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] TOC External Navigation Style for a List

2016-08-30 Thread Taylor Jensen
I love the TOCs where clicking opens up a little version of the tiddler to 
the right of the TOC list. But I need that style of thing for a normal list 
(because I need more filter options than TOCs are designed for). Does 
somebody already have something like that made? Or am I going to have to 
reverse engineer the TOC code?

Unfortunately simple tabs aren't good enough because of the way checkboxes 
interact when inside the tab instead of the special TOC version of a tab.

-TCJ

-- 
You received this message because you are subscribed to the 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/0469951c-79e2-44f4-94f3-49802316b084%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: NoteSelf the Evernote-like experience update

2016-08-30 Thread Danielo Rodríguez


El martes, 30 de agosto de 2016, 7:32:45 (UTC+2), Tobias Beer escribió:
>
> Hi Danielo,
>
>
Hello Tobias,

 

> Thanks for your work on this, looks highly interesting and promising.
>

Thank you for your interest
 

>
> I have a few simple to ask but possibly hard to answer questions
>

Let's see if I can get you in...
 

>
>- Do I (always) need to login or can the connection be 
>(safely/publicly) pre-configured (hard-wired) in a wiki?
>
> That depends on the server configuration (see below). NoteSelf is not 
opinionated about the server configuration, it just tries to adapt to it.
 

>
>- Asked differently, can I connect to a pouch-db in a kind of 
>read-only "sync"-mode (w/o login)?
>
> Again, this depends on the server. Please take a look below for some 
receipts
 

>
>- Can I connect a single wiki to two different pouch-dbs?
>
> You can have as many local databases as you want and you can connect to as 
many remote servers as you want. Normally each local database has a server 
attached to it, but you can change it at any time. So you can have both, 
several local databases connected to several remotes, or one single 
database and change to where it connects to.

 

>
>- Can two different wikis connect to a single pouch-db?
>
> I will take for granted that with "pouch-db" you refer to a remote couchdb 
server. The answer is YES, that's te point of the whole thing.
 

>
>- If yes, can I connect one wiki read-only (no login) and the other 
>read-/write (login)?
>
> Yes you can, as long as the server allows this configuration. 
Here are some authentication recipes for couchdb. They include the use-case 
for each one, so it's pretty easy to see if it could fit your needs or not.

https://github.com/nolanlawson/pouchdb-authentication#couchdb-authentication-recipes

 

The eventual goal of the above exercise would be
> to allow one wiki to be used and exposed as a website and styled as such,
> loading content read-only while displaying it in a more minimal, read-only 
> manner,
> and another wiki being the backend for editing (r/w)
> with loads more plugins and showing the whole editing experience.
>

That is a very tempting configuration. Probably it would be better to use 
Noteself in the "master" wiki and use a more light-weight plugin on the 
client one.
 

If you tell me there's a way for NoteSelf to achieve the above,
> you will definitely have me hooked.
>

NoteSelf is intended to be a whole TW edition, focused on be some kind of 
Evernote replacement. Currently it's composed of a single plugin: 
TiddlyPouch, that brings the required sync capabilities. I have plans to 
create other NoteSelf specific plugins that will be part of NoteSelf 
edition. If One of the plugins fulfills your requirments you are not forced 
to take the full NoteSelf edition.

Regards.

-- 
You received this message because you are subscribed to the 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/f330679c-df96-4352-8b55-b36ea508c626%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] (TW5) TiddlyWiki on Sandstorm

2016-08-30 Thread Thierry Pasquier

Hi

With Joonas which began this work in early summer, we continued packaging 
TiddlyWiki5 as a sandstorm.io app. 

I invite you to consult the discussions about the issues raised by the need 
to maintain the application synced with the development of TW5 in Sandstorm 
marketplace here :  https://github.com/jeau/tiddlywiki-sandstorm/issues/1

Joonas and me are not very familiar to sign with pgp tu publish this app in 
Sandstorm marketplace. Although Joonas feels to understand the publishing 
process, we believe that the proposal of Tony late last year on the Google 
Group TiddlyWiki is interesting : 

After TiddlyWiki is packaged as an app, I think Jeremy or another TW 
> representative developer can sign off as the upstream author as Sandstorm 
> is open to adding additional licenses like BSD3.
>

https://groups.google.com/d/msg/tiddlywiki/JArRJpuYWkI/SUkqBM2VBAAJ
Before reading this proposal, I have chosen Apache3 (and not BSD3) which 
seems is the Sandstorm dev's choice. 

You can test again this instance of TiddlyWiki :
https://emf.sandcats.io/shared/pDY8n-NhQdo_7RoFK_Lvdg00HXUVB1YLbTf5o086ZoB

Even download the last TW5 package to install on you own Sandstorm server 
here :
https://emf.sandcats.io/shared/mYBYMCE6E3IyyfPKTtT99lzavLngN5_g6qQM5I2irA8

Code and issues available here : 
https://github.com/jeau/tiddlywiki-sandstorm 

Feel free to test and correct this work

Best regards

Thierry

Le jeudi 25 août 2016 16:16:03 UTC+2, Jeremy Ruston a écrit :
>
> Hi Thierry
>
>
> On 25 Aug 2016, at 10:06, Thierry Pasquier  > wrote:
>
> I started working on the implementation of TW5 on Sandstorm. 
>
>
> Is it the same implementation discussed in this thread over on GitHub?
>
> https://github.com/Jermolene/TiddlyWiki5/issues/2487
>
> It seems simple enough to begin. However, I found the first bug...
> The TW markups are not inserted in the editing area when I click on edit 
> buttons whith Firefox (48.01, OSX), but it's working fine with Chrome (OSX)
>
> You can test here with anonymous access
> https://emf.sandcats.io/shared/-hLR5SBEVgmw2QoJNDXUEmfh1Nas0LEPpio4cmOlX06
>
>
> I can confirm seeing the problem you describe. I did some digging and it 
> seems that TW5 is being displayed in an iframe at the URL you’ve given. If 
> I open the src of that iframe directly in a new Firefox tab (
> https://d4b20b08facdd5d2b1e411fc8f807397.emf.sandcats.io/), then the 
> editor works correctly.
>
> So, the problem is evidently introduced by the Sandstorm toolbar. The next 
> step would be to experiment to see if the bug occurs when TW5 is hosted in 
> any iframe, or just in this specific configuration.
>
> Sandstorm is an open source platform for personal servers. 
>
>
> Sandstorm is a terrific system, and I’d love to see it working well with 
> TiddlyWiki.
>
> Best wishes
>
> Jeremy
>
> Sandstorm lets you run your own server and install apps like EtherCalc 
> ,
>  
> GitLab 
> ,
>  
> Etherpad 
> ,
>  
> Wekan 
> ,
>  
> and more as easily as you'd install apps on your phone. 
>
> Sandstorm handles login & access control, and can run any web app that 
> runs on Linux, though some apps may need changes to work within the 
> Sandstorm sandbox.
>
>
> https://sandstorm.io/
>
> Thierry
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+...@googlegroups.com .
> To post to this group, send email to tiddl...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/9793f773-8eba-4c26-8137-3c0a8ca3109c%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/479cd421-8a1a-4973-8d57-6431a50925b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Latency of editing-fields

2016-08-30 Thread Jan

Well, correction...I feel even more stupid now.
Even implanting editor and style of your 
http://test21.tiddlyspot.com/#editor to my Wiki gives me editingfields 
About 20em high...not just 2 as desired.


Thou shallst not curse...
Jan


Am 30.08.2016 um 22:22 schrieb Jan:

Hej Mat,
thanks for liberating me of the feeling to be stupid.

<$edit-text tiddler="target" class="myclass" field="text" 
autoHeight="no"/>


autoHeight="no" that should be documented somewhere...

;-J





Am 30.08.2016 um 21:33 schrieb Mat:
Yes, there are some interesting quirks with the TextAreaWdget. Here 
are some.. semi-answers;


The speed I don't know what to do about, but it is related to if the 
content you're editing is used e.g if there is a recalculation using 
the content.


Particularly macros refresh the page so this is why you loose focus 
after each key press.


The size confusion is one I've commented on here 
.


<:-)
--
You received this message because you are subscribed to the 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/77f49c7b-fc32-4503-8f78-5dbd2f8c1edb%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/57C5F4D1.5050605%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Transclude current tiddler avoiding recursion

2016-08-30 Thread Mat
ERRATA - the above targets the title, not the whole tiddler. Probably not 
useful for you then. Sorry!

<:-)

>

-- 
You received this message because you are subscribed to the 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/facc9fdf-186e-483c-8259-117fd050dcac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Transclude current tiddler avoiding recursion

2016-08-30 Thread Mat
Another way to target a tiddler (...that I probably have mentioned already 
over these past days) is ctrlpanel>settings>titles as links and then target 
the specific tiddler with:

body .tc-tiddler-frame a[href="#NAMEOFTIDDLER"] {...}


nameoftiddler must be uri encoded. 

Contrary to Marios promising solution this doesnt require any change to the 
viewtemplate (...if one cares about such matters). 

I also have various tricks to *hide* tags that would be an acceptable 
solution.

<:-)

>

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


Re: [tw] Re: Latency of editing-fields

2016-08-30 Thread Jan

Hej Mat,
thanks for liberating me of the feeling to be stupid.

<$edit-text tiddler="target" class="myclass" field="text" autoHeight="no"/>

autoHeight="no" that should be documented somewhere...

;-J





Am 30.08.2016 um 21:33 schrieb Mat:
Yes, there are some interesting quirks with the TextAreaWdget. Here 
are some.. semi-answers;


The speed I don't know what to do about, but it is related to if the 
content you're editing is used e.g if there is a recalculation using 
the content.


Particularly macros refresh the page so this is why you loose focus 
after each key press.


The size confusion is one I've commented on here 
.


<:-)
--
You received this message because you are subscribed to the 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/77f49c7b-fc32-4503-8f78-5dbd2f8c1edb%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/57C5EB15.4010502%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Transclude current tiddler avoiding recursion

2016-08-30 Thread Danielo Rodríguez
Hello Mat, 

Of course I took a closer look at your work about versionning. But I have a 
challenge that you don't : you use a tag to trigger the view template, and I 
don't want to attach any tag to the current tiddler. So my view template should 
be triggered in a different way, same thing for hidding the default body. 

Regards 

-- 
You received this message because you are subscribed to the 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/ce6898c8-52bb-4583-b76a-4118e8444541%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Action on tab opening

2016-08-30 Thread Mat
On Sunday, August 28, 2016 at 12:17:37 AM UTC+2, PMario wrote:
>
> The tabs are buttons. So just change the tabs macro and add the action 
> widget. So if someone clicks the tab, the action is activated. 
>

I hadn't realized this. Very good to know! Thanks PMario.

Simple test here. 

<:-)

-- 
You received this message because you are subscribed to the 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/9414f671-a538-49d0-bf45-9cb5e244f2ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Latency of editing-fields

2016-08-30 Thread Mat
Yes, there are some interesting quirks with the TextAreaWdget. Here are 
some.. semi-answers;

The speed I don't know what to do about, but it is related to if the 
content you're editing is used e.g if there is a recalculation using the 
content.

Particularly macros refresh the page so this is why you loose focus after 
each key press.

The size confusion is one I've commented on here 
.

<:-)

-- 
You received this message because you are subscribed to the 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/77f49c7b-fc32-4503-8f78-5dbd2f8c1edb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Transclude current tiddler avoiding recursion

2016-08-30 Thread Mat
Danielo, I had the exact same problem a week ago and solved it like you see 
in Versioning (I even make a comment 
about it on that very front tiddler).


<:-)

-- 
You received this message because you are subscribed to the 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/16272995-f062-4887-8300-d7a3ebf05b24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Latency of editing-fields

2016-08-30 Thread Jan

Hi there,
Edit-fields in forms like the one below appear to be much slower than 
the usual Edit-Template.


<$edit-text field="references" default="" 
placeholder={{$:/MetaTabs/Language!!reference}} style="heigth:30px" 
tag="textarea"/>


Sometimes the focus eve jumps away...

Is there something that can be done about this. Is this just 
personalperception or am I doing something wrong.

Is there a trick to avoid this?

And another question:
The Field-height does not react to the style in the code nor to the 
class in the stylesheet. Is there a special spell to change the height.


Thanks Jan

--
You received this message because you are subscribed to the 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/57C5D84C.8050303%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Transclude current tiddler avoiding recursion

2016-08-30 Thread Danielo Rodríguez
> Mmm, maybe changing the tabs template to only show in case there is no 
> currentTab variable set. Maybe this last option works. I'll give it a try... 

Rethinking about this that will not work neither. It will certainly avoid the 
recursive transclusion, but because the tiddler is folded it will not show 
anything. 

My only option is to create a clone of the default view template avoiding the 
tabs transclusion via filter and removing the folding part. Then I should make 
sure that it is up to date with core for the best experience. 

-- 
You received this message because you are subscribed to the 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/c3ef8610-e824-411c-abd0-3456fe40525d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Transclude current tiddler avoiding recursion

2016-08-30 Thread Danielo Rodríguez
Hello Jeremy 

> Presumably you’ll want to exclude the view template segment generating the 
> tabs so as to avoid the recursion.

Exactly! that's it. 

Isn't any way to influence a filter from the outside? Maybe setting or erasing 
certain variable? 

Mmm, maybe changing the tabs template to only show in case there is no 
currentTab variable set. Maybe this last option works. I'll give it a try... 

-- 
You received this message because you are subscribed to the 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/a00295b2-5e81-402c-a295-df426847696d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Transclude current tiddler avoiding recursion

2016-08-30 Thread Jeremy Ruston
Hi Danielo

>  but I don't know how to guarantee to show the same thing the view template 
> would do without using the view template.

I think you’ll need you’re own clone of the guts of the default ViewTemplate, 
in particular the list widget that transcludes the view template segments. 
Presumably you’ll want to exclude the view template segment generating the tabs 
so as to avoid the recursion.

Best wishes

Jeremy

>  
> 
> Perhaps you could show a mockup of what you’re trying to achieve?
> 
> 
> Of course, here it is an screenshot opened on the tab that works
> 
>  
> 
> 
> 
> Regards
> 
> -- 
> You received this message because you are subscribed to the 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/1c41cd92-cb15-4042-a0e2-5f50dba040a9%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/70EF75E6-D80F-4FAD-B083-2AE1A43D40DF%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Transclude current tiddler avoiding recursion

2016-08-30 Thread Danielo Rodríguez



> But you’re already inside the core’s ViewTemplate, so you can’t transclude 
> it again with the same currentTiddler without creating the recursion. 
> You’re modifying the view template to include a bunch of tabs, and then one 
> of those tabs is transcluding the same view template.
>

Yes, I know, that's the problem.
 

> The only way out is to detect the recursion and render something else 
> instead.
>

I have a mechanism to detect the recursion:


<$list filter="[is[current]!field:title]">
<$tiddler tiddler=<>>
<$transclude tiddler="$:/core/ui/ViewTemplate"/>





 but I don't know how to guarantee to show the same thing the view template 
would do without using the view template.
 

>
> Perhaps you could show a mockup of what you’re trying to achieve?
>


Of course, here it is an screenshot opened on the tab that works




Regards

-- 
You received this message because you are subscribed to the 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/1c41cd92-cb15-4042-a0e2-5f50dba040a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Transclude current tiddler avoiding recursion

2016-08-30 Thread Jeremy Ruston
HI Danielo

> Of course that is the problem.
> 
> I want to show the tiddler as it will render normally, that's why I need to 
> use core's the viewTemplate.
> Is not any mechanism to limit the number of recursions?

But you’re already inside the core’s ViewTemplate, so you can’t transclude it 
again with the same currentTiddler without creating the recursion. You’re 
modifying the view template to include a bunch of tabs, and then one of those 
tabs is transcluding the same view template.

The only way out is to detect the recursion and render something else instead.

Perhaps you could show a mockup of what you’re trying to achieve?

Best wishes

Jeremy




> 
> -- 
> You received this message because you are subscribed to the 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/12367fb6-9bd8-4711-afc2-87030d664960%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/ADF39B59-BCC5-432E-8D68-A16C93E90196%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Transclude current tiddler avoiding recursion

2016-08-30 Thread Danielo Rodríguez
Hello Jeremy,

Of course that is the problem.

I want to show the tiddler as it will render normally, that's why I need to 
use core's the viewTemplate.
Is not any mechanism to limit the number of recursions?

-- 
You received this message because you are subscribed to the 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/12367fb6-9bd8-4711-afc2-87030d664960%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How do I modify the wikitex syntax for definitions (semicolon) ?

2016-08-30 Thread Ton Gerner
Hi pedruchini,

$:/themes/tiddlywiki/vanilla/base contains:

dl dt { font-weight: bold; margin-top: 6px; }

To overwrite it:

Create a tiddler tagged with $:/tags/Stylesheet which contains:

dl dt { font-weight: normal; }

Hope that helps.

Cheers,

Ton

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


Re: [tw] Transclude current tiddler avoiding recursion

2016-08-30 Thread Jeremy Ruston
Hi Danielo

The recursive transclusion error is because you've got nested invocations of 
$:/core/ui/ViewTemplate with the same value for currentTiddler. You probably 
want to use a different template for the tiddlers that are nested in tabs.

Best wishes

Jeremy

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

> On 30 Aug 2016, at 17:20, Danielo Rodríguez  wrote:
> 
> Hello everyone,
> 
> I am very close to achieve something that I want, which is a custom view 
> template showing the current tiddler along with other tiddlers in tabs. 
> 
> In the first tab I want to show the current tiddler, and other tiddlers in 
> other tabs. Showing other tiddlers works flawlessly, but showing the current 
> one end in a Recursive transclusion error.
> 
> How can I adjust the template to avoid this but use the default view template?
> This is the current template that I'm using with the tabs macro:
> 
> 
> <$tiddler tiddler=<>>
> <$transclude tiddler="$:/core/ui/ViewTemplate"/>
> 
> 
> 
> -- 
> You received this message because you are subscribed to the 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/47a377ca-62fd-4df0-879d-0751a6b8c938%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/70F3FFFA-C0F2-442D-A105-F6A47A68FD38%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Transclude current tiddler avoiding recursion

2016-08-30 Thread Danielo Rodríguez
Hello everyone,

I am very close to achieve something that I want, which is a custom view 
template showing the current tiddler along with other tiddlers in tabs. 

In the first tab I want to show the current tiddler, and other tiddlers in 
other tabs. Showing other tiddlers works flawlessly, but showing the 
current one end in a Recursive transclusion error.

How can I adjust the template to avoid this but use the default view 
template?
This is the current template that I'm using with the tabs macro:


<$tiddler tiddler=<>>
<$transclude tiddler="$:/core/ui/ViewTemplate"/>



-- 
You received this message because you are subscribed to the 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/47a377ca-62fd-4df0-879d-0751a6b8c938%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Hide parts of a tiddler without using a tag or global css styles

2016-08-30 Thread Danielo Rodríguez
Hey!

I just found a solution to my problem, how convenient !

I realized that there is something that hides the subtitle, the tags and 
the body, everything but the title, which was exactly what I wanted: the 
fold state.

So what I did is add a "section" after the title, show it when needed and 
at the same time fold the tiddler body. It looks amazing and I didn't 
touched a single core tiddler.

I have to thank everyone their proposed editions to the view templates, 
they made me realize about the fold reveal. But, in any case, I think we 
should consider continuing this discuss.

Regards

-- 
You received this message because you are subscribed to the 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/608f5e04-b362-481c-b4dc-3acca9444a7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Have a Macro Insert the Value of a Tiddler as a Tag

2016-08-30 Thread Taylor Jensen
I have a tiddler named [[Current Show]], that has the text of something 
like "Romeo and Juliet". When I click on thew new journal button, I want 
the new tiddler to have a tag named "Romeo and Juliet". But won't change to 
something else if I modify it to be [[The Tempest]], that journal entry 
should still be tagged with "Romeo and Juliet".

I failed to find a way to accomplish this, and most of the things I tried 
led to awkward bits of code ending up as separate tags in the tiddler.

Anyone know how to do this? Thanks!

-TCJ

-- 
You received this message because you are subscribed to the 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/05873707-dd3e-4591-a59a-96bd11e33a3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Action on tab opening

2016-08-30 Thread Danielo Rodríguez


El martes, 30 de agosto de 2016, 0:34:23 (UTC+2), Jan escribió:
>
> ...you could use the Tab-state-tiddler for a reveal-function. That is no 
> modal but at least something.
> Greetings Jan
>

Hello Jan.

Thank you for the tip, but what I need is to trigger an action, in this 
case sending a message 

-- 
You received this message because you are subscribed to the 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/f9e3080d-f856-4730-b638-b6a1eeea58ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Help: ArticleTiddlers - unit tiddler showing multiple sequenced tids

2016-08-30 Thread Jeremy Ruston
Hi Tobias

> FWIW, I think one hard problem that should be solved in this context
> is that I possibly not only want a flat list but rather a tree / outline
> whereas some tiddlers would be sub-chapters to others.

The current text-slicer edition slices HTML documents into paragraphs using 
headings as hierarchical containers. It uses the "list" field of the parent to 
contain the titles of the child tiddlers. Thus one can move entire sections of 
the document around by moving the heading.

Best wishes

Jeremy

> 
> The only way to model that right now appears to be tagging
> or some list field designated for the same purpose
> so as to establish a "virtual" outline.
> 
> Best wishes,
> 
> Tobias.
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To 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/2e0fa306-7c46-4fd4-85f0-de1f78e90c06%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/267A4686-0D6F-4A8F-B6DC-71141AC15E11%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Help: ArticleTiddlers - unit tiddler showing multiple sequenced tids

2016-08-30 Thread Mat
@Tobias

tree /ouline  - a quick test merely using 

.paragraph {margin-left:2em;}

seems to do the trick. :-)

<:-)

-- 
You received this message because you are subscribed to the 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/82b72d1d-3c89-457e-bdf7-c90807ac3739%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Hide parts of a tiddler without using a tag or global css styles

2016-08-30 Thread Mat
PMario wrote, in reply to my comment:
>
> Also, this would also make it possible to, in each tiddler, have a 
>> dedicated *style *field (just like currently there can be a *color *field) 
>> for quick styling of a tiddler without a separate stylesheet. I.e directly 
>> in the tiddler create a field with style: color:green; background:yellow;
>>
>
> Using the 

[tw] Re: Hide parts of a tiddler without using a tag or global css styles

2016-08-30 Thread Danielo Rodríguez


El martes, 30 de agosto de 2016, 15:49:42 (UTC+2), Danielo Rodríguez 
escribió:
>
>
> I just realized about the following on the filter of the body view 
> template:
>
> !field:hide-body[yes]
>
> I think it will be much easier, and powerful, and performant, and less 
> error prone to implement this to all the view templates (title and tags).
> It will easily integrate with TW philosophy.
>
> What do you think? 
>

Here is what I think, after think about it a while.
I don't like this idea because it also implies to modify the current 
tiddler, so it's like going to the starting point again. I downvote this 
option :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/091a3c53-dfc4-4578-b03d-326db0c666e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: How do I count and get numbers for the instances that call a macro within a Tiddler/Within the storyriver.

2016-08-30 Thread Jan

Hi Tobias,
To parseTreeNodes sounds a little chinese for me...but I think I understand.
If it is what Ithink it would put us all a big deal forward and could be 
the basis for many things I try to build.

- a filter  collecting Footnotes
- a way of transcluding/navigating to parts of Tiddlers
... and thus new possibilities to present information stored in TWs for 
example in Slideshows et cetera


I think we would all be very happy.

Jan


Am 30.08.2016 um 07:55 schrieb Tobias Beer:

Hi Jan,

Mat has achieved what something like that in quite brute force way
in the cherrypicker.tiddlyspot.com
. The problem ist that it has
trouble dealing with Wiki-Code-Expressions, that is to say I have
trouble doing this.
Perhaps it would be smarter to do something like that in js...


This is precisely what I meant: core _JavaScript_ functions
that enable devs to do traversals and queries whereby as a dev
I would be able to implement them in some widget and then show stuff
based on the parseTreeNodes returned by the traversal query.

Makes sense? Or Chinese. :D

Best wishes,

Tobias.
--
You received this message because you are subscribed to the Google 
Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to tiddlywiki+unsubscr...@googlegroups.com 
.
To 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/c391eed9-eff4-4aa9-8c8e-354672d41c49%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/57C59D89.70708%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] copy & pasting text AND images to Windows clipboard

2016-08-30 Thread Tony Walker
Is there a way to store text alongside images such that when viewing the 
tiddler you can copy and paste both to the Windows clipboard in a single 
operation?  To add some context I've begun using Tiddlywiki to keep a 
searchable indexed repository of RFP/ITT responses.  Having located a 
suitable tiddler it would be useful to cut and paste text & images into 
Word, Excel etc.thanks

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


[tw] How do I modify the wikitex syntax for definitions (semicolon) ?

2016-08-30 Thread 'pedruchini' via TiddlyWiki
Would it be possible to modify the semicolon markup (for definitions) so 
that it renders in normal letters insted of bold letter?

When you write this:

;term
:definition

what you get is this:

term
definition

But what I want is this:

term
definition

I would like to change the behavior of the semicolon for my whole TW, so I 
suppose I have to modify a core tiddler.

Thanks in advance.

-- 
You received this message because you are subscribed to the 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/cb85c252-6e2c-4f54-bd9b-781297f875c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Hide parts of a tiddler without using a tag or global css styles

2016-08-30 Thread Danielo Rodríguez

I just realized about the following on the filter of the body view template:

!field:hide-body[yes]

I think it will be much easier, and powerful, and performant, and less 
error prone to implement this to all the view templates (title and tags).
It will easily integrate with TW philosophy.

What do you think? 

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


Re: [tw] Use template in $:/core/ui/ViewTemplate as view template in tabs macro

2016-08-30 Thread Danielo Rodríguez

>
>
> The way that the transclude widget works is that the content of the widget 
> is used as a fallback if the transcluded content is missing.
>
> Best wishes
>
> Jeremy
>
>
I realized after re-reading the documentation. Thanks. 

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


Re: [tw] Use template in $:/core/ui/ViewTemplate as view template in tabs macro

2016-08-30 Thread Jeremy Ruston
Hi Danielo

> On 30 Aug 2016, at 12:34, Danielo Rodríguez  wrote:
> 
> To be honest, I never saw that way of using a template: transcluding the 
> template and then transcluding the tiddler inside it.

The way that the transclude widget works is that the content of the widget is 
used as a fallback if the transcluded content is missing.

Best wishes

Jeremy

-- 
You received this message because you are subscribed to the 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/82ED8E01-B136-49B7-8E5F-45887964126C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Use template in $:/core/ui/ViewTemplate as view template in tabs macro

2016-08-30 Thread Jeremy Ruston
Hi Danielo

> An alternative, and probably easier solution would be to just use a template 
> like this:
> 
> <$tiddler tiddler=<>>
> <$transclude tiddler="$:/core/ui/ViewTemplate"/>
> 
> 

That’s correct. We can’t change the tabs macro to store the current tab in the 
currentTiddler variable because it would break all the places where the tabs 
macro needs to be used without modifying the current tiddler. For example, in 
the info panel the currentTiddler is the tiddler being displayed, and we use 
the tabs macro to transclude the individual tabs. The content of those tabs 
needs to be able to operate on the currentTiddler to display the correct 
information.

Best wishes

Jeremy

> 
> 
> -- 
> You received this message because you are subscribed to the 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/9a826297-2e37-44b4-b19b-4cd54035a486%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/E7338A62-B0E8-417B-843A-E00A2846AF9B%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Use template in $:/core/ui/ViewTemplate as view template in tabs macro

2016-08-30 Thread Danielo Rodríguez
An alternative, and probably easier solution would be to just use a 
template like this:

<$tiddler tiddler=<>>
<$transclude tiddler="$:/core/ui/ViewTemplate"/>



-- 
You received this message because you are subscribed to the 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/9a826297-2e37-44b4-b19b-4cd54035a486%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Use template in $:/core/ui/ViewTemplate as view template in tabs macro

2016-08-30 Thread Danielo Rodríguez

Hello Tobias,

I have modified the tabs macro this way for easier comparison here is a 
diff https://www.diffchecker.com/tXBz8Q8L):

\define tabs-cool(tabsList,default,state:"$:/state/tab",class,template)


<$list filter="$tabsList$" variable="currentTab"><$set 
name="save-currentTiddler" value=<>><$tiddler 
tiddler=<>><$button set=<> 
setTo=<> default="$default$" selectedClass="tc-tab-selected" 
tooltip={{!!tooltip}}>
<$tiddler tiddler=<>>
<$set name="tv-wikilinks" value="no">
<$transclude tiddler=<> field="caption">
<$macrocall $name="currentTab" $type="text/plain" $output="text/plain"/>





<$list filter="$tabsList$" variable="currentTab">

<$reveal type="match" state=<> text=<> 
default="$default$">

<$tiddler tiddler=<>>
<$transclude tiddler="$template$" mode="block">








\end


Basically I have added a $tiddler widget to set the currentTiddler to the 
current tab before the template transclusion. I have also removed the 
second transclusion of the current tab. To be honest, I never saw that way 
of using a template: transcluding the template and then transcluding the 
tiddler inside 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/9708ed08-222c-4de1-bb2e-2136deaa165d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: my portable hosting/sync solution for tiddlywiki (windows)

2016-08-30 Thread J Mc
Thank you very much,

Dominik P.

J  Mc

On Monday, 29 August 2016 17:49:52 UTC+1, Dominik P. wrote:
>
> sure j mc
>
> store.php
>
>  /***
> ! User settings
> Edit these lines according to your need
> ***/
> //{{{
> $AUTHENTICATE_USER = true; // true | false
> $USERS = array( 
> 'UserName1'=>'Password1'); // set usernames and strong passwords
> $DEBUG = false; // true | false
> $CLEAN_BACKUP = true;   // during backuping a file, remove 
> overmuch backups
> $FOLD_JS = true;// if javascript files have been 
> expanded during download the fold them
> error_reporting(E_ERROR | E_WARNING | E_PARSE);
> //}}}
> /***
> !Code
> No change needed under
> ***/
> //{{{
>
> /***
>  * store.php - upload a file in this directory
>  * version :1.6.1 - 2007/08/01 - bi...@bidix.info
>  * 
>  * see : 
>  *  http://tiddlywiki.bidi.info/#UploadPlugin for usage
>  *  http://www.php.net/manual/en/features.file-upload.php 
>  *  for details on uploading files
>  * usage : 
>  *  POST  
>  * 
>  
> UploadPlugin[backupDir=;user=;password=;uploadir=;[debug=1];;]
>  *  userfile 
>  *  GET
>  *
>  * each external javascript file included by download.php is change by a 
> reference (src=...)
>  *
>  * Revision history
>  * V1.6.1 - 2007/08/01
>  * Enhancement: Add javascript folding
>  * V1.6.0 - 2007/05/17
>  * Enhancement: Add backup management
>  * V1.5.2 - 2007/02/13
>  * Enhancement: Add optional debug option in client parameters
>  * V1.5.1 - 2007/02/01
>  * Enhancement: Check value of file_uploads in php.ini. Thanks to Didier 
> Corbière
>  * V1.5.0 - 2007/01/15
>  * Correct: a bug in moving uploadFile in uploadDir thanks to 
> DaniGutiérrez for reporting
>  * Refactoring
>  * V 1.4.3 - 2006/10/17 
>  * Test if $filename.lock exists for GroupAuthoring compatibility
>  * return mtime, destfile and backupfile after the message line
>  * V 1.4.2 - 2006/10/12
>  *  add error_reporting(E_PARSE);
>  * v 1.4.1 - 2006/03/15
>  *  add chmo 0664 on the uploadedFile
>  * v 1.4 - 2006/02/23
>  *  add uploaddir option :  a path for the uploaded file relative to 
> the current directory
>  *  backupdir is a relative path
>  *  make recusively directories if necessary for backupDir and 
> uploadDir
>  * v 1.3 - 2006/02/17
>  *  presence and value of user are checked with $USERS Array (thanks 
> to PauloSoares)
>  * v 1.2 - 2006/02/12 
>   * POST  
>  * 
>  UploadPlugin[backupDir=;user=;password=;]
>  *  userfile 
> *   if $AUTHENTICATE_USER
>  *  presence and value of user and password are checked with 
>  *  $USER and $PASSWORD
>  * v 1.1 - 2005/12/23 
>  *  POST  UploadPlugin[backupDir=]  userfile 
>  * v 1.0 - 2005/12/12 
>  *  POST userfile 
>  *
>  * Copyright (c) bi...@bidix.info 2005-2007
>  ***/
> //}}}
>
> //{{{
>
> if ($_SERVER['REQUEST_METHOD'] == 'GET') {
> /*
>  * GET Request
>  */
> ?>
> 
> 
> 
>  content="text/html;charset=utf-8" >
> BidiX.info - TiddlyWiki UploadPlugin - Store 
> script
> 
> 
> 
> store.php V 1.6.1
> bi...@bidix.info
>  
>  
>  
> This page is designed to upload a  href="http://www.tiddlywiki.com/";>TiddlyWiki.
> for details see : http://TiddlyWiki.bidix.info/#HowToUpload";>
> TiddlyWiki.bidix.info/#HowToUpload.  
> 
> 
>  exit;
> }
>
> /*
>  * POST Request
>  */
>  
> // Recursive mkdir
> function mkdirs($dir) {
> if( is_null($dir) || $dir === "" ){
> return false;
> }
> if( is_dir($dir) || $dir === "/" ){
> return true;
> }
> if( mkdirs(dirname($dir)) ){
> return mkdir($dir);
> }
> return false;
> }
>
> function toExit() {
> global $DEBUG, $filename, $backupFilename, $options;
> if ($DEBUG) {
> echo ("\nHere is some debugging info : \n");
> echo("\$filename : $filename \n");
> echo("\$backupFilename : $backupFilename \n");
> print ("\$_FILES : \n");
> print_r($_FILES);
> print ("\$options : \n");
> print_r($options);
> }
> exit;
> }
>
> function ParseTWFileDate($s) {
> // parse date element
> preg_match ( '/^(\d\d\d\d)(\d\d)(\d\d)\.(\d\d)(\d\d)(\d\d)/', $s , 
> $m );
> // make a date object
> $d = mktime($m[4], $m[5], $m[6], $m[2], $m[3], $m[1]);
> // get the week number
> $w = date("W",$d);
>
> return array(
> 'year' => $m[1], 
> 'mon' => $m[2], 
> 'mday' => $m[3], 
> 'hours' => $m[4], 
> 'minutes' => $m[5], 
> 

Re: [tw] Re: Hide parts of a tiddler without using a tag or global css styles

2016-08-30 Thread Jeremy Ruston
Hi Mario

> Yes. I think it might be a possibility fix issue 958 
>  and even improve the 
> possibilities. 

What do you mean by fixing #958? That ticket merely points out that tag names 
have to be encoded for use in a stylesheet. We don’t have a plausible proposal 
for how to avoid the need for escaping, so I’m not sure what a fix would look 
like.

I’m happy with the proposal to put the tiddler title into an attribute of the 
tiddler frame, but I’d recommend `data-tiddler-title`.

Best wishes

Jeremy

> 
> But it will introduce backwards incompatibility, if we replace the existing 
> mechanism, which is definitely needed in my point of view see issue 958
> 
>  - So we would need to deprecate the existing one and introduce the new one. 
>  - After enough time eg: 2 version updates we could remove the old mechanism. 
> 
> So the way to convince Jeremy is: to prove, that it works and is actually a 
> lot better then the existing mechanism. 
> 
> --
> 
> I'm not sure, how much the tc-tagging mechanism is really used. There aren't 
> many posts in this group about problems. May be because many tags are "single 
> words", or low usage. .. I don't know. 
> 
> -m
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com 
> .
> To 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/fc82b6c8-c6b4-4ada-996b-de707d0bebc9%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/FB7128B7-25CA-405B-BDFD-FFEDCD0706D9%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Plugins files not saved

2016-08-30 Thread Olivier Tripet
well... it was as simple as that. Thank you!

On Tuesday, 30 August 2016 09:16:41 UTC+2, Danielo Rodríguez wrote:
>
> Why don't you uninstall and install tw again? 
>
> npm un -g tiddlywiky 
> npm i - g tiddlywiky 
>

-- 
You received this message because you are subscribed to the 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/a32d152e-e6b5-46af-be0a-0b1bc1d21c1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Hide parts of a tiddler without using a tag or global css styles

2016-08-30 Thread PMario
On Monday, August 29, 2016 at 5:48:34 PM UTC+2, Danielo Rodríguez wrote:
>
> That is awesome, and far better than using a class.
>

ATM I don't know, if CSS [attr] styling is considered "slow". It depends, a 
lot on browser optimizations. eg: drop-shadows are supported for a long 
time, but still can slow down page rendering on mobile devices. ...  
 

> This allows very flexible selectors as *ta-title^="Draft of '"* for 
> selecting all the tiddlers begginig with that string, including single 
> quotes. And the browsers compatibility seems to be very wide, from IE7 and 
> all the mayor browsers.
>

That's true. We would have very powerful and very specific CSS filters, 
that can be used in standard stylesheets. So no need for "hard coded" 

[tw] Re: Hide parts of a tiddler without using a tag or global css styles

2016-08-30 Thread PMario
On Tuesday, August 30, 2016 at 7:45:45 AM UTC+2, Mat wrote:
>
> Could this be used generically for any field? If one does want to style 
> using tags, or any other field? 
>

Not really. The attributes we are talking about here are DOM attributes, 
not tiddler fields. I did change the core ViewTemplate 
for
 
the test and used the "outer"  the holds the tiddler-frame. That's the 
same one, that uses the class="tc-tagged-". I just used the "attribute 
selector" CSS feature , that seems to be 
well supported by all browsers. So there should be no compatibility 
problem, if we use it.

Adding tiddler-field values to the DOM structure would be possible but I 
have no idea, what it does to TW performance. ATM I don't know, if the 
[attr] CSS feature is slow. ... So some more tests are needed.
 

> Also, this would also make it possible to, in each tiddler, have a 
> dedicated *style *field (just like currently there can be a *color *field) 
> for quick styling of a tiddler without a separate stylesheet. I.e directly 
> in the tiddler create a field with style: color:green; background:yellow;
>

Using the 

Re: [tw] Re: [TW5] Plugins files not saved

2016-08-30 Thread Danielo Rodríguez
Why don't you uninstall and install tw again? 

npm un -g tiddlywiky 
npm i - g tiddlywiky 

-- 
You received this message because you are subscribed to the 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/67cd664e-a6cb-4562-8be5-6b2f4dca7650%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Use template in $:/core/ui/ViewTemplate as view template in tabs macro

2016-08-30 Thread Danielo Rodríguez
I have been thinking about this... Maybe it's because I'm using the tabs macro 
as a component of the view template (tagged with the appropriate tag). But I'm 
not sure if this happens in a regular tiddler. Because of what you exposed, I 
think the result would be the same 

-- 
You received this message because you are subscribed to the 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/3a1a46de-723f-48bb-81b6-b50df0fc7541%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Use template in $:/core/ui/ViewTemplate as view template in tabs macro

2016-08-30 Thread Danielo Rodríguez
Thanks Tobias, 

So in order to fix this, the tabs macro should modify the current tiddler 
variable to the selected tab, right? 

-- 
You received this message because you are subscribed to the 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/e7f7c838-0293-4007-bcf1-e425e189591a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.