[Debian-science-sagemath] A question about SageMath on Debian and MathJax

Jan Groenewald jan at aims.ac.za
Tue Sep 19 19:25:36 UTC 2017


Hi

On 19 September 2017 at 21:18, Jan Groenewald <jan at aims.ac.za> wrote:

> Thanks
>
> On 19 September 2017 at 21:08, Ximin Luo <infinity0 at debian.org> wrote:
>
>> Samuel Lelièvre:
>> > Dear debian-science-sagemath,
>> >
>> > There is a question on sage-devel about SageMath
>> > on Debian and MathJax:
>> >
>> > https://groups.google.com/d/topic/sage-devel/sL_iYHfFB2M/discussion
>> >
>> > Could anyone on this list answer it?
>> >
>>
>> Hi, (I think) the default is actually controlled by Jupyter Notebook and
>> not SageMath. You can hack it locally by editing:
>>
>> /usr/lib/python2.7/dist-packages/notebook/templates/notebook.html
>>
>> I believe you just need to change, near the top:
>>
>> {{mathjax_url}}?config=TeX-AMS_HTML-full
>> to:
>> {{mathjax_url}}?config=TeX-AMS_SVG-full
>>
>> Afterwards, restart the notebook server. You might also need to clear
>> your cookies / local storage if you've specifically overridden that setting
>> for particular formulas.
>>
>> I'm not sure the best way we could make this configurable across your
>> whole campus, but perhaps it's best to open an issue and discuss it with
>> the Jupyter Notebook people.
>>
>>
> Yes, seems to work! Discuss where with jupyter notebook people?  Seems irc
> and gitter is quiet. On github itself?
>
>
Okay not sure from user feedback. Will have to check in person tomorrow.
whether it is working.

Regards,
Jan



-- 
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-science-sagemath/attachments/20170919/49a7a909/attachment.html>


More information about the Debian-science-sagemath mailing list