[tw] Re: Very slow TW hogs processor

2009-02-13 Thread kilucas

Mark

I'd assumed that plugins couldn't be the problem because it persists
when they're all disabled. Am I being naive about how the plugins
work?

Pseudo Realname

I'll take a look at the wizard as you suggest. The quick pasting test
I did last night was from Wikipedia. I'd expect some of my pastes to
be from MS Word but didn't try that.

Firefox would have some advantages in that I can control updates
better since it's not our corporate browser standard and the version
of HTMLArea that I use works better in FireFox. But, if I share my
TWs, I can't be sure which browser will be in place and it'd be great
if my TWs were therefore browser agnostic.

I'll also remind myself how to post TWs on tiddlyspot to see if I can
post one of my rogue TWs.

Thanks for your help.

Kevin

On Feb 13, 7:48 am, Pseudo Realname pseudo.realn...@googlemail.com
wrote:
 2009/2/13 kilucas kevin.lu...@concave.co.uk:



  - If I attempt to paste into the editing area in FireFox I get the
  error about unprivileged scripts being unable to access copy, cut and
  paste for security reasons. I've seen material somewhere on how to fix
  this on a single PC but it sounds a bit nightmarish if I want to share
  my TWs.

 Regarding firefox, maybe that enabling could be incorporated in a plugin.
 With luck its some line like
                         
 netscape.security.PrivilegeManager.enablePrivilege(UniversalXPConnect);
 (that one is from filesaving).
 That triggers the security-question.
 You could 
 givehttp://firefoxprivileges.tiddlyspot.com/#[[Firefox%20Privileges%20Wizard]]
 a try.
 Save locally, enable everything, try pasting.

 Can you post a tiddly with that plugins somewhere? And from where do
 you paste? (i am on ubuntu and have never problems with that. But then
 i usually paste plain text. Or the plugins try to access the clipboard
 actively, and forget to ask.)



  Thanks

  Kevin- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: Very slow TW hogs processor

2009-02-12 Thread kilucas

Dave

Thanks for this. I've used your site a lot and had implemented most if
not all of your suggestions in these TWs. I'll double-check that all
the options are still set as you suggest though.

I already know that machine intensive panels aren't on display with
the exception of a tag cloud. But that's in my left column and
initially displays perfectly well. If I understand correctly, it's not
refreshed during normal use of the TWs either - I have to reload the
whole TW to make that happen. It only contains 10 or so entries and
none of these will account for more than 20 tiddlers.

So I'll keep exploring.

Thanks
Kevin

On Feb 12, 12:38 am, Dave Gifford - http://www.giffmex.org/;
giff...@gmail.com wrote:
 Kevin

 Don't know if this will help  you or not, but I have a few tips at my
 tutorial

 http://www.giffmex.org/twfortherestofus.html#[[Tips%20for%20speeding%20up%20performance%20on%20large%20TiddlyWikis]]

 Dave
--~--~-~--~~~---~--~~
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 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



[tw] Does sync do any work during normal TW use

2009-02-12 Thread kilucas

I'm suspicious that sync may be causing my TWs to hog processor
especially as some postings here suggest elements of it are more
fragile under IE than FireFox and may problems only arise under the
former.

But I'm not clear whether any sync processing is done during normal
viewing and editing of tiddlers or whether it's only done when using
the backstage sync menu. If the latter, then presumably sync isn't
causing my problems.

Can anyone clarify when sync processing takes please please? I
understand that actual synchronization only occurs when I tell the TW
to do so but I wasn't clear when the status of tiddler synchronization
was checked for example.

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 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: Does sync do any work during normal TW use

2009-02-12 Thread kilucas

Thanks for this. If sync does nothing until invoked from the backstage
then I think I'm on the wrong tack and need to look for my problem
elsewhere.

Thanks very much for this as it'll help me focus on more likely
causes.

Kevin

On Feb 12, 1:11 pm, FND f...@gmx.net wrote:
  I'm suspicious that sync may be causing my TWs to hog processor

 At first glance, that seems unlikely - but I will investigate and
 respond your original post later.

  I'm not clear whether any sync processing is done during normal
  viewing and editing of tiddlers or whether it's only done when using
  the backstage sync menu.

 Normally, sync should only be triggered on request (i.e. manually by the
 user, usually via the respective backstage tab).
 So there is nothing going on in the background - in fact, we're actively
 trying to discourage any sort of phoning home behavior in TiddlyWiki*.

 HTH.

 -- F.

 * of course there might be valid use cases for plugins doing this - but
   that's outside the scope of the TiddlyWiki core
--~--~-~--~~~---~--~~
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 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: Very slow TW hogs processor

2009-02-12 Thread kilucas

Thanks for all the ideas here - much appreciated. What I've found so
far is:

- I use ASCIIMathML and the HTMLArea editor which require code in
MarkupPostBody and MarkupPreHeader. If I remove this code then the
HTMLArea wysiwyg editor is no longer invoked (I presume that means
I've removed the code that invokes it successfully) but the slow
performance persists.

- I also opened an Asciencpad file since that uses a version of
HTMLArea and ASCIIMathML too. It performed fine with no adverse
effects on the CPU.

- bearing in mind that disabling all my plugins doesn't solve the
problem either and that my TW's aren't huge (my main test TW is 888K)
I'm quite intrigued that I can switch so much off and still tie up the
CPU. Those IE6 challenges with slow javascript are starting to look
suspicious now although I don't understand why Asciencepad will run
OK!

- Although I'm no longer suspicious of sync since it does nothing
unless invoked manually, I checked the macro error and it merely says
Error while executing macro sync: [object error]

- I opened a raw TW without any performance problems. I imported all
tiddlers from a TW which performs slowly, saved and reloaded. The new
TW then performed poorly and tied up the CPU

- My main test TW holds approx 160 tiddlers including approx 30
plugins.

- My TWs are built from a master which has approx 100 tiddlers
including the same 30 plugins. So I must have around 60 content
tiddlers.

- The ASCIIMathML is displayed (in IE at least) by the MathPlayer.
This is uptodate and works on other sites. In practice I don't think
it's part of the issue because I'm not actually displaying any maths
when the problems begin and its initial splash screen is not displayed
even allowing for the poor performance.

- Just in case it's significant, I'll note that there's a short period
of about a second or two when the TW has opened and displayed the sole
default tiddler and when CPU usage drops and mouse responses are
normal. Only a second or so later does CPU rise and mouse response
takes minutes.

- I've yet to find out how to check which hotfixes I have but will do
that soon.

- I've begun to explore javascript slowness on Google but need to
spend more time on that. I'm really hoping that's not the problem
because it suggests that my ability to use my TWs is at the whim of
hotfixes. I also use my work PC and do not have complete control over
what is applied and when.

- If I attempt to paste into the editing area in FireFox I get the
error about unprivileged scripts being unable to access copy, cut and
paste for security reasons. I've seen material somewhere on how to fix
this on a single PC but it sounds a bit nightmarish if I want to share
my TWs.


With all this in mind I'll therefore explore the issues around
javascript slowness in ie6 and see what I can learn about my hotfixes.

Thanks

Kevin


On Feb 12, 2:16 pm, Mark S. throa...@yahoo.com wrote:
 Have you installed any service packs?

 If you google javascript runs slowly in ie6 you'll find lots of
 people are having similar problems with IE. There is also a Jscript
 update from MicroS*ft that is meant to speed things up in some
 situations.

 What happens if you start with a clean fresh TW and just add your data
 tiddlers to it? Does it still run slow?

 -- Mark

 On Feb 12, 1:07 am, kilucas kevin.lu...@concave.co.uk wrote:



  Dave

  Thanks for this. I've used your site a lot and had implemented most if
  not all of your suggestions in these TWs. I'll double-check that all
  the options are still set as you suggest though.

  I already know that machine intensive panels aren't on display with
  the exception of a tag cloud. But that's in my left column and
  initially displays perfectly well. If I understand correctly, it's not
  refreshed during normal use of the TWs either - I have to reload the
  whole TW to make that happen. It only contains 10 or so entries and
  none of these will account for more than 20 tiddlers.

  So I'll keep exploring.

  Thanks
  Kevin

  On Feb 12, 12:38 am, Dave Gifford -http://www.giffmex.org/;

  giff...@gmail.com wrote:
   Kevin

   Don't know if this will help  you or not, but I have a few tips at my
   tutorial

  http://www.giffmex.org/twfortherestofus.html#[[Tips%20for%20speeding%20up%20performance%20on%20large%20TiddlyWikis]]

   Dave- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



[tw] Very slow TW hogs processor

2009-02-11 Thread kilucas

After working on other projects for approximately two months I've
returned to the TWs that I use with IE6 under Windows XP to find they
all run very slowly. 2-3 minutes pass before the TWs respond to mouse
clicks for example. And IE is reported as using 50% of my processor.
This is all quite different from when I last used them so it's not
obvious that TW size is an issue.

They perform fine under Firefox though.

The poor performance under IE6 remains even if I disable all plugins
which means I'm having to think a bit hard about where to look for the
cause. Performance is fine on a clean, empty TW in IE6 though.

My TWs use Bram Chen's HTMLArea which presumably is not disabled when
I disable the plugins. But that's not changed since these last worked.
I also use ASCIIMathML but the performance is so poor that I haven't
even got as far as displaying a tiddler that contains mathematical
material.

I'm a bit suspicious that my plugins mostly sync to a master TW and,
in IE, the sync button throws an apparently common macro error. In
Firefox the sync button is available though. The master file is also
fully available.

I've tried to think through what's changed since I last opened these
TWs. Installation of Skype and an upgrade to PersonalBrain v5 come to
mind. Automatic Windows updates will have occured but I don't know
what they are. Java is fully uptodate. It's not obvious to me that any
of these is problematic apart from the scope that Windows update has
to change my infrastructure in uncertain ways.

I couldn't spot any similar problems in this forum but thought I'd
just ask if anyone else has encountered this type of issue while I try
to work out where to look for the cause or how to work round it.
(Working solely in FireFox doesn't work for me because I need to be
able to paste into my TWs and FireFox won't permit that).

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 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: CoreTweaks keeps resetting AutoSave

2008-11-24 Thread kilucas

Wolfgang

Thanks for checking. I'm not using MPTW in this case though and am
continuing to assume, for now at least, that errors in my tagging are
the cause of the problem rather than CoreTweaks.

And, if I'm right it'll be a relief because I was interested in
CoreTweaks for UNC referencing to TWs, and linking to tiddler headings
as well as fixing my Missing toddlers list. As far as I can tell these
all work fine but the Missing tiddlers depends on being able to tag
tiddlers in bulk reliably and I can't get that to work through
backstage Tweaks correctly. An earlier attempt did force some tag
changes but overwrote some tags too and I suspect this caused problems
with AutoSave and with the HTMLArea editor.

If I don't change my tags, CoreTweaks looks absolutely fine based on
my limited checks and that's why my focus for now, is on getting the
right tags in place.

Thanks for your idea.

Kevin

On Nov 23, 11:41 pm, wolfgang [EMAIL PROTECTED] wrote:
 Hi Kevin,

 By any change, are you using MPTW. Because its MptwConfigPlugin
 tiddler would hard code the auto save on.

 Regards,

 W.
--~--~-~--~~~---~--~~
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: CoreTweaks keeps resetting AutoSave

2008-11-24 Thread kilucas

Wolfgang

I haven't checked that so thanks for the tip and I'll take a look.

Kevin

On Nov 24, 10:28 am, wolfgang [EMAIL PROTECTED] wrote:
  If I don't change my tags, CoreTweaks looks absolutely fine based on
  my limited checks and that's why my focus for now, is on getting the
  right tags in place.

 Have you already checked MultiTagEditorPlugin? Though it doesn't works
 as fast as TiddlerTweakerPlugin, in fact it often freezes the browser
 for a long time if you add a new tag to many tiddlers at once:

 http://ido-xp.tiddlyspot.com/#MultiTagEditorPlugin

 Regards,

 W.
--~--~-~--~~~---~--~~
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: CoreTweaks keeps resetting AutoSave

2008-11-23 Thread kilucas

Eric

Thanks for this. In my TWs the backstage Tweaks handles
TiddlyTweakerPlugin but the backstage Options certainly have the
AutoSave option you mention although setting it makes no difference -
It's unset afterwards.

However, the particular reason for applying CoreTweaks just now is to
make the Missing list of tiddlers work and that requires that I tag
many tiddlers with excludeMissing. I've attempted to to do this using
TiddlerTweakerPlugin but it isn't behaving in the way I understand
from the documentation and I'm suspicious that the problem I initially
attributed to CoreTweaks was actually caused by disruption to my tags.

I've posted a separate query to see if I can understand
TiddlerTweakerPlugin better and meanwhile am guessing that my tagging,
rather than CoreTweaks, caused my problem.

I'll try to remember to post what I learn here.

Thanks

Kevin


On Nov 22, 8:59 pm, Eric Weir [EMAIL PROTECTED] wrote:
 On 11/22/2008 kilucas wrote:
   I've just applied CoreTweaks and find that the AutoSave option keeps
   being set to on whether I set it to off in the right sidebar options
   or in the backstage options.

 Go to the backstage, click on tweaks, check to see if the autosave
 option is checked. If so, uncheck it.

 
 Eric Weir
 Decatur, GA  USA
 [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
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: Using Missing Tiddlers

2008-11-19 Thread kilucas

Wow! I was asking more in hope than expectation. How excellent. I have
to apply coretweaks for a variety of reasons and will crack on with
that sharpish.

Thanks very much indeed.

Kevin

On Nov 19, 11:56 am, Eric Shulman [EMAIL PROTECTED] wrote:
  then there is one CoreTweak no. 067 to reduce their number
  ...
  This tweak removes content contained between certain
  delimiters before scanning tiddler source for possible links.

 http://www.tiddlytools.com/#CoreTweaks

 Note: the tweak only temporarily 'removes' the errant text content
 *during* the scan for links processing.  There is no change to the
 actual tiddler content that is stored or rendered.  A more accurate
 phrase would be:

  This tweak *bypasses* content contained between certain
  delimiters *while* scanning tiddler source for possible links.

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



[tw] Re: Less than, less than or equal to, etc in ASCIIMathML

2008-11-14 Thread kilucas

The following solution is from David Lippman in the ASCIIMath Google
group:


= doesn't always work because the editor can sometimes mess up
encoding of HTML entities.

To get it to recognize gt or \gt, search the ASCIIMathML.js file for
a
line like:

{input:lt,  tag:mo, output:,  tex:null, ttype:CONST},

and add a line after it that looks like:

{input:gt,  tag:mo, output:,  tex:null, ttype:CONST},


-David


On Nov 5, 10:09 pm, kilucas [EMAIL PROTECTED] wrote:
 If I use a=b in the hope of generating a less than or equal to
 symbol in ASCIIMathML within a TiddlyWiki, I see a ;=b. But if I
 use a\leb I do indeed see a less than or equal to b symbolically.
 But I don't see any reference to \le in the ASCIMathML documentation.

 I can also use \lt for less than, \ge for greater than or equal to,
 but oddly can't use \gt for greater than; the result is just displayed
 as gt.

 Does anyone know:

 1) why this is happening

 2) whether I have to do something special to get ASCIIMathML to
 recognise the documented character sequaneces

 3) and what symbol system I've stumbled on with the back-slash based
 codes

 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] Bullets in HTMLArea

