Mathematics tools
https://moodle.org/mod/forum/view.php?f=130
Including the text filters for MathML, TeX and Algebra notations.
Documentation: [[Mathematics]] and [[Mathematics tools FAQ]] Plugins directory: Search results: math
Before starting a new discussion topic, please check the [[Mathematics tools FAQ]] and try a forum search.
Moodleen(c) 2014 Moodle - Open-source learning platform | Moodle.orghttps://moodle.org/theme/image.php/moodleorgcleaned_moodleorg/core/1397722461/i/rsssitelogomoodle
https://moodle.org
14035Re: TeX Constraints
https://moodle.org/mod/forum/discuss.php?d=258618&parent=1121319
Sat, 19 Apr 2014 16:22:07 GMTby Mauno Korpelainen. <p><p>This forum is not yet using MathJax - not with filter, not with script tags and not together with Tex filter. The latex renderer (TexLive) simply does not work here and only the old cached Tex images are shown. TexLive used to work here some months ago and all such latex expressions that were used on these forums before some upgrade (moodle.org <a href="https://moodle.org/mod/glossary/showentry.php?courseid=5&eid=30&displayformat=dictionary" title="Glossary of common terms: server" class="glossary autolink concept glossaryid5">server</a> break???) get the old images from cached folders that Tex filter created before the change.</p>
<p>Moodle.org is still in version 2.6.</p>
<p>Edit: I was writing this post while Daniel had already posted his reply... personally I would use script tags, not mathJax filter, (additional HTML or Daniel's method) for MathJax with different delimiters than those that Tex filter is using to render part of equations with mathjax and others with tex filter. Or just enable either mathjax filter or tex filter. <img class="emoticon" alt="wink" title="wink" src="https://moodle.org/theme/image.php/moodleorgcleaned_moodleorg/core/1397722461/s/wink" /></p>
<p> </p></p>https://moodle.org/mod/forum/discuss.php?d=258618&parent=1121319Re: TeX Constraints
https://moodle.org/mod/forum/discuss.php?d=258618&parent=1121318
Sat, 19 Apr 2014 16:11:12 GMTby Daniel Thies. <p><p>The moodle.org site should be running 2.6 code so the MathJaxloader should not be running. I think Mauno has it right. It is also possible since it is running in the cloud that there is a server somewhere in the mix that may still be able to run mimetex. I think the problem with mimetex is that we have only a 32 bit binary on 64 bit servers. Servers probably have TeX installed but the paths set incorrectly. </p>
<p>I am familiar with the problems with running both MathJaxloader and TeX filter at the same time. I just finished testing a patch that implements image replacement with both running.</p>
<p>Apparently, Damyon changed the behaviour of the TeX filter last week to fix a bug in his equation editor breaking backward compatibility. The TeX filter did not use to recognize the inline tags that are used by MathJax \), but now it has been changed. The TeX filter now changes every conceivable standard or nonstandard delimited TeX expression into an inline images. Since there are no delimited expressions on the page when MathJax runs it does not do anythings. You can of course get around this by and new goofier delimiter to the MathJax config which the TeX filter does not yet recognize. However, do not tell anyone what they are or somebody will create a bug report to add them to TeX filter.<img class="emoticon" alt="wink" title="wink" src="https://moodle.org/theme/image.php/moodleorgcleaned_moodleorg/core/1397722461/s/wink" /></p></p>https://moodle.org/mod/forum/discuss.php?d=258618&parent=1121318Re: New 2.7 Equation Editor - Missing Key Items
https://moodle.org/mod/forum/discuss.php?d=258631&parent=1121314
Sat, 19 Apr 2014 16:01:00 GMTby Geoffrey Rowland. <p><p>Agree entirely! </p>
<p><a title="Auto-link to Moodle Tracker" href="https://tracker.moodle.org/browse/MDL-45067">MDL-45067</a> started as a simple fix of the 2x2 matrix button, then turned into a TeX 'brain-dump'!</p>
<p>I posted the screenshots with the specific aim of encouraging some reorganisation and 'whittling-down' of the buttons. I'm a scientist, not a maths-specialist. My experimentalist nature likes to tinker with something that exists. Many of my expectations of and preconceptions about e-learning have proved wrong.</p>
<p>May well be difficult to come up with one layout for all educational contexts. However, given the easy configuration of the new Moodle equation editor, I'm sure we can come up with a default for Moodle 2.7 that's as good as, or better than, the existing options such as DragMath, Wiris or CodeCogs. By all means post suggestions here or as comments to <a title="Auto-link to Moodle Tracker" href="https://tracker.moodle.org/browse/MDL-45067">MDL-45067</a>. </p>
<p>Simply moving some of basic options on the 'Advanced' tab to the first (leftmost) tab - and stripping out most of the relational operators to later tabs - should make things less intimidating.</p>
<p>As you suggest, if it's still scary, complexities can end up in the <a href="https://moodle.org/mod/glossary/showentry.php?courseid=5&eid=7913&displayformat=dictionary" title="Glossary of common terms: Moodle Docs" class="glossary autolink concept glossaryid5">Moodle Docs</a>. Though, to be honest, I have found the existing docs on Algebra,TeX filters etc are already pretty scary. Maths can be a complex business <img class="emoticon" alt="surprise" title="surprise" src="https://moodle.org/theme/image.php/moodleorgcleaned_moodleorg/core/1397722461/s/surprise" />.</p>
<p>So, I still think it is useful to have good working, exemplars of at least some advanced features in the default editor.</p></p>https://moodle.org/mod/forum/discuss.php?d=258631&parent=1121314STACK question 2+2=?
https://moodle.org/mod/forum/discuss.php?d=258646&parent=1121313
Sat, 19 Apr 2014 15:45:22 GMTby Peter Halverson. <p><p>Hello,</p>
<p>I am a physics teacher attempting to use STACK to make my students analyze lab data.</p>
<p>As a baby step towards that goal, I decided to make a question that asks the student 2+2=?</p>
<p>I used "Answer test=NumRelative" and the tolerance set to 0.</p>
<p>And, yes it works. BUT, if the student gets cheeky, he can answer "3+1" or "sqrt(16)" and it will be "correct." I don't want that. I want the answer to be just 4.</p>
<p>So.... I'm guessing that the problem lies with "simplification." I want to turn that off. After all, look at this maxima dialog:</p>
<p>(%i15) is (2+2=sqrt(16));<br />(%o15) true<br />(%i16) simp:false;<br />(%o16) false<br />(%i17) is (2+2=sqrt(16));<br />(%o17) false</p>
<p>So in the STACK question form I turned "Auto-simplify" to "No" at the top of prt1. And I also did that for "Question-level simplify".</p>
<p>But that didn't fix the problem. How can I really turn off simplification? Or am I missing something else?</p>
<p>Thank you,</p>
<p>Peter Halverson</p>
<p>PS: I am using Moodle 2.4.9 and I installed qtype_stack_moodle26_2014011500.zip. Maxima 5.23.2</p></p>https://moodle.org/mod/forum/discuss.php?d=258646&parent=1121313Re: TeX Constraints
https://moodle.org/mod/forum/discuss.php?d=258618&parent=1121310
Sat, 19 Apr 2014 15:37:46 GMTby Colin Fraser. <p><p>Sorry, Tim, but simply put, that "wait and see" approach is just not good enough. I understand it is a pain, but the reality is that this site is supposed to showcase Moodle, and if there are glitches like this here, in the Forums of which are boasted about by many, myself included, then what can users expect on their own sites? The main <a href="https://moodle.org/mod/glossary/showentry.php?courseid=5&eid=4455&displayformat=dictionary" title="Glossary of common terms: Interface" class="glossary autolink concept glossaryid5">interface</a> between Moodle.org and newbies, as well as seasoned users HAS to be right. Things like this do not do the credibility of Moodle any good whatsoever. (I do understand I am being hard headed here, but we want people to be confident in the product.) </p>
<p>Al, I suggested elsewhere that constructors like MathJax have a place, but they add a layer of complexity in Moodle that is neither appropriate nor overly user friendly. Many people who require use of TeX, will complain that the equation builders are just too hard to get the look they want, so they won't use it - they won't use Moodle. OK TeX has a learning curve, but it is actually easily grasped, considerably more so than MathJax, I would offer. With some tweaking, you can always get the look you want in TeX, well, I do anyway. </p></p>https://moodle.org/mod/forum/discuss.php?d=258618&parent=1121310Re: New 2.7 Equation Editor - Missing Key Items
https://moodle.org/mod/forum/discuss.php?d=258631&parent=1121298
Sat, 19 Apr 2014 14:30:07 GMTby Daniel Thies. <p><p>Geoff really does have a good eye for this stuff. The feedback he has given me has been great.</p>
<p>There needs to be a lot more mathematical thought put into configuration of the equation tool which the development process has not yet addressed. The admin settings allow the rather easy customization of the TeX library offerings. I think this is very important because Moodle is used in a number of different environments. There needs to be a advanced configuration available that is reasonably complete because even advanced teachers may not be TeX proficient, but I think it is important also to have it right on the lower end. Before we get carried away adding features for multivariate integration, should we not ask whether it will discourage the average elementary teacher from using the tool? It might be better to have a simple default and put more advanced features in the docs.</p></p>https://moodle.org/mod/forum/discuss.php?d=258631&parent=1121298Re: TeX Constraints
https://moodle.org/mod/forum/discuss.php?d=258618&parent=1121296
Sat, 19 Apr 2014 14:08:14 GMTby AL Rachels. <p><p>I think I might know what the problem is. I noticed the same parsing problem yesterday, while working on one of the tests for the current QA cycle, on my Moodle 2.7beta+ (Build: 20140417) site. The problem seems to be from having both the Tex and MathJax filters on at the same time. Last week, I could have both filters on and get results. But this week, only the MathJax is giving me results. With both filters on, I get what we are seeing here in the forum.</p>
<p>What seems really strange is that another 2.7 +beta site that I started right after the 2.6 rollout, and have just been updating each week, will work with both filters enabled, but the output is from the Tex filter. I only get MatJax output if the Tex filter is turned off.</p></p>https://moodle.org/mod/forum/discuss.php?d=258618&parent=1121296Re: New 2.7 Equation Editor - Missing Key Items
https://moodle.org/mod/forum/discuss.php?d=258631&parent=1121282
Sat, 19 Apr 2014 13:11:48 GMTby Geoffrey Rowland. <p><p>4. Should the mouse-over button title ("tool-tip") provide a brief description/explanation (lang file) rather than just showing the TeX code? eg 'Greater than or equal to' rather than '\geq''.</p>
<p>...and some screenshots. Too many buttons? But then it is easier to delete them rather than add them. Perhaps distribute over more tab categories?</p>
<p><img src="https://moodle.org/pluginfile.php/139/mod_forum/post/1121282/equationeditor1.png" alt="" width="542" height="282" /></p>
<p><img src="https://moodle.org/pluginfile.php/139/mod_forum/post/1121282/equationeditor2.png" alt="" width="534" height="202" /></p>
<p><img src="https://moodle.org/pluginfile.php/139/mod_forum/post/1121282/equationeditor3.png" alt="" width="537" height="271" /></p>
<p><img src="https://moodle.org/pluginfile.php/139/mod_forum/post/1121282/equationeditor4.png" alt="" width="541" height="341" /></p></p>https://moodle.org/mod/forum/discuss.php?d=258631&parent=1121282Re: New 2.7 Equation Editor - Missing Key Items
https://moodle.org/mod/forum/discuss.php?d=258631&parent=1121276
Sat, 19 Apr 2014 12:25:03 GMTby Geoffrey Rowland. <p><p>Hi Joshua et al.</p>
<p>Thanks for the 'rabble-rousing'. Have just uploaded my current customised settings.php file for the Atto Equation Editor to <a title="Auto-link to Moodle Tracker" href="https://tracker.moodle.org/browse/MDL-45067">MDL-45067</a>. Also, added a few notes regarding some of my particular choices. Since Damian Weise recently fixed <a title="Auto-link to Moodle Tracker" href="https://tracker.moodle.org/browse/MDL-45009">MDL-45009</a>, this works for me using either the 'new' MathJax filter or the 'old' TeX filter on a recent Moodle 2.7 beta <a href="https://moodle.org/mod/glossary/showentry.php?courseid=5&eid=10110&displayformat=dictionary" title="Glossary of common terms: Git" class="glossary autolink concept glossaryid5">Git</a> <a href="https://moodle.org/mod/glossary/showentry.php?courseid=5&eid=18&displayformat=dictionary" title="Glossary of common terms: download" class="glossary autolink concept glossaryid5">download</a>.</p>
<p>This has all been informed by my recent tinkerings with Daniel Thies's <a title="MathSlate" href="https://moodle.org/mod/forum/discuss.php?d=255377">MathSlate</a> plugin. Indeed, there are a quite a few other features of MathSlate that could be incorporated in (adapted to) the new Moodle Atto Equation Editor. Of course, I do appreciate that the main focus is to get something functional and stable in core for the looming Moodle 2.7 release. Can set up tracker entries if there is wider interest.</p>
<p>1. Undo, Redo and Clear buttons (for the equation editor, not Atto). Building equations can be a bit fiddly So, these help avoid frustration!</p>
<p>2. The ability to add 'display' (newline, centred) equations - bounded by \[ ]\ , in addition to 'Inline' equations - bounded by \( \). Appreciate that this is complicated because, as I understand it, the current Moodle default is to only use inline equations (bounded by the, now deprecated, double-dollars).</p>
<p>3. Some of the interactive YUI features in MathSlate, e.g. placeholders, drag-and-drop creation and rearrangement of equations, double-click deletion of equation elements etc.</p></p>https://moodle.org/mod/forum/discuss.php?d=258631&parent=1121276Re: TeX Constraints
https://moodle.org/mod/forum/discuss.php?d=258618&parent=1121244
Sat, 19 Apr 2014 08:41:59 GMTby Tim Hunt. <p><p>Well, it won't be long until this site is upgraded to Moodle 2.7, so we may as well just wait until then.</p></p>https://moodle.org/mod/forum/discuss.php?d=258618&parent=1121244