Re: [tw] [TW5] Tabs macro - adding a link to the tab?

2015-06-30 Thread PMario
On Tuesday, June 30, 2015 at 12:47:01 AM UTC+2, Måns wrote:

 Create a caption field in each tiddler you'll use as a tab and write the 
 link and title as a value like this:
 field: caption 
 value: Tab A ,,[[(e)|Tab A]],,


Nice idea, but imo very fragile / error prone, if you rename the tiddler, 
it's easy to forget to change the caption.
-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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/74d59432-aa6f-4f12-bdb6-9e2af9d02e70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Static files configuration

2015-06-30 Thread Suzanne McHale
Is there a way of writing a macro so dashes (-) are used rather than 
%-encoded spaces for the static site pages?

On Wednesday, July 1, 2015 at 11:54:32 AM UTC+10, Devin Weaver wrote:

 Wait this feature seems to already be there: 
 http://tiddlywiki.com/#tv-get-export-path%20Variable




-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c4ee1337-ce4a-4630-a8bb-cbb123816643%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Static files configuration

2015-06-30 Thread Devin Weaver
Yes, try adding this as a tiddler:

/*\
title: $:/core/macros/tv-get-export-path
type: application/javascript
module-type: macro

Customize the static output.
\*/
(function() {

  /*jshint node: true, browser: true */
  /*global $tw: false */
  use strict;

  exports.name = tv-get-export-path;

  exports.params = [{name: title}];

  exports.run = function(title) {
return encodeURIComponent(title.replace(/\s/g, -));
  };

})();

On Tuesday, June 30, 2015 at 10:52:57 PM UTC-4, Suzanne McHale wrote:

 Is there a way of writing a macro so dashes (-) are used rather than 
 %-encoded spaces for the static site pages?


-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7a06af2f-3f66-4125-bb84-d95ece74ebd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: New label for recently modified tiddlers

2015-06-30 Thread Leo Staley


On Tuesday, June 30, 2015 at 3:50:10 PM UTC-7, Jed Carty wrote:

 I have a few javascript date macros here 
 http://ooktech.com/jed/ExampleWikis/DateMacros/, but I have been 
 ignoring them so there isn't much you can do yet.


If you were to finish your date and calendar plugins/macros, Man, I would 
be S happy.  

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2caef9a8-737a-4d04-aaf7-f560f2ddba18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Static files configuration

2015-06-30 Thread Devin Weaver
The proof is in the pudding. Huzah!

/*\
title: $:/core/macros/tv-get-export-path
type: application/javascript
module-type: macro

Customize the static output.
\*/
(function() {

  /*jshint node: true, browser: true, sub: true */
  /*global $tw: false */
  use strict;

  exports.name = tv-get-export-path;

  exports.params = [{name: title}];

  exports.run = function(title) {
// A falsey return value means use the default path.
return $tw.wiki.getTiddler(title).fields[_static_path];
  };

})();

