From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yi Wang Subject: Babel language support for Mathematica Date: Thu, 9 Jan 2014 03:46:51 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e01176745bfcd3e04ef817586 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W16a6-0002mq-O3 for emacs-orgmode@gnu.org; Wed, 08 Jan 2014 22:46:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W16a5-0006dM-KV for emacs-orgmode@gnu.org; Wed, 08 Jan 2014 22:46:54 -0500 Received: from mail-oa0-x234.google.com ([2607:f8b0:4003:c02::234]:41563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W16a5-0006dF-FO for emacs-orgmode@gnu.org; Wed, 08 Jan 2014 22:46:53 -0500 Received: by mail-oa0-f52.google.com with SMTP id o6so2783834oag.25 for ; Wed, 08 Jan 2014 19:46:52 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: Yi Wang --089e01176745bfcd3e04ef817586 Content-Type: text/plain; charset=ISO-8859-1 Hello, As far as I can find, there is no babel support for Mathematica. So I wrote one and share it in case other people are interested: https://github.com/tririver/wy-els/blob/master/ob-mathematica.el It is also discussed in this blog http://cosmosimple.blogspot.co.uk/2014/01/evaluate-mathematica-code-in-emacs-org.html While writing this extension, I have a question: How to add font-lock mode in org code blocks? I had a read of ob-C and ob-python code and didn't find out how they do font-lock. Note that the font lock support for Mathematica is available as mma-mode at https://github.com/skaslev/emacs.d/blob/master/progmodes/mma.el For my case in a .m file I have font lock from mma.el, but not src code blocks. Best wishes, Yi --089e01176745bfcd3e04ef817586 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello,

As far as I can find, there is n= o babel support for Mathematica. So I wrote one and share it in case other = people are interested:



While writing this extension, I have a question: How to= add font-lock mode in org code blocks? I had a read of ob-C and ob-python = code and didn't find out how they do font-lock.

Note that the font lock support for Mathematica is available as mma-mo= de at

For my case in a .m file I have font lock from mm= a.el, but not src code blocks.

Best wishes,
<= div>Yi
--089e01176745bfcd3e04ef817586--