Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-48846

TeX filter debugger refers to a non-existing page

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Enable the algebra filter and tex filter. 
      2. Go to blog or course and create some content:

        Algebra: @@x+y@@
        TeX: $$x+y$$
        

      3. Click on the algebra expression (should go to a debug page)
      4. Go to the tex debugging page ($CFG->wwwroot/filter/tex/texdebug.php)
      5. Manually review the mimetexisnotexist string (this string is difficult to review in error log because it needs an 'invalid' PHP_OS..)
        • VERIFY: the content of this string shouldn't reference to http://moodle.org/download/mimetex/ . The exact string should only contain: 'Your system is not configured to run mimeTeX. You need to obtain the C source from <a href="http://www.forkosh.com/mimetex.zip">http://www.forkosh.com/mimetex.zip</a>, compile it and put the executable into your moodle/filter/tex/ directory.'
      Show
      Enable the algebra filter and tex filter.  Go to blog or course and create some content: Algebra: @@x+y@@ TeX: $$x+y$$ Click on the algebra expression (should go to a debug page) VERIFY: there is no mention of http://moodle.org/download/mimetex/ and that the text at the bottom of the page makes some sense. Go to the tex debugging page ($CFG->wwwroot/filter/tex/texdebug.php) VERIFY: there is no mention of http://moodle.org/download/mimetex/  and that the text at the bottom of the page makes some sense. Manually review the mimetexisnotexist string (this string is difficult to review in error log because it needs an 'invalid' PHP_OS..) VERIFY: the content of this string shouldn't reference to  http://moodle.org/download/mimetex/ . The exact string should only contain: 'Your system is not configured to run mimeTeX. You need to obtain the C source from <a href="http://www.forkosh.com/mimetex.zip"> http://www.forkosh.com/mimetex.zip </a>, compile it and put the executable into your moodle/filter/tex/ directory.'
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-48846-master

      Description

      The TeX filter debugger (e.g. http://demo.moodle.net/filter/tex/texdebug.php as mentioned in https://docs.moodle.org/en/TeX_notation_filter#Debugging_TeX_filter ) displays the following text:

      "... You can try compiling it from the C sources downloaded from http://www.forkosh.com/mimetex.zip, or looking for an appropriate binary at http://moodle.org/download/mimetex/. ..."

      The URL http://moodle.org/download/mimetex/ does not exist.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Sep/18