On Tuesday, June 30, 2015 at 9:54:32 PM UTC-4, Devin Weaver wrote:

 Wait this feature seems to already be there: 
 http://tiddlywiki.com/#tv-get-export-path%20Variable

 On Tuesday, June 30, 2015 at 5:47:30 PM UTC-4, Devin Weaver wrote:

 So here is my use case and I'd like to propose a feature (obviously I 
 would implement and send a pull request).

 I have a static site blog (http://tritarget.org/) And to be honest the 
 build is way to complicated for my liking. Jekyl kept fighting me and using 
 metelsmith now is like a 10 minute deploy step. It's silly. None of which 
 takes in to account JavaScript. I'm a JS developer by day. I love 
 frameworks like Ember.JS and such. But these frameworks are not so useful 
 as a blog because search engines can't crawl it well. Then I saw hoe 
 tiddlywiki.com does it! Perfect a fully fledged (and I'll admit, 
 beautiful) single page app that does everything I want including writing 
 out tiddlers to static files. Perfect!

 The gotcha: the current site already has several back links to it. 
 Changing the names and file structure of those static HTML files would 
 trash the current search results and break a lot of other people's links. 
 So what I want to to recreate the site in TiddlyWiki and have my build 
 process also render the static files but use a field to determine the 
 outputs file/directory names. This way new content can easily be managed 
 and created while old content can keep it's legacy paths.

 I'd propose to add a feature to look at a tiddlers fields for something 
 like _static_path and use that (kinda like how external images use 
 _cononical_url).

 I'd like to work on this and would be happy to send a PR. Is it worth it 
 for the community?

 On Sunday, June 21, 2015 at 9:28:40 PM UTC-4, Devin Weaver wrote:

 The documentation is a little sparse on this. When attempting to render 
 static files 
 http://tiddlywiki.com/#Generating%20Static%20Sites%20with%20TiddlyWiki 
 is there a way to choose the output path/filename or is is based on the 
 tiddlers directory structure or the tiddler titles?



-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ef6096da-993a-45ee-9eab-51445be7d5a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Static files configuration

2015-06-30 Thread Devin Weaver
Wait this feature seems to already be there: 
http://tiddlywiki.com/#tv-get-export-path%20Variable

On Tuesday, June 30, 2015 at 5:47:30 PM UTC-4, Devin Weaver wrote:

 So here is my use case and I'd like to propose a feature (obviously I 
 would implement and send a pull request).

 I have a static site blog (http://tritarget.org/) And to be honest the 
 build is way to complicated for my liking. Jekyl kept fighting me and using 
 metelsmith now is like a 10 minute deploy step. It's silly. None of which 
 takes in to account JavaScript. I'm a JS developer by day. I love 
 frameworks like Ember.JS and such. But these frameworks are not so useful 
 as a blog because search engines can't crawl it well. Then I saw hoe 
 tiddlywiki.com does it! Perfect a fully fledged (and I'll admit, 
 beautiful) single page app that does everything I want including writing 
 out tiddlers to static files. Perfect!

 The gotcha: the current site already has several back links to it. 
 Changing the names and file structure of those static HTML files would 
 trash the current search results and break a lot of other people's links. 
 So what I want to to recreate the site in TiddlyWiki and have my build 
 process also render the static files but use a field to determine the 
 outputs file/directory names. This way new content can easily be managed 
 and created while old content can keep it's legacy paths.

 I'd propose to add a feature to look at a tiddlers fields for something 
 like _static_path and use that (kinda like how external images use 
 _cononical_url).

 I'd like to work on this and would be happy to send a PR. Is it worth it 
 for the community?

 On Sunday, June 21, 2015 at 9:28:40 PM UTC-4, Devin Weaver wrote:

 The documentation is a little sparse on this. When attempting to render 
 static files 
 http://tiddlywiki.com/#Generating%20Static%20Sites%20with%20TiddlyWiki 
 is there a way to choose the output path/filename or is is based on the 
 tiddlers directory structure or the tiddler titles?



-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ac04d7fe-5f89-497e-b717-9dd051713e5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Katex Updates

2015-06-30 Thread Bob Flandard
I would also like to know the answer to these questions (particularly the 
how to update the Katex plugin). I have very limited JavaScript knowledge 
so hopefully the answer doesn't need too much of it.

Thanks, Bob

On Sunday, 28 June 2015 21:34:25 UTC+1, paraklet wrote:

 How can I see which Version of Katex does Tiddly use? And how can I update 
 the Katex Plugin to the current version of Katex.
 E.g. in the version 0.4.0 (see https://github.com/Khan/KaTeX/releases) 
 there's already some matrix-support, which I don't want to miss :)


-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/17b5f2f8-a2d5-4afb-a425-10481c35496d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Plugins SocialCalc + Three.js

2015-06-30 Thread Jeremy Ruston
Hi Danielo

I've updated the docs a little to include the terms spreadsheet and 3D:

https://github.com/Jermolene/TiddlyWiki5/commit/8438be525642a7f4c31c6d28694232772c4343f0

Best wishes

Jeremy


On Mon, Jun 29, 2015 at 12:36 PM, Danielo Rodríguez rdani...@gmail.com
wrote:

 Hello,

 This should have some more keywords and should be added to tiddlywiki.com
 plugins section. It took me a lot of time to find it again, even knowing
 that it does exist.
 In fact, I recommend to create a demo page for each plugin.

 This can be really useful for many people, and it is very well hidden.
 Kind 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 http://groups.google.com/group/tiddlywiki.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/tiddlywiki/0c585e30-90eb-4276-96fd-1b1853b92d2a%40googlegroups.com
 https://groups.google.com/d/msgid/tiddlywiki/0c585e30-90eb-4276-96fd-1b1853b92d2a%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJbeYamYWRpq9eS25W9UfSgz-3%3DZ_%3D5xDfA%2BedH5tQK%2B5w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Help with using text buttons instead of icon buttons.

2015-06-30 Thread Jeremy Ruston
Hi Leo

For 5.1.9 I've made a small tweak to make the size of the button text more
reasonable:

https://github.com/Jermolene/TiddlyWiki5/commit/e2d4e41e961d2a761abaee5822e1064bc7bd9928

You can see a preview at http://tiddlywiki.com/prerelease

I'll fix the hover effect in a subsequent version.

Best wishes

Jeremy.

On Fri, Jun 26, 2015 at 9:29 PM, Birthe C strikkeglad...@googlemail.com
wrote:

 Hi Leo,

 I would really like to see your example, do you have one on Tiddlyspot?

 I did try myself. It is not what you want, but maybe you can change that
 yourself. http://test-button.tiddlyspot.com/


 Birthe



 Den fredag den 26. juni 2015 kl. 08.08.37 UTC+2 skrev Leo Staley:

 I *really *don't like using icons for controls (in any app, really),
 either page or tiddler controls, and I would rather have buttons with text
 instead for nearly everything.

 Unfortunately, currently, changing options so as to to remove icons and
 use text instead introduces a number of *serious *visual problems

 1. The buttons' font size are WAY too big, and take up way too much space
 (especially page controls),
 2. They don't don't look much like buttons should, and
 3. They have no reaction on mouse hover.

 Personally, as my own example, I'd like to have the following css for the
 text of control buttons (page and tiddler) be close to something like this:

 Normal
   font-size: 16px;
   font-weight: normal;
   border: 1px solid
   padding: 0 4px 0 4px;

 On hover
   font-size: 16px;
   font-weight: bold;
   border: 2px solid
   padding: 0 4px 0 4px;




 In a most haphazard way, I figured out a few steps for how to make these
 apply to the toolbar buttons and the page control buttons, but I can't
 figure out 1) how to make them change on hover like with icons, and 2) I
 don't know how to make it change the text displayed for a button, if, for
 example, I wanted to shorten control panel to settings or save
 changes to save.

 I'd like to use em instead of px, but can't get it to work for the
 tiddler controls in view mode if i do. Unfortunately, doing it with px
 makes the more dropdown text go super tiny. arg.

 Anyway, thanks for your 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 http://groups.google.com/group/tiddlywiki.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/tiddlywiki/95e1b094-59fe-439b-8bef-d43828a58a66%40googlegroups.com
 https://groups.google.com/d/msgid/tiddlywiki/95e1b094-59fe-439b-8bef-d43828a58a66%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJaiABHGZcqXEP6gpC8DZc7YLpaPLU-nh2%2Bx%2Bbf-WJy3_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] New label for recently modified tiddlers

