[Building Sakai] Wiki Message with JsMath

Adam Marshall adam.marshall at oucs.ox.ac.uk
Thu Aug 27 01:49:23 PDT 2009


Perhaps you misunderstand me.
We followed the instructions on the web page and got rid of the " jsMath_Warning" which, yes, displays on the page even when there isnt any LaTeX notation present, but now we get a javascript pop up "error code -7" when there IS LaTeX on the page.
The point I was trying to make is could this message be changed to point out that since there's LaTeX on THIS page, it may be an idea to download jsmath fonts.
As it's a JavaScript 'alert' you wouldn't be able to actually click on anything but the message could give instructions: "Visit this webpage for instructions on how to download special maths fonts: http://.......". This would mean that users are only informed to download the fonts when they really need them.
Thinking a little more, there must be a bit javascript on a page that decides when to display this "-7" message, so couldn't that bit of javascript be altered to display the red warning message when the right conditions appear? This would then mena that the red "download" box would only appear when LaTeX was being used?
adam

From: Jon Wheat [mailto:jwheat at messiah.edu]
Sent: 26 August 2009 21:39
To: Adam Marshall; Matthew Jones
Cc: Sakai Developers
Subject: RE: [Building Sakai] Wiki Message with JsMath

the thing is - the message displays all the time, not just when you have a {math} macro in the wiki post.
It would be great if it could detect that and then check for the fonts, but that's probably for a different list.

so after reading the instructions on the jsMath page about removing the message ... where the heck to you add that

<STYLE> #jsMath_Warning {display: none} </STYLE>

code ?




>>> Adam Marshall <adam.marshall at oucs.ox.ac.uk> 8/26/2009 6:47 AM >>>
replying to my own post here.

WRT: Error code -7 message

I may have misunderstood when this message appears. On reflection, it may only appear when Latex is being used on a page and jsMaths fontys havent been installed.

To me, it would seem a much better idea to dispense with the "big scarey red warning" that Jon mentions and modify the "-7" message to say something along the lines of "It looks like you're using Mathematical notation on this page. May we suggest that you download jsMaths fonts form http://xxxxx ........."

If anybody does a patch for this then we'd be interested in applying it.

adam

| -----Original Message-----
| From: Adam Marshall
| Sent: 26 August 2009 11:06
| To: 'Matthew Jones'; Jon Wheat
| Cc: Sakai Developers
| Subject: RE: [Building Sakai] Wiki Message with JsMath
|
| we also got bad feedback about "install jsmaths fonts" warning message
| so removed it (in an analagous way to that suggested on the web page),
| but now we get an equally geeky message
|
| "Error jsmaths font cannot be found error code (-7). I'll keep
| going but things could get ugly"
|
| This doesn't appear very much but is annoying all the same. I mean,
| what a stupid message - what purpose does it serve?!!
|
| Any ideas how to get rid of this?
|
| adam
|
| | -----Original Message-----
| | From: sakai-dev-bounces at collab.sakaiproject.org [mailto:sakai-dev-
| | bounces at collab.sakaiproject.org] On Behalf Of Matthew Jones
| | Sent: 25 August 2009 20:40
| | To: Jon Wheat
| | Cc: Sakai Developers
| | Subject: Re: [Building Sakai] Wiki Message with JsMath
| |
| | Changing or Removing the Font Warnings:
| | http://www.math.union.edu/~dpvc/jsMath/authors/warnings.html
| |
| | On Tue, Aug 25, 2009 at 3:38 PM, Jon Wheat<jwheat at messiah.edu> wrote:
| | > So I somewhat successfully (I think??) installed jsMath, and it can
| | do TeX
| | > formatting now.
| | > However - this message (see image below) pops up ALL the time now
| | (unless
| | > you install the jsFonts on your machine).  Its probably ok for the
| 2
| | math
| | > classes that needs to know this, but how can I get this to not
| happen
| | ?
| | >
| | > - Jon
| | >
| | >
| | >
| | >
| | > _______________________________________________
| | > sakai-dev mailing list
| | > sakai-dev at collab.sakaiproject.org
| | > http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
| | >
| | > TO UNSUBSCRIBE: send email to sakai-dev-
| | unsubscribe at collab.sakaiproject.org
| | > with a subject of "unsubscribe"
| | >
| | _______________________________________________
| | sakai-dev mailing list
| | sakai-dev at collab.sakaiproject.org
| | http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
| |
| | TO UNSUBSCRIBE: send email to sakai-dev-
| | unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090827/51f6636e/attachment.html 


More information about the sakai-dev mailing list