[tw] Re: Rendering SVG?

2009-08-07 Thread Tobias Beer
Hi Jonnan, just if you wanted to get rid of the tagglyTagging controls in your mainMenu, try putting this into your stylesheet tiddler: #mainMenu .tagglyTagging .tagglyLabel, #mainMenu .tagglyTagging .hidebutton, #mainMenu .tagglyTagging .button {display:none}

[tw] Re: Rendering SVG?

2009-07-31 Thread Jonnan
Nope - http://storywiki.tiddlyspot.com/#TiddlyWikiSVG works, the actual plugin is http://storywiki.tiddlyspot.com/#inlineSVG I have all my help files tagged excludeSearch and excludeLists because I use a variant of this Wiki for stories (Well, for people with *talent* to write stories) and

[tw] Re: Rendering SVG?

2009-07-31 Thread cedardocster
DDT Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: Jonnan jonnan.w...@gmail.com Date: Fri, 31 Jul 2009 13:54:40 To: TiddlyWikiTiddlyWiki@googlegroups.com Subject: [tw] Re: Rendering SVG? Nope - http://storywiki.tiddlyspot.com/#TiddlyWikiSVG

[tw] Re: Rendering SVG?

2009-07-30 Thread cedardoc
re RaphaelPlugin, has anyone tried using this to generate a graph based on a custom field value across many tiddlers using a forEachTiddler statement? I'd like to be able to do that but I'm unsure of how to mix the inline script language with the FET language - an example would really help...

[tw] Re: Rendering SVG?

2009-07-30 Thread Jonnan
Actually no - I'm moderately familiar with SVG, and when implemented it works fairly spiffilly I suspect the issue is my ignorance and the fact that I'm basically practicing voodoo programming and throwing things together that I don't actually deeply understand. I seem to have issues with object

[tw] Re: Rendering SVG?

2009-07-30 Thread Mark S.
I don't see the TiddlyWikiSVG tiddler at your site -- maybe you forgot to upload? The reference material I have says you have to define your gradients in a def tag inside of the svg tag, and then link them with fill:url() syntax when drawing the elements. I suppose this complexity is the reason

[tw] Re: Rendering SVG?

2009-07-29 Thread Mark S.
I think you're making great progress. Embedding SVG would allow TW to be used for parts diagrams, games, maps ... lots of cool stuff. In your code, try replacing: $(place).appendChild(svgObject); with : jQuery(place).append(svgObject); And replace your macro with: SVG circle r='50'

[tw] Re: Rendering SVG?

2009-07-29 Thread Eric Shulman
I feel like I must be both reinventing the wheel, and the most retarded caveman ever to do it,but to expand the functionality of TiddlyWiki for writing stories, I have been trying to get a macro to interpret/add inline svg graphics to tiddlywiki. This might be of interest:

[tw] Re: Rendering SVG?

2009-07-29 Thread AndrewMc
Hi Jonnan On Jul 30, 1:11 am, Jonnan jonnan.w...@gmail.com wrote: I feel like I must be both reinventing the wheel, and the most retarded caveman ever to do it,but to expand the functionality of TiddlyWiki for writing stories, I have been trying to get a macro to interpret/add inline svg

[tw] Re: Rendering SVG?

2009-07-29 Thread Jonnan
And Hah!!! Thank you sir - I'd have never thought about jQuery there; And the tweak needed? Add the Namespace!! config.macros.SVG = { handler: function (place, macroName, params, wikifier, paramString, tiddler) { var svg = params[0] var svgObject = document.createElement('object');

[tw] Re: Rendering SVG?

2009-07-29 Thread Jonnan
For reference purposes - the system doesn't seem to work well with the svg 'use' command - I suspect something in xlink isn't pulling things through properly, which explains the issues with gradients not working in the original blog (Uses definitions). It's a fairly severe limitation, so if

[tw] Re: Rendering SVG?

2009-07-29 Thread Paul Gallagher
Hi Jonnan, Eric's already mentioned raphaeljs, which I'd really recommend you check out. You might also get some ideas from the way the jtab guitar tab library works - essentially a domain specific language for rendering guitar notation in SVG (see http://jtab.tardate.com and also