2008-11-14 Thread kilucas

I'm using standard bullets using the* markup and numbered bullets
using the # markup in HTMLArea and wondered if anyone has any clues
about how to resolve the following perhaps:

1) Bullets are widely spaced - like paragraph spacing. But in some
HTML editors it's possible to have them in adjacent screen lines. Is
there a way to tell my bullets to pack closer together?

2) Numbered bullets don't get numbered - they're all set to the number
1

3) If I place some ASCIIMathML is a standard or numbered bullet, the
line breaks at that point when the tiddler is displayed. (It doesn't
break when I'm initially editing the line but displays in the editor
as broken if I return to the editor after displaying the tiddler). How
can I place ASCIIMathML in a bullet and have the text remain
continuous? (ASCIIMathML is signified by a back single-quote and I
wondered if that was causing a problem somehow and if so how to
resolve it).

Thanks for any clues you migtht have.

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: Using ASCIIsvg in TW

2008-11-02 Thread kilucas

David's made the following suggestion:


This is untested so no guarantees, but you can try this:  In
AsvgHA.js
(or ASCIIsvgHA.js) drawPics, replace

var sscr = picture.getAttribute(sscr);
  if ((sscr != null)  (sscr != )) {
  try {
  if (isIE) {
  parseShortScript(sscr);
  //names the SVG so it can identify
itself onclick
  picture.window.setname(picture.id);
  }
  } catch (e) {}
  }


with


var sscr = picture.getAttribute(sscr);
var src = picture.getAttribute(script);


  if ((sscr != null)  (sscr != )) {
  try {
  if (isIE) {
  parseShortScript(sscr);
  //names the SVG so it can identify
itself onclick
  picture.window.setname(picture.id);
  }
  } catch (e) {}
  } else  if ((src!=null)  (src != )) {
  try {
 if (isIE) {
  with (Math) eval(src);
  picture.window.setname(picture.id);
 }
  } catch(err) {alert(err+\n+src)}
  }

Kevin



On Oct 28, 12:18 pm, kilucas [EMAIL PROTECTED] wrote:
 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 inASCIIsvgwhich 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 andASCIIsvgwith HTMLArea in TiddlyWiki. The
 implementation I have 
 fromhttp://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 theASCIIsvg
 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 theASCIIsvghome 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 myASCIIsvgcode 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 theASCIIsvghome 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 theASCIIsvg
 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 theASCIIsvgplugin for HTMLArea, there were two files
 in
 addition toASCIIsvg.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

[tw] Re: Using ASCIIsvg in TW

2008-11-02 Thread kilucas

Here's what I found when I tried this.

I placed the following in a wyswiwyg tiddler within Bram Chen's
HTMLArea using the html view (not the standard editor view):

embed src=HTMLArea/plugins/AsciiSvg/d.svg script=border = 0
initPicture(-10,10)
axes()
stroke = 'red'
p = []
with (Math)
  for (t = 0; t  10.01; t += 0.05)
p[p.length] = [t*cos(PI*t), t*sin(PI*t)]
path(p) /

It's code from an example of a drawing at the ASCIISVG home page at
http://www1.chapman.edu/~jipsen/svg/asciisvg.html but modified as
follows:

1) When I save the original raw embed statement, the delimeiters for
the script are changed from single quotes to double quotes and this
throws errors when the script encounters the red attribute. So I
changed the script delimiters to double quotes and the delimiters
within the script itself to single quotes

2) The original example begins embed width=117 height=117
src=d.svg ... The HTMLArea editor strips out the width and height
elements - I don't know why. But I think they're being remembered
because the SVG output seems to be affected by them nonetheless as
mentioned below

3) The original example refers to d.svg in the wrong location for
Bram's HTMLArea and I corrected it.

The result was that I did indeed see the drawing when I switched out
of raw html mode and back to normal viewing within the editor.

Another oddity was that I'd initially used a version of the embed
statement that omitted the height and width statements and the drawing
had been truncated on the right. When I replaced the width and height
statements, the drawing appeared correctly even though html view in
the editor no longer showed the width and height statements.

However, the drawing only appears as an empty SVG area when I view the
tiddler oustide the editor. Hence I'm only halfway to the desired
solution.


If I place the same embed statement in a non-wysiwyg tiddler (so it's
never been touched by HTMLArea) I just see the embed statement when I
view the tiddler.


Overall I'm therefore left wondering:

1) How can I get the drawing displayed when viewing the tiddler? Is
there perhaps an equivalent place in my TW where I need to get the
right code to execute at view time instead of edit time?
2) Can I stop HTMLArea swapping the script delimeters to single
quotes?
3) can I stop HTMLArea removing thew width and height statements?
4) How would I invoke the same drawing from a non-wysiwyg tiddler.
(Maybe the answer to 1 above will help here).

I'll let you know if I learn more but if anyone has any insights that
might help further, please by all means let me know.

Thanks

Kevin

On Nov 2, 8:57 pm, kilucas [EMAIL PROTECTED] wrote:
 David's made the following suggestion:

 This is untested so no guarantees, but you can try this:  In
 AsvgHA.js
 (or ASCIIsvgHA.js) drawPics, replace

 var sscr = picture.getAttribute(sscr);
           if ((sscr != null)  (sscr != )) {
                   try {
                           if (isIE) {
                                   parseShortScript(sscr);
                                   //names the SVG so it can identify
 itself onclick
                                   picture.window.setname(picture.id);
                           }
                   } catch (e) {}
           }

 with

 var sscr = picture.getAttribute(sscr);
 var src = picture.getAttribute(script);

           if ((sscr != null)  (sscr != )) {
                   try {
                           if (isIE) {
                                   parseShortScript(sscr);
                                   //names the SVG so it can identify
 itself onclick
                                   picture.window.setname(picture.id);
                           }
                   } catch (e) {}
           } else  if ((src!=null)  (src != )) {
                           try {
                              if (isIE) {
                                   with (Math) eval(src);
                                   picture.window.setname(picture.id);
                              }
                           } catch(err) {alert(err+\n+src)}
                   }

 Kevin

 On Oct 28, 12:18 pm, kilucas [EMAIL PROTECTED] wrote:



  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 inASCIIsvgwhich 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 andASCIIsvgwith HTMLArea in TiddlyWiki. The
  implementation I have

[tw] Re: Using ASCIIsvg in TW

2008-11-02 Thread kilucas

In a standard (non-wysiwyg tiddler) I get the same output as for a
wysiwyg tiddler when the tiddler is displayed - an empty SVCG pane -
if I surround the embed statement with html and /html which is
needed, I believe, to tell a standard tiddler to behave as a chunk of
html.

In both cases therefore the formost challenge seem to lie in getting
the drawing to draw on the SVG pane. As the drawing is defined by the
script I'm guessing the problem lies in getting the script executed
when a tiddler is displayed as against when it's edited in the
HTMLArea editor which I can now achieve with the modified scripts
above.

Kevin

On Nov 2, 9:19 pm, kilucas [EMAIL PROTECTED] wrote:
 Here's what I found when I tried this.

 I placed the following in a wyswiwyg tiddler within Bram Chen's
 HTMLArea using the html view (not the standard editor view):

 embed src=HTMLArea/plugins/AsciiSvg/d.svg script=border = 0
 initPicture(-10,10)
 axes()
 stroke = 'red'
 p = []
 with (Math)
   for (t = 0; t  10.01; t += 0.05)
     p[p.length] = [t*cos(PI*t), t*sin(PI*t)]
 path(p) /

 It's code from an example of a drawing at the ASCIISVG home page 
 athttp://www1.chapman.edu/~jipsen/svg/asciisvg.htmlbut modified as
 follows:

 1) When I save the original raw embed statement, the delimeiters for
 the script are changed from single quotes to double quotes and this
 throws errors when the script encounters the red attribute. So I
 changed the script delimiters to double quotes and the delimiters
 within the script itself to single quotes

 2) The original example begins embed width=117 height=117
 src=d.svg ... The HTMLArea editor strips out the width and height
 elements - I don't know why. But I think they're being remembered
 because the SVG output seems to be affected by them nonetheless as
 mentioned below

 3) The original example refers to d.svg in the wrong location for
 Bram's HTMLArea and I corrected it.

 The result was that I did indeed see the drawing when I switched out
 of raw html mode and back to normal viewing within the editor.

 Another oddity was that I'd initially used a version of the embed
 statement that omitted the height and width statements and the drawing
 had been truncated on the right. When I replaced the width and height
 statements, the drawing appeared correctly even though html view in
 the editor no longer showed the width and height statements.

 However, the drawing only appears as an empty SVG area when I view the
 tiddler oustide the editor. Hence I'm only halfway to the desired
 solution.

 If I place the same embed statement in a non-wysiwyg tiddler (so it's
 never been touched by HTMLArea) I just see the embed statement when I
 view the tiddler.

 Overall I'm therefore left wondering:

 1) How can I get the drawing displayed when viewing the tiddler? Is
 there perhaps an equivalent place in my TW where I need to get the
 right code to execute at view time instead of edit time?
 2) Can I stop HTMLArea swapping the script delimeters to single
 quotes?
 3) can I stop HTMLArea removing thew width and height statements?
 4) How would I invoke the same drawing from a non-wysiwyg tiddler.
 (Maybe the answer to 1 above will help here).

 I'll let you know if I learn more but if anyone has any insights that
 might help further, please by all means let me know.

 Thanks

 Kevin

 On Nov 2, 8:57 pm, kilucas [EMAIL PROTECTED] wrote:



  David's made the following suggestion:

  This is untested so no guarantees, but you can try this:  In
  AsvgHA.js
  (or ASCIIsvgHA.js) drawPics, replace

  var sscr = picture.getAttribute(sscr);
            if ((sscr != null)  (sscr != )) {
                    try {
                            if (isIE) {
                                    parseShortScript(sscr);
                                    //names the SVG so it can identify
  itself onclick
                                    picture.window.setname(picture.id);
                            }
                    } catch (e) {}
            }

  with

  var sscr = picture.getAttribute(sscr);
  var src = picture.getAttribute(script);

            if ((sscr != null)  (sscr != )) {
                    try {
                            if (isIE) {
                                    parseShortScript(sscr);
                                    //names the SVG so it can identify
  itself onclick
                                    picture.window.setname(picture.id);
                            }
                    } catch (e) {}
            } else  if ((src!=null)  (src != )) {
                            try {
                               if (isIE) {
                                    with (Math) eval(src);
                                    picture.window.setname(picture.id);
                               }
                            } catch(err) {alert(err+\n+src)}
                    }

  Kevin

  On Oct 28, 12:18 pm, kilucas [EMAIL PROTECTED] wrote:

   I posted some informatiuon about this in the ASCIIMath

