emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Aankhen <aankhen@gmail.com>
To: nicholas.dokos@hp.com, Erik Iverson <eriki@ccbr.umn.edu>,
	Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: latex fragments, dvipng and mathjax
Date: Wed, 9 Mar 2011 12:25:49 +0530	[thread overview]
Message-ID: <AANLkTimaDS=p2oxqP+8GWxi0oZ+bP6QHe7qzjE+P-8Pw@mail.gmail.com> (raw)
In-Reply-To: <3591.1299636821@alphaville.dokosmarshall.org>

On Wed, Mar 9, 2011 at 07:43, Nick Dokos <nicholas.dokos@hp.com> wrote:
> Erik Iverson <eriki@ccbr.umn.edu> 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 site,
>> > that should improve things - but it doesn't for me, so I'm still not out
>> > 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
>
>    http://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’re probably right about MathJax having trouble finding
the fonts on yours.

I tried a couple other browsers.  IE8 aborts the script after an error
on “Line 1, char 6” (I think that’s 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’s
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

  reply	other threads:[~2011-03-09  6:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-08 18:59 latex fragments, dvipng and mathjax Nick Dokos
2011-03-08 20:16 ` Nick Dokos
2011-03-08 22:56   ` Jeff Horn
2011-03-08 23:58   ` Erik Iverson
2011-03-09  2:13     ` Nick Dokos
2011-03-09  6:55       ` Aankhen [this message]
2011-03-09 15:55         ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTimaDS=p2oxqP+8GWxi0oZ+bP6QHe7qzjE+P-8Pw@mail.gmail.com' \
    --to=aankhen@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eriki@ccbr.umn.edu \
    --cc=nicholas.dokos@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).