2015-06-30 Thread Rustem
I'd like to list some tiddlers alphabetically, and have tiddlers created, 
say, in the last 2 weeks, labeled as New. Has someone solved this already?

Thanks
--R

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/67fb1d56-d215-4943-835e-2317c8f0f3ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] How do I pass a value returned by $count to a macro?

2015-06-30 Thread 'c pa' via TiddlyWiki
I am unable to pass a value to a macro when that value has been generated 
by $count. 

A demo of the problem: http://cpashow.tiddlyspot.com/#What_s_wrong_with_this

Here's the code:
\define getCountOfItemsInList(tiddlerName, fieldName)
$count filter=[list[$tiddlerName$!!$fieldName$]] /
\end
\define generateSelectWithNumberOptions(xnum)
br/''executing generateSelectWithNumberOptions(xnum=$xnum$)''
$select
$list filter=1 2 3 4 $xnum$
option value=currentTiddler 
currentTiddler
/option
/$list
/$select
\end
Can I generate a number using a macro?
getCountOfItemsInList What's wrong with this? test
(Yes)br/
Can I generate a select containing a list of options by passing a 
number?
$macrocall $name=generateSelectWithNumberOptions 
xnum=6 
/
(Yes)br/
Can I generate a select containing a list of options by passing a value 
from a macro?
$macrocall $name=generateSelectWithNumberOptions 
xnum=getCountOfItemsInList What's wrong with this? 
test 
/
(No)br/

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/528080b3-19f7-4b09-9f5f-c1584bbce133%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Katex Updates

