Importing Math equation to the Book

Importing Math equation to the Book

Sya Rahim發表於
Number of replies: 5

Hi,

I am currently testing out the Book activities on Moodle 3.2.3 . Everytime I copy and paste content from my word document( equations included), all the equations will not appear. I would have to manually insert the equations as pictures. Is there an easier way to import the equations/symbols?

評比平均分數: -
In reply to Sya Rahim

Re: Importing Math equation to the Book

Eoin Campbell發表於
Core developers的相片 Particularly helpful Moodlers的相片 Plugin developers的相片

Getting equations from Word into Moodle depends on what format the equations are in. If you use the Microsoft Equation Editor (the post 2007 version), then the Microsoft Word File Import/Export (Book) plugin will convert them into MathML on import. If you use the much older Equation 3.0 editor, then the best you can do is to convert the equations into images and then import the file.

In either case, copying and pasting content from Word to a Moodle text editing file, whether Atto or the TinyMCE editor, will not copy anything that isn't text. 

In reply to Sya Rahim

Re: Importing Math equation to the Book

Visvanath Ratnaweera發表於
Particularly helpful Moodlers的相片 Translators的相片
Hi

Mathematical formulas are not compatible between various document formats. Check the documentation for the Mathematical tools forum https://moodle.org/mod/forum/view.php?id=752 and choose the best method for you.
In reply to Visvanath Ratnaweera

Re: Importing Math equation to the Book

Sya Rahim發表於

Thank you for your reply. I would check it out.

In reply to Sya Rahim

Re: Importing Math equation to the Book

Visvanath Ratnaweera發表於
Particularly helpful Moodlers的相片 Translators的相片
Hi

Don't let the discussions on STACK in the Mathematics tools forum https://moodle.org/mod/forum/view.php?id=752 distract you. (STACK https://moodle.org/plugins/qtype_stack is an advanced question type for maths.)

You need a simple maths filter like the https://docs.moodle.org/en/TeX_notation_filter or the https://docs.moodle.org/en/MathJax_filter. There are all kinds of graphical interfaces to the GUI (aka Text) editor of Moodle. The text below that looks like this:
$$ f(x)=\int_{-\infty}^x~e^{-t^2}dt $$

P.S. It is a bad idea to copy-and-paste from Word in to the Moodle GUI (aka Text) editor!
附件 texnotation.png