From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: MathJax is now the default for HTML math Date: Fri, 20 Aug 2010 18:14:42 +0200 Message-ID: <7BD41FBC-A427-4B00-8625-9C1CC0871730@gmail.com> References: <63B79D2B-9483-481F-B7AB-88BEA753D5C8@gmail.com> <4C66F076.10505@jboecker.de> <4C6715D0.3060508@jboecker.de> <4C67EA99.7040505@jboecker.de> <4C690E5A.1080109@jboecker.de> <45634DCD-2208-4778-B4E0-F11FF8D39612@gmail.com> <4C6A67FE.6050801@jboecker.de> <1AFC0B38-F307-4BBB-8A7C-DEAFDD845A33@gmail.com> <4C6AA7FB.2050903@jboecker.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=41516 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmUNU-00036g-7W for emacs-orgmode@gnu.org; Fri, 20 Aug 2010 12:23:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OmUNS-0004Qp-JI for emacs-orgmode@gnu.org; Fri, 20 Aug 2010 12:23:36 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:54676) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OmUNS-0004QU-Bi for emacs-orgmode@gnu.org; Fri, 20 Aug 2010 12:23:34 -0400 Received: by ewy28 with SMTP id 28so2384841ewy.0 for ; Fri, 20 Aug 2010 09:23:33 -0700 (PDT) In-Reply-To: <4C6AA7FB.2050903@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: =?ISO-8859-1?Q?Jan_B=F6cker?= Cc: detlef.steuer@gmx.de, emacs-orgmode List On Aug 17, 2010, at 5:17 PM, Jan B=F6cker wrote: > On 08/17/2010 01:01 PM, Carsten Dominik wrote: >> >> On Aug 17, 2010, at 12:44 PM, Jan B=F6cker wrote: >> >>> Static MathJax v0.2 contains org-static-mathjax.el, which =20 >>> integrates it >>> into the Org export process. The comments in that file explain how =20= >>> it >>> can be used. >>> >>> Download it at: >>> http://www.jboecker.de/2010/08/15/staticmathjax.html >>> >>> I have added a note to org-hacks.org in Worg, which should show up =20= >>> when >>> Worg is next exported to HTML on the server. >> >> And, since you made it into a nice little package, I think >> it could go into the contrib directory as well - if you want, of =20 >> course. >>> >> >> - Carsten >> > > Feel free to include it! > > I guess org-static-mathjax.el should go to contrib/lisp and everything > else to contrib/scripts/staticmathjax/ ? > > Maybe add a pointer to contrib/scripts/staticmathjax/README.org in the > comments of the lisp file. I have added it thanks. The only modification I made is to initialize your first variable like =20= this: (defcustom org-static-mathjax-app-ini-path (or (expand-file-name "../scripts/staticmatchjax/application.ini" (file-name-directory (or load-file-name buffer-file-name))) "") "Path to \"application.ini\" of the Static MathJax XULRunner =20 application. If you have extracted StaticMathJax to e.g. ~/.local/staticmathjax, set this to ~/.local/staticmathjax/application.ini" :type 'string) This should then point to to the right place in an Org distribution. Thanks! - Carsten