From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aankhen Subject: Re: latex fragments, dvipng and mathjax Date: Wed, 9 Mar 2011 12:25:49 +0530 Message-ID: References: <3941.1299610752@alphaville.usa.hp.com> <4670.1299615413@alphaville.usa.hp.com> <4D76C2C0.3020501@ccbr.umn.edu> <3591.1299636821@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=59667 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxDJb-0000vv-8x for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 01:56:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxDJa-0001YP-2l for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 01:56:11 -0500 Received: from mail-vx0-f169.google.com ([209.85.220.169]:55976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxDJa-0001YG-0N for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 01:56:10 -0500 Received: by vxc38 with SMTP id 38so275678vxc.0 for ; Tue, 08 Mar 2011 22:56:09 -0800 (PST) In-Reply-To: <3591.1299636821@alphaville.dokosmarshall.org> 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: nicholas.dokos@hp.com, Erik Iverson , Org-mode ml On Wed, Mar 9, 2011 at 07:43, Nick Dokos wrote: > Erik Iverson wrote: >> On 03/08/2011 02:16 PM, Nick Dokos wrote: >> > [snip] >> > That forces HTML-CSS output and from what I can see on the mathjax sit= e, >> > that should improve things - but it doesn't for me, so I'm still not o= ut >> > of the woods. Maybe MathJax doesn't know where to get the TeX fonts? >> >> Do the examples on mathjax.org look nice to you? And which browser >> do you happen to be using for viewing? > > Yes - the Cauchy integral formula (as well as the Gauss divergence > theorem further down) on > > =C2=A0 =C2=A0http://www.mathjax.org/demos/mathml-samples/ > > looks fine when HTML-CSS rendering is chosen. When MathML > rendering is chosen, the integral sign is too small. That's > what motivated the mathml:nil effort above, but it didn't pan > out. But even in MathML rendering, the integral sign, even though > small, looks better than the one I posted. > > I'm using firefox 3.6.14 on Ubuntu 10.10. FWIW, same here. Firefox 3.6.15 on Windows 7. Given that both pages specify the MathJax_Math font yet only mathjax.org actually looks like it uses it, you=E2=80=99re probably right about MathJax having trouble find= ing the fonts on yours. I tried a couple other browsers. IE8 aborts the script after an error on =E2=80=9CLine 1, char 6=E2=80=9D (I think that=E2=80=99s because of the = nest of CDATA, HTML comments and JS comments), while Chrome seems to be using the right font. So I guess this is a Firefox thing. The FAQ mentions Firefox=E2=80= =99s same-origin policy in the context of image fonts being used instead of web fonts.[1] Seems unlikely to be the culprit in this case though. *shrugs* Hope this helps narrow it down a little. Aankhen [1]: http://www.mathjax.org/resources/faqs/#image-fonts