[tw] Re: [TW5 beta 16]Button Code no longer working

2014-09-08 Thread Stephan Hradek
Thanks for showing me how to fix my code. I just needed that.

I really do have to update my site... If only I could get the 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.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Search in field contents?

2014-09-08 Thread Stephan Hradek
Create this tiddler:

\define searchInField(field, for)

$list filter=[!is[shadow]!is[system]field:$field$/$for$/]

$link$view field=title//$link

/$list

\end

$list filter=[!is[shadow]!is[system]fields[]] variable=fieldname

Searching in field: fieldname

$macrocall $name=searchInField field=fieldname for={{$:/temp/search
}}/

/$list


And type your search text in the standard search field.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Search in field contents?

2014-09-08 Thread Stephan Hradek
Small enhancement:

\define searchInField(field, for)

$list filter=[!is[shadow]!is[system]field:$field$/$for$/]

$link$view field=title//$link

/$list

\end

$reveal state=$:/temp/search type=nomatch text=
$list filter=[!is[shadow]!is[system]fields[]] variable=fieldname

Searching in field: fieldname

$macrocall $name=searchInField field=fieldname 
for={{$:/temp/search}}/

/$list
/$reveal


This will hide the results when no search text was entered.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Eucaly's Tiddly World @ tiddlyspot

2014-09-08 Thread Danielo Rodríguez
Wow, lot of work here.

But the documentation is a bit cryptic if you don't know what are you 
talking about. 
It looks very old school (AKA tiddlywiki classic), that could be good for 
those who miss it so much.

I feel the regular expression filter very useful.
Thanks for sharing.

El lunes, 8 de septiembre de 2014 03:33:16 UTC+2, Eucaly J escribió:

 Hi all,

 I collect my tw5 creations on-line as http://eucaly-tw5.tiddlyspot.com/

 Currently, there are :

- *FlexWidth* - Flexibly tweak sidebar width for TiddlyWiki 5
** Inspired by TW5 tristate Sidebar 
http://tw5tristate.tiddlyspot.com/


- *MatchFilter* - returns matching text instead of a list of the 
tiddlers from FieldFilter
** more information at TiddlyWikiDev Forum 
https://groups.google.com/forum/#%21topic/tiddlywikidev/4ciJxJVAsY8.


- *PopupTagger* - TagBar / TagTable with popup list of tags
** Inspired by MonkeyTaggerMacro 
http://tiddlywiki.squize.org/#MonkeyTaggerMacro (TiddlyWiki classic)

 Thanks for,

- Jeremy Ruston and the core team of TiddlyWiki 5
- ThirdFlow plugin 
https://groups.google.com/forum/#!topic/tiddlywikidev/nEDeSwqHoW0 
provides a handy process for develop, release, and version control
- All those who inspire me during journey

 Welcome for any comments and suggestion, please leave a message in this 
 thread.

 Hope you like it.
 Eucaly J.


-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Stylesheet changes not working in 5.0.16

2014-09-08 Thread Lorenzo
Hi Mal ad Jeremy,

I think I faced the same problem yesterday.

The following CSS changes the color of the button of the View Tollbar on 
every tiddler:


```

html body.tc-body .tc-image-info-button {stroke: white;fill:#2299ee;}
html body.tc-body .tc-image-edit-button {stroke: white;fill:#9922ee;}
html body.tc-body .tc-image-close-button {stroke: white;fill:#99ee22;}

```


Changing the order of the declarations I realized that only the first 
directive does not work.

So a temporary solution could be to duplicate the first declaration:

```

html body.tc-body .tc-image-info-button {stroke: white;fill:#2299ee;}

html body.tc-body .tc-image-info-button {stroke: white;fill:#2299ee;}
html body.tc-body .tc-image-edit-button {stroke: white;fill:#9922ee;}
html body.tc-body .tc-image-close-button {stroke: white;fill:#99ee22;}

```


or to add any other declaration in the first position that will be ignored.

Adding new line o comments in first position does not work for me.


I hope this could help has a temporary workaround and to find a solution! :)




Lorenzo

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Stylesheet changes not working in 5.0.16

2014-09-08 Thread Lorenzo
... oh, I forgot to tell you that I tried only on Firefox 32 for now, sorry!



Lorenzo

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Stylesheet changes not working in 5.0.16

2014-09-08 Thread Jeremy Ruston
Hi Lorenzo

Thanks for the report. The problem you describe is a subtle bug, fixed for
5.0.17 here:

https://github.com/Jermolene/TiddlyWiki5/commit/756e05504b33c387da7d3f81446a18f9a8fefe49

5.0.17 will be released later this week,

Best wishes

Jeremy.


On Mon, Sep 8, 2014 at 8:18 AM, Lorenzo lorenzo.tur...@gmail.com wrote:

 ... oh, I forgot to tell you that I tried only on Firefox 32 for now,
 sorry!



 Lorenzo




-- 
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.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Using input forms

2014-09-08 Thread James Mars
Hi Mario,

Thanks for the help. I will study Stephan's Contacts DB and have a look at 
the core tiddler you mentioned. If am still confused, I'll post further 
details of what am trying to do.

Thanks.

James

On Sunday, 7 September 2014 18:49:54 UTC+10, PMario wrote:

 Hi James,

 TL;DR
 I think, it would be easier, if you describe your usecase a bit closer.
 So may be there are some existing experiments already, that you can use. 

 ---

 TiddlyWiki edit mode, is an imput form. 
 It manipulates the Draft of 'xyz'  tiddler.
 When you click done, it takes the content of all input fields and creates 
 a ew tiddler eg: xyz
 If you click the download button like used on tiddlywiki.com it saves a 
 file, that contains your newly created tiddlers.
 that's it.

 If you open the Advanced search panel at tiddlywiki.com, select the 
 shadow tab and
 use the searchstring edittemplate (without quotes)
 you will get a list of shadow tiddlers.

 Those, that start with $:/core/ui/EditTemplate  are the interesting ones.
 Start your investigation with $:/core/ui/EditTemplate. ,,, 

 But be warned: 
  * TW's UI is built using the core widgets. 
  * Every widget has its own docs tiddler, but if you want to know, how 
 they work togeter, you'll need to analyse  the TW UI code
  * The widgets are very powerful, but are not meant to be used by novice 
 users. 

 So I think, it would be easier, if you describe your usecase a bit closer.
 So may be there are some existing experiments already, that you can use. 

 eg: Creating a simple Contacts DB .. from Stephan Hradeck at: 
 http://tw5magick.tiddlyspot.com/

 Despite the word simple in the tiddler title, the used mechanisms are 
 very sophisticated! 
 ... his site uses TW 5.0.7-beta, which is outdated. So there may be some 
 incompatibilities with the latest released beta! 
 But it is a good source, to see, what can be done and how (if you read the 
 tiddlers source code:).

 hope that helps
 mario


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Stylesheet changes not working in 5.0.16