2015-06-30 Thread Jeremy Ruston
The current 5.1.8 release ships with KaTeX version 0.2.0. I've just
upgraded to KaTeX 0.4.3 for TiddlyWiki 5.1.9 which is available for preview:

http://tiddlywiki.com/prerelease/plugins/tiddlywiki/katex/

Please don't start using the prerelease version for anything important!
It's just for evaluation until it is released. We've had instances of users
losing data as a result of ignoring these warnings...

I've also added the KaTeX version number to the readme for the KaTeX
plugin. In 5.1.9, go to Control Panel, locate the KaTeX plugin in the
plugin list, and click the triangle to reveal the readme.

Best wishes

Jeremy.


On Tue, Jun 30, 2015 at 3:30 PM, Bob Flandard bfland...@gmail.com wrote:

 I would also like to know the answer to these questions (particularly the
 how to update the Katex plugin). I have very limited JavaScript knowledge
 so hopefully the answer doesn't need too much of it.

 Thanks, Bob

 On Sunday, 28 June 2015 21:34:25 UTC+1, paraklet wrote:

 How can I see which Version of Katex does Tiddly use? And how can I
 update the Katex Plugin to the current version of Katex.
 E.g. in the version 0.4.0 (see https://github.com/Khan/KaTeX/releases)
 there's already some matrix-support, which I don't want to miss :)

  --
 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 http://groups.google.com/group/tiddlywiki.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/tiddlywiki/17b5f2f8-a2d5-4afb-a425-10481c35496d%40googlegroups.com
 https://groups.google.com/d/msgid/tiddlywiki/17b5f2f8-a2d5-4afb-a425-10481c35496d%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

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


[tw] Re: How do I pass a value returned by $count to a macro?

2015-06-30 Thread 'c pa' via TiddlyWiki
Excellent. Here's the code for that fix:

And here's a demo: cpashow.tiddlyspot.com/#How to pass a filter count to a 
macro:[[How to pass a filter count to a macro]] with a link to the code you 
can drag into your wiki

/*\
creator: _cpa
title: $:/_cpa/macros/filterCount.js
type: application/javascript
module-type: macro
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
use strict;
/*
Information about this macro
Returns the count of rows returned by a filter.
*/
exports.name = filterCount;
exports.params = [
{ name: filter }
];
/*
Run the macro
*/
exports.run = function(filter) {
if(filter) {
return $tw.wiki.filterTiddlers(filter).length;
} else {
return 0;
}
}
})();


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


[tw] Re: How do I pass a value returned by $count to a macro?

2015-06-30 Thread BJ
Hi c pa,
when you call a macro inside a widget (to return a parameter) it is not 
wikified, it only does string substitution of the parameter in to the 
content of the macro - this has led me to waste a lot of time as it is not 
what you would expect. I would write some javascript macro for this.

cheers

BJ

