A new install from the PPA will work. It is unfortunately some upgrades
since 6.6 that don't. Maybe we can add a sage-fix-mathjax.sh script. Or do
it in postinst. I think we did for a while.

Regards,
Jan

On 6 November 2015 at 19:32, Ding Pan <pandean.r...@gmail.com> wrote:

> Thanks Jan!
> Replacing mathjax fixed the problem.
> Hope there will be a fix in PPA too.
>
> Ding
>
> On Monday, November 2, 2015 at 12:55:27 PM UTC-6, Jan Groenewald wrote:
>>
>> Hi
>>
>> This might be a leftover error from a previous versio nwhen mathjax
>> moved. Please try
>>
>> sudo -i
>> cd
>> /usr/lib/sagemath/local/lib/python2.7/site-packages/sagenb-0.11.4-py2.7.egg/sagenb/data/
>> rm -rf mathjax
>> ln -s ../../../../../../share/mathjax/
>>
>> Or inspect first whether that symlink is there already?
>>
>> If it is actually a PPA error (I doubt it, I think we fixed in 6.6) we
>> will look at uploading a fix.
>>
>> Regards,
>> Jan
>>
>> On 2 November 2015 at 20:22, Samuel Lelièvre <samuel....@gmail.com>
>> wrote:
>>
>>> Follow-up: When I launch the Jupyter notebook, I get this warning:
>>>
>>> """
>>> Failed to retrieve MathJax from '../nbextensions/mathjax/MathJax.js'
>>>
>>> Math/LaTeX rendering will be disabled.
>>>
>>> If you have administrative access to the notebook server and a working
>>> internet connection, you can install a local copy of MathJax for
>>> offline use with the following command on the server at a Python or
>>> Jupyter prompt:
>>>
>>> >>> from Jupyter.external import mathjax; mathjax.install_mathjax()
>>>
>>> This will try to install MathJax into the Jupyter source directory.
>>>
>>> If Jupyter is installed to a location that requires administrative
>>> privileges to write, you will need to make this call as an
>>> administrator, via 'sudo'.
>>>
>>> When you start the notebook server, you can instruct it to disable
>>> MathJax support altogether:
>>>
>>> $ ipython notebook --no-mathjax
>>>
>>> which will prevent this dialog from appearing.
>>> """
>>>
>>>
>>>
>>> 2015-11-02 19:21 GMT+01:00 Samuel Lelièvre <samuel....@gmail.com>:
>>> > Hi,
>>> >
>>> > On the "SageMath 6.9" Ubuntu PPA, installed in the computer rooms
>>> > in my department, I started Sage, then typed
>>> >
>>> >     sage: notebook()
>>> >
>>> > to get the Sage Notebook. I open a new worksheet and type
>>> >
>>> >     7*7
>>> >
>>> > and shift-enter to evaluate. I get the following output:
>>> >
>>> >     Error typesetting mathematics
>>> >     49
>>> >
>>> > Actually, every output starts by "Error typesetting mathematics",
>>> > including graphic output.
>>> >
>>> > It looks very similar to what happened with the "SageMath 6.6"
>>> > Ubuntu PPA:
>>> > https://groups.google.com/d/topic/sage-devel/nESRhwQ0wSU/discussion
>>> >
>>> > Does it point to some problem with the MathJax install?
>>> > Are you planning to release a fixed SageMath 6.9 PPA?
>>> >
>>> > Best,
>>> > Samuel
>>>
>>
>>
>>
>> --
>>   .~.
>>   /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 http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
  .~.
  /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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to