2014-09-08 Thread Lorenzo
Thanks to you, Jeremy!



Lorenzo




On Monday, September 8, 2014 9:46:38 AM UTC+2, Jeremy Ruston wrote:

 Hi Lorenzo

 Thanks for the report. The problem you describe is a subtle bug, fixed for 
 5.0.17 here:


 https://github.com/Jermolene/TiddlyWiki5/commit/756e05504b33c387da7d3f81446a18f9a8fefe49

 5.0.17 will be released later this week,

 Best wishes

 Jeremy.


 On Mon, Sep 8, 2014 at 8:18 AM, Lorenzo lorenzo...@gmail.com 
 javascript: wrote:

 ... oh, I forgot to tell you that I tried only on Firefox 32 for now, 
 sorry!



 Lorenzo




 -- 
 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.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Announcing TiddlyWiki Classic version 2.9.0 BETA1

2014-09-08 Thread Yakov
Hello Eric,

воскресенье, 31 августа 2014 г., 12:05:09 UTC+4 пользователь Eric Shulman 
написал:

 On Friday, August 29, 2014 11:55:40 AM UTC-7, Yakov wrote:

 159: fixed, works; is it really necessary to surrond all the values with 
 %22...%22? Even one-word, like true/false or numbers, like 
 txtMaxEditRows:30? (it would ease migrating)
 As far as I can see (from [1-3]), that would work as expected in both 
 versions of cookie-handling.


 Although many option values are single words, numbers, or true/false, 
 option values *can* contain whitespace, so at least some of the time, there 
 is a need for the surrounding quotes.  However, a valid browser cookie 
 should not contain any quotes, and cookies containing quotes are rejected 
 by some (but not all) browsers. This is the basis for issue #159, which 
 reported that Opera did not save the TiddlyWiki option values between 
 sessions.  Although I have not confirmed, I think that this error was also 
 responsible for preventing options from being saved in other browsers as 
 well.

 TWClassic uses String.encodeHashMap() [1] to construct a space-separated 
 string of name/value pairs, where each option name is followed by a colon 
 (:), and the option value is *always* enclosed in double-quotes, like this:
 name1:value1 name2:value2 name3:value3

 The fix for #159 did not change the way the individual option values are 
 encoded/decoded from the cookie text.  Rather, it simply converts the 
 *existing* use of quotes to %22 to avoid being rejected by the browser.  Of 
 course, since most option values are single-words, numbers, or true/false, 
 we could reduce -- but not completely eliminate -- the use of quotes in the 
 encoded cookie text, by changing String.encodeHashMap() to check for 
 whitespace in the option values, and only adding the surrounding quotes 
 when actually needed.  The resulting cookie text would still need to have 
 any quotes encoded as %22, so those option values could still be affected 
 by the version skew issue that #whatever reported above.

 So.. I now have two possible improvements for the 159 fix:

 1) maintain backward-compatibility by adding a chkEncodeCookieQuotes 
 option (default to false) to completely bypass the %22 encoding/decoding. 
  This will allow continued use of a mixed version environment (i.e., 
 TW2.8.1 or earlier running along side TW2.9.0) for browsers that DO accept 
 cookie values containing quotes.  Of course, because the cookie text would 
 then contain quotes, browsers that DONT accept quotes will reject any 
 changes to default option settings; thus, to enable the %22 encoding for 
 those browsers, the TW author cannot simply set an option checkbox (as 
 that setting would not be saved).  Instead, they would need to explicitly 
 add a systemConfig tiddler containing:
 config.options.chkEncodeCookieQuotes=true;
  

2) reduce (but not eliminate) the use of quotes in cookie text by checking 
 for whitespace in String.encodeHashMap().  This limits the impact of the 
 %22 encoding, so that MOST option values would be backward compatible 
 unless they contain whitespace.

 My only concern about solution (2) is that String.encodeHashMap() is not 
 only used to encode the option cookie text, but is also used in the TWCore 
 for some handling of custom fields.  A quick review of the code suggests 
 that it would be safe, but I prefer to keep changes as isolated as 
 possible to minimize their any unexpected impact on existing TiddlyWiki 
 uses.

 I think it would be ok to add a new argument to String.encodeHashMap:
String.encodeHashMap = function(hashmap,dontForceQuots)
and in those places where it was used previously, no changes will be 
applied unless the new argument is used. If dontForceQuots is true, quots 
around one-word values are not put.

As for the Java issue, it is probable that the old Opera is the source of 
the problem: after some tweaking, I succeeded in saving in Yandex browser 
(Chromium-based); I have to test saving to/including from an outer relative 
folder, though.

