#8129: Install jsMath image fonts in a fixed location
---------------------------------+------------------------------------------
Reporter: mpatel | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone:
Component: optional packages | Keywords: notebook, jsmath, fonts
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------------+------------------------------------------
Changes (by mpatel):
* cc: jhpalmieri (added)
Comment:
With the patch, the server does a simple check for jsMath fonts under
`SAGE_LOCAL`:
{{{
#!python
jsmath_fonts_path = os.path.join(os.environ['SAGE_LOCAL'],
'lib', 'jsmath', 'fonts')
if not os.path.exists(jsmath_fonts_path):
jsmath_fonts_path = os.path.join(javascript_path, 'jsmath', 'fonts')
}}}
We'll need to add the msbm10 fonts to the fonts spkg. Instead of putting
even more version-checking logic in `jsmath-image-fonts-*.spkg` `spkg-
install`, should we give the new spkg a different name, e.g., `jsmath-
image-fonts-new-*.spkg`? Its `spkg-install` would just install the fonts
in `SAGE_LOCAL/lib/jsmath/fonts`.
Also, should we try adding '''all''' of the
[http://www.math.union.edu/~dpvc/jsmath/download/extra-fonts/welcome.html
extra jsMath fonts] to the new spkg?
{{{
bbold10
cmbsy10
cmbx10
cmex10
cm-fonts
cmmi10
cmmib10
cmr10
cmss10
cmsy10
cmti10
eufb10
eufm10
eurb10
eurm10
eusb10
eusm10
lasy10
lasyb10
msam10
msbm10
rsfs10
stmary10
wasy10
wasyb10
}}}
?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8129#comment:5>
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.