I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
Index » Products » LaTeX Equation Editor »

Problem with FCKEditor plugin


Warning: imagegif(/var/www/localhost/htdocs/images/avatars/Flintstones/Flintstones_-_Barney_2_50_0_thumb.gif): failed to open stream: Permission denied in /var/www/localhost/htdocs/php/functions/image_fn.php on line 144

Warning: imagegif(/var/www/localhost/htdocs/images/avatars/Flintstones/Flintstones_-_Barney_2_50_0_thumb.gif): failed to open stream: Permission denied in /var/www/localhost/htdocs/php/functions/image_fn.php on line 144

Warning: imagegif(/var/www/localhost/htdocs/images/avatars/Flintstones/Flintstones_-_Barney_2_50_0_thumb.gif): failed to open stream: Permission denied in /var/www/localhost/htdocs/php/functions/image_fn.php on line 144
Pete Boysen\′s Photo
14 Oct 09, 5:08PM
(8 replies)
Problem with FCKEditor plugin
If I enter the expression: x+y The generated image in the editor dialog appears correctly but when I insert in document it appears as: x+y Is there a bug in escaping the plus sign?
will\′s Photo
15 Oct 09, 9:55AM
Hi. There is no error. The problem with '+' in equations is that some browsers and some editors convert '+' into spaces. I think its IE that triggered the neeed for this. We therefore need some method to identify a real '+' and hence this trick.

As you have probably researched, on the whole this isn't needed. Our latex renderer will work just as well with a '+', however if your integrating our editor into something like FCK then be sure to check how different browsers work.
Pete Boysen\′s Photo
15 Oct 09, 1:22PM
But the point is the equation is rendered correctly in your fckdialog on Firefox, but not in the inserted image. Why the difference? I recognize you escaping the + but it baffles me since you are using the same code to generate both.
Pete Boysen\′s Photo
15 Oct 09, 1:31PM
I just tried it with IE and it does the same thing so I do not believe it is a browser issue. My suspicion is that is the JS code for inserting the image that is not escaping the + properly when generating and inserting the image, not your renderer. I am surprised someone hasn't reported it early.
thomas.hyrien\′s Photo
30 Sep 10, 9:41AM
Hi. I have the same problem and I would like to know if you have an issue?
CodeCogs\′s Photo
30 Sep 10, 7:06PM
Ok, We need to reopen this issue and check again.
thomas.hyrien\′s Photo
1 Oct 10, 5:15AM
This problem is due to a line in the source code which replace "+" by "plus;" in the file "fckplugin.js".

It is resolved.
CodeCogs\′s Photo
2 Oct 10, 4:19AM
Hi,

To save me time tracking the error. Can you post the corrected line?

Thanks
thomas.hyrien\′s Photo
4 Oct 10, 4:26AM
It was in v2.6

The old line: eq = escape(sName[2].replace(/+/g,'+'));

The corrected line: eq = escape(sName[2]);
Currently you need to be logged in to leave a message.