[tw] Re: Using ASCIIsvg in TW

2008-11-02 Thread kilucas

I've succeeded in getting drawings to draw correctly when a tiddler is
displayed.

Guessing that ASCIIsvgAddon.js handled display of the drawing when a
tiddler is viewed and knowing it contains a drawpics function that was
almost identical to that in AsvgHA.js, I modified that in the former
as follows:

I changed the following code in drawpics from ...


  var sscr = picture.getAttribute(sscr);
  if ((sscr != null)  (sscr != )) {
  try {
  parseShortScript(sscr);
  } catch (e) {}
  }

to ...

//Modified by K Lucas following a related suggestion by David Lippman
  var sscr = picture.getAttribute(sscr);
var src = picture.getAttribute(script);
  if ((sscr != null)  (sscr != )) {
  try {
  parseShortScript(sscr);
  } catch (e) {}
  } else  if ((src!=null)  (src != )) {
  try {
 if (isIE) {
  with (Math) eval(src);
//
picture.window.setname(picture.id);
 }
  } catch(err) {alert(err+\n+src)}
  }
//end of K Lucas modification

Now static drawings appear when tiddlers are viewed and whether or not
they are edited with the standard TW editor or the html view in
HTMLArea.

I'm getting some odd effects in this specific spiral drawing because
the drawing is truncated at the top and bottom in both the html view
within HTMLArea and when the drawing is viewed outside the editor,
regardless of whether the drawing was created in a wysiwyg tiddler or
a standard tiddler. This truncation remains even if I replace the
width and height settings (which I can currently only do reliably in a
non-wysiwyg tiddler because HTMLArea strips these out of the embed
statement).

I also get truncation on the right of the drawing when I first view it
in the wysiwyg view of the HTMLArea editor but not when I look at the
code in html view and then return to wysiwyg view.

But I've created a simpler drawing using the folling and this appears
to display correctly in all circumstances.

embed width=117 height=117 src=HTMLArea/plugins/AsciiSvg/d.svg
script='
initPicture(-2,2)
grid(1,1)
marker = arrow
stroke = red
line([0,0],[1,1])
'

I'm conscious that I haven't tested David's original suggestion fully
or my further implementation of it in ASCIIsvgAddon.js and don't
really know how to do this other than to exercise it through examples.
But this all seems to be a great step forward. Beyond that testing, my
outstanding issues are therefore:

1) Can I stop HTMLArea swapping the script delimeters to single
quotes?

2) Can I stop HTMLArea removing the width and height statements?

3) How can I get the spiral drawing displayed without top and bottom
truncation when viewing the tiddler?

4) how can I get the spiral drawing to display without truncation of
the right-hand side when first viewed within HTMLArea's wysiwyg view

5) Find out whether animated drawings will also work using these
modified .js files.


If anyone has any insights into 1- 4 above I'd be very interested to
hear your ideas. And I'll report back on item 5 when I've tried it.

Many thanks

Kevin


On Nov 2, 9:29 pm, kilucas [EMAIL PROTECTED] wrote:
 In a standard (non-wysiwyg tiddler) I get the same output as for a
 wysiwyg tiddler when the tiddler is displayed - an empty SVCG pane -
 if I surround the embed statement with html and /html which is
 needed, I believe, to tell a standard tiddler to behave as a chunk of
 html.

 In both cases therefore the formost challenge seem to lie in getting
 the drawing to draw on the SVG pane. As the drawing is defined by the
 script I'm guessing the problem lies in getting the script executed
 when a tiddler is displayed as against when it's edited in the
 HTMLArea editor which I can now achieve with the modified scripts
 above.

 Kevin

 On Nov 2, 9:19 pm, kilucas [EMAIL PROTECTED] wrote:



  Here's what I found when I tried this.

  I placed the following in a wyswiwyg tiddler within Bram Chen's
  HTMLArea using the html view (not the standard editor view):

  embed src=HTMLArea/plugins/AsciiSvg/d.svg script=border = 0
  initPicture(-10,10)
  axes()
  stroke = 'red'
  p = []
  with (Math)
    for (t = 0; t  10.01; t += 0.05)
      p[p.length] = [t*cos(PI*t), t*sin(PI*t)]
  path(p) /

  It's code from an example of a drawing at the ASCIISVG home page 
  athttp://www1.chapman.edu/~jipsen/svg/asciisvg.htmlbutmodified as
  follows:

  1) When I save the original raw embed statement, the delimeiters for
  the script are changed from single quotes to double quotes and this
  throws errors when the script encounters the red attribute. So I
  changed the script delimiters to double quotes and the delimiters
  within the script itself to single quotes

  2) The original example begins embed width=117 height=117
  src=d.svg ... The HTMLArea editor

[tw] Re: Using ASCIIsvg in TW

2008-11-02 Thread kilucas

Just on the truncation of the spiral drawing ...

The top and bottom truncation is fixed if I specifiy the y-axis
minimum and maximum explicitly in initpicture(-10,10,-10,10) rather
than initpicture(-10,10). I don't know why the version of ASCIISVG
that I'm using needs this when the ASCIISVG home page does not.

I still don't understand the right-hand truncation. The drawing
initially appears in HTMLArea as a square with the origin offset to
the right because the x axis runs from -10 to only approximately 3.
The region with x from 3 to 10 is all missing. When I view the tiddler
in html mode and then revert to wysiwyg mode, the full x axis is shown
but on a drawing which is now wider than it is tall, the x-axis
spacing remaining the same as it was originally shown but the drawing
is wider to accomodate the x region from 3 to 10.

Yet, when the tiddler is viewed after editing, the drawing is square
and correctly formed again.

Ultimately I need the drawing correct in view mode and that's working.
But it'd be great to fix the editing mode which is, after all, meant
to be WYSIWYG.

Kevin

On Nov 2, 10:48 pm, kilucas [EMAIL PROTECTED] wrote:
 David

 I've made significant progress and can now view drawings with partial
 success when tiddlers are viewed. Here's the posting I addded to the
 TiddlyWiki group that provides the details of what I did alongside
 what does and doesn't work now. And, as ever, if you have any insights
 into the remaining challenges, it'd be great to hear your views.

 I've succeeded in getting drawings to draw correctly when a tiddler is
 displayed.

 Guessing that ASCIIsvgAddon.js handled display of the drawing when a
 tiddler is viewed and knowing it contains a drawpics function that was
 almost identical to that in AsvgHA.js, I modified that in the former
 as follows:

 I changed the following code in drawpics from ...

           var sscr = picture.getAttribute(sscr);
           if ((sscr != null)  (sscr != )) {
                   try {
                           parseShortScript(sscr);
                   } catch (e) {}
           }

 to ...

 //Modified by K Lucas following a related suggestion by David Lippman
           var sscr = picture.getAttribute(sscr);
 var src = picture.getAttribute(script);
           if ((sscr != null)  (sscr != )) {
                   try {
                           parseShortScript(sscr);
                   } catch (e) {}
           } else  if ((src!=null)  (src != )) {
                           try {
                              if (isIE) {
                                   with (Math) eval(src);
 //
 picture.window.setname(picture.id);
                              }
                           } catch(err) {alert(err+\n+src)}
                   }
 //end of K Lucas modification

 Now static drawings appear when tiddlers are viewed and whether or not
 they are edited with the standard TW editor or the html view in
 HTMLArea.

 I'm getting some odd effects in this specific spiral drawing because
 the drawing is truncated at the top and bottom in both the html view
 within HTMLArea and when the drawing is viewed outside the editor,
 regardless of whether the drawing was created in a wysiwyg tiddler or
 a standard tiddler. This truncation remains even if I replace the
 width and height settings (which I can currently only do reliably in a
 non-wysiwyg tiddler because HTMLArea strips these out of the embed
 statement).

 I also get truncation on the right of the drawing when I first view it
 in the wysiwyg view of the HTMLArea editor but not when I look at the
 code in html view and then return to wysiwyg view.

 But I've created a simpler drawing using the folling and this appears
 to display correctly in all circumstances.

 embed width=117 height=117 src=HTMLArea/plugins/AsciiSvg/d.svg
 script='
 initPicture(-2,2)
 grid(1,1)
 marker = arrow
 stroke = red
 line([0,0],[1,1])
 '

 I'm conscious that I haven't tested David's original suggestion fully
 or my further implementation of it in ASCIIsvgAddon.js and don't
 really know how to do this other than to exercise it through examples.
 But this all seems to be a great step forward. Beyond that testing, my
 outstanding issues are therefore:

 1) Can I stop HTMLArea swapping the script delimeters to single
 quotes?

 2) Can I stop HTMLArea removing the width and height statements?

 3) How can I get the spiral drawing displayed without top and bottom
 truncation when viewing the tiddler?

 4) how can I get the spiral drawing to display without truncation of
 the right-hand side when first viewed within HTMLArea's wysiwyg view

 5) Find out whether animated drawings will also work using these
 modified .js files.

 If anyone has any insights into 1- 4 above I'd be very interested to
 hear your ideas. And I'll report back on item 5 when I've tried it.

 Many thanks

 Kevin

 On Nov 2, 10:45 pm, kilucas [EMAIL PROTECTED] wrote:



  I've succeeded in getting drawings to draw correctly when a tiddler

[tw] Re: Sharing a TW over a local network

2008-10-31 Thread kilucas

FrD

I tried TiddlyLockPlugin but found that, although using some TWs all
by myself, I was sometimes told I could not effect changes because the
TW was locked. I'm guessing that maybe I closed some TWs without
saving changes and hence left the TW locked.

It's easy enough to unlock the TW - you just delete a lock file - but
this isn't something your network users might know and they could find
they're locked out of TWs they'd normally expect to be able to change.
It may be that a change in user behaviour would avoid the problem but
I doubt my users will remember any unintuitive or inconvenient rules
if that's what TiddlyLockPlugin really needs.

Others in this group might be better placed to clarify the
circumstances in which this can occur or how to avoid it. But it's
occurred often enough to me that I'm quite wary of using this solution
at present.

At the very least, might I suggest you implement it in a TW that
you'll use a lot and see if you encounter the same problems before
deploying it widely.

Like you I'd like to deploy in a multi-user environment but haven't
yet explored whether there are alternatives to TiddlyLockPlugin or
whether I can avoid the inconvenient lock-outs more reliably.

Good luck.

Kevin

