Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #15398

Re: MathJax - "typesetting" of maths in Web pages

From Norman Peelman <npeelmandog@cfl.rr.com>
Newsgroups comp.lang.javascript, comp.infosystems.www.authoring.html
Subject Re: MathJax - "typesetting" of maths in Web pages
Date 2012-08-17 23:26 -0400
Organization A noiseless patient Spider
Message-ID <k0n21a$l94$1@dont-email.me> (permalink)
References (2 earlier) <$yDAFaGXyBIQFwui@invalid.uk.co.demon.merlyn.invalid> <k08aq0$ikl$1@dont-email.me> <lHpWoYF1YUKQFwvW@invalid.uk.co.demon.merlyn.invalid> <k0jsnr$63q$1@dont-email.me> <YayJfCFfjpLQFwRu@invalid.uk.co.demon.merlyn.invalid>

Cross-posted to 2 groups.

Show all headers | View raw


On 08/17/2012 03:17 PM, Dr J R Stockton wrote:
> In comp.lang.javascript message <k0jsnr$63q$1@dont-email.me>, Thu, 16
> Aug 2012 18:37:45, Norman Peelman <npeelmandog@cfl.rr.com> posted:
>
>> On 08/13/2012 02:23 PM, Dr J R Stockton wrote:
>>> In comp.lang.javascript message <k08aq0$ikl$1@dont-email.me>, Sun, 12
>>> Aug 2012 09:24:15, Norman Peelman <npeelmandog@cfl.rr.com> posted:
>>>
>>>>
>>>>    I'm surprised that MathJax doesn't offer the ability to create static
>>>> output, but maybe they didn't expect people would have hundreds of
>>>> equations on a single page... If you could grab the .innerHTML and
>>>> generated styles for each equation then you could simply include them.
>>>
>>> I fear that those might be quite large, possibly larger than a well-
>>> coded image of the electronically-typeset equations (which would at
>>> least be better than a cut of the scanned images of the c.19 inky
>>> printing).
>>>
>>> And MathJax's typesetting, while quite good, is likely to improve with
>>> time, whereas a capture would not.
>>>
>>>
>>
>>   MathJax appears to add a lot of code (both HTML and CSS) to the
>> document. Upon closer examination it seems to me that MathJax should
>> possibly consolidate the CSS as quite a bit is redundant. Your current
>> page alone balloons from ~109KB to ~5.3MB
>
>
> It was under 58kB of ASCII when it left here.  That 5.3 MB must be the
> size in RAM, which hardly matters.  Page authors can configure aspects
> of the loading, which might help there.
>

   Saving the 'generated' source (after MathJax does it's thing) results 
in a 5.3MB text file. All the generated <scripts> are left in even 
though they aren't needed anymore and many of the <span>s created 
contains duplicate inline styles.

> At the moment, I first wanted to get it all working in as near a default
> setup as I can, and next I want to move the equations into the HTML
> representation of the Englished text, at <essai-3c.htm>.  That means
> delaying MathJax start until completion of the existing pre-processing.
> I gather that it would be easy enough if I first read and remember the
> right parts of the documentation.
>

   It all looks very good so far.


-- 
Norman
Registered Linux user #461062
AMD64X2 6400+ Ubuntu 10.04 64bit

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

MathJax - "typesetting" of maths in Web pages Dr J R Stockton <reply1231@merlyn.demon.co.uk.invalid> - 2012-08-04 23:08 +0100
  Re: MathJax - "typesetting" of maths in Web pages "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2012-08-05 08:08 +0300
    Re: MathJax - "typesetting" of maths in Web pages Dr J R Stockton <reply1232@merlyn.demon.co.uk.invalid> - 2012-08-06 20:35 +0100
      Re: MathJax - "typesetting" of maths in Web pages "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2012-08-09 22:27 +0300
        Re: MathJax - "typesetting" of maths in Web pages Dr J R Stockton <reply1232@merlyn.demon.co.uk.invalid> - 2012-08-10 22:59 +0100
          Re: MathJax - "typesetting" of maths in Web pages Martin Leese <please@see.Web.for.e-mail.INVALID> - 2012-08-11 10:30 -0600
            Re: MathJax - "typesetting" of maths in Web pages Dr J R Stockton <reply1232@merlyn.demon.co.uk.invalid> - 2012-08-12 19:20 +0100
          Re: MathJax - "typesetting" of maths in Web pages "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2012-08-11 20:00 +0300
            Re: MathJax - "typesetting" of maths in Web pages Dr J R Stockton <reply1232@merlyn.demon.co.uk.invalid> - 2012-08-12 19:38 +0100
              Re: MathJax - "typesetting" of maths in Web pages "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2012-08-13 08:06 +0300
                Re: MathJax - "typesetting" of maths in Web pages Dr J R Stockton <reply1233@merlyn.demon.co.uk.invalid> - 2012-08-14 19:29 +0100
      Re: MathJax - "typesetting" of maths in Web pages Norman Peelman <npeelmandog@cfl.rr.com> - 2012-08-12 09:24 -0400
        Re: MathJax - "typesetting" of maths in Web pages Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-12 17:44 +0200
        Re: MathJax - "typesetting" of maths in Web pages Dr J R Stockton <reply1233@merlyn.demon.co.uk.invalid> - 2012-08-13 19:23 +0100
          Re: MathJax - "typesetting" of maths in Web pages tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2012-08-14 01:48 -0400
            Re: MathJax - "typesetting" of maths in Web pages "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2012-08-14 09:25 +0300
              Re: MathJax - "typesetting" of maths in Web pages tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2012-08-14 22:44 -0400
                Re: MathJax - "typesetting" of maths in Web pages Dr J R Stockton <reply1233@merlyn.demon.co.uk.invalid> - 2012-08-16 19:36 +0100
              Re: MathJax - "typesetting" of maths in Web pages Dr J R Stockton <reply1233@merlyn.demon.co.uk.invalid> - 2012-08-15 19:14 +0100
            Re: MathJax - "typesetting" of maths in Web pages Dr J R Stockton <reply1233@merlyn.demon.co.uk.invalid> - 2012-08-15 19:08 +0100
          Re: MathJax - "typesetting" of maths in Web pages Norman Peelman <npeelmandog@cfl.rr.com> - 2012-08-16 18:37 -0400
            Re: MathJax - "typesetting" of maths in Web pages Dr J R Stockton <reply1233@merlyn.demon.co.uk.invalid> - 2012-08-17 20:17 +0100
              Re: MathJax - "typesetting" of maths in Web pages Norman Peelman <npeelmandog@cfl.rr.com> - 2012-08-17 23:26 -0400
                Re: MathJax - "typesetting" of maths in Web pages Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-18 19:54 +0200
                Re: MathJax - "typesetting" of maths in Web pages Norman Peelman <npeelmandog@cfl.rr.com> - 2012-08-19 06:58 -0400
                Re: MathJax - "typesetting" of maths in Web pages Dr J R Stockton <reply1233@merlyn.demon.co.uk.invalid> - 2012-08-19 19:06 +0100
  Re: MathJax - "typesetting" of maths in Web pages Norman Peelman <npeelmandog@cfl.rr.com> - 2012-08-16 14:24 -0400
    Re: MathJax - "typesetting" of maths in Web pages Dr J R Stockton <reply1233@merlyn.demon.co.uk.invalid> - 2012-08-17 19:58 +0100
      Re: MathJax - "typesetting" of maths in Web pages Norman Peelman <npeelmandog@cfl.rr.com> - 2012-08-17 23:01 -0400
        Re: MathJax - "typesetting" of maths in Web pages Dr J R Stockton <reply1233@merlyn.demon.co.uk.invalid> - 2012-08-19 19:09 +0100
          Re: MathJax - "typesetting" of maths in Web pages Norman Peelman <npeelmandog@cfl.rr.com> - 2012-08-19 21:26 -0400
            Re: MathJax - "typesetting" of maths in Web pages Dr J R Stockton <reply1234@merlyn.demon.co.uk.invalid> - 2012-08-21 20:34 +0100
              Re: MathJax - "typesetting" of maths in Web pages Norman Peelman <npeelmandog@cfl.rr.com> - 2012-08-21 19:47 -0400
                Re: MathJax - "typesetting" of maths in Web pages Dr J R Stockton <reply1234@merlyn.demon.co.uk.invalid> - 2012-08-23 19:40 +0100

csiph-web