On Wednesday, June 20, 2012 12:49:52 PM UTC-7, jason wrote:
>
> On 6/20/12 2:33 PM, John H Palmieri wrote: 
> > 
> > 
> > On Wednesday, June 20, 2012 10:42:40 AM UTC-7, jason wrote: 
> > 
> >     On 6/20/12 12:37 PM, John H Palmieri wrote: 
> >      > 
> >      > 
> >      > On Tuesday, June 19, 2012 9:29:45 PM UTC-7, John H Palmieri 
> wrote: 
> >      > 
> >      > When you run 'make' in SAGE_ROOT, it builds sage and runs 'make 
> >      > doc-html'. I propose changing this so it instead runs 'make 
> >      > doc-html-jsmath', which uses jsMath to display math, rather than 
> png 
> >      > images. In my experience, using jsMath is much faster, and the 
> >      > output looks good. (Individual users can make this the default by 
> >      > setting the environment variable SAGE_DOC_JSMATH to "yes", by the 
> >     way.) 
> >      > 
> >      > 
> >      > One advantage to *not* using jsMath: the docs using jsMath take 
> >     about 
> >      > 500 megabytes, compared to about 300 without jsMath. I haven't 
> >     checked 
> >      > with MathJax. (I still think it's worth using jsMath.) 
> > 
> >     Is that because a copy of jsmath is copied over to the output 
> >     directory? 
> > 
> > 
> > I think so. 
> > 
> >     MathJax will be a lot smaller (if we don't use the image fonts). 
> > 
> > 
> > Ah, you're right: switching from jsMath to MathJax changes the disk 
> > space from 526M to 296M on my machine. 
>
>
> The mathjax directory should only be about 10M.  Can you check its size 
> just to make sure? 
>

I'm not sure which mathjax directory you mean. In doc/output/...., there 
are directories like

   doc/output/html/en/reference/_static/

containing a file "MathJax.js" and a directory "jax". Each of these _static 
directories (one for each component of the documentation, all identical, 
AFAIK) takes 5.5M on my machine.

-- 
John

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to