On Oct 31, 9:14 pm, FrD [EMAIL PROTECTED] wrote:
 Thanks for your quick answer.
 I'll try the TiddlyLockPlugin this week-end

 FrD

 On 31 oct, 22:07, wolfgang [EMAIL PROTECTED] wrote:



  Hi FrD,

   I mean editing, modifying the TW. When someone is editing, the file is
   locked or some signal is send to others to prevent them from accessing
   the file.

  TiddlyLockPlugin prevents multiple edits at the same time:

 http://www.minormania.com/tiddlylock/tiddlylock.html#TiddlyLockPlugin

  W.- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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: 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

[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: Using Tiddler Sections

2008-10-27 Thread kilucas

Bram

Thanks for this. Do we know roughly when that'll be available perhaps?

Thanks

Kevin

On Oct 27, 4:29 pm, BramChen [EMAIL PROTECTED] wrote:
 Kevin

 It will be fixed in next release of AsciiMath package.

 On 10月26日, 上午8時48分, kilucas [EMAIL PROTECTED] wrote:



  I've mostly got CoreTweaks to manage links to tiddler headings and
  thought I'd try links to sections. I placed the following in a tiddler
  called Triangle:

  /%
  !Lastproof
  !end Lastproof
  %/

  but both Lastproof and end Lastproof are displayed in the tiddler
  as headings.

  The first /% is not displayed but the final %/ is displayed like a
  normal row.

  I'm using Bram Chen'sHTMLAreaas my editor so do you think this
  explains why the section name is visible perhaps?

  Thanks

  Kevin

  On Oct 22, 10:31 am, Michael.Tarnowski [EMAIL PROTECTED] wrote:

   Eric,
   the new release of your core tweaks solved my problem interpretation
   for external links. With the first release I did, what Ty suggested:
   specifiying a nice name in the link, like [[CustomName|
   SomeTiddler##Section1]] - this was interpreted as external link.
   Thus, no interference with other plugins.
   Now everythinks works great! --- Terrific work, well done, Eric!

   HAve a nice day.
   Michael

   On Oct 21, 6:16 pm, FND [EMAIL PROTECTED] wrote:

 As noted in CoreTweak #784, I have already created an open ticket for
 this enhancement

Oh wow, I had actually seen that in the Trac timeline a few days ago -
not sure why I didn't remember it now... My apologies.

-- F.- Hide quoted text -

   - Show quoted text -- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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: StyleSheetShortcuts and justification

2008-10-26 Thread kilucas

Thanks for this. It works fine when the text elements are short and
there's room for them all on the line. The left element seemed to
dominate the available space when there were length conflicts so I
need to think through whether that would occur much in the situations
I envisage. But if so, my use of multiple justifications on a single
line would probably be inappropriate anyway.

Many thanks indeed.

Kevin



On Oct 26, 2:22 am, Eric Shulman [EMAIL PROTECTED] wrote:
  Left text.{{center{Middle text}}}{{right{Right text}}}

  Although Middle text is centre-justified and Right text is right-
  justified, Middle text appears on the line below Left text and
  Right text appears yet another line below.

  Is there a way to have all three chunks of text appear on the same
  line perhaps?

 Try this:

 {{center{{{floatleft{left text}}}{{floatright{right text}}}middle
 text}}}

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



[tw] Image and table dialogs in HTMLArea

2008-10-26 Thread kilucas

I've been using HTMLArea from
http://sourceforge.net/project/showfiles.php?group_id=150646package_id=169974release_id=599120.
While most of the toobar buttons work as they should in Firefox(unlike
IE), the buttons for insertion of tables and images generate dialog
boxes into which I can type no text. Dropdown boxes work within the
dialogs, but that's all.

Is there something I need to do to Firefox or to HTMLArea to enable
these dialog boxes fully perhaps?

The text fields in the dialog boxes work fine in IE6 but the fact that
the rest of the buttons do not means I've not yet found a browser in
which I can get all of HTMLArea to work at present.

Thanks for any pointers you might have.

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] Creating linked tiddlers pre-tagged

2008-10-26 Thread kilucas

My primary content tiddlers are tagged with wysiwyg to force them to
open in the HTMLArea editor available at
http://sourceforge.net/project/showfiles.php?group_id=150646package_id=169974release_id=599120.

Courtesy of contributors to this group, I now know how to create a new
tiddler from the right menu bar so that it's tagged wysiwyg and
opens first time in the HTMLArea editor. But sometimes I want to
create a tiddler from the name of a non-existent tiddler that is
quoted within [[ ]] brackets inside another tiddler.

Is there a way to tell my TW that a tiddler created by clicking on the
name of a non-existent tiddler should be tagged as wysiwyg and
should open in the HTMLArea editor first time please?

In case it helps, I currently create new wysiwyg tiddlers from the
right sidebar with a button created with:

tiddler htmlareaPluginAddon with:new wysiwyg Create a tiddler
tagged with 'wysiwyg'


htmlareaPluginAddon contains:

tiddler _dummy with: {{
window._newWysiwyg = function(title){
var tiddler = new Tiddler(title);
tiddler.tags.push('wysiwyg');
tiddler.modifier = config.options.txtUserName;
store.addTiddler(tiddler);
story.displayTiddler(null,title,DEFAULT_EDIT_TEMPLATE);
return false;

}
}}htmla class=button href=javascript:; title=$2


onClick=_newWysiwyg.call(this,'$1')$1/a/html


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: UNC Path Problem - Resolution

2008-10-20 Thread kilucas

Ah, yes, I misinterpreted this.

I'd also read It is hoped that some of these tweaks may be
incorporated into later versions of the TW core and saw that the core
version to which it applied was 2.2.0. So I assumed that these tweaks
would be present in 2.4.1.

I'll go back and follow the instructions this time! Thanks for the
clarification.

Kevin

On Oct 20, 10:04 am, wolfgang [EMAIL PROTECTED] wrote:
   We'll look into this and hopefully provide a fix for the core.

  I've opened a ticket:http://trac.tiddlywiki.org/ticket/749

  I've updated TiddlyTools CoreTweaks to automatically make this change
  to the window.ieCreatePath() function.  (see tweak for ticket #749)

  To add this tweak to your documents, install the latest update from
  here:
     http://www.TiddlyTools.com/#CoreTweaks
  I too am having this problem even with a 2.4.1 core and the CoreTweaks
  imply that the necessary change has already been made in 2.4.1.
  It still seems odd that this problem persists in 2.4.1.

 You must have misread, CoreTweaks only writes:

 Note: the changes contained in this tiddler are generally applicable
 for the current version of TiddlyWiki (2.4.1).

 - so they are still applicable and not obsolete at all.

 I would recommend just to install CoreTweaks #749.

 W.
--~--~-~--~~~---~--~~
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: Bram Chen's HTMLArea

2008-10-20 Thread kilucas

No need to apologise - I'm just grateful for the tool and that the
langauge change is so straightforward.
I'll be interested to see if this also fixes the strange jumping of
the cursor to the bottom of the editing area when I apply formatting
changes like heading styles or bold.
Many thanks

Kevin

On Oct 20, 3:21 am, BramChen [EMAIL PROTECTED] wrote:
 You could manually modify the MarkupPreHead as:
 !--{{{--
 
 
 script type=text/javascript
 _editor_url = HTMLArea/;
 _editor_lang = en;
 /script
 
 !--}}}--

 Where the *_editor_lang* should be assigned to en but not zh-Hant
 in AsciiMath-2.4.1.en.html.
 Sorry, the mistake was the result of an oversight.

 --
 Bram

 On 10月20日, 上午8時59分, kilucas [EMAIL PROTECTED] wrote:



  Bram

  As I use more parts of HTMLArea including those which throw up dialog
  boxes from buttons on the toolbar, I find that many of them are
  labelled with symbols that my PC won't display. Even what are
  presumably OK and Cancel buttons on the hyperlink dialog just display
  as hollow squares.

  Am I somehow picking up labels that aren't in English and if so should
  I have made some configuration or file selection somewhere to see
  English labels perhaps?

  Many thanks for any guidance you have.

  Kevin

  On Oct 9, 11:35 pm, kilucas [EMAIL PROTECTED] wrote:

   Bram

   Thanks for this - I'm looking forward to trying it shortly.

   By the way, I noticed that some of the tooltips on the editor buttons
   show up on my PC as a series of hollow squares. Is this likely to be
   an issue with different langauge sets perhaps?

   Thanks very much for your help.

   Kevin

   On Oct 8, 4:08 am, BramChen [EMAIL PROTECTED] wrote:

Thanks Kevin and Eleanor,

I'd corrected the typos about 'wysywg' and change the default lang
setting ofHTMLAreaeditor to 'en' in AsciiMath-2.4.1.en.html.
Please downloaded AsciiMath-2.4.1.081008.zip from
 
http://sourceforge.net/project/showfiles.php?group_id=150646package_...

You could also customize the tags to enable and/or disable the wysiwyg
editor by changing the arrays' elements of
'config.macros.edit.enableWYSIWYGtags' and/or
'config.macros.edit.disableWYSIWYGtags', for example, to create a
tiddler tagged with systemConfig and add contents as below,
config.macros.edit.enableWYSIWYGtags = ['wysiwyg','SomeOtherTag'];
config.macros.edit.disableWYSIWYGtags =
['systemConfig','systemTiddler'];

then save changes and reload pages.

Cheers,

Bram Chen

On 10月8日, 上午1時31分, kilucas [EMAIL PROTECTED] wrote:

 Wow - it's excellent to see this in an uptodate TW. Thanks very much
 indeed.

 The only initial glitch I had was that I didn't realise I had to give
 a tag of wyswyg to any tiddler to be edited withHTMLAreaand that I
 initially assumed this would be wysiwyg. But I can live with that
 just to see those formulae and to have a mathematical core I can build
 on.

 Given that, yet again, I didn't win the Physics Nobel prize announced
 today your TW has still made my day!! Maybe I get to win it next year
 off my reinvigorated use of TW!

 Thank you very much.

 Kevin

 On Oct 7, 6:09 pm, kilucas [EMAIL PROTECTED] wrote:

  Ah, excellent. I will. Thanks
  Kevin

  On Oct 7, 10:12 am, BramChen [EMAIL PROTECTED] wrote:

   Sorry Kevin,

   I forgot to pack core .js file with AsciiMath-2.4.1.080902.zip.

   Download the new one, named AsciiMath-2.4.1.081007.zip, please.

   Bram

   On 10月7日, 上午3時45分, kilucas [EMAIL PROTECTED] wrote:

Very helpful all.

I'll experiment with this further very shortly but can I just 
check;
should I be able to open AsciiMath-2.4.1.en.html and 
seeHTMLAreain
action? When I try to open it Internet Explorer 6 and Firefox 
show a
blank screen.

I've unzipped everything, preserving folder structures, and just
attempted to open this file as it appeared there alongside ther
   HTMLAreafolder.

Thanks

Kevin

On Oct 6, 9:19 am, BramChen [EMAIL PROTECTED] wrote:

 The AsciiMath-2.4.1.080902.zip is now based on TW 2.4.1, it 
 could be
 downloaded from

http://sourceforge.net/project/showfiles.php?group_id=150646package_...

 --
 Bram

 On 10月6日, 下午2時58分, wolfgang [EMAIL PROTECTED] wrote:

 http://garr.dl.sourceforge.net/sourceforge/ptw/http://garr.dl.sourcef...

  W.- Hide quoted text -

 - Show quoted text -- Hide quoted text -

   - Show quoted text -- Hide quoted text -

  - Show quoted text -- Hide quoted text -

- Show quoted text -- Hide quoted text -

   - Show quoted text -- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki

[tw] Re: Bram Chen's HTMLArea

2008-10-20 Thread kilucas

That did indeed nail the language by the look of it. Many thanks
indeed.

The formatting tools still misbehave but I've noted that in a separate
thread so I'll post more information as I have it there.

I'll try the suggested solutions to creating a wysiwyg-tagged tiddler
first though in case the problem is caused by creating a non-wysiwyg
tiddler first and then converting it. (I think ASciencePad first edits
its tiddlers in HTMLArea without prior creation by the standard editor
and its formatting tools appear to work correctly).

Thanks

Kevin

On Oct 20, 7:53 pm, kilucas [EMAIL PROTECTED] wrote:
 No need to apologise - I'm just grateful for the tool and that the
 langauge change is so straightforward.
 I'll be interested to see if this also fixes the strange jumping of
 the cursor to the bottom of the editing area when I apply formatting
 changes like heading styles or bold.
 Many thanks

 Kevin

 On Oct 20, 3:21 am, BramChen [EMAIL PROTECTED] wrote:



  You could manually modify the MarkupPreHead as:
  !--{{{--
  
  
  script type=text/javascript
  _editor_url = HTMLArea/;
  _editor_lang = en;
  /script
  
  !--}}}--

  Where the *_editor_lang* should be assigned to en but not zh-Hant
  in AsciiMath-2.4.1.en.html.
  Sorry, the mistake was the result of an oversight.

  --
  Bram

  On 10月20日, 上午8時59分, kilucas [EMAIL PROTECTED] wrote:

   Bram

   As I use more parts of HTMLArea including those which throw up dialog
   boxes from buttons on the toolbar, I find that many of them are
   labelled with symbols that my PC won't display. Even what are
   presumably OK and Cancel buttons on the hyperlink dialog just display
   as hollow squares.

   Am I somehow picking up labels that aren't in English and if so should
   I have made some configuration or file selection somewhere to see
   English labels perhaps?

   Many thanks for any guidance you have.

   Kevin

   On Oct 9, 11:35 pm, kilucas [EMAIL PROTECTED] wrote:

Bram

Thanks for this - I'm looking forward to trying it shortly.

By the way, I noticed that some of the tooltips on the editor buttons
show up on my PC as a series of hollow squares. Is this likely to be
an issue with different langauge sets perhaps?

Thanks very much for your help.

Kevin

On Oct 8, 4:08 am, BramChen [EMAIL PROTECTED] wrote:

 Thanks Kevin and Eleanor,

 I'd corrected the typos about 'wysywg' and change the default lang
 setting ofHTMLAreaeditor to 'en' in AsciiMath-2.4.1.en.html.
 Please downloaded AsciiMath-2.4.1.081008.zip from
  
 http://sourceforge.net/project/showfiles.php?group_id=150646package_...

 You could also customize the tags to enable and/or disable the wysiwyg
 editor by changing the arrays' elements of
 'config.macros.edit.enableWYSIWYGtags' and/or
 'config.macros.edit.disableWYSIWYGtags', for example, to create a
 tiddler tagged with systemConfig and add contents as below,
 config.macros.edit.enableWYSIWYGtags = ['wysiwyg','SomeOtherTag'];
 config.macros.edit.disableWYSIWYGtags =
 ['systemConfig','systemTiddler'];

 then save changes and reload pages.

 Cheers,

 Bram Chen

 On 10月8日, 上午1時31分, kilucas [EMAIL PROTECTED] wrote:

  Wow - it's excellent to see this in an uptodate TW. Thanks very much
  indeed.

  The only initial glitch I had was that I didn't realise I had to 
  give
  a tag of wyswyg to any tiddler to be edited withHTMLAreaand that I
  initially assumed this would be wysiwyg. But I can live with that
  just to see those formulae and to have a mathematical core I can 
  build
  on.

  Given that, yet again, I didn't win the Physics Nobel prize 
  announced
  today your TW has still made my day!! Maybe I get to win it next 
  year
  off my reinvigorated use of TW!

  Thank you very much.

  Kevin

  On Oct 7, 6:09 pm, kilucas [EMAIL PROTECTED] wrote:

   Ah, excellent. I will. Thanks
   Kevin

   On Oct 7, 10:12 am, BramChen [EMAIL PROTECTED] wrote:

Sorry Kevin,

I forgot to pack core .js file with AsciiMath-2.4.1.080902.zip.

Download the new one, named AsciiMath-2.4.1.081007.zip, please.

Bram

On 10月7日, 上午3時45分, kilucas [EMAIL PROTECTED] wrote:

 Very helpful all.

 I'll experiment with this further very shortly but can I just 
 check;
 should I be able to open AsciiMath-2.4.1.en.html and 
 seeHTMLAreain
 action? When I try to open it Internet Explorer 6 and Firefox 
 show a
 blank screen.

 I've unzipped everything, preserving folder structures, and 
 just
 attempted to open this file as it appeared there alongside 
 ther
HTMLAreafolder.

 Thanks

 Kevin

 On Oct 6, 9:19 am, BramChen [EMAIL PROTECTED] wrote:

  The AsciiMath-2.4.1.080902.zip is now based

[tw] Re: Opening a new tiddler in HTMLArea

2008-10-20 Thread kilucas

Wolfgang

If I use newSavedTiddler label:'new wysiwyg' tag:'wysiwyg' then a
dialog box is offered for me to enter the new tiddler name but, on
clicking OK, no tiddler is presented for me to edit. Although I typed
a tiddler name into the box, no tiddler of that name is found by
search or goto either.

I tried including a title in the statement and that was repeated in
the text of the prompt box but it still behaved as before, accepting
an alterantive tiddler name but showing no subsequent tiddler.

Have I missed something important out of the statement perhaps?

Thanks

Kevin

On Oct 20, 9:36 am, wolfgang [EMAIL PROTECTED] wrote:
  usage of this scipt:
  tiddler htmlareaPluginAddon with:new wysiwyg Create a tiddler
  tagged with 'wysiwyg'

  (where the first one parameter is the button label, and the second is
  tooltip)

 The NewSavedTiddler macro works as the regular NewTiddler macro. You
 simply can add label, tooltip text, tags, the content of a template
 tiddler ...
 (also see:http://tiddlywiki.org/wiki/NewTiddler_%28macro%29for all
 possible parameters).
 An example from Monkeygtd:

 newSavedTiddler title:'new Tickler' label:'+ tickler' tag:{{'Tickler
 Once [['+config.macros.mgtdList.getRealm()+']]'}}

 In your case you could simply write:

 newSavedTiddler label:'new wysiwyg' tag:'wysiwyg'

 Regards,

 W.
--~--~-~--~~~---~--~~
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: Opening a TW just once from multiple hyperlinks

2008-10-19 Thread kilucas

Thanks, I'll take a look. I'm conscious that sometimes when I click on
hyperlinks online, my browser opens a new window (or tab in IE7),
sometimes it changes the content of another browser window that's
already open, and sometimes it opens the new content in the window in
which I've just clicked. I've no idea how my browser decides which to
do but would love the option of using an existing second window so
that I only have one copy of the second TW open.

Thanks
Kevin

On Oct 18, 12:46 pm, FND [EMAIL PROTECTED] wrote:
  is there a way to have TW A only open a single window for TW B

 Well, Saq has recently created a Firefox extension to prevent the same
 page from being opened twice:
      htttp://fnd.lewcid.org/tmp/noduplicatetabs.xpi
 It's never been officially announced though, and is still considered an
 early beta - however, I've happily been using it for quite a while now.
 Also, I'm not sure whether that XPI there is actually the latest version
 (0.21).

  change the displayed tiddler in that window to reflect the
  latest clicked hyperlink?

 I don't think remote-controlling browser tabs/windows is easily possible.

 -- 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] Re: Invoking MoveTiddlerToTopPlugin

2008-10-19 Thread kilucas

Ah, thanks. I had indeed misunderstood what it did. Thanks
Kevin

On Oct 7, 9:33 pm, Eric Shulman [EMAIL PROTECTED] wrote:
 On Oct 7, 1:18 pm, kilucas [EMAIL PROTECTED] wrote:

  How is MoveTiddlerToTopPlugin typically implemented please? I can see
  documentation about the macro but not where I might invoke the macro.
  I'd wondered if I should place it on the tiddler toolbar but the macro
  call doesn't have the same form as the definitions in my
  ToolbarCommands macro so I don't know how to add it.

  And maybe it's typically invoked from somewhere else anyway.

    http://www.TiddlyTools.com/#MoveTiddlerToTop
 is not a plugin... it is an inline script, and requires
 installation of
    http://www.TiddlyTools.com/#InlineJavascriptPlugin
 For a brief overview of the differences between script and plugins,
 please see:
    http://www.TiddlyTools.com/#FAQ_ScriptsAndPlugins

 As noted in the MoveTiddlerToTop documentation (view the script source
 to see it), the usage is to 'transclude' the script into any tiddler
 that you want to have displayed at the top, like this:
    tiddler MoveTiddlerToTop
 Note that this script does *not* provide a 'command link' for you to
 click on.  Rather, the script will be invoked each time the tiddler in
 which it has been transcluded
 is rendered, automatically moving that tiddler to the top of the story
 column.

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



[tw] Re: Using ASCIIsvg in TW

2008-10-19 Thread kilucas

Interesting. I tried the embed etc material in Firefox too but still
only saw the script. That's almost a relief anyway because my Firefox
objectes to pasting into a tiddler because of security problem that I
haven't been able to fix yet, but pasting example SVG code is much
faster and less error prone than retyping it by hand.

I tried placing d.svg adjacent to the TW and even an extra copy of the
original ASCIIsvg.js there although the header markup wouldn't have
known about the latter and neither made any difference.

It's such a shame because the drawing facilities are so useful as well
as the graphing facilities. And, presuming that the graphing
facilities invoke the drawing facilities anyway, I feel drawing by
providing the ASCIIsvg code must somehow be possible.

For now I'm using a separate web page to draw my images and am using
SnagIt to take a screenshot of the drawing which I then place in the
tiddler as an image. This admittedly has the advantage that it can be
viewed by anyone with IE but without the SVGViewer but my pages
typically include mathematical notation via ASCIIMathML so they need
the MathPlayer anyway. AQnd I couldn't reasonably expect any other
user of my TW's to do this.

And I can't render dynamic images using screenshots as I could
theoretically with ASCIIsvg.

So I'll keep thinking about this to see if I can find some way to get
ASCIIsvg code invoked. And I didn't realise there's a plugin to store
images in TWs - I'm holding mine in an Images folder alongside but
this reduces portability I feel. So I'll explore that too - thanks for
the tip.

Kevin


On Oct 19, 1:01 pm, okido [EMAIL PROTECTED] wrote:
 Hi Kevin,

 I had the same problems with IE and ACIIsvg and I abandoned graphics
 for that reason.
 However there is still a concept that I would like to try and that I
 used long time ago when I was still working on my CP/m system.
 At that time I constructed graphs directly in video memory, this
 worked fine.
 Something similar could be done by dynamically altering an image that
 is stored in a tiddler.
 There is a plugin for storing images in tiddlers available.
 At least this would solve IE problems I think.
 Maybe there are some programmers out there how would like to pick up
 this concept.

 Have a nice day, Okido

 On 17 Oct, 20:32, kilucas [EMAIL PROTECTED] wrote:



  Okido

  Thanks for this. I'd forgotten about this source but found a similar
  one called CTY's Math TiddlyWiki athttp://www.jostylr.com/deli.html
  last night, so thanks for the reminder. They both use ASCIIsvg stand
  alone from the enhanced HTMLArea of Peter Jipsen and Bram Chen which
  I'm hoping to use and I'm guessing that I might confuse my TW if it
  includes two versions of ASCIIsvg for now.

  Paolo's examples solely use script to generate graphs or other
  drawings which is exactly my aim, but in addition to the graphing
  front end that Bram mentions above and which works in my TWs.

  They just seem to embed the code in a standard tiddler surrounded by
  html tags and it'd be great if I could do that in HTMLArea but my
  experiemnts have all failed and I just see the code.

  CTY's surrounded the code with two backticks but that might also
  complicate my copy of HTMLArea which uses a single backtick to
  surround ASCIIMathML markup (as does Paolo's I think).

  Lastly, both copies throw object errors when I try to display the
  sample graphs and drawings in IE6 but then Paolo warns it's not tested
  for IE. A quick trial at the link you posted worked fine in Firefox.

  I haven't stteled on my likely browser yet though I'd prefer IE
  because that's the native browser on my target PCs. Both throw
  inconvenient security messages that I've still not got rid of entirely
  and Firefox objects to pasting html without a complicated-looking
  change to the browser environment which I'd have to do on each PC -
  not very appealing.

  So there's a lot left to settle but if I could just invoke ASCIIsvg
  via code in addition to the graphing front end, all in HTMLArea in at
  least one browser, that'd be a great step forward.

  And if I can't, I may fall back to your option with FireFox. So thanks
  for the clues.

  Kevin

  On Oct 17, 5:01 pm, okido [EMAIL PROTECTED] wrote:

   Hi Kilucas,

   I made some graphs with little effort.
   See the TW of Paulo Soares 
   athttp://www.math.ist.utl.pt/~psoares/addons.html
   This will certainly help you further.

   Have a nice day, Okido

   On 17 Oct, 09:43, kilucas [EMAIL PROTECTED] wrote:

Bram

Thanks for this and this parameter screen generates fine when I use
the trigger button on the HTMLArea toolbar.

But I think it is only useful for graphs. If I want to draw say a
trigonometric diagram such as that 
athttp://math.chapman.edu/cgi-bin/math.pl?Sum_of_angles_cos_formula
then I believe I need access to all the ASCIIsvg commands direcatly
and hence would like to know how to embed them in a tiddler.

Do you think

[tw] Re: Invoking MoveTiddlerToTopPlugin

2008-10-19 Thread kilucas

I do indeed have this plugin and like the sound of the upgrade so will
try it out.

Thanks

Kevin

On Oct 19, 3:18 pm, Eric Shulman [EMAIL PROTECTED] wrote:
 In a previous message, I wrote:

   Note that this script does *not* provide a 'command link' for you to
   click on.

 Although the MoveTiddlerToTop inline script is invoked automatically,
 I can also see where having a manually-invoked command to could be
 useful.

 However, rather than creating new toolbar commands for move to
 top (and move to bottom), I've added these functions to
 [[RearrangeTiddlersPlugin]], where they can be accessed in a popup by
 clicking on a tiddler's title...

 With this plugin installed, you can now either grab a tiddler by it's
 title and drag it up/down in the story column, OR click the tiddler
 title and select the move to top or move to bottom command from
 the resulting popup.

 Get the update (v2.0.0) here:
    http://www.TiddlyTools.com/#RearrangeTiddlersPlugin

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



[tw] Re: Opening a new tiddler in HTMLArea

2008-10-19 Thread kilucas

Wolfgang

This idea sounds better to me than my current arrangement where a
tiddler of the right tag is opened but in the wrong editor. I have to
exit the editor and re-enter whereas your solution it least reduces
the number of steps.

I've imported the plugin but admit I haven't a clue what to do with it
as I couldn't find any documentation or comments on how to use it. It
shows up in my plugins but neither my search, Goto, or tiddler list
finds it.

Do you know how I'd use it in my TW perhaps? Given your description,
the idealfor me is to have a button below the standard new tiddler
button in the rightsidebar.

Many thanks for any clues you might have.

Kevin

On Oct 20, 12:37 am, wolfgang [EMAIL PROTECTED] wrote:
 Hi Kevin,

  Is there some other way that I can open a new tiddler, tagged with
  wysiwyg and that opens first time in the HTMLArea editor perhaps?

 You could use NewSavedTiddlerPlugin, which creates new tiddlers but
 they're opened in view mode, and would need only one additional 'Edit'
 click to have them opened with HtmlArea editor:

 http://monkeygtd.tiddlyspot.com/demo3.html#NewSavedTiddlerPlugin

 Regards,

 W.
--~--~-~--~~~---~--~~
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: UNC Path Problem - Resolution

2008-10-19 Thread kilucas

Wolfgang

Thanks for the feedback.

Presumably this means I can't inspect the code for the fix via a
tiddler (though presumably I could dump the source and inspect that)
but I could still apply the fix via the custom plugin. Does that mean
that I just dump all the code above into a tiddler and tag it with
systemConfig?

I'm not at all clear whether there'd be additional code I'd need to
precede it with or end the tiddler with, never having created a plugin
other than by importing.

And feel free to warn me off if this approach is complex - I'm not
very technical and am only looking to see if there's a simple solution
within my reach, rather than a complex solution that demands a lot
more time in the TW documentation and forums.

It still seems odd that this problem persists in 2.4.1. I'll also see
what happens if I map a drive letter to the UNC path.

Meanwhile many thanks for your guidance as ever.

Kevin

On Oct 19, 11:39 pm, wolfgang [EMAIL PROTECTED] wrote:
 Hi Kevin,

  warning to leave the core alone and modify a plugin instead, I wasn't
  sure where this specific core function exists and hence which shadow
  tiddler to check and modify if necessary. Which would it be please?

 core function all exists in the TW file itself and you could see and
 edit them - which is warned of - if you open your TW not in a browser
 - but in an editor. There are no core functions in shadowed tiddlers.

 Regards,

 W.
--~--~-~--~~~---~--~~
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: Bram Chen's HTMLArea

2008-10-19 Thread kilucas

Bram

As I use more parts of HTMLArea including those which throw up dialog
boxes from buttons on the toolbar, I find that many of them are
labelled with symbols that my PC won't display. Even what are
presumably OK and Cancel buttons on the hyperlink dialog just display
as hollow squares.

Am I somehow picking up labels that aren't in English and if so should
I have made some configuration or file selection somewhere to see
English labels perhaps?

Many thanks for any guidance you have.

Kevin

On Oct 9, 11:35 pm, kilucas [EMAIL PROTECTED] wrote:
 Bram

 Thanks for this - I'm looking forward to trying it shortly.

 By the way, I noticed that some of the tooltips on the editor buttons
 show up on my PC as a series of hollow squares. Is this likely to be
 an issue with different langauge sets perhaps?

 Thanks very much for your help.

 Kevin

 On Oct 8, 4:08 am, BramChen [EMAIL PROTECTED] wrote:



  Thanks Kevin and Eleanor,

  I'd corrected the typos about 'wysywg' and change the default lang
  setting ofHTMLAreaeditor to 'en' in AsciiMath-2.4.1.en.html.
  Please downloaded AsciiMath-2.4.1.081008.zip from
   http://sourceforge.net/project/showfiles.php?group_id=150646package_...

  You could also customize the tags to enable and/or disable the wysiwyg
  editor by changing the arrays' elements of
  'config.macros.edit.enableWYSIWYGtags' and/or
  'config.macros.edit.disableWYSIWYGtags', for example, to create a
  tiddler tagged with systemConfig and add contents as below,
  config.macros.edit.enableWYSIWYGtags = ['wysiwyg','SomeOtherTag'];
  config.macros.edit.disableWYSIWYGtags =
  ['systemConfig','systemTiddler'];

  then save changes and reload pages.

  Cheers,

  Bram Chen

  On 10月8日, 上午1時31分, kilucas [EMAIL PROTECTED] wrote:

   Wow - it's excellent to see this in an uptodate TW. Thanks very much
   indeed.

   The only initial glitch I had was that I didn't realise I had to give
   a tag of wyswyg to any tiddler to be edited withHTMLAreaand that I
   initially assumed this would be wysiwyg. But I can live with that
   just to see those formulae and to have a mathematical core I can build
   on.

   Given that, yet again, I didn't win the Physics Nobel prize announced
   today your TW has still made my day!! Maybe I get to win it next year
   off my reinvigorated use of TW!

   Thank you very much.

   Kevin

   On Oct 7, 6:09 pm, kilucas [EMAIL PROTECTED] wrote:

Ah, excellent. I will. Thanks
Kevin

On Oct 7, 10:12 am, BramChen [EMAIL PROTECTED] wrote:

 Sorry Kevin,

 I forgot to pack core .js file with AsciiMath-2.4.1.080902.zip.

 Download the new one, named AsciiMath-2.4.1.081007.zip, please.

 Bram

 On 10月7日, 上午3時45分, kilucas [EMAIL PROTECTED] wrote:

  Very helpful all.

  I'll experiment with this further very shortly but can I just check;
  should I be able to open AsciiMath-2.4.1.en.html and seeHTMLAreain
  action? When I try to open it Internet Explorer 6 and Firefox show a
  blank screen.

  I've unzipped everything, preserving folder structures, and just
  attempted to open this file as it appeared there alongside ther
 HTMLAreafolder.

  Thanks

  Kevin

  On Oct 6, 9:19 am, BramChen [EMAIL PROTECTED] wrote:

   The AsciiMath-2.4.1.080902.zip is now based on TW 2.4.1, it could 
   be
   downloaded from

  http://sourceforge.net/project/showfiles.php?group_id=150646package_...

   --
   Bram

   On 10月6日, 下午2時58分, wolfgang [EMAIL PROTECTED] wrote:

   http://garr.dl.sourceforge.net/sourceforge/ptw/http://garr.dl.sourcef...

W.- Hide quoted text -

   - Show quoted text -- Hide quoted text -

 - Show quoted text -- Hide quoted text -

- Show quoted text -- Hide quoted text -

  - Show quoted text -- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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: Using ASCIIsvg in TW

2008-10-17 Thread kilucas

Bram

Thanks for this and this parameter screen generates fine when I use
the trigger button on the HTMLArea toolbar.

But I think it is only useful for graphs. If I want to draw say a
trigonometric diagram such as that at 
http://math.chapman.edu/cgi-bin/math.pl?Sum_of_angles_cos_formula
then I believe I need access to all the ASCIIsvg commands direcatly
and hence would like to know how to embed them in a tiddler.

Do you think this is possible perhaps?

Thanks

Kevin



On Oct 17, 5:27 am, BramChen [EMAIL PROTECTED] wrote:
 Hi Kevin,

 The attachment might be a solution for you if I understand you correctly.

 --
 Bram Chen

  ParametricSpiral.png
 37KViewDownload
--~--~-~--~~~---~--~~
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: Denoting footnotes with ¬

2008-10-15 Thread kilucas

I ended up using the British pound sign three times since all my uses
are UK and I've not spotted any plugins that use it. It works in
standard tiddlers and those edited with HTMLArea.

I tried the ¬ character but the TW wouldn't even load completely. I
don't know why.

I tried some multi-character combinations but my early choices were
problematic. For example, anyuthing containing the @ symbol is
recognised by HTMLArea as a likely email address component!

But the British pouind £ (not the US pound #) works fine for me.

Many thanks

Kevin

On Oct 11, 11:23 am, kilucas [EMAIL PROTECTED] wrote:
 I hadn't thought of a multi-character combinations partty because my
 original problem was caused by the single character that's important
 to the Mathematical version of HTMLArea.

 I'd been checking whether this ¬ character was on all the keyboards
 I could spot - I'm based in the UK - but managed to spot a US
 keyboard, albeit a laptop, and you're right that I can't easily spot
 the character there.

 In practice my usages probably would be entirely UK, but better to
 build something flexible if I can.

 So I'll give multi-standard-character some thought.

 Many thanks

 Kevin

 On Oct 11, 9:19 am, Chris W [EMAIL PROTECTED] wrote:



  kilucas wrote:
   I need to find an alternative character to the backward single quote
   to use in a modified version of FootnotePlugin and cannot think of
   many characters that my TW + plugins don't already use. I haven't yet
   spotted a use for the ¬ character which, on my keyboard is SHIFT
   +backward single quote. If I search the various help sites for this
   I either get nothing or everything. So can anyone spot whether this
   character will conflict with any other TW facilities or plugins
   perhaps?

  That keyboard combination here (US English keyboard) would be a tilde
  (~, 0x7e) character.  The ¬ character (Unicode 0x00ac, UTF8 0xc2,0xac)
  may not be typeable on many machines but should display just fine.
  Really depends on the use.

  Perhaps a multiple char combination?

  Regards,
  Chris W- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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] Opening a new tiddler in HTMLArea

2008-10-15 Thread kilucas

Bram Chen's HTMLArea is invoked automatically for any tiddler tagged
with wysiwyg. In an otherwise standard TW, the new tiddler
rightsidebar option create an untagged tiddlert which therefore
invokes the standard editor. I have to tag the tiddler as wysiwyg,
close it and then reopen it to see the HTMLArea editor.

Is there a way to create a tiddler which is already tagged and then
open it (in the HTMLARea editor) automatically perhaps?

I tried tagging the tiddler when it's created using:

newTiddler label:new wysiwyg tiddler tag:wysiwyg text:
{{store.getTiddlerText('WysiwygTemplate')}}

where WysiwygTemplate is a pre-existing empty tiddler, already tagged
with wysiwyg. But this creates a new tiddler, correctly tagged, but
in the standard editor as if the tag has been applied too late.

(I was initially misled here. The normal tiddler creation option lets
you edit an as yet non-existent tiddler. If you cancel the editor no
such tiddler remains. But if I use the command above, the same process
generates a real tiddler called New Tiddler which DOES remain
afterwards, presumably because a tag was applied. Thereafter, any
attempt to use my command DOES open a tiddler in the HTMLArea editor
but only because New Tiddler already exists with the wysiwyg tag).

I wondered if I could invoke the CopyTiddlerPlugin but the Plugin
doesn't mention any parameters that I recognise and I can't for
example swap copyTiddler for newTiddler in the command above.

Is there some other way that I can open a new tiddler, tagged with
wysiwyg and that opens first time in the HTMLArea editor perhaps?

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: Tidying an entry in my sidebar

2008-10-15 Thread kilucas

Excellent. This looks much better. Thanks very much.
Kevin

On Oct 15, 1:06 pm, FND [EMAIL PROTECTED] wrote:
  my second customisation is slightly untidy since the rightsidebar
  option for it is displaced to the left and is the wrong colour.

 In [[SideBarOptions]], replace the following:
      href=javascript:; onclick
 ... with this:
      href=javascript:; class=button onclick

 HTH.

 -- 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] Re: Tidying an entry in my sidebar

2008-10-15 Thread kilucas

I've placed an example at http://kilucas.tiddlyspot.com/index.html.

It's a standard TW with only two additions:

1) The TiddlersBarPlugin to obtain tiddler tabs
2) a custom SideBarOptions entry identified by Eric to toggle tiddler
tabs on and off and effect some kind of redraw I think to help resolve
a minor conflict with the BreadcrumbsPlugin.

But my second customisation is slightly untidy since the rightsidebar
option for it is displaced to the left and is the wrong colour.

Is it straightforward to fix the position and colour without
diminishing its functionality perhaps?

Many thanks for any insights you have.

Kevin


On Oct 14, 8:29 am, FND [EMAIL PROTECTED] wrote:
  Thanks. I'll try to find a way to get one of these online.

 You could create a site on Tiddlyspot - see here:
      http://www.tiddlywiki.org/wiki/Troubleshooting

 -- 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] Re: Where will an HTML editor impact a TW?

2008-10-14 Thread kilucas

Unlike the HTMLArea version in ASciencePad, Bram's version seems to
handle most TW markup. I ran identical tests on ASciencePad
(abbreviated to ASP in the results below), Bram's HTMLArea (BCHTMLA)
and a copy of Bram's HTMLArea with the HTMLFormattingPlugin in place
(BCHTMLA+HTMLFP). Here's what I found when testing all the markup
listed at www.tiddlywiki.org's markup page. I used Y to indicate the
markup worked, N to indicate when it didn't work, and ? when it
partly worked. I added comments where there was more detail to add:

Bold ASP Y  BCHTMLA Y  BCHTMLA+HTMLFP Y

Italic   ASP N  BCHTMLA Y  BCHTMLA+HTMLFP Y

UnderlineASP N  BCHTMLA Y  BCHTMLA+HTMLFP Y

StrikethroughASP N  BCHTMLA Y  BCHTMLA+HTMLFP Y

Super script ASP N  BCHTMLA Y  BCHTMLA+HTMLFP Y

Sub script   ASP N  BCHTMLA Y  BCHTMLA+HTMLFP Y

Highlighting ASP N  BCHTMLA Y  BCHTMLA+HTMLFP Y

Preformatted ASP N  BCHTMLA Y  BCHTMLA+HTMLFP Y

Headings ASP Y  BCHTMLA Y  BCHTMLA+HTMLFP Y

Unordered list   ASP Y  BCHTMLA Y  BCHTMLA+HTMLFP Y

Ordered list ASP Y  BCHTMLA Y  BCHTMLA+HTMLFP Y

Definition list  ASP N  BCHTMLA Y  BCHTMLA+HTMLFP Y

Block quotes ASP ?  BCHTMLA Y  BCHTMLA+HTMLFP Y (ASP omitted the
block quote marker in the first row and adjusted the length of a
second marker dynamically depending on where the mouse pointer hovered
over the tiddler)

Block quotes 2   ASP ?  BCHTMLA ?  BCHTMLA+HTMLFP ? (I don't
understand what the  form of the blockquote markup is supposed to
do but all three TWs displayed the outcome as a single  on one
line, the text on the next and then a final line with a single .

Preformatted ASP N  BCHTMLA ?  BCHTMLA+HTMLFP ? (The markup page
at www.tiddlywiki.org has two forms of preformatted markup. This is
the second of the two. ASP showed both sets of curly brackets while
both forms of HTMLArea show only the second set of triple curly
brackets)

TableASP N  BCHTMLA N  BCHTMLA+HTMLFP N (All showed rows
correctly but the rows were separated from each other. I didn't check
the COLSPAN and ROWSPAN options. An initial |CssClass|k row was
displayed as text rather than as formatting in ASP. I also tried all 3
versions with soft carriage returns at the end of each line of table
markup but that made no difference)

Macros   ASP Y  BCHTMLA Y  BCHTMLA+HTMLFP Y (All environments
recognised and ran an embedded tiddler (I used newTiddler). I
suspect that some macros which inspect tiddler content behave
differently in different environments. For example the macro
showtoc for DCTableOfContentsPlugin inspects headings. It
generated a macro error in BCHTMLA but generated some incomplete error
text that was not highlighted in the standard error colour in BCHTMLA
+HTMLFP. I did not know how to place it within ASP so I didn't try it
there).


I'm guessing therefore that HTMLFormattingPlugin may not be needed
alongside Bram's HTMLArea as available in AsciiMath-2.4.1.081008.zip
from 
http://sourceforge.net/project/showfiles.php?group_id=150646package_id=169974release_id=599120
unless it's somehow cleverer at running macros that refer to the
structure of the tiddler in which they're embedded.

The TW markup can be useful at present because there are some oddities
with the way this HTMLArea formats headings using its style dropdown
box. If I have to abandon this part of the HTMLArea toolbar I'm
wondering if I'll end up abandoning other parts once I've explored
them. And I'd be quite happy to use TW markup because my interest in
this version of HTMLArea is its ability to create mathematical
expressions and graphs, rather than its wysiwyg capability.

There's another potential advantage with tables. Although HTMLArea
provides a table insertion tool, I can't find a way to modify or
extend a table easily after it's been created. And you can't easily
paste the content of an old table into a new one of a different size.
TW markup though might make table extension easier.

In the light of all this I wondered:

1) have I missed any significant tests? I've been very focused on
markup but, apart from macros, I wasn't sure what else I should test
2) does anyone know of any other ways in which this version of
HTMLArea might impact other aspects of TW?
3) does anyone know if there's an online user guide to HTMLArea? (I
suspect it's considered so simple it doesn't need one, and the
original producers no longer support it, but such a guide might show
if tables really can be extended)

