Hi

On 19 September 2017 at 12:12, Jan Groenewald <j...@aims.ac.za> wrote:

> Hi
>
> I am running the debian 9 packaged sagemath-common and sagemath-jupyter.
> This gives a jupyter notebook which can open sage-7.4 worksheets.
>
> LaTeX is rendering horribly by default: short ugly integral signs shorter
> than the expression that follows, and broken square root signs, amongst
> other.
>
> It can be fixed by on each formula, each time you open the notebook, right
> click, math settings. Math Renderer, change HTML-CSS to Common HTML or SVG.
>
> How can this setting be made permanent? (For oneself or many users across
> a campus.)
>
> Mathjax is loaded from libjs-mathjax, a locally installed package, not
> from the internet. However editing 
> /usr/share/javascript/mathjax.config/default./js
> does not help either:
>
> 0 root@jan-desktop:/usr/share/javascript/mathjax/config#grep input/TeX
> default.js
>   //      input/TeX
>   jax: ["input/TeX", "output/SVG"], # default was output/HTML-CSS
>
> Any idea?
>
> Regards,
> Jan
>
> --
>   .~.
>   /V\     Jan Groenewald
>  /( )\    www.aims.ac.za
>  ^^-^^
>


This will be configurable in future versions of jupyter (not the version on
debian stable) in ~/.jupyter via mathjax_config.

For now had to move aside the following file and instead create a symlink
/usr/share/javascript/mathjax/config/TeX-AMS_HTML-full.js to my preferred
config instead.

Regards,
Jan






-- 
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to