On Tuesday, June 30, 2015 at 5:59:14 PM UTC+1, c pa wrote:

 I am unable to pass a value to a macro when that value has been generated 
 by $count. 

 A demo of the problem: 
 http://cpashow.tiddlyspot.com/#What_s_wrong_with_this

 Here's the code:
 \define getCountOfItemsInList(tiddlerName, fieldName)
 $count filter=[list[$tiddlerName$!!$fieldName$]] /
 \end
 \define generateSelectWithNumberOptions(xnum)
 br/''executing generateSelectWithNumberOptions(xnum=$xnum$)''
 $select
 $list filter=1 2 3 4 $xnum$
 option value=currentTiddler 
 currentTiddler
 /option
 /$list
 /$select
 \end
 Can I generate a number using a macro that calls lt;$countgt;?
 getCountOfItemsInList What_s_wrong_with_this test
 (Yes)br/
 Can I generate a select containing a list of options by passing a 
 number?
 $macrocall $name=generateSelectWithNumberOptions 
 xnum=6 
 /
 (Yes)br/
 Can I generate a select containing a list of options by passing a 
 value from a macro that calls lt;$countgt;?
 $macrocall $name=generateSelectWithNumberOptions 
 xnum=getCountOfItemsInList What_s_wrong_with_this 
 test 
 /
 (No)br/



-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b1d14f0e-bc42-41d4-bb33-2c1681339b18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Tabs macro - adding a link to the tab?

2015-06-30 Thread Ton Gerner
Hi Måns,

Works like a charm with Chrome, but doesn't work with Firefox.

Cheers,

Ton

On Tuesday, June 30, 2015 at 12:47:01 AM UTC+2, Måns wrote:

 Hi Matthew

 Create a caption field in each tiddler you'll use as a tab and write the 
 link and title as a value like this:
 field: caption 
 value: Tab A ,,[[(e)|Tab A]],,

 Cheers Måns Mårtensson




 2015-06-29 6:51 GMT+02:00 Matthew Petty matthew...@gmail.com 
 javascript::

 Hi all,
 I'm using the TabsMacro, and I would like to add a link to the tiddler 
 next to the title of the tiddler in each tab.
 So it would show:

_ _ _
 ___| Tab A (e) |_| Tab B (e) |_| Tab C (e) |___


 where (e) is a little subscript link that would open the tiddler 
 separately. I would like this because I would like to be able to easily 
 open the tiddlers in each tab for editing, instead of having to search for 
 them.

 I made a copy of the Tabs macro called tabs_link, and tagged it so that 
 it was a macro. I did this because the original macro is used in the 
 sidebar, and I don't want the links in the tabs in there.

 I found where I would put the link in the macro, but I can't figure out 
 the syntax.

 Alternatively, is there a way to add a link to the current tiddler to the 
 text of the tiddler? What syntax would that be? I tried using the field, 
 but I couldn't get it to work. If I could automatically include a link to 
 the current tiddler in the text of the current tiddler, I wouldn't need the 
 link in the tab.

 This sounds strange, but when you use tabs or transclusion, having a link 
 to the tiddler included in the tiddler makes editing easier.

 Regards,
 Matthew Petty
 Abu Dhabi

 -- 
 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 javascript:.
 To post to this group, send email to tiddl...@googlegroups.com 
 javascript:.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/tiddlywiki/de81bee1-f1f8-47b2-8648-72407a7142cf%40googlegroups.com
  
 https://groups.google.com/d/msgid/tiddlywiki/de81bee1-f1f8-47b2-8648-72407a7142cf%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c3dce47f-8c40-4050-acc7-f99035975cb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] is it possible to make href= link in TOC menu?

2015-06-30 Thread Siniy-Kit
thank you ! I make caption field with  a href=http://www.google.com/ 
http://www.google.com/;Google/a 
http://www.google.com/url?q=http%3A%2F%2Ftiddlywiki.com%2Fsa=Dsntz=1usg=AFQjCNGsrUiMeCYU01Sr_otzLcPFFUgyOA
 
http://www.google.com/url?q=http%3A%2F%2Ftiddlywiki.com%2Fsa=Dsntz=1usg=AFQjCNGsrUiMeCYU01Sr_otzLcPFFUgyOA
Google 
http://www.google.com/url?q=http%3A%2F%2Ftiddlywiki.com%2Fsa=Dsntz=1usg=AFQjCNGsrUiMeCYU01Sr_otzLcPFFUgyOA
/ 
http://www.google.com/url?q=http%3A%2F%2Ftiddlywiki.com%2Fsa=Dsntz=1usg=AFQjCNGsrUiMeCYU01Sr_otzLcPFFUgyOA
a 
http://www.google.com/url?q=http%3A%2F%2Ftiddlywiki.com%2Fsa=Dsntz=1usg=AFQjCNGsrUiMeCYU01Sr_otzLcPFFUgyOA
 