Thanks

Kevin


On Oct 13, 2:11 pm, kilucas [EMAIL PROTECTED] wrote:
 I've just spotted HTMLFormattingPlugin which looks as if it'll help me
 use more TW markup and the HTMLFormattingPluginInfo provides an
 introduction to some TW markup that wouldn't work including embedded
 macros.

 Of course there's no information there about plugin compatibilities
 (unless the plugin is invoked via a macro) so I'd remain interested in
 any issues anyone foresees here.

 And meanwhile I'll try out

[tw] Re: Where will an HTML editor impact a TW?

2008-10-13 Thread kilucas

I've just spotted HTMLFormattingPlugin which looks as if it'll help me
use more TW markup and the HTMLFormattingPluginInfo provides an
introduction to some TW markup that wouldn't work including embedded
macros.

Of course there's no information there about plugin compatibilities
(unless the plugin is invoked via a macro) so I'd remain interested in
any issues anyone foresees here.

And meanwhile I'll try out HTMLFormattingPlugin.

Thanks

Kevin

On Oct 13, 1:59 pm, kilucas [EMAIL PROTECTED] wrote:
 It looks as if I'll use the HTMLArea editor as my primary tiddler
 editor because Bram Chen's got a version which intergates the
 ASCIIMath capability. But I'm wondering what, if anything I'll lose by
 using such an editor or what changes I need to be aware of.

 For example, it looks as if standard tiddler markup for tables won't
 work. While this might not matter too much because HTMLArea has its
 own table creation capability, I can't see how to change a table if I
 want to enlarge it and pasting old tables into new larger tables looks
 difficult. So TW markup might therefore have been more flexible).

 As another example, the DCTableOfContentsPlugin seems to work in my TW-
 stanrad tiddlers but noit in my HTMLArtea tiddlers whether the
 headings are marked with an exclamation mark or via the heading style.

 I'm guessing that I'll need to assess all TW markup to see what will
 and won't work and that I'll have to test all my plugins that affect
 HTML-edited tiddlers.

 But if anyone has any pointers on what's most likely to differ from
 standard TW tiddlers it'd be great to hear from you so that I can
 focus my testing in the most liklely areas. Being new to TW I don't
 feel very clear where problems may lurk! And I searched through this
 group but didn't spot any postings that seemed to cover this. (My
 apologies if I missed any).

 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: Moving HTMLArea files