Best regards,
Yakov.
 

 [1] 
 https://github.com/TiddlyWiki/tiddlywiki/blob/master/js/Strings.js#L249

 I have a major problem though: I failed to save the new TW using 
 TiddlySaver in these 4 combinations:
 Windows 7 x64 + Opera 12.17 +
 either my PC with old Java (as far as I can see 7 update 17) or another 
 PC with the latest (7 update i-don't-remember-which) +
 either old TiddlySaver I still use or the new one in the package.
 On trying to save, the console sais:
 javaLoadFile: TypeError: 'applet.loadFile' is not a function
 javaSaveFile: TypeError: 'applet.saveFile' is not a function
 javaDebugInformation() gives:
 Java Version: TypeError: Cannot convert 'method' to object
 Last Exception: TypeError: Cannot convert 'method' to object
 Last Exception Stack Trace: TypeError: Cannot convert 'method' to object
 System Properties: TypeError: Cannot convert 'method' to object
 and that's in each case, including the fresh 

[tw] Re: [TWC] How to write two underscores?

2014-09-08 Thread Yakov
There are other ways, not to remember the #95 code:
- wrap the whole thing: __some text - which will not be wikified, 
though__
- wrap the underscores: __this way, this text is wikified__
- separate the underscores: _/%%/_ or __ or __ (4 single quots)

Best regards,
Yakov.

четверг, 4 сентября 2014 г., 0:26:24 UTC+4 пользователь Schorschi написал:

 Thanks. Works.


-- 
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.
For more options, visit https://groups.google.com/d/optout.


[tw] Question for Mario Pietsch

2014-09-08 Thread David Gifford
Hi Mario

I was wondering what program you used to record your videos of GitHub, and 
or what program you recommend for the inexperienced user. I would like to 
make a video of the way I take notes on TiddlyWiki, to help friends and 
others see how they might take advantage of TW.

Dave

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Eucaly's Tiddly World @ tiddlyspot

2014-09-08 Thread David Gifford
I loved MonkeyTagger, so I can totally see myself trying this out very 
soon. Great work!

Dave

On Sunday, September 7, 2014 8:33:16 PM UTC-5, Eucaly J wrote:

 Hi all,

 I collect my tw5 creations on-line as http://eucaly-tw5.tiddlyspot.com/

 Currently, there are :

- *FlexWidth* - Flexibly tweak sidebar width for TiddlyWiki 5
** Inspired by TW5 tristate Sidebar 
http://tw5tristate.tiddlyspot.com/


- *MatchFilter* - returns matching text instead of a list of the 
tiddlers from FieldFilter
** more information at TiddlyWikiDev Forum 
https://groups.google.com/forum/#%21topic/tiddlywikidev/4ciJxJVAsY8.


- *PopupTagger* - TagBar / TagTable with popup list of tags
** Inspired by MonkeyTaggerMacro 
http://tiddlywiki.squize.org/#MonkeyTaggerMacro (TiddlyWiki classic)

 Thanks for,

- Jeremy Ruston and the core team of TiddlyWiki 5
- ThirdFlow plugin 
https://groups.google.com/forum/#!topic/tiddlywikidev/nEDeSwqHoW0 
provides a handy process for develop, release, and version control
- All those who inspire me during journey

 Welcome for any comments and suggestion, please leave a message in this 
 thread.

 Hope you like it.
 Eucaly J.


-- 
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.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] How to display a background gradient

2014-09-08 Thread dlund4
I can't find any simple or easy to follow instructions on how to create a 
background gradient in TW5. Can someone help me out? 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Implementing tag functionality in other fields

2014-09-08 Thread Jeremy Ruston
Hi c pa

 I can't figure out how I would pass operator.suffix into
$tw.utils.pushTop(results,options.wiki.getTiddlersWithTag(title));

A new parameter needs to be added to getTiddlersWithTag() to indicate which
tag field is to be used. The cache handling will also need to be changed to
take into account the name of the tag field being used.

 * fieldmangler widget: similarly
Could you give me a clue on how I should approach this one?

This is more difficult. The tm-add-tag message only accepts a single
parameter (the tag name), and there's currently no facility for adding
additional parameters.

I suspect that the best approach for the moment would be to add an
attribute to the fieldmangler widget to indicate which tag field should be
used.

Best wishes

Jeremy.


