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

After saving LaTeX preamble settings, extra backslash is added to them

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.1
    • 1.7.2, 1.8
    • Filters
    • None
    • MOODLE_17_STABLE
    • MOODLE_17_STABLE, MOODLE_18_STABLE

    Description

      In "Site Administration" we can see "Modules" then "Filters" menu where we find "Settings" for "TeX Notations". When we click the "Settings" we see "LaTeX renderer Settings", especially there is "LaTeX preamble" settings.
      After I changed the setting a bit and save change then an extra backslash is added to them like
      "
      usepackage[latin1]

      {inputenc}" which should be "\usepackage[latin1]{inputenc}

      " and even if I pressed
      "Reset to defaults" button, it is not corrected, further if I press "Save changes" once again then there are 4 backslashes and so on. So we can't get correct LaTeX preamble anymore.
      I'll attach a screen shot which might help you to understand the problem. Thanks.

      Attachments

        Activity

          People

            skodak Petr Skoda
            adhok Atsuhito Kohda
            Nobody Nobody
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              30/Mar/07