Dear all,
I'm running Moodle 3.5.7+.
I encounter problem with the activity Offline Quiz when I try to use mathematical elements.
I import questions from my bank, where the title or responses contain LateX formulas to create my forms. When I use the question in a classical quiz, or just preview the lists of questions in Offline Quiz, there are no problem. All formulas are ok.
But when I generate the forms in Offline Quiz, the pictures of formulas are all disappeared ! When I activate the debug mode, these are the messages that appear :
Warning: copy(/var/www/moodledata/filter/tex/5c1b97d101d6c6d340f12f5af617cb37.gif): failed to open stream: No such file or directory in /var/www/moodle/mod/offlinequiz/html2text.php on line 161
Notice: Undefined index: extension in /var/www/moodle/mod/offlinequiz/lib/PHPWord/Section/Image.php on line 77
Notice: Source does not exist or unsupported image type. in /var/www/moodle/mod/offlinequiz/lib/PHPWord/Section.php on line 244
I understand that sources don't exist, but I try to undestand how all this works :
- first, the filter generates a .gif image in moodledata/filter/tex, is that correct ?
- Tex Notation and MathJax are both activated. But if i desactivate Tex Notation, it doesn't work anymore. Could this be the problem ?
- When I generate the PDF form, Offline Quiz tries to copy it from the /filter/tex folder. Is that right ?