Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: "Jukka K. Korpela" Newsgroups: comp.lang.javascript,comp.infosystems.www.authoring.html Subject: Re: MathJax - "typesetting" of maths in Web pages Date: Thu, 09 Aug 2012 22:27:18 +0300 Organization: A noiseless patient Spider Lines: 27 Message-ID: References: <$yDAFaGXyBIQFwui@invalid.uk.co.demon.merlyn.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 9 Aug 2012 19:27:16 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="9e0ae8574c58208bf47738e1c9986fe4"; logging-data="23511"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19MF7c+NI4Oh5n81ssGkwnA" User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: <$yDAFaGXyBIQFwui@invalid.uk.co.demon.merlyn.invalid> X-Antivirus-Status: Clean X-Antivirus: avast! (VPS 120809-0, 09.08.2012), Outbound message Cancel-Lock: sha1:P1lWRybkqylJpU7rbXrFvAoRq3Q= Xref: csiph.com comp.lang.javascript:15303 comp.infosystems.www.authoring.html:2798 2012-08-06 22:35, Dr J R Stockton wrote: >>> [MathJax] uses a JavaScript include file to edit the transmitted body of the >>> page; there is a perceptible delay. >> >> Yes, there might be a flash of non-typeset content, perhaps even more >> than just a flash. I've got used to it. > > This is a P4/3GHz (XP sp3), and my intended document, a translation of > Lagrange's prize-winning "Essay ..." of 1772, has about 507 equations. > So far, I've translated 37 of them to LaTeX, and it takes about 5 > seconds to convert them for elegant display. That suggests around 68 > seconds for the full work. This sounds serious, but I don't think it's really that serious. It's the delay required to convert the first few equations that matters, as a rule. A reader who opens the page will probably spend several seconds with the initial display before scrolling or otherwise moving forward. So the conversion mostly takes place in the background, from the user's point of view. The situation can be improved by using prose at the start of a document, such as a heading, a summary, a table of content, and other material that does not contain typeset formulas. -- Yucca, http://www.cs.tut.fi/~jkorpela/