On Fri, Sep 5, 2014 at 11:29 PM, 'c pa' via TiddlyWiki 
tiddlywiki@googlegroups.com wrote:


 OK I've made the code changes and tested them for
 * *tag filter*: has been extended to identify the tag field to be used eg
 [tag:mytagsfield[exampletag]]
 * *tags filter*: similarly [tags:mytagsfield[]]
 * *untagged filter*: similarly [untagged:mytagsfield[]]
 * *checkbox widget*: has been extended with an additional attribute to
 identify the tag field to be used
 So I've got the abiilty to execute lists and dashboards without clogging
 up the tags with non-semantic content

 The tagging filter would be nice to implement relatedness between
 tiddlers and use different field names to signify the semantic meaning of
 that relationship
  * tagging filter: [tagging:mytagsfield[]]
 I can't figure out how I would pass operator.suffix into
 $tw.utils.pushTop(results,options.wiki.getTiddlersWithTag(title));

 Tagging.js calls the following functions:
 this.getGlobalCache(taglist- + tag,function() {
 var tagmap = self.getTagMap();
 this.getGlobalCache(tagmap,function() { });

 The fieldmangler widget would be nice to implement button controls
  * fieldmangler widget: similarly
 Could you give me a clue on how I should approach this one?

  --
 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.
 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.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to display a background gradient

2014-09-08 Thread Ton Gerner
Hi dlu...@emich.edu,

Assume you want a h3 heading with white text color and a vertical red to 
blue gradient background.

Creat a tiddler tagged with $:/tags/stylesheet containing:

h3 {
 color: white;
 background: background-linear-gradient red, blue
)

Now every h3 heading uses white text color and a red to blue background 
gradient.

For more information about gradients see [1]

Cheers,

Ton

[1] http://www.w3schools.com/css/css3_gradients.asp


On Monday, September 8, 2014 5:37:44 PM UTC+2, dlu...@emich.edu wrote:

 I can't find any simple or easy to follow instructions on how to create a 
 background gradient in TW5. Can someone help me out? 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Announcing TiddlyWiki Classic version 2.9.0 BETA1

2014-09-08 Thread Yakov
Trying to make TW 2.9.0 save in Opera 12.17, I started to trace what's 
going on and here what I've found:

0. TW that I'm currently using is 2.7.1, so I'm not sure yet if the problem 
arised in 2.9.0 or in 2.8.0/2.8.1
1. In 2.7.1 and 2.9.0 javaSaveFile has the same code. I decided to test TW 
2.9.0 with the old TiddlySaver which works for me with TW 2.7.1.
2. When I press save changes, javaSaveFile is actually called, the 
exception is applet.saveFile is not a function. applet = 
document.applets['TiddlySaver']
3. In TW 2.7.1 (and old TiddlySaver), if I write in console
document.applets['TiddlySaver']
I get
applet style=position:absolute;left:-1px name=TiddlySaver 
code=TiddlySaver.class archive=TiddlySaver.jar width=1 height=1/
In TW 2.9.0 (and old TiddlySaver), I get (!)
HTMLCollection [applet style=position:absolute;left:-1px 
name=TiddlySaver code=TiddlySaver.class archive=TiddlySaver.jar 
width=1 height=1/, applet style=position:absolute;left:-1px 
name=TiddlySaver code=TiddlySaver.class archive=TiddlySaver.jar 
width=1 height=1/]
At the same time, if I do this in Chrome, I get
applet style=position:absolute;left:-1px name=TiddlySaver 
code=TiddlySaver.class archive=TiddlySaver.jar width=1 height=1/
in both cases.

Also, the same thing (HTMLCollection) appears instead of the applet in 
Opera with the new TiddlySaver. So, this is the reason why saving doesn't 
work..

Best regards,
Yakov.

понедельник, 8 сентября 2014 г., 16:13:18 UTC+4 пользователь Yakov написал:

 Hello Eric,

 воскресенье, 31 августа 2014 г., 12:05:09 UTC+4 пользователь Eric Shulman 
 написал:

 On Friday, August 29, 2014 11:55:40 AM UTC-7, Yakov wrote:

 159: fixed, works; is it really necessary to surrond all the values with 
 %22...%22? Even one-word, like true/false or numbers, like 
 txtMaxEditRows:30? (it would ease migrating)
 As far as I can see (from [1-3]), that would work as expected in both 
 versions of cookie-handling.


 Although many option values are single words, numbers, or true/false, 
 option values *can* contain whitespace, so at least some of the time, there 
 is a need for the surrounding quotes.  However, a valid browser cookie 
 should not contain any quotes, and cookies containing quotes are rejected 
 by some (but not all) browsers. This is the basis for issue #159, which 
 reported that Opera did not save the TiddlyWiki option values between 
 sessions.  Although I have not confirmed, I think that this error was also 
 responsible for preventing options from being saved in other browsers as 
 well.

 TWClassic uses String.encodeHashMap() [1] to construct a space-separated 
 string of name/value pairs, where each option name is followed by a colon 
 (:), and the option value is *always* enclosed in double-quotes, like this:
 name1:value1 name2:value2 name3:value3

 The fix for #159 did not change the way the individual option values are 
 encoded/decoded from the cookie text.  Rather, it simply converts the 
 *existing* use of quotes to %22 to avoid being rejected by the browser.  Of 
 course, since most option values are single-words, numbers, or true/false, 
 we could reduce -- but not completely eliminate -- the use of quotes in the 
 encoded cookie text, by changing String.encodeHashMap() to check for 
 whitespace in the option values, and only adding the surrounding quotes 
 when actually needed.  The resulting cookie text would still need to have 
 any quotes encoded as %22, so those option values could still be affected 
 by the version skew issue that #whatever reported above.

 So.. I now have two possible improvements for the 159 fix:

 1) maintain backward-compatibility by adding a chkEncodeCookieQuotes 
 option (default to false) to completely bypass the %22 encoding/decoding. 
  This will allow continued use of a mixed version environment (i.e., 
 TW2.8.1 or earlier running along side TW2.9.0) for browsers that DO accept 
 cookie values containing quotes.  Of course, because the cookie text would 
 then contain quotes, browsers that DONT accept quotes will reject any 
 changes to default option settings; thus, to enable the %22 encoding for 
 those browsers, the TW author cannot simply set an option checkbox (as 
 that setting would not be saved).  Instead, they would need to explicitly 
 add a systemConfig tiddler containing:
 config.options.chkEncodeCookieQuotes=true;
  

 2) reduce (but not eliminate) the use of quotes in cookie text by checking 
 for whitespace in String.encodeHashMap().  This limits the impact of the 
 %22 encoding, so that MOST option values would be backward compatible 
 unless they contain whitespace.

 My only concern about solution (2) is that String.encodeHashMap() is not 
 only used to encode the option cookie text, but is also used in the TWCore 
 for some handling of custom fields.  A quick review of the code suggests 
 that it would be safe, but I prefer to keep changes as isolated as 
 possible to minimize their any unexpected impact on existing TiddlyWiki 
 

[tw] [TW5] How can I set the title of a tiddler when creating new tiddler from button?

2014-09-08 Thread 'Mark S.' via TiddlyWiki
I have a template like:

 $button message=tw-new-tiddler param=New Chapter Template New 
chapter/$button

Is there a way that I can specify the starting title of the new tiddler 
from the button? Actually, it would be great if I could also fill in any 
fields from the button as well. That way I could re-use one template with 
multiple buttons.

Thanks!
Mark

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to display a background gradient

2014-09-08 Thread RickL
Great idea for highlighting tiddler titles!
Is there a way to highlight only the text, and not have the gradient bar 
running all across the tiddler?
Thanks


On Monday, September 8, 2014 12:57:15 PM UTC-4, Ton Gerner wrote:

 Hi dlu...@emich.edu,

 Assume you want a h3 heading with white text color and a vertical red to 
 blue gradient background.

 Creat a tiddler tagged with $:/tags/stylesheet containing:

 h3 {
  color: white;
  background: background-linear-gradient red, blue
 )

 Now every h3 heading uses white text color and a red to blue background 
 gradient.

 For more information about gradients see [1]

 Cheers,

 Ton

 [1] http://www.w3schools.com/css/css3_gradients.asp


 On Monday, September 8, 2014 5:37:44 PM UTC+2, dlu...@emich.edu wrote:

 I can't find any simple or easy to follow instructions on how to create a 
 background gradient in TW5. Can someone help me out? 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Announcing TiddlyWiki Classic version 2.9.0 BETA1

2014-09-08 Thread Eric Shulman
On Monday, September 8, 2014 10:36:16 AM UTC-7, Yakov wrote:

 Trying to make TW 2.9.0 save in Opera 12.17, I started to trace what's 
 going on and here what I've found:

 0. TW that I'm currently using is 2.7.1, so I'm not sure yet if the 
 problem arised in 2.9.0 or in 2.8.0/2.8.1


