From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: MathJax - use Tex/LaTeX/MathML in HTML pages Date: Wed, 04 Aug 2010 06:24:46 +0200 Message-ID: <87d3tzxawh.fsf@gnu.org> References: <87ocdltmzo.fsf@gnu.org> <87hbjdj9cc.fsf@stats.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=35666 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgVXA-0001AH-4f for emacs-orgmode@gnu.org; Wed, 04 Aug 2010 00:24:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OgVX8-0006Bv-Lx for emacs-orgmode@gnu.org; Wed, 04 Aug 2010 00:24:51 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:42583) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgVX8-0006Bp-FA for emacs-orgmode@gnu.org; Wed, 04 Aug 2010 00:24:50 -0400 Received: by wwi14 with SMTP id 14so5745428wwi.30 for ; Tue, 03 Aug 2010 21:24:49 -0700 (PDT) In-Reply-To: <87hbjdj9cc.fsf@stats.ox.ac.uk> (Dan Davison's message of "Mon, 02 Aug 2010 11:57:39 -0400") 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: Dan Davison Cc: emacs-orgmode@gnu.org Hi Dan, Dan Davison writes: > It's quite convenient already (see below), so what exactly would the > option involve? Can the javascript and fonts be located remotely? >From what I understand, no, the javascript and fonts have to be on the server. I just installed an instance on orgmode.org: http://orgmode.org/mathjax/test/ > - Darlan Cavalcante has written a Worg article[1] on using jsMath with > org > - Basically, to use jsMath all you need is > > #+options: latex:verbatim > #+style: Great! So to use mathjax on orgmode.org (Worg etc.) : #+options: latex:verbatim #+style: > - Mathjax was considerably slower to render the maths. (I think that > under the hood it converts to mathML which jsMath does not do (?)) I'm not sure. Maybe MathJax is faster once reasonably tweaked. > As I said the other day[2], one reason I am excited about these > technologies is that we can produce a pdf with pretty source code > fontification via htmlize (rather than ugly[3] latex listings output) > and genuine mathematical fonts rather than ugly dvipng images. I do this > via CUPS print to file under linux, which allows the web browser to > produce a .ps or .pdf. I'd be interested to know how we can make this a > more "genuine" org export path. You mean org -> HTML -> ps? Is it not possible to call firefox (or Xulrunner) in batch mode to convert an HTML page into .ps? If so, we can have two ways of producing org->pdf, one through LaTeX, one through HTML... -- Bastien