|
|
|
As was mentioned in the forums, the code that was moved was not current (see CVS for dragmath) and if dragmath is already in common, why not retrofit htmlarea under 1.9?
I did look at what is in the cvs and the tinyMCE integration is a bit out of date and does not reflect the changes made to dragmath so as to eliminate the need to provide tokens in the integration.. Marc, I'm not sure what you mean by "eliminate the need to provide tokens in the integration" ...?
This was addressed in the forum some time ago, but that thread is so convoluted I might just as well recap here.
At the same time we converted dragmath to a moodle CSV product per Anthony's initiative we implemented some changes that I had asked Chris and Alex to make in dragmath. Specifically, dragmath employs xml files as symbol tables as their format specifically allows for the placement of tokens before and after a text expression for the purposes of identifying the text expression to a display application (such as a tex filter or asciimathML). Dragmath never inserted dollar tokens because it was just producing Tex, and the integration file then had to add the tokens, which resulted in the text = '$' + text + '$' entry in all the integration files. We created a new export format called MoodleTex which added dollar signs before and after the latex and then also added an asciimathml export option, which included backtick tokens (though arguably we should have created an asciimathml and a MoodleAsciimathML export format) The files you imported to the Moodle CSV did not come from the current at that time dragmath CSV.... one reason I was concerned at the time..... WHile I am talking about this, there seem to be two of dragmath's direcftories left in the tinyMCE directory.... I understand why the integration files are there, but not the HotEqn and classes (not sure if these are the actual directories but I think they are) ..... Thanks for the explanations Marc.
As I moved the files (it was not a new import), they're the same as in 1.9. I tested this and what is "pasted" in Moodle works fine as-is (doesn't need to add or remove dollar signs). I have a feeling you had a look at the files on cvs.moodle.org: the folders you mention are not in the latest version (when checked-out), but CVS will display them anyway, as "dead files" are in there (CVS is dumb: it doesn't keep revisions for folders, only for files). I'll update to the new version (for both Dragmath and TinyMCE) later in this development cycle. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Leaving this issue open - the emoticons might benefit from a similar move.