MathJax configuration should be externally configurable

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.

Activity

Show:

Matthew Jones April 2, 2015 at 3:19 PM

I think this one depends on being implemented

Details

Priority

Affects versions

Components

Assignee

Reporter

Labels

Created March 28, 2014 at 2:59 AM
Updated March 25, 2021 at 1:56 AM