2008-10-12 Thread kilucas

Bram

Very helpful - I'll give this a try.

I'd like to centralise these if I can because otherwise I'm going to
have multiple copies of HTMLArea alongside my various TWs. And, if
HTMLArea changes, I've then got to refresh them all.

So I think I'm reaching the conclusion that just doing so in one
cetral location would be simplest.

Thanks very much.

Kevin

On Oct 12, 5:15 am, BramChen [EMAIL PROTECTED] wrote:
 Hi Kevin,

 Using the relative path is recommended if your TW and HTMLArea located
 on the same drive.

 Otherwise, you should specify the file locations in terms of full file
 uri including file:/// before the drive name, for example,

 MarkupPreHead
 !--{{{--
 !--PJ--
 script type=text/javascript src=file:///C:/Program Files/
 Tiddlywiki/Bramchen/HTMLArea/plugins/AsciiMath/ASCIIMathML.js/
 script
 script type=text/javascript src=file:///C:/Program Files/
 Tiddlywiki/Bramchen/HTMLArea/plugins/AsciiSvg/ASCIIsvg.js/script
 script type=text/javascript src=file:///C:/Program Files/
 Tiddlywiki/Bramchen/HTMLArea/plugins/AsciiSvg/ASCIIsvgAddon.js/
 script
 script type=text/javascript src=file:///C:/Program Files/
 Tiddlywiki/Bramchen/HTMLArea/plugins/AsciiMath/
 ASCIIMathCalculator.js/script
 script type=text/javascript
 _editor_url = file:///C:/Program Files/Tiddlywiki/Bramchen/
 HTMLArea/;
 _editor_lang = en;
 /script
 script type=text/javascript src=file:///C:/Program Files/
 Tiddlywiki/Bramchen/HTMLArea/htmlarea.js/script
 !--PJ--
 !--}}}--

 MarkupPostBody
 script src=file:///C:/Program Files/Tiddlywiki/Bramchen/HTMLArea/
 htmlareaPlugin.js type=text/javascript/script

 --
 Bram Chen

 On 10月11日, 上午7時42分, kilucas [EMAIL PROTECTED] wrote:



  I'd like to try moving all my external software files to a central
  location and, all my environemnts are Windows, I'll make that C:
  \program files\tiddlywiki\. One such chunk of sofwtare is Bram Chen's
  mathematical HTMLArea.

  I've therefore moved all the HTMLArea files and folders into C:
  \program files\tiddlywiki\bramchen\ and consequently mkodfied the two
  standard markup tiddlers that HTMLArea requires you to modify so that
  they point to the new locations as follows:

  MarkupPreHead
  !--{{{--
  !--PJ--
  script type=text/javascript src=C:\Program Files\Tiddlywiki
  \Bramchen\HTMLArea\plugins\AsciiMath\ASCIIMathML.js/script
  script type=text/javascript src=C:\Program Files\Tiddlywiki
  \Bramchen\HTMLArea\plugins\AsciiSvg\ASCIIsvg.js/script
  script type=text/javascript src=C:\Program Files\Tiddlywiki
  \Bramchen\HTMLArea\plugins\AsciiSvg\ASCIIsvgAddon.js/script
  script type=text/javascript src=C:\Program Files\Tiddlywiki
  \Bramchen\HTMLArea\plugins\AsciiMath\ASCIIMathCalculator.js/script
  script type=text/javascript
  _editor_url = HTMLArea/;
  _editor_lang = zh-tw;
  /script
  script type=text/javascript src=C:\Program Files\Tiddlywiki
  \Bramchen\HTMLArea\htmlarea.js/script
  !--PJ--
  !--}}}--

  MarkupPostBody
  script src=C:\Program Files\Tiddlywiki\Bramchen\HTMLArea
  \htmlareaPlugin.js type=text/javascript/script.

  If I now reload my TW having removed the HTMLArea files from
  alonsgide, where they used to be, the TW fails to display anything
  merely saying Error on page in the lower left of IE6 or merely
  Done in Firefox 3.

  If I put a cvopy of all the HTMLArea files back alongside the TW but
  leave my modified markup in place, then the TW loads correctly.

  I see that there are files like TiddlySaver.jar and TiddlyWiki.en.js
  which normally sit alongside my TW and there's nowhere in the markup
  that I've indicated that these have moved. Do I need to signify this
  somewhere?

  If I leave just these alongside the TW, then the TW will load but does
  not display MathXML but the ASCIIMath codes instead.

  Is it obvious to anyone what else I need to do to relocate all the
  HTMLArea files to my program files folder perhaps?

  Thanks

  Kevin- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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: Managing synonyms