but if i click this link it goes to my old tiddler, not to google ...

воскресенье, 28 июня 2015 г., 17:31:00 UTC+3 пользователь Jed Carty написал:

 Put the html in the caption field of a tiddler listed in the toc to get 
 the link displayed. In your example you missed quotes around the url, it 
 took me a few minutes to notice that.

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


Re: [tw] Re: Katex Updates

2015-06-30 Thread Bob Flandard
Many thanks Jeremy,

Bob

On Tuesday, 30 June 2015 17:46:32 UTC+1, Jeremy Ruston wrote:

 The current 5.1.8 release ships with KaTeX version 0.2.0. I've just 
 upgraded to KaTeX 0.4.3 for TiddlyWiki 5.1.9 which is available for preview:

 http://tiddlywiki.com/prerelease/plugins/tiddlywiki/katex/

 Please don't start using the prerelease version for anything important! 
 It's just for evaluation until it is released. We've had instances of users 
 losing data as a result of ignoring these warnings...

 I've also added the KaTeX version number to the readme for the KaTeX 
 plugin. In 5.1.9, go to Control Panel, locate the KaTeX plugin in the 
 plugin list, and click the triangle to reveal the readme.

 Best wishes

 Jeremy.


 On Tue, Jun 30, 2015 at 3:30 PM, Bob Flandard bfla...@gmail.com 
 javascript: wrote:

 I would also like to know the answer to these questions (particularly the 
 how to update the Katex plugin). I have very limited JavaScript knowledge 
 so hopefully the answer doesn't need too much of it.

 Thanks, Bob

 On Sunday, 28 June 2015 21:34:25 UTC+1, paraklet wrote:

 How can I see which Version of Katex does Tiddly use? And how can I 
 update the Katex Plugin to the current version of Katex.
 E.g. in the version 0.4.0 (see https://github.com/Khan/KaTeX/releases) 
 there's already some matrix-support, which I don't want to miss :)

  -- 
 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 javascript:.
 To post to this group, send email to tiddl...@googlegroups.com 
 javascript:.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/tiddlywiki/17b5f2f8-a2d5-4afb-a425-10481c35496d%40googlegroups.com
  
 https://groups.google.com/d/msgid/tiddlywiki/17b5f2f8-a2d5-4afb-a425-10481c35496d%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




 -- 
 Jeremy Ruston
 mailto:jeremy...@gmail.com javascript:
  

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


[tw] Re: New label for recently modified tiddlers

2015-06-30 Thread 'c pa' via TiddlyWiki
Rustem,

The Recent tab on your sidebar solves this with something like the 
following code but this shows just the 50 (or other number) most recently 
modified: 

!!New:
ul
$list filter=[!is[system]has[modified]!sort[modified]limit[50]]
li{{!!title}}/li
/$list
/ul

I haven't yet had to build a macro to do date related math but I will need 
to fairly soon. If noone else has one I'll post it here when its built

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d82c0832-a3d0-4058-adee-01affd910120%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: query based on tiddler name

2015-06-30 Thread Jed Carty
If I understand your questions correctly, in this case you use single curly 
braces in place of the square braces like this:

$list filter='[number{!!number}]' /

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/30d41341-45d8-43b1-a906-d4b6e6c9aa37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] query based on tiddler name

2015-06-30 Thread stevesuny
If I have a tiddler named:

One goat playing in the field

which has field values of
number=one
verb=playing
phrase=in the field

how could I develop a filter based on the title of the tiddler:

I guessed this:

$list filter=[number[{{!!number}}]] /


I can get this to work:
$list filter=[number[One]] /

but, obviously, that is of limited value...

Thanks!

