How you doing.
I'm kind of new in moodle, i'va not develop something important yet but i'm trying to get to know the tool, anyway i'm using asciimath filter to show some math ecuation and other math stuf for a math course, it works excelent but in some cases, or actions it don't show what it have to, in the quiz part, i used the `` and the amath endamath, and the $$ but nothing, it just look like `cos(x)`, where can i start to fix this?
thanks
i would be apreciated
I don't know whether you are using filter in a generic sense or to suggest that you installed asciimathml as a filter..... if the latter, remove all asciimath files from the filter directory and install via meta.php
If the above is alread done, then please do some screen caprtures shots and upload so we can see where exactly you have having trouble.
Thanks for the answer, i installed the asciimath unpacking the compress file into filters, just like 'moodle/filter/asciimath' following the readme.txt that comes with the pakage, so i'm trying to show some ecuations in a quiz and others actions in moodle, but for now asciimath only works when i add and edit and web page into a couse, (I hope you undestand my english), anyway you can see it yourselve go into http://www.tuprofesorvirtual.com/av , use login: estudiante, pass: 1234qwer, and go into "Noveno Grado">"Matemáticas Noveno Grado">" Preguntas sobre Raíz Enésima de un Número Real", and look what i mean.
you can see asciimath working on "Aprendiendo Moodle">"Manejo de Archivos">"Ecuaciones y formulas matematicas en asciimath" but i wonder if it only works that way.
when you say "install via meta.php" can you tell me where to find instruction to do it?
Thanks
Hope you can help me
http://docs.moodle.org/en/ASCIIMathML#Invoking_via_meta.php
There are a number of versions of asciimathml that folk have been playing with and I have been putting off rolling up a zip of asciimath and dragmath that will autoinstall because SEE (Mauno's Super Equation Editor) is just around the corner and there have been so many changes that I don't want to make things more confusing while trying to make it less.....
Please remove asciimath from /filter (physically remove files) and put the directory in /lib/editor/common . The invoke from your theme.... That way asciimath will be the last js called and will not conflict with quiz.js. If you want a version with fallback and you have not found it, let me know and I will make one available.
The instructions that you find from original package of Peter Jibsen are not always functional because the filter he made was written for old moodle (1.5-1.6?) and his filter does not actually work as filter. So it is better to remove those files from folder filter and place them for example to lib/editor/common (or some other folder - create a new folder with read permissions if necessary but don't use folder "filter").
Then you can use for example theme header.html or meta.php and add tags
<script type="text/javascript" src="<?php echo $CFG->httpswwwroot ?>/lib/editor/common/ASCIIMathML.js"></script>
to get asciimathml rendered where ever your theme is used. File meta.php was added to moodle 1.7- and if you want most themes to use asciimathml add those tags to standard theme meta.php
If you want to use asciimathml only in some custom theme you can either add custom meta.php file and that line + check/add to custom theme config.php line
$THEME->metainclude = true;
or add the script tags to header.html just before </head> tag.
Marc has written some advice to Docs http://docs.moodle.org/en/ASCIIMathML - in fact the lines
_editor_skin = "xp-blue"; // If you want use a skin, add the name (of the folder) here
_editor_lang = "en"; // And the language we need to use in the editor.
could be taken away - they were used for Xinha (one of our experimental editors)...
i invoked the asciiMath.js from the heather.html of the template and ready
