On Tue, Feb 24, 2009 at 2:51 PM, Jason Grout
<jason-s...@creativetrax.com> wrote:
>
> Ondrej Certik wrote:
>> On Tue, Feb 24, 2009 at 2:12 PM, Jason Grout
>> <jason-s...@creativetrax.com> wrote:
>>> Ondrej Certik wrote:
>>>> On Tue, Feb 17, 2009 at 1:43 PM, Ondrej Certik <ond...@certik.cz> wrote:
>>>>> On Tue, Feb 17, 2009 at 1:39 PM, Carl Witty <carl.wi...@gmail.com> wrote:
>>>>>> On Feb 17, 1:09 pm, Jason Grout <jason-s...@creativetrax.com> wrote:
>>>>>>> schmmd wrote:
>>>>>>>> I don't seem to be able to pretty print in sage.  I remember doing
>>>>>>>> this in class, but the pretty_print function gives the error "It looks
>>>>>>>> like jsMath failed to set up properly (error code -7).  I will try to
>>>>>>>> keep going, but it could get ugly." when I use it in the notebook
>>>>>>>> through vmware or the notebook on one of the public web servers.  Am I
>>>>>>>> doing anything wrong?  How can I, for example, print a matrix with
>>>>>>>> latex formatting?
>>>>>>> You are doing things correctly.  You just need to install some fonts.
>>>>>>> See 
>>>>>>> http://wiki.sagemath.org/faq#IgetanerrorfromjsMathorthemathsymbolsdon...
>>>>>> Where does this error message come from?  How hard would it be to
>>>>>> change it to refer to
>>>>>> http://wiki.sagemath.org/faq#IgetanerrorfromjsMathorthemathsymbolsdon.27tlookrightwhendisplayinginthenotebook
>>>>>> ?
>>>>>>
>>>>>> (I think this might be worth doing even if it requires patching
>>>>>> jsMath.)
>>>>> I am getting the same error, so I followed up the wiki and I installed
>>>>> both jsmath-fonts and smath-fonts-sprite packages in Ubuntu, but the
>>>>> error still stays...
>>>
>>> Install the jsmath-image-fonts spkg (i.e., *sage* package, not ubuntu
>>> package), and the error should go away...I think...
>>
>> Ah -- I was stupid, yes, this fixes the problem! Thanks a lot!
>>
>>> That said, I agree that the error message is annoying, though it's
>>> probably annoying for a reason...
>>
>> So maybe jsmath-image-fonts could be in Sage by default?
>>
>
> It's too big---something like 80MB unzipped (lots and lots and lots of
> little tiny image files; one for each character).
>
> The error message should be changed, and we ought to distribute the
> fonts from the jsmath homepage with Sage, so that instead of an error
> message, there is a nice helpful link that says something like "to get
> much better fonts, click here and follow these instructions, or install
> the jsmath-image-fonts spkg"

+1!!  We've been meaning to do that forever...

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to