//steve.

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/72d8fa7b-73e2-4f66-8715-1bdd3f9ec6bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: query based on tiddler name

2015-06-30 Thread stevesuny
Yes, that's it...Thanks! //steve.

On Tuesday, June 30, 2015 at 5:45:57 PM UTC-4, Jed Carty wrote:

 If I understand your questions correctly, in this case you use single 
 curly braces in place of the square braces like this:

 $list filter='[number{!!number}]' /


-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7daa57b1-f588-4b64-8e8b-34bd5bf4007c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: New label for recently modified tiddlers

2015-06-30 Thread Rustem


 The Recent tab on your sidebar ... shows just the 50 (or other number) 
 most recently modified: 


Thanks, I'm aware of that, not what I want. 

I haven't yet had to build a macro to do date related math but I will need 
 to fairly soon. If noone else has one I'll post it here when its built


I would be very interested to see how it can be implemented using only TW5 
syntax. I had to write a new filter to solve this, have a look at GitHub 
https://github.com/nameanyone/TiddlyWiki5/blob/master/core/modules/filters/recent.js
 
if interested. Will submit once I document 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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c883387c-976e-43d4-9357-4a7bf6e826a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Static files configuration

2015-06-30 Thread Devin Weaver
So here is my use case and I'd like to propose a feature (obviously I would 
implement and send a pull request).

I have a static site blog (http://tritarget.org/) And to be honest the 
build is way to complicated for my liking. Jekyl kept fighting me and using 
metelsmith now is like a 10 minute deploy step. It's silly. None of which 
takes in to account JavaScript. I'm a JS developer by day. I love 
frameworks like Ember.JS and such. But these frameworks are not so useful 
as a blog because search engines can't crawl it well. Then I saw hoe 
tiddlywiki.com does it! Perfect a fully fledged (and I'll admit, beautiful) 
single page app that does everything I want including writing out tiddlers 
to static files. Perfect!

The gotcha: the current site already has several back links to it. Changing 
the names and file structure of those static HTML files would trash the 
current search results and break a lot of other people's links. So what I 
want to to recreate the site in TiddlyWiki and have my build process also 
render the static files but use a field to determine the outputs 
file/directory names. This way new content can easily be managed and 
created while old content can keep it's legacy paths.

I'd propose to add a feature to look at a tiddlers fields for something 
like _static_path and use that (kinda like how external images use 
_cononical_url).

I'd like to work on this and would be happy to send a PR. Is it worth it 
for the community?

On Sunday, June 21, 2015 at 9:28:40 PM UTC-4, Devin Weaver wrote:

 The documentation is a little sparse on this. When attempting to render 
 static files 
 http://tiddlywiki.com/#Generating%20Static%20Sites%20with%20TiddlyWiki 
 is there a way to choose the output path/filename or is is based on the 
 tiddlers directory structure or the tiddler titles?


-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f881e857-3b07-4cc8-9e88-4141b407c84c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: New label for recently modified tiddlers

2015-06-30 Thread Jed Carty
I have a few javascript date macros here 
http://ooktech.com/jed/ExampleWikis/DateMacros/, but I have been ignoring 
them so there isn't much you can do yet.

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e34e27f7-0d97-48f1-b149-d0fd287a246d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: New label for recently modified tiddlers

2015-06-30 Thread 'c pa' via TiddlyWiki
 I had to write a new filter to solve this, have a look at GitHub 
https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fnameanyone%2FTiddlyWiki5%2Fblob%2Fmaster%2Fcore%2Fmodules%2Ffilters%2Frecent.jssa=Dsntz=1usg=AFQjCNHsjQCls-1HamuImeYWL1e-nhkG6Q
 
if interested. Will submit once I document it. 
Hey that's cool. A good solution.
 I would be very interested to see how it can be implemented using only 
TW5 syntax
Unfortunately core functionality doesn't do math so you'ld have to 
implement it with some complex table comparisons and lookups. So the 
cleanest solution is one of the filter you made, a math macro, or date math 
macro

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/46127a25-6348-4815-aefb-ebd12af52672%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.