I suspect it might actually be a problem with the fallback download save 
handler from 2.8.x.
If TiddlySaver.jar failed to load in 2.8.x, then the fallback handler has 
to reconstruct the original source file from the contents of the loaded 
document, rather than reading it from the filesystem.

Unfortunately, the document image from the loaded document 
(document.documentElement.outerHTML) is *not* identical to the original 
file content (though it is very close).  One of the differences is that, 
during startup, the TWCore uses document.write() to conditionally *add* the 
applet.../applet code to the HTML, but only when the useJavaSaver 
flag is set (which it *is* for Opera).  To address this, the 
recreateOriginal() function, invoked by the fallback handler, 'fixes up' 
the document image by *removing* the applet element that was added during 
startup.

It's possible that when using Opera with 2.8.x, a failed attempt was made 
to load TiddlySaver.jar (perhaps due to one of the Java runtime updates 
that broke the signed/unsigned use of privileged file I/O functions... now 
corrected by PVHL's update).  This failure to load TiddlySaver.jar would 
then trigger the fallback handling, which in turn would invoke 
recreateOriginal().  However, if the remove the added applet code didn't 
work for some reason (perhaps it didn't *exactly* match the embedded applet 
syntax generated by Opera?), then the file would be written using the 
fallback handler with the applet.../applet intact, and the next time 
the file was loaded, *another* applet.../applet block would be added, 
resulting in the applet being loaded twice... and I suppose that could 
cause it to fail, even with the new, 'fixed' TiddlySaver.jar.

1. In 2.7.1 and 2.9.0 javaSaveFile has the same code. I decided to test TW 
 2.9.0 with the old TiddlySaver which works for me with TW 2.7.1.
 2. When I press save changes, javaSaveFile is actually called, the 
 exception is applet.saveFile is not a function. applet = 
 document.applets['TiddlySaver']


This suggests that the JavaSaver.jar failed to load properly.  Thus, while 
the loaded applet object exists, the saveFile method might still be 
undefined, resulting in the error you see.
 

 3. In TW 2.7.1 (and old TiddlySaver), if I write in console
 document.applets['TiddlySaver']
 I get
 applet style=position:absolute;left:-1px name=TiddlySaver 
 code=TiddlySaver.class archive=TiddlySaver.jar width=1 height=1/


That looks correct.
 


 In TW 2.9.0 (and old TiddlySaver), I get (!)
 HTMLCollection [applet style=position:absolute;left:-1px 
 name=TiddlySaver code=TiddlySaver.class archive=TiddlySaver.jar 
 width=1 height=1/, applet style=position:absolute;left:-1px 
 name=TiddlySaver code=TiddlySaver.class archive=TiddlySaver.jar 
 width=1 height=1/]


Uh oh.. that's not right.  The value of document.applets['TiddlySaver'] returns 
an HTMLCollection with two applets, rather than just one.  It looks like 
there are TWO TiddlySaver applets loaded at the same time, which would be 
a likely side-effect of the potential problem with recreateOriginal() that 
I described above.

At the same time, if I do this in Chrome, I get
 applet style=position:absolute;left:-1px name=TiddlySaver 
 code=TiddlySaver.class archive=TiddlySaver.jar width=1 height=1/
 in both cases.


That's correct.
 

 Also, the same thing (HTMLCollection) appears instead of the applet in 
 Opera with the new TiddlySaver. So, this is the reason why saving doesn't 
 work..


Not surprising... if the problem is the errant doubling of the 
applet../applet block, then the problem will appear regardless of the 
version of TiddlySaver.jar you attempt.

Some things to try:
1) One way to look for confirmation of the problem, search the entire TW 
document source using a full-text editor, to see if a hard-coded 
applet.../applet block exists (other than the conditional one present 
in the document.write()).  If such a block is found... try removing it from 
the document and then repeat your experiments to see if that fixes the 
problem.

2) in Opera, examine the value of document.documentElement.outerHTML, and 
see what applet.../applet block(s) it contains.  Then, use the 
browser's debugger to invoke manually recreateOriginal() and see if the 
returned value contains any extra applet.../applet blocks.

Let me know what you find out.  I'd like to post an updated Beta2 as soon 
as possible, but only after we solve this problem, or at least properly 
understand what is happening.

Much thanks,
-e

-- 
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 

[tw] Re: [TW5] How to display a background gradient

2014-09-08 Thread Stephan Hradek


Am Montag, 8. September 2014 21:10:00 UTC+2 schrieb RickL:

 Great idea for highlighting tiddler titles!
 Is there a way to highlight only the text, and not have the gradient bar 
 running all across the tiddler?

 Do you understand CSS? Then I'd suggest to use Firefox and install its 
addon Firebug. This will allow you to inspect any displayed element and 
find out its CSS classes and structures. This will help you a lot in 
finding the correct css code to write.

If you do not (yet) understand CSS - give it a try. It's not so difficult.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How can I set the title of a tiddler when creating new tiddler from button?

2014-09-08 Thread Matabele
Hi

I haven't yet updated my widget plugins for 5.0.16, but for versions prior 
to this you can use my $maketid and $setfield widget plugins. They may 
be found here: http://gwiz.tiddlyspot.com/

regards

On Monday, September 8, 2014 8:58:46 PM UTC+2, Mark S. wrote:

 I have a template like:

  $button message=tw-new-tiddler param=New Chapter Template New 
 chapter/$button

 Is there a way that I can specify the starting title of the new tiddler 
 from the button? Actually, it would be great if I could also fill in any 
 fields from the button as well. That way I could re-use one template with 
 multiple buttons.

 Thanks!
 Mark



-- 
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.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Proper formatting of nested bullets after after a displayed MathJax equation?

2014-09-08 Thread DM
Hello again!

Is there a way to jump to a certain nested list level without displaying 
bullets for all of the higher levels?

For instance, if I'm in the middle of a nested list and want to insert a 
displayed equation, I have to separate the displayed equation from earlier 
and subsequent content with an empty line (to ensure that MathJax correctly 
formats it) as follows:

[...]
* list item 1
** sublist item 1
** sublist item 2, related to the displayed equation


$$
displayed equation related to sublist item 2
$$


** sublist item 3
* list item 2
[...]


