Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-25978

MathJax configuration should be externally configurable

    XMLWordPrintable

    Details

      Description

      After the great contribution at SAK-22384 , Sakai can already render MathJax code.

      However, the MathJax configuration is hardcoded in Portal code. This include delimiters and other config options that could be modified according to each institution preferences.

      For example, in my university we are going to use the next configuration instead the default:

      <script type="text/x-mathjax-config">
      MathJax.Hub.Config({
      tex2jax:

      { inlineMath: [['$','$'],['\\(','\\)']], processEscapes: true }

      ,
      TeX: { equationNumbers:

      { autoNumber: "AMS" }

      }
      });
      </script>

      A property or, ideally, a text file could contain this configuration so it could be easily changed.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  maintenanceteam Core Team
                  Reporter:
                  daniel.merino Daniel Merino Echeverría
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:

                      Git Integration