MathJax icon indicating copy to clipboard operation
MathJax copied to clipboard

MATHJAX ARABIC MOODLE

Open MELAS007 opened this issue 1 year ago • 4 comments
trafficstars

I use MOODLE 4.2.1 and use mathjax 3 ( https://cdn.jsdelivr.net/npm/mathjax@latest/MathJax.js).

I would like to know how to use for arabic language Mathematic? I tried but equation doesn't appear correctly.

Kindly let me know any suggestions.

regards, Marwan

MELAS007 avatar Jan 02 '24 13:01 MELAS007

I tried but equation doesn't appear correctly.

This is not enough information to diagnose your problem. Can you describe what is going wrong for you?

I use ... mathjax 3 ( https://cdn.jsdelivr.net/npm/mathjax@latest/MathJax.js).

Actually, you are using MathJax v2.7.9. That is because v3 doesn't include a file called MathJax.js, and so jsdelivr is finding it in the latest version that does include MathJax.js, which is 2.7.9. So you are using MathJax v2. MathJax v3 uses addresses like

https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js

and does not have a MathJax.js file.

dpvc avatar Jan 02 '24 16:01 dpvc

Thank for your prompt answer, I tried to solve this RTL equation issue with 2.7.9. Could you let me know how to make it work properly?

Screen Shot 2024-01-03 at 11 53 09

MELAS007 avatar Jan 03 '24 09:01 MELAS007

I tried but equation doesn't appear correctly.

This is not enough information to diagnose your problem. Can you describe what is going wrong for you?

I use ... mathjax 3 ( https://cdn.jsdelivr.net/npm/mathjax@latest/MathJax.js).

Actually, you are using MathJax v2.7.9. That is because v3 doesn't include a file called MathJax.js, and so jsdelivr is finding it in the latest version that does include MathJax.js, which is 2.7.9. So you are using MathJax v2. MathJax v3 uses addresses like

https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js

and does not have a MathJax.js file.

kindly see in below

MELAS007 avatar Jan 03 '24 14:01 MELAS007

Since you are using MathJax v2, you might consider loading the third-party Arabic extension, which is only available for version 2. In particular, it supports RTL math.

I'm afraid I am not very familiar with Arabic myself, so the image in your post doesn't mean much to me, and I can't tell what is right or wrong about it. You will need to be more explicit in identifying what is not being done as it should be in order for me to be of any help.

dpvc avatar Jan 03 '24 14:01 dpvc