4xx / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
0 stars 0 forks source link

ext-mathjax.js does not work anymore #1208

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. 
http://svg-edit.googlecode.com/svn/trunk/editor/svg-editor.html?extensions=ext-m
athjax.js
2. place a mathjax object on the canvas, write the latex expression.

What is the expected output? What do you see instead?

the mathjax  the object does not get inserted on canvas. but it gets created

Please use labels and text to provide additional information.

Jo Segaert, the creator of the extension says the problem is from svg-edit from 
2.6 to trunk changes.

Original issue reported on code.google.com by Christia...@gmail.com on 3 May 2014 at 7:54

GoogleCodeExporter commented 9 years ago
I'm sorry but I don't see the problem.

Here are my steps:

1. Select the eX icon
2. Click on the canvas.
3. Add "\sqrt{2}" to the textarea
4. Click "Ok"
5. It appears on the top left of the canvas; if choosing the select tool (the 
first icon with an arrow icon), one can move around the object, resize it, etc.

I did make one fix just now and applied to trunk whereby the first click on 
"Ok" did not work. Is it fixed for you now, or am I missing something in my 
steps?

Original comment by bret...@gmail.com on 8 May 2014 at 3:18

GoogleCodeExporter commented 9 years ago

Original comment by bret...@gmail.com on 8 May 2014 at 3:19

GoogleCodeExporter commented 9 years ago
Thank you for solving part of this issue: now it does insert the object on the 
canvas. However, the inserted object behaves erratically when moved by mouse 
(it moves inversely to the delta) while retaining the correct movement by 
cursor keys.

Steps:
1. Select the eX icon
2. Click on the canvas.
3. Add "\sqrt{2}" to the textarea
4. Click "Ok"
5. Try to move the object by mouse.

Original comment by Christia...@gmail.com on 8 May 2014 at 8:09

GoogleCodeExporter commented 9 years ago

Original comment by Christia...@gmail.com on 19 May 2014 at 9:55

GoogleCodeExporter commented 9 years ago
Sorry, I really would like to move on to other work now, so I suggest just 
digging through the code. You might look at what was changed in the editor or 
canvas to see if there was code there that mathjax was depending on. I don't 
believe the changes were significant enough within the extension itself to 
cause a problem (though feel free to confirm whether things work in trunk by 
reverting the extension; you should be able to revert that code without 
problem, but I don't think it will help); there were some fixes in the editor 
(or perhaps svgcanvas code), however, which perhaps the extension was not 
expecting. Anyways, I just came to this project to fix one or two things and 
add a little and doing what I can here and there, so sorry not to be more help!

Original comment by bret...@gmail.com on 22 May 2014 at 10:44