This seems to work well for correctly displaying the equation, but the 
formatting of the bullet for sublist item 3 includes level one and two 
bullets (since it's starting a list over again). Is there anyway to avoid 
this? The solution I've been using is to simply replace the asterisks for 
the lower list levels with colons (so replace ** with :* before sublist 
item 3 in the above example), but this will of course just lead to TW 
displaying an indented top level bullet. It's not the end of the world or 
anything, but I'm curious if I've missed some kind built-in solution/trick 
here.

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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Announcing TiddlyWiki Classic version 2.9.0 BETA1

2014-09-08 Thread Yakov
So,

 


 In TW 2.9.0 (and old TiddlySaver), I get (!)
 HTMLCollection [applet style=position:absolute;left:-1px 
 name=TiddlySaver code=TiddlySaver.class archive=TiddlySaver.jar 
 width=1 height=1/, applet style=position:absolute;left:-1px 
 name=TiddlySaver code=TiddlySaver.class archive=TiddlySaver.jar 
 width=1 height=1/]


 Uh oh.. that's not right.  The value of document.applets['TiddlySaver'] 
 returns 
 an HTMLCollection with two applets, rather than just one.  It looks like 
 there are TWO TiddlySaver applets loaded at the same time, which would be 
 a likely side-effect of the potential problem with recreateOriginal() that 
 I described above.

 By the way, with the old TiddlySaver, this bad-semantics fixer plugin 
enables saving:

javaSaveFile = function(filePath,content)
{
var applet = document.applets['TiddlySaver'];*  if(applet instanceof 
HTMLCollection) // YL tweak
applet = applet.item(0);*
try {
if (applet  filePath) {
return applet.saveFile(javaUrlToFilename(filePath), 
UTF-8, content);
}
} catch(ex) {
logTiddlySaverException(javaSaveFile, ex);
}
// is this next block working anywhere ? -- grmble
try {
var s = new java.io.PrintStream(new 
java.io.FileOutputStream(javaUrlToFilename(filePath)));
s.print(content);
s.close();
} catch(ex2) {
return null;
}
return true;
}


 

 At the same time, if I do this in Chrome, I get
 applet style=position:absolute;left:-1px name=TiddlySaver 
 code=TiddlySaver.class archive=TiddlySaver.jar width=1 height=1/
 in both cases.


 That's correct.
  

 Also, the same thing (HTMLCollection) appears instead of the applet in 
 Opera with the new TiddlySaver. So, this is the reason why saving doesn't 
 work..


 Not surprising... if the problem is the errant doubling of the 
 applet../applet block, then the problem will appear regardless of the 
 version of TiddlySaver.jar you attempt.

 Some things to try:
 1) One way to look for confirmation of the problem, search the entire TW 
 document source using a full-text editor, to see if a hard-coded 
 applet.../applet block exists (other than the conditional one present 
 in the document.write()).  If such a block is found... try removing it from 
 the document and then repeat your experiments to see if that fixes the 
 problem.

 No saved blocks in the source.
 

 2) in Opera, examine the value of document.documentElement.outerHTML, and 
 see what applet.../applet block(s) it contains. 


There's 2 applet blocks. After the definition of the 
TW21Saver.prototype.externalizeTiddler method, there's this part:

//]]
/script





*script type=text/javascript//![CDATA[if(useJavaSaver)
document.write(applet style='position:absolute;left:-1px' 
name='TiddlySaver' code='TiddlySaver.class' archive='TiddlySaver.jar' 
width='1' height='1'/applet);//]]/scriptapplet 
style=position:absolute;left:-1px name=TiddlySaver 
code=TiddlySaver.class archive=TiddlySaver.jar width=1 
height=1/applet*

script id=jsdeprecatedArea type=text/javascript
//![CDATA[
//--
//-- Deprecated Crypto functions and associated conversion routines.
//-- Use the jQuery.encoding functions directly instead.
//--

then some deprecated code and some other goes (which is not repeated), and 
in the end of the text:

// Remove existing style sheet
// options.id is an optional name identifying the style sheet
// options.doc is an optional document reference
$.twStylesheet.remove = function(options) {
options = options || {};
var id = options.id || defaultId;
var doc = options.doc || document;
var el = doc.getElementById(id);
if(el) {
el.parentNode.removeChild(el);
}
};

})(jQuery);

//]]
/script





*script type=text/javascript//![CDATA[if(useJavaSaver)
document.write(applet style='position:absolute;left:-1px' 
name='TiddlySaver' code='TiddlySaver.class' archive='TiddlySaver.jar' 
width='1' height='1'/applet);//]]/scriptapplet 
style=position:absolute;left:-1px name=TiddlySaver 
code=TiddlySaver.class archive=TiddlySaver.jar width=1 
height=1/applet*
!--POST-SCRIPT-START--

!--POST-SCRIPT-END--


/body/html
 

  Then, use the browser's debugger to invoke manually recreateOriginal() 
 and see if the returned value contains any extra applet.../applet 
 blocks.


No applet blocks in the returned value.

Best regards,
Yakov.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Implementing tag functionality in other fields

2014-09-08 Thread William Jackson
Hi

I have written a $mangletags widget (yet to be updated to 5.0.16) which
may be more suitable for modification than the $fieldmangler widget --
have a look here: http://gwiz.tiddlyspot.com/

regards