2008-10-12 Thread kilucas

Eric

If the target tiddler name contains spaces, how do I refer to it in
the with part of the statement please? I tried enclosing the tiddler
name in double quotes and in double square brackets but neither worked
and in fact both corrupted the display of the countdown seconds.

Thanks

Kevin

On Oct 12, 2:48 pm, wolfgang [EMAIL PROTECTED] wrote:
 Hi Kevin and Eric,

  So does anyone else face similar challenges with synonyms and if so
  what startegies do you use to make your TW use either of them
  flexibly?

 For plural cases PluralAliasPlugin would already do:

 http://jackparke.googlepages.com/jtw.html#PluralAliasPlugin

 But in the case of synonyms I thinkTiddlerAliasPlugin is really the
 plugin of choice:

 http://tiddlywiki.abego-software.de/Beta.html#TiddlerAliasPlugin

 Regards,

 W.
--~--~-~--~~~---~--~~
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: Managing synonyms

2008-10-12 Thread kilucas

Eric

I tried the double square brackets again as in the text pasted below:

{{small{You will be automatically redirected to [[Rachmaninov]] in
tiddler TimedTiddlerTour with: [[Rachmaninov Test]] 10 close
seconds}}}

The Tiddler Rachmaninov Test already exsists and the above text
appears in a tidller called Rachmaninoff Test.

