Open ronaldtse opened 4 years ago
This makes sense, but it clashes with the requirement of WYSIWYG integration we’ve spoken about before, doesn’t it?
I assume one or both of the below are true?🤔
@strogonoff the fact is we don't have a WYSIWYG math mechanism. Even with WYSIWYG text, we may still need some preview option (MS Word also supports entering LaTeX math in WYSIWYG but provides an inline preview).
The first is true. The second may be true (aka MathType).
@ronaldtse Hmm. I thought WYSIWYG MathJax would have to have precise preview rendered. Maybe I don’t understand that commercial solution
? WYSIWYG MathJax ? Where did you see this?
@ronaldtse Do you recall we discussed a WYSIWYG math entry solution one of the organizations wanted to be integrated? It looked something like http://visualmatheditor.equatheque.net, but I’m not sure if that’s the exact one. Visual math entry that outputs math syntax.
a WYSIWYG math entry solution
That's WIRIS MathType: https://github.com/wiris/mathtype-integration-js-dev . In MathType, the "image generation" for preview is a paid feature.
I suspect it is possible to use MathType for editing (it can output MathML), and we use MathJax to render MathML.
This package https://github.com/wiris/mathtype-integration-js-dev is not openly licensed. MathType, proprietary visual editor shown on their site http://www.wiris.com/editor/demo/en/, displays output visually as you edit the formula.
Since preview does not seem to make sense if math is authored visually in the first place, I assume preview would be useful only if MathType is not integrated. In that case, without WYSIWYG, our users would have to type math in some format supported by MathJax, and then preview would be useful.
Anyway, I think a good way to go is to allow previewing concept using the complete card view. This would cover math as well. Filed https://github.com/glossarist/glossarist-desktop/issues/63 for that.
@strogonoff on this page it says: "MathType for TinyMCE can be used for free up to a certain level of uses per natural year. Please read license conditions and prices at WIRIS Store."
But the only free part on the store page is:
"Basic use in Learning Platforms is free for individual schools Schools with basic use of MathType for Learning Platforms and WirisQuizzes can enjoy them for FREE. We understand as basic a total of 365 formulas and 365 evaluations, for each tool, respectively, per year.
The main software components of our tools are normally installed in our servers, which simplifies their use, especially for small or medium-size institutions. This hosting solution is strongly recommended for online projects (for example, an LMS project) or institutions of any size with a reliable internet connection. "
The solution seems reasonable, thanks.
https://github.com/wiris/moodle-tinymce_tiny_mce_wiris BTW says: "License
MathType for TinyMCe is Licensed under the GNU General Public, License Version 3. "
MathType for TinyMCe is Licensed under the GNU General Public, License Version 3.
Well, that would imply a switch to GPL…
Math rendering inside the edit/ translate screens, just like MathJax demo.