Re: Announcing d-cubed version 1.2.0

2008-10-28 Thread Marcelo Andrade
On Tue, Oct 28, 2008 at 5:40 PM, SteveB [EMAIL PROTECTED] wrote:
 Can anyone tell me when tiddlyspot.com will be updated with the newest
 version or how I can update a personal tiddlyspot.com site with the
 latest version?

You can update your own D3 version to Tiddlyspot (or any TW you like):

http://faq.tiddlyspot.com/#[[Can%20I%20upload%20an%20existing%20TiddlyWiki%20to%20a%20tiddlyspot.com%20site%3F]]

Atenciosamente.

--
MARCELO DE F. ANDRADE (aka eleKtron)
Belem, PA, Amazonia, Brazil
Linux User #221105

[EMAIL PROTECTED] ~]# links http://pa.slackwarebrasil.org/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups GTD 
TiddlyWiki group.
To post to this group, send email to GTD-TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/GTD-TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



Re: Announcing d-cubed version 1.2.0

2008-10-28 Thread Marcelo Andrade
On Tue, Oct 28, 2008 at 8:49 PM, SteveB [EMAIL PROTECTED] wrote:

 I give up! I finally got a d2 v1.3 loaded to tiddlyspot.com but now I
 can't seem to update it! I make changes, click save to web and
 nothing happens! I think I have all the appropriate plugins installed
 and configured correctly but obviously I'm mistaken. If anyone can
 tell me what I'm doing wrong I would greatly appreciate it! The url is
 http://slb-gtd.tiddlyspot.com/

I saw your D3 at Tiddlyspot.  You have to type in your Tiddlyspot
password.  Slide the options menu at right column and do it.

Atenciosamente.

--
MARCELO DE F. ANDRADE (aka eleKtron)
Belem, PA, Amazonia, Brazil
Linux User #221105

[EMAIL PROTECTED] ~]# links http://pa.slackwarebrasil.org/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups GTD 
TiddlyWiki group.
To post to this group, send email to GTD-TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/GTD-TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: Using ASCIIsvg in TW

2008-10-28 Thread kilucas

I posted some informatiuon about this in the ASCIIMath Google group
where David Lippman and Peter Jipsen, who were both instrumental in
producing the mathematical version of HTMLArea are posting. David got
back to me to suggest there's a bug in ASCIIsvg which is causing the
problem.

I've copied my posting and his reply here (my apologies if that breaks
any form of etiquette) and will see if I can rectify the problem
myself although I'm not that handy with code and this may defeat me.
Maybe someone better skilled might know how to fix this without too
much effort.

Bram: Presumably it'd be good to incorporate any solution we find into
your package.

Here's my posting, then David's reply:

Kevin
I'm using ASCIIMathML and ASCIIsvg with HTMLArea in TiddlyWiki. The
implementation I have from
http://sourceforge.net/project/showfiles.php?group_id=150646package_...
invokes a window (called the Equation Grapher Control Panel) in which
I can specifiy graph parameters to create SVG graphs. But the
ASCIIsvg
home page suggests I might also be able to form my own drawings by
embedding some material in web pages.


By pasting examples similar those on the ASCIIsvg home page into the
raw html viewer of HTMLArea available via a toolbar button I've got
my
browser to recognise that an svg object is to be rendered (the right
mouse menu is appropriate to SVG) but my ASCIIsvg code isn't
generating a drawing.


My latest simple example is the following which amounts to an entire
Tiddlywiki tiddler:


pStart text/pembed src=HTMLArea\Plugins\AsciiSvg\d.svg
script=initPicture(-2,2,-2,2);axes();line([-2,-2],[2,2]); /p /



pEnd text/p


(The instructions on the ASCIIsvg home page say that the script
delimiters should be single quotes but the HTMLArea editor converts
them to double quotes even when I manually change them back).

When I display the resultant page I get an empty SVG area surrounded
by my start and end text and sometimes get a dialog box saying only
undefined though it doesn't make clear what is undefined.


When I compare the html here with the html generated by the Equation
Grapher Control Panel wiindow the latter uses an sscr attribute to
specific the graph I think but I can't find out what the sscr element
is. And in any case it doesn't seem to be part of the ASCIIsvg
vocabulary as far as I can tell.


I tried the same material in an ASciencePad tiddler but had no
further
success there.


So does anyone here know if I should be able to specify my own
drawings in the TiddlyWiki/HTMLAea environment and if so how I'd
speciify them so that they draw completely please?

David:
The sscr attribute is a short script that is the abbreviated format
used by the Equation Grapher Control Panel.

When I wrote the ASCIIsvg plugin for HTMLArea, there were two files
in
addition to ASCIIsvg.js:  AsvgHA.js (or ASCIIsvgHA.js) and
ASCIIsvgAddon.js.  The former is used in the editor window itself;
the
latter is intended to be included in the output.


Looking at it, it appears that I stripped the script attribute
handling out of AsvgHA.js (in the drawPics function).  Not sure
exactly why.  The handling is still in ASCIIsvgAddon.js, so it should
be possible to add it in to AsvgHA.js.