Even after a TW reload the tiddler however was displayed immediately
(no0t merely after 10 seconds) as pasted below:

You will be automatically redirected to Rachmaninov in  seconds

The Rachmaninov word is formatted like a non-existent tiddler -
italicised and coloured differently from the rest of the text in the
sentence - and if I click on it I'm offered the option to edit a new
tiddler.

Does this provide any useful insights into what's going wrong perhaps?

Thanks

Kevin

On Oct 12, 7:45 pm, Eric Shulman [EMAIL PROTECTED] wrote:
  If the target tiddler name contains spaces, how do I refer to it in
  the with part of the statement please? I tried enclosing the tiddler
  name in double quotes and in double square brackets but neither worked
  and in fact both corrupted the display of the countdown seconds.

 hmm... double-square brackets is the correct syntax

 I did a quick test in any empty document containing just
 InlineJavascriptPlugin, the TimedTiddlerTour script, and two test
 tiddlers: one to invoke the script, and the other to be opened (with a
 title containing spaces).

 The syntax I used to invoke the script is:
    tiddler TimedTiddlerTour with: [[Title With Spaces]] 10 close
 and seems to working just fine for me (i.e., it succeeded in opening
 [[Title With Spaces]]).

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



[tw] Re: Managing synonyms

2008-10-12 Thread kilucas

I now realise that my comments on the displayed Rachmaninov word are
irrelevant as that's just part of my text and is unaffected by the
TimedTiddlerTour (And I erroneously omitted the second word of the
Tiddler name).

But as you can see, there's no counter.

I tried this again with double square brackets round the multi-word
tiddler within TimedTiddletTour and still had no counter. Neither did
the tiddler redirect.

When I removed the second word from inside the double square brackets
the timer reappeared.

I got the copy of the Plugin via the Import facility at www.tiddlytools.com
earlier today.

Does any of this help?

Thanks

Kevin

On Oct 12, 8:30 pm, kilucas [EMAIL PROTECTED] wrote:
 Eric

 I tried the double square brackets again as in the text pasted below:

 {{small{You will be automatically redirected to [[Rachmaninov]] in
 tiddler TimedTiddlerTour with: [[Rachmaninov Test]] 10 close
 seconds}}}

 The Tiddler Rachmaninov Test already exsists and the above text
 appears in a tidller called Rachmaninoff Test.

 Even after a TW reload the tiddler however was displayed immediately
 (no0t merely after 10 seconds) as pasted below:

 You will be automatically redirected to Rachmaninov in  seconds

 The Rachmaninov word is formatted like a non-existent tiddler -
 italicised and coloured differently from the rest of the text in the
 sentence - and if I click on it I'm offered the option to edit a new
 tiddler.

 Does this provide any useful insights into what's going wrong perhaps?

 Thanks

 Kevin

 On Oct 12, 7:45 pm, Eric Shulman [EMAIL PROTECTED] wrote:



   If the target tiddler name contains spaces, how do I refer to it in
   the with part of the statement please? I tried enclosing the tiddler
   name in double quotes and in double square brackets but neither worked
   and in fact both corrupted the display of the countdown seconds.

  hmm... double-square brackets is the correct syntax

  I did a quick test in any empty document containing just
  InlineJavascriptPlugin, the TimedTiddlerTour script, and two test
  tiddlers: one to invoke the script, and the other to be opened (with a
  title containing spaces).

  The syntax I used to invoke the script is:
     tiddler TimedTiddlerTour with: [[Title With Spaces]] 10 close
  and seems to working just fine for me (i.e., it succeeded in opening
  [[Title With Spaces]]).

  -e
  Eric Shulman
  TiddlyTools / ELS Design Studios- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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] Pasting MathXML into TW

2008-10-09 Thread kilucas

I inadvertently pasted some web text containing MathXML into an
HTMLArea-edited tiddler in Bram Chen's TW. (I'd been getting used to
seeing MathXML displayed in tiddlers via the customised HTMLArea and
forgot that a page already displaying MathXML would contain the
MathXML itself and not the ASCIIMath codes that HTMLArea uses). I also
have the TiddlersBarPlugin set to show tabs and only one tiddler at a
time.

The effects of the paste were odd. Although the tiddler itself
displayed just fine, the TiddlersBarPlugin did not display the tabs
for such tiddlers and tiddlers are displayed one above the other even
though TiddlersBarPlugin is set to allow only one tiddler to be on
show at atime.

I'm far from clear why this is and am not particulartly expecting to
want to do it much. But it took me quite a long while to find out what
had happened and I thought I'd post the finding here just in case
anyone else encounters the symptoms and wonders about the cause.

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: Alternative to FootnotesPlugin

2008-10-08 Thread kilucas

Very helpful. I'll give some thought to safe characters to use.
Thanks
Kevin

On Oct 8, 10:16 am, FND [EMAIL PROTECTED] wrote:
  Does anyone know of an alternative footnote generator or even whether
  I can somehow change the character used to signify the footnote entry

 Replacing the trigger markers is relatively easy - the problem though is
 finding convenient characters that aren't already taken.

 In general, the code looks like this:
 ---
 //{{{
 FootnotesPluginTweak = {
      replaceFormatters: function() {
          for(var i = 0; i  config.formatters.length; i++) {
              var obj = config.formatters[i];
              if(obj.name == footnotes) {
                  obj.match = ```;
                  obj.lookaheadRegExp = /```((?:.|\n)*?)```/g;
                  break;
              }
          }
      }};

 FootnotesPluginTweak.replaceFormatters();
 //}}}
 ---

 Stick this into a tiddler tagged with systemConfig (e.g.
 [[ConfigTweaks]]) and replace all nine occurrences of ` with the
 marker of your choice (note that for technical reasons, not all
 characters will work right away - you might try escaping those with a
 leading backslash; e.g. \$).

 HTH.

 -- 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] Re: Bram Chen's HTMLArea

2008-10-07 Thread kilucas

Ah, excellent. I will. Thanks
Kevin

On Oct 7, 10:12 am, BramChen [EMAIL PROTECTED] wrote:
 Sorry Kevin,

 I forgot to pack core .js file with AsciiMath-2.4.1.080902.zip.

 Download the new one, named AsciiMath-2.4.1.081007.zip, please.

 Bram

 On 10月7日, 上午3時45分, kilucas [EMAIL PROTECTED] wrote:



  Very helpful all.

  I'll experiment with this further very shortly but can I just check;
  should I be able to open AsciiMath-2.4.1.en.html and see HTMLArea in
  action? When I try to open it Internet Explorer 6 and Firefox show a
  blank screen.

  I've unzipped everything, preserving folder structures, and just
  attempted to open this file as it appeared there alongside ther
  HTMLArea folder.

  Thanks

  Kevin

  On Oct 6, 9:19 am, BramChen [EMAIL PROTECTED] wrote:

   The AsciiMath-2.4.1.080902.zip is now based on TW 2.4.1, it could be
   downloaded from

  http://sourceforge.net/project/showfiles.php?group_id=150646package_...

   --
   Bram

   On 10月6日, 下午2時58分, wolfgang [EMAIL PROTECTED] wrote:

   http://garr.dl.sourceforge.net/sourceforge/ptw/http://garr.dl.sourcef...

W.- Hide quoted text -

   - Show quoted text -- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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: Hypergraph dynamic sizing

2008-10-06 Thread kilucas

Just confirming that the percentage option worked fine for both the
height and the width and achieved my original resizing aim in fact.
Kevin

On Oct 1, 2:16 am, kilucas [EMAIL PROTECTED] wrote:
 I found an example that uses width of 100% so I'll experiment with %
 values.
 Thanks
 Kevin

 On Oct 1, 1:43 am, kilucas [EMAIL PROTECTED] wrote:



  I've managed to load Hypergraph into an existing TW and would like to
  generate Hypergraphs in Tiddlers. Tiddlers resize with the b owser
  pane size and with the FullScreenPlugin so I'd like the Hypergraph to
  resize with them.

  The main hypergraph embedded at the top of the page (and which is not
  in a tiddler) resizes dynamically but the only options listed in the
  config documentation refer to absolute widths or heights like 500 or
  200. Does anyone know if I can tell a hypergraph to flex its size
  depending on the size of the tiddler in which it's embedded perhaps?

  Many thanks

  Kevin- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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: Hypergraph as a visual TW table of contents

2008-10-06 Thread kilucas

Wolfgang

I still can't see your screenshot. Is the URL correct?

I have no online location to post a screenshot. Is there a way to post
one as an attachment in this group - I can't see a mechanism as I type
this - and are we permitted to do so? If so I can provide a
screenshot.

I know words are never as good but my graph looks really simple as the
options are set to show only tiddlers; A home node in the middle, a
Tiddlers node to the right of it, and then a spray of blue lines to
the right of that with no visible nodes. I don't know how to check the
number of tiddlers in the TW directly but a SaveAs reports 118 saved.
So I'm guessing that spray contains 118 lines and that the map can't
try to display 118 nodes on the ends of them.

I don't claim to know where all the tiddlers come from as I've no
content tiddlers yet - just two or three test tiddlers and my plugins,
of which I count approx 30 in the backstage list.

I see more information on alternative central nodes and the potential
role of tags in another thread and will explore those ideas shortly.

Thanks very much for the feedback and ideas.

Kevin



On Oct 6, 3:34 pm, wolfgang [EMAIL PROTECTED] wrote:
  I made a tiddlerMap of my 3.7 MB 'Changing Themes' TiddlyWiki with
  almost 1000 tiddlers. The XML grew 1.8 MB itself! Here's a screenshot:

 http://110mb.com/hypergraph_.jpg

 Sorry, this is the correct link to the screenshot:

 http://wolfi.110mb.com/hypergraph_.jpg

 W.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---