On Mon, Sep 8, 2014 at 6:13 PM, Jeremy Ruston jeremy.rus...@gmail.com
wrote:

 Hi c pa

  I can't figure out how I would pass operator.suffix into
 $tw.utils.pushTop(results,options.wiki.getTiddlersWithTag(title));

 A new parameter needs to be added to getTiddlersWithTag() to indicate
 which tag field is to be used. The cache handling will also need to be
 changed to take into account the name of the tag field being used.

  * fieldmangler widget: similarly
 Could you give me a clue on how I should approach this one?

 This is more difficult. The tm-add-tag message only accepts a single
 parameter (the tag name), and there's currently no facility for adding
 additional parameters.

 I suspect that the best approach for the moment would be to add an
 attribute to the fieldmangler widget to indicate which tag field should be
 used.

 Best wishes

 Jeremy.


 On Fri, Sep 5, 2014 at 11:29 PM, 'c pa' via TiddlyWiki 
 tiddlywiki@googlegroups.com wrote:


 OK I've made the code changes and tested them for
 * *tag filter*: has been extended to identify the tag field to be used
 eg [tag:mytagsfield[exampletag]]
 * *tags filter*: similarly [tags:mytagsfield[]]
 * *untagged filter*: similarly [untagged:mytagsfield[]]
 * *checkbox widget*: has been extended with an additional attribute to
 identify the tag field to be used
 So I've got the abiilty to execute lists and dashboards without clogging
 up the tags with non-semantic content

 The tagging filter would be nice to implement relatedness between
 tiddlers and use different field names to signify the semantic meaning of
 that relationship
  * tagging filter: [tagging:mytagsfield[]]
 I can't figure out how I would pass operator.suffix into
 $tw.utils.pushTop(results,options.wiki.getTiddlersWithTag(title));

 Tagging.js calls the following functions:
 this.getGlobalCache(taglist- + tag,function() {
 var tagmap = self.getTagMap();
 this.getGlobalCache(tagmap,function() { });

 The fieldmangler widget would be nice to implement button controls
  * fieldmangler widget: similarly
 Could you give me a clue on how I should approach this one?

  --
 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.
 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 a topic in the
 Google Groups TiddlyWiki group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/tiddlywiki/YCqfv30JQNs/unsubscribe.
 To unsubscribe from this group and all its topics, 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.
 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.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Question for Mario Pietsch

2014-09-08 Thread PMario
With Windows I use: Open Broadcaster Software [1]. It can record in high 
resolution, creates relatively small files and upload to youtube works very 
well. 
I don't us a video editing SW atm (too much work). If something goes 
terribly wrong I record a second time, which is a good idea anyway ;)

With Ubuntu Unix I use some ffmpeg bash scripts for recording and for 
preparation to upload to youtube. eg: Compressing files for faster upload.
With unix use mkvmerge to merge videos if needed. 

hope that helps
mario

[1] https://obsproject.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.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Question for Mario Pietsch

2014-09-08 Thread David Gifford
Thanks, Mario! Will check it out!

On Monday, September 8, 2014 4:01:14 PM UTC-5, PMario wrote:

 With Windows I use: Open Broadcaster Software [1]. It can record in high 
 resolution, creates relatively small files and upload to youtube works very 
 well. 
 I don't us a video editing SW atm (too much work). If something goes 
 terribly wrong I record a second time, which is a good idea anyway ;)

 With Ubuntu Unix I use some ffmpeg bash scripts for recording and for 
 preparation to upload to youtube. eg: Compressing files for faster upload.
 With unix use mkvmerge to merge videos if needed. 

 hope that helps
 mario

 [1] https://obsproject.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.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Proper formatting of nested bullets after after a displayed MathJax equation?

2014-09-08 Thread Richard Smith
Hi DM,

You could use block quotes in combination with list items which doesn't 
look too bad.

* list item 1
** sublist item 1
** sublist item 2, related to the displayed equation
** $x^2=x^3 $
** sublist item 3
* list item 2


Or you could use HTML to write the list, like this

ul
liFirst list item/li
liSecond list item
  ul
  liA subitembr$$x^2 = x^3$$/li
  liA subsequent subitem/li
  /ul
/li
liThird list item/li
/ul

Regards,
Richard

On Tuesday, September 9, 2014 6:13:25 AM UTC+10, DM wrote:

 Hello again!

 Is there a way to jump to a certain nested list level without displaying 
 bullets for all of the higher levels?

 For instance, if I'm in the middle of a nested list and want to insert a 
 displayed equation, I have to separate the displayed equation from earlier 
 and subsequent content with an empty line (to ensure that MathJax correctly 
 formats it) as follows:

 [...]
 * list item 1
 ** sublist item 1
 ** sublist item 2, related to the displayed equation


 $$
 displayed equation related to sublist item 2
 $$


 ** sublist item 3
 * list item 2
 [...]


 This seems to work well for correctly displaying the equation, but the 
 formatting of the bullet for sublist item 3 includes level one and two 
 bullets (since it's starting a list over again). Is there anyway to avoid 
 this? The solution I've been using is to simply replace the asterisks for 
 the lower list levels with colons (so replace ** with :* before sublist 
 item 3 in the above example), but this will of course just lead to TW 
 displaying an indented top level bullet. It's not the end of the world or 
 anything, but I'm curious if I've missed some kind built-in solution/trick 
 here.

 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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Announcing TiddlyWiki Classic version 2.9.0 BETA1

2014-09-08 Thread Eric Shulman
On Monday, September 8, 2014 1:18:40 PM UTC-7, Yakov wrote:

 So,

 In TW 2.9.0 (and old TiddlySaver), I get (!)
 HTMLCollection [applet style=position:absolute;left:-1px 
 name=TiddlySaver code=TiddlySaver.class archive=TiddlySaver.jar 
 width=1 height=1/, applet style=position:absolute;left:-1px 
 name=TiddlySaver code=TiddlySaver.class archive=TiddlySaver.jar 
 width=1 height=1/]


 Uh oh.. that's not right.  The value of document.applets['TiddlySaver'] 
 returns 
 an HTMLCollection with two applets, rather than just one.  It looks like 
 there are TWO TiddlySaver applets loaded at the same time, which would be 
 a likely side-effect of the potential problem with recreateOriginal() that 
 I described above.

 By the way, with the old TiddlySaver, this bad-semantics fixer plugin 
 enables saving:

 javaSaveFile = function(filePath,content)
 {
   var applet = document.applets['TiddlySaver'];*  if(applet instanceof 
 HTMLCollection) // YL tweak
   applet = applet.item(0);*
   try {


That makes sense... though it really doesn't address the root cause of the 
problem, which is that TWO copies of the applet are being loaded (or 
attempted), which Opera apparently doesn't like.
 

 2) in Opera, examine the value of document.documentElement.outerHTML, and 
 see what applet.../applet block(s) it contains. 

 There's 2 applet blocks. After the definition of the 
 TW21Saver.prototype.externalizeTiddler method, there's this part:
 ...

then some deprecated code and some other goes (which is not repeated), and 
 in the end of the text:

...

$.twStylesheet.remove = function(options) {
 ...

})(jQuery);
 //]]
 /script





 *script type=text/javascript//![CDATA[if(useJavaSaver)
 document.write(applet style='position:absolute;left:-1px' 
 name='TiddlySaver' code='TiddlySaver.class' archive='TiddlySaver.jar' 
 width='1' height='1'/applet);//]]/scriptapplet 
 style=position:absolute;left:-1px name=TiddlySaver 
 code=TiddlySaver.class archive=TiddlySaver.jar width=1 
 height=1/applet*


Well.. that's not right!  Way back in TW2.4.0 and earlier, the 
if(useJavaSaver) code occurred after the externalizeTiddlers function 
definition... However, in TW2.4.3(?) the deprecated code portion was added. 
 Looking around the archives (http://classic.tiddlywiki.com/archives), I 
don't see a revision that had BOTH instances of 'if(useJavaSaver)', and the 
current revision only has the one at the end (as intended).

HOWEVER... I *vaguely* remember something a long time ago about a .recipe 
that might have included the if(useJavaSaver) portion twice.  Exactly what 
version of TW is the document with the doubled code?

I suspect that if you simply remove the first occurrence of the 
if(userJavaSaver) code from that document, the problem would go away.

Of course, even if this does fix it, it doesn't explain how two instances 
of that code got in the file in the first place.  The problem MIGHT be 
'historical', in that the problem was only with a specific revision, and it 
won't re-occur as long as you are no longer using that version (or hand 
edit the file as suggested above).  Still, it would be useful to figure out 
exactly how and when the problem was first introduced, so it can be 
documented for others who may encounter it.

 Then, use the browser's debugger to invoke manually recreateOriginal() and 
 see if the returned value contains any extra applet.../applet blocks.
 No applet blocks in the returned value.


Yes.  It appears that recreateOriginal() is correctly removing both added 
applet blocks as intended.  My initial *guess* that this was a possible 
culprit is apparently incorrect, and I am now working on the theory that 
the double loading of the applet code was a build artifact from an earlier 
release.

-e

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[tw] NotestormTW experimental template / two questions about it

2014-09-08 Thread David Gifford
Hi all

TiddlyWiki is getting close to full release, and tonight I almost finished 
my note-taking template called NoteStormTW, the TW5 successor to the old 
NoteStorm. I have been playing around with a cruder version of this and it 
has revolutionized my note-taking. Seriously. I think I can finally stop 
tweaking TiddlyWiki and use this for my purposes until Jeremy finds some 
reason to break it. Would love your feedback.

The URL  for now while it is in experimental stage is 
http://giffmex.org/experiments/notestormtw.html

It has two glitches in it that I am aware of, and maybe some of you can 
help me overcome them:

1. In my StyleSheet I have it so that #gifftoolbar does not print. But it 
prints anyway. Any idea what I did wrong?

2. When the tagging area is open, editing and saving tiddlers doesn't 
happen automatically. I need to manually save. Seems to be something to do 
with the state tiddler being qualified. Again, any ideas on how to overcome 
that?

Blessings, Dave

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] NotestormTW experimental template / two questions about it