On 27 Oct, 18:17, kilucas [EMAIL PROTECTED] wrote:
 I've made limited progress. My browser now recognmises that I'm trying
 to display an SVG picture but doesn't actually draw the picture I
 intend. Here's what I've done and what I'm thinking of trying next.

 I've inserted the embed statement while editing the html (an option
 provided by the HTMLArea editor). This seems to recognise the  sign
 much better than when I placed the embed statement in the wysiwyg
 editor itself. (A look at the genereated html for the whole TW when
 the tiddler was on display showed embed .. preceded by lt when I
 pasted the embed statement into the wysiwyg part of the editor rather
 than lt which was generated by the ASCIISvg grapher.

 Once I set HTMLArea to show me the html and pasted the embed
 statement there, I could no longer see that part of the statement when
 viewing the tiddler instead of seeing all the code I'd pasted in.
 Guessing this meant that the embed statement was being acted upon
 instead of merely redisplayed as code, this seemed to be a little
 progress.

 I now also see an area in the displayed tiddler which my browser
 clearly thinks is an SVG area because a right click in IE6 offers SVG
 menu options.

 The recomended code at the ASCIISvg web site includes a reference to a
 file called d.svg. In HTMLArea this is located at HTMLArea\plugins
 \AsciiSvg\d.svg so I edited the HTML to reflect this longer relative
 path. This made no practical difference that I can see so I'm simply
 guessing it's correct.

 I had a further problem with the raw html editor within HTMLArea. It
 seems to change the script delimiters from the single quotes that I
 pasted in to double quotes. As I was initially trialling an ASCIISvg
 script that 

[tw] Firefox 2.0.16 blocking IncludePlugin functionality?

2008-10-28 Thread roger

I have a TW that I include into several other TW's using the
IncludePlugin.  I have an IncludeList tiddler in the TW's that
references the TW that's to be included when the the TW's load.

TW core 2.2.5
IncludePlugin 1.0.1

This has been working fine for several months.  Recently I noticed
that the TW referenced by the IncludeList tiddler is no longer being
included.  Upon further investigation I discovered that:

If I use Chrome the included TW is present.
If I use Firefox 2.0.14 or earlier, the included TW is present.
If I use Firefox 2.0.16 or IE 7.0 the included TW isn't there.

I primarily use Firefox so the fact that the IncludePlugin isn't
working in IE 7.0 doesn't really bother me.

Is there a fix for this?

~Roger
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: How to format source code in TW ?

2008-10-28 Thread [EMAIL PROTECTED]

I don't have access to tiddlywiki.org at work, but I wanted to add
that changing this line:

  parts[i] = span style= \color: + this.keywords[parts[i]] + ;
\ + parts[i].htmlEncode() + /span;

to

  parts[i] = span style= \ + this.keywords[parts[i]] + \ +
parts[i].htmlEncode() + /span;

and the keyword formatting to:

  FROM:color:brown;font-weight:bold;,
  NULL:color:brown;,

(explicitly specifying the style class and values and the semicolon at
the end) you can have any kind of formatting you like.

Todd

On Oct 27, 2:12 pm, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 I've been looking at this problem myself.  I took the formatter 
 fromhttp://genisis329.googlepages.com/TWMath.html#CodeFormatterand
 changed the keywords for SQL:

 config.formatters.push(
 {
         keywords : {
                 SELECT:brown,
                 WHERE:brown,
                 FROM:brown,
                 NULL:brown,
                 AS:brown,
                 WITH:brown,
                 READ:brown,
                 ONLY:brown,
                 DECODE:darkblue,
                 TO_CHAR:darkblue,
                 SUBSTR:darkblue,
                 AND:darkblue,
                 OR:darkblue,
                 |:mediumvioletred,
                 (:mediumvioletred,
                 ):mediumvioletred
         },

         match: [Ss][Qq][Ll]\\n,
         lookahead: [Ss][Qq][Ll]\\n((?:.|\\n)*?)\\n/[Ss][Qq][Ll],
         handler : function(w)
         {
                 var lookaheadRegExp = new RegExp(this.lookahead, mg);
                 lookaheadRegExp.lastIndex = w.matchStart;
                 var lookaheadMatch = lookaheadRegExp.exec(w.source);
                 if(lookaheadMatch  lookaheadMatch.index == w.matchStart)
                 {
                         var e = createTiddlyElement(w.output, pre);
                         var str = lookaheadMatch[1];
                         var Reg = /(\/\/.*?$)|(\/\*(.|\n)*?\*\/)|['] { 2 } | 
 (  #39; . *?
 [^\\]  #39; ) | []{2}|(. *? [^\\])|\w+|[\s\n]+|./mg;
                         var parts = str.match(Reg);
                         for(var i = 0; i  parts.length; i++)
                         {
                                 if(parts[i].match(/^[\s\n]/)) {
                                         parts[i] = parts[i].replace(/\t/g,
 nbsp;nbsp;nbsp;nbsp;).replace(/\n/g, br/ ).replace(/\r/
 g,);
                                 } else 
 if(parts[i].match(/^(?:\/\/)|(?:\/\*)/))
                                 {
                                         parts[i] =  span style = 
 \color:green;\ +
 parts[i].htmlEncode().replace(/\ \n/g,br/)+ ;
                                 } else if(parts[i].charAt(0)==\ || 
 parts[i].charAt(0) ==
 #39;)
                                 {
                                                 parts[i] = span 
 style=\color:teal;\ +
 parts[i].htmlEncode() + /span;
                                 } else if(this.keywords[parts[i]])
                                 {
                                         parts[i] = span style= \color: + 
 this.keywords[parts[i]] + ;
 \ + parts[i].htmlEncode() + /span;
                                 }
                                 e.innerHTML = parts.join();
                                 w.nextMatch = lookaheadMatch.index + 
 lookaheadMatch[0].length;
                         }
                 }
         }}

 );

 Copy this into a tiddler, tag it with systemConfig, and surround (in
 this case) your SQL with sql/sql.

 It seems to really strain Firefox for large or multiple code snippets,
 but it works.

 If someone could shed some light on how to enbolden or italicize
 within this formatter I'd be much appreciative.

 Todd

 On Oct 27, 11:27 am, FND [EMAIL PROTECTED] wrote:

   How do I type in source code (C++, etc.) in to a tiddler so its
   formatting is verbatim ?

  Also see the community wiki:
       http://www.tiddlywiki.org/wiki/TiddlyWiki_Markup#Preformatted
       http://www.tiddlywiki.org/wiki/Escaping#Wiki_Markup

   Is it possible to get some syntax highlighting ?

  See this thread, for example:
       http://groups.google.com/group/TiddlyWiki/t/f88c3c41ae12ee5d
  Unfortunately, Syntaxify has not yet been updated for compatibility with
  the latest TW version.

  -- F.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



[tw] Ad hoc image borders

2008-10-28 Thread kilucas

Can I add a border to one-off images via TW markup pleae? I've seen
some postings about changing my stylesheet to apply borders to all
images but I'm not quite so clear whether I can add them on an ad hoc
basis.

Many thanks

Kevin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: SinglePageModePlugin question

2008-10-28 Thread Eric Shulman

 I was wondering how to set default configuration options for the
 SinglePageModePlugin (or through some other mechanism) so that tiddlers
 always open at the top.
 I know how to do it for *myself*. My question is really about how to do
 it by *default* so that non-technical users don't have to twiddle with
 options.

You can use a [[CookieJar]] tiddler, tagged with systemConfig, to set
hard-coded values for any TW option settings, like this:
   config.options.chkTopOfPageMode=true;
Then, when the document is reloaded, this setting is applied,
effectively ignoring any browser-based cookie value that may be set.

(note: you can use any name for the tiddler... I just like calling it
[[CookieJar]]...)

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



Re: Announcing d-cubed version 1.2.0

2008-10-28 Thread SteveB

I would like to play around with this, looks interesting!

Can anyone tell me when tiddlyspot.com will be updated with the newest
version or how I can update a personal tiddlyspot.com site with the
latest version?

THANKS!
Steve

On Oct 27, 12:53 pm, Tom Otvos [EMAIL PROTECTED] wrote:
 GTDers,

 I would like to announce an update to d-cubed, version 1.3.0. D-cubed  
 (or d3) is one of the two very popular GTD systems based on TiddlyWiki.

 This is a minor update to the previous 1.2 release of d-cubed,  
 providing compatibility with the latest (2.4.1 as of this writing)  
 version of TiddlyWiki. This release does not introduce any new  
 features beyond the greatly expanded capabilities of TiddlyWiki  
 itself. It does fix several minor bugs, including:

         • fix if two contexts are open, and action in first context is  
 complete, then other context will not show next action correctly
         • no longer rely on NewerTiddlerPlugin in GTDMenu, avoiding  
 compatibility bugs
         • removed obsolete plugins, including TWUpdate and NewerTiddlerPlugin
         • updated GTDMenu to include sliders for reference and someday  
 tiddlers

 Important note to upgraders: Because of the changes to TiddlyWiki, it  
 is not possible to upgrade to this new version from version 1.2 using  
 the normal one-click update you are familiar with. Indeed, the only  
 way to get this new version is to start with an empty d-cubed  
 document, and import your projects, actions, and contexts from your  
 existing d-cubed document. Download an empty document from dcubed.ca,  
 and follow the update instructions provided.
 You can get this latest version at the home of d-cubed:

 http://www.dcubed.ca/

 Comments, questions, and complaints are very welcome. Just post them  
 to the GTD-TiddlyWiki group and I will try to respond as promptly as  
 possible.

 Enjoy!

 -- tomo

 Breathing in long, he discerns, 'I am breathing in long' - MN 118
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups GTD 
TiddlyWiki group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/GTD-TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: How to format source code in TW ?

2008-10-28 Thread FND

 I don't have access to tiddlywiki.org at work, but I wanted to add [...]

I've taken the liberty of applying those modifications:
 http://tinyurl.com/6n3jdt 
(http://www.tiddlywiki.org/index.php?title=Syntax_Highlightingdiff=6561oldid=6556)

Hope that's correct.


-- F.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~--~~~~--~~--~--~---