#9276: sage notebook: jsmath image fonts -- optional package -- breakage
------------------------+---------------------------------------------------
Reporter: was | Owner: jason, was
Type: defect | Status: new
Priority: major | Milestone: sage-4.4.4
Component: notebook | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Here's the thread about this:
{{{
Forwarded conversation
Subject: [sage-support] jsmath image fonts
------------------------
From: marik
Date: Fri, May 28, 2010 at 11:56 PM
To: sage-support <[email protected]>
Dear all
I installed jsmath image fonts in fresh 4.4.2, but these fonts remain
unavailable - the switch to these fonts is still inactive. Does
anybody have the same issue? Is it a bug in my configuration, or a bug
in sage? Many thanks and have a nice weekend.
Robert
----------
From: marik
Date: Mon, May 31, 2010 at 12:43 PM
To: sage-support <[email protected]>
I copied png files manualy to the correct place and still get no image
fonts in Sage notebook. Any idea? Many thanks,
Robert
----------
From: William Stein <[email protected]>
Date: Mon, May 31, 2010 at 12:44 PM
To: sage-notebook <[email protected]>
--
William Stein
----------
From: marik@
Date: Fri, Jun 11, 2010 at 8:44 AM
To: sage-notebook <[email protected]>
Solved:
png files install into correct place, but the file /sage/local/LIB/
python/site-packages/sagenb-0.8-py2.6.egg/sagenb/data/sage/js/
jsmath.js contains lines like
{% if jsmath_image_fonts %}
noImageFonts: 0
{% else %}
noImageFonts: 1
{% endif %}
Change it into
// {% if jsmath_image_fonts %}
noImageFonts: 0
// {% else %}
// noImageFonts: 1
// {% endif %}
and image fonts will work. Tested on recent Sage 4.4.3
what is this {% if jsmath_image_fonts %} ? Where does it come from?
Robert
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9276>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.