2014-09-08 Thread Daniel Baird
Nice work as ever Dave.

In no-sidebar mode, on a wide desktop browser window, the displayed tiddler
goes a smidge too wide for the window.  Looks like you've told it to be
width 100% but not accounted for the left margin (or maybe not applied
box-sizing: border-box), so it's hanging too far off the right by the width
of its left margin.

Cheers
;Daniel


On 9 September 2014 13:32, David Gifford dgiff...@crcna.org wrote:

 Hi all

 TiddlyWiki is getting close to full release, and tonight I almost finished
 my note-taking template called NoteStormTW, the TW5 successor to the old
 NoteStorm. I have been playing around with a cruder version of this and it
 has revolutionized my note-taking. Seriously. I think I can finally stop
 tweaking TiddlyWiki and use this for my purposes until Jeremy finds some
 reason to break it. Would love your feedback.

 The URL  for now while it is in experimental stage is
 http://giffmex.org/experiments/notestormtw.html

 It has two glitches in it that I am aware of, and maybe some of you can
 help me overcome them:

 1. In my StyleSheet I have it so that #gifftoolbar does not print. But it
 prints anyway. Any idea what I did wrong?

 2. When the tagging area is open, editing and saving tiddlers doesn't
 happen automatically. I need to manually save. Seems to be something to do
 with the state tiddler being qualified. Again, any ideas on how to overcome
 that?

 Blessings, Dave

 --
 You received this message because you are subscribed to the Google Groups
 TiddlyWiki group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to tiddlywiki+unsubscr...@googlegroups.com.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/d/optout.




-- 
Daniel Baird
objoke: I had a problem and decided to solve it with threading. Now,
have problems. two I

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Implementing tag functionality in other fields

2014-09-08 Thread 'c pa' via TiddlyWiki
Ah hah. Thanks for this. I put what I've done at 
http://cpashow.tiddlyspot.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.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: NotestormTW experimental template / two questions about it

2014-09-08 Thread Eucaly J

Hi David, 

try *.gifftoolbar *

David Gifford於 2014年9月9日星期二UTC+8上午11時32分43秒寫道:


 1. In my StyleSheet I have it so that #gifftoolbar does not print. But it 
 prints anyway. Any idea what I did wrong?



-- 
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.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Proper formatting of nested bullets after after a displayed MathJax equation?

2014-09-08 Thread Stephan Hradek
Did you try to move the equation to another tiddler and transclude that 
tiddler? I don't say it works, I'm just curious.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Implementing tag functionality in other fields

2014-09-08 Thread William Jackson
Hi

Thanks -- this addresses a problem I had. You may also be interested in the
$makelist widget -- this will fill a specified field with the output of a
filter expression.

regards

On Tue, Sep 9, 2014 at 6:38 AM, 'c pa' via TiddlyWiki 
tiddlywiki@googlegroups.com wrote:

 Ah hah. Thanks for this. I put what I've done at
 http://cpashow.tiddlyspot.com/

 --
 You received this message because you are subscribed to a topic in the
 Google Groups TiddlyWiki group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/tiddlywiki/YCqfv30JQNs/unsubscribe.
 To unsubscribe from this group and all its topics, 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.
 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.
For more options, visit https://groups.google.com/d/optout.