Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.
   1  <?php
   2  // This file is part of Moodle - http://moodle.org/
   3  //
   4  // Moodle is free software: you can redistribute it and/or modify
   5  // it under the terms of the GNU General Public License as published by
   6  // the Free Software Foundation, either version 3 of the License, or
   7  // (at your option) any later version.
   8  //
   9  // Moodle is distributed in the hope that it will be useful,
  10  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12  // GNU General Public License for more details.
  13  //
  14  // You should have received a copy of the GNU General Public License
  15  // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
  16  
  17  /**
  18   * Strings for component 'filter_mathjaxloader', language 'en'.
  19   *
  20   * @package    filter_mathjaxloader
  21   * @copyright  1999 onwards Martin Dougiamas  {@link http://moodle.com}
  22   * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  23   */
  24  
  25  $string['filtername'] = 'MathJax';
  26  $string['additionaldelimiters'] = 'Additional equation delimiters';
  27  $string['additionaldelimiters_help'] = 'MathJax filter parses text for equations contained within delimiter characters.
  28  
  29  The list of recognised delimiter characters can be added to here (e.g. AsciiMath uses `). Delimiters can contain multiple characters and multiple delimiters can be separated with commas.';
  30  $string['httpsurl'] = 'MathJax URL';
  31  $string['httpsurl_help'] = 'Full URL to MathJax library.';
  32  $string['texfiltercompatibility'] = 'TeX filter compatibility';
  33  $string['texfiltercompatibility_help'] = 'The MathJax filter can be used as a replacement for the TeX notation filter.
  34  
  35  To support all the delimiters supported by the TeX notation filter, MathJax will be configured to display all equations "inline" with the text.';
  36  $string['localinstall'] = 'Local MathJax installation';
  37  $string['localinstall_help'] = 'The default MathJax configuration uses the CDN version of MathJax, but MathJax can be installed locally if required.
  38  
  39  This can be useful to save on bandwidth or because of local proxy restrictions.
  40  
  41  To use a local installation of MathJax, first download the full MathJax library from https://www.mathjax.org/. Then install it on a web server. Finally update the MathJax filter settings httpurl and/or httpsurl to point to the local MathJax.js URL.';
  42  $string['mathjaxsettings'] = 'MathJax configuration';
  43  $string['mathjaxsettings_desc'] = 'The default MathJax configuration should be appropriate for most users, but MathJax is highly configurable and any of the standard MathJax configuration options can be added here.';
  44  $string['privacy:metadata'] = 'The MathJax plugin does not store any personal data.';