
The main reason why I haven't used mathtran more is that for example tells that I haven't yet updated plugin demo site to use Google Chart plugins - they are just on my local test box. My non upgraded plugin demo site is still using Mathtex (successor of Mimetex) with Tex Live in experimental tinymce plugins and we can use also open source DragMath to produce LaTeX in a simple way (almost Wysiwyg) and coming test plugins can be modified to use MathTran as well we have different "dialects" also in TeX but even if syntax of Mimetex, mathTran and most common Latex distributions like Tex Live, TeTeX, MacTex or MikTex with different packages is partly different it does not prevent using all of these at the same time. You could as well say that people in other countries than UK speak something that is only similar to english. Is there a "standard syntax guide" for TeX somewhere? And administration of all settings can be handled directly with filter code. Let's see if all this stuff is ready after 2 weeks.
#Color picker google slides code
I keep that filter idea still alive - it might be easier to combine all previous scripts and graphs with filter and use plugins to render code for filter that could simply use different code for FF to render MathML and another code for other browsers to render Google Chart Latex. It could be possible to use also directly editable image tags so that end user would see only the images and plugin could strip Google Chart tags from src attribute but then we would need a nice way to get MathML back for FF - something similar (replacement code) as David's AsciiSVG plugin does have for IMG and EMBED tags.ĭragmath can be used directly to output latex tags to Google Charts if we use AsciimathML together with image fallback or dragmath can be used as a part of plugin producing Google Chart Latex. There are still many ways to make those URLs less complex for typical users.

One limited solution could be to use always image tags if colors are used - from selection drop down list for output format or external mathtex if more complex notations with colors are needed (like my demo site had with double Google Chart API renders perfect PNG mimetex if notations are not just too long (longer than 200 chars) and I can modify my plugins to render 10 times more tags than equation editor of Google Docs. My mathtex fallback is using \textcolor and \colorbox with Tex Live and it works nicely with MathML but is buggy if colors are used inside AsciiSVG graphs. Mimetex does not support background colors and if text color is set to \red the whole notation is red. Implementing color support for all ways of output is a little problematic - I have already a nice plugin that uses jQuery to change text color and background color (or transparent background) for Google Chart Latex images but colors should be used in a different way for Google Chart, MathML, Mathtex (Tex Live) or Mimetex. I will start modifying the code of my ASciiMathML files and plugins to use Google Chart API today so you should see the functional Google Chart plugins for moodle after week or two. Where size is defined with chs=x (it's not very useful because you need to check the original height and width first to use lager or smaller sizes) - but normal mimetex font sizes work too.

It is also possible to define the size of mathematical notations with Google Chart API, the same notation can for example look like this One correction: Colors are supported but they need to be given through chart API.įor example chco gives text color and chf background
