From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Re: MathJax is now the default for HTML math Date: Thu, 2 Sep 2010 20:07:47 -0700 Message-ID: <19584.26243.447375.125613@priss.frightenedpiglet.com> References: <63B79D2B-9483-481F-B7AB-88BEA753D5C8@gmail.com> <4C66F076.10505@jboecker.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=50443 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrN2y-0002IZ-1p for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 23:34:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OrN2w-0005lf-NY for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 23:34:35 -0400 Received: from v-static-143-234.avvanta.com ([206.124.143.234]:33123 helo=priss.frightenedpiglet.com) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OrN2w-0005lQ-AM for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 23:34:34 -0400 In-Reply-To: <4C66F076.10505@jboecker.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jan =?iso-8859-1?Q?B=F6cker?= Cc: emacs-orgmode List , Carsten Dominik Jan B=F6cker writes: > Since I read the announcement this morning, I have been playing with > MathJax. I found that when an HTML file on the local hard disk uses > MathJax from the web, MathJax reverts to image fonts in Firefox (this is > caused by a security feature of Firefox and mentioned in the MathJax > FAQ). Using a local MathJax installation in a subdirectory fixes this. >=20 > Most of my time was spent messing around with XULRunner to load the > exported HTML page, wait until MathJax has done its magic, then > serialize the result back to XHTML. >=20 > And replace the file:// URLs pointing to the fonts of my local MathJax > installation with data: URIs, thus embedding the fonts within the HTML > file itself, just because I can. >=20 > The result is a single HTML file which does not require JavaScript to be > viewed (and incurs no delay while the math is being rendered). However, > as no MathJax code is present, the zoom and view source functions of > MathJax are not available. How about doing the same data: URI embedding for images in the HTML exporter? It should be possible to implement it entirely inside Emacs. It would have to be optional, of course. Derek --=20 Derek Upham sand@blarg.net