From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yi Wang Subject: Re: Babel language support for Mathematica Date: Thu, 9 Jan 2014 10:51:53 +0000 Message-ID: References: <87ha9dwisd.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b33d81ac7f95f04ef87654d Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1DDQ-0002Lh-Hl for emacs-orgmode@gnu.org; Thu, 09 Jan 2014 05:51:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1DDP-0004S6-4T for emacs-orgmode@gnu.org; Thu, 09 Jan 2014 05:51:56 -0500 In-Reply-To: <87ha9dwisd.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org --047d7b33d81ac7f95f04ef87654d Content-Type: text/plain; charset=ISO-8859-1 Hi, Bastien, > (By the way, you should fix the .el header, it says that the file is > part of Emacs while it's not.) Sorry I thought it was general GPL... Now it is updated. Thank you for pointing that out! > (setq org-src-fontify-natively t) Yes, I already set this. But curiously the Mathematica code is still not highlighted like other codes. I wonder there may be some non-standard things inside mma.el (the Mathematica package file major mode) then? Best, Yi On Thu, Jan 9, 2014 at 10:28 AM, Bastien wrote: > Hi Yi, > > Yi Wang writes: > > > 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 > > Nice, thanks for sharing! > > (By the way, you should fix the .el header, it says that the file is > part of Emacs while it's not.) > > > While writing this extension, I have a question: How to add font-lock > > mode in org code blocks? > > (setq org-src-fontify-natively t) > > HTH, > > -- > Bastien > --047d7b33d81ac7f95f04ef87654d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi, Bastien,

> (By the way, you should fix the .el = header, it says that the file is
> part of Em= acs while it's not.)

Sorry I thought it was general GPL...= Now it is updated. Thank you for pointing that out!

>= ; (setq org-src-fontify-natively t)

Yes, I already set this. But curiously the Mathematica code is st= ill not highlighted like other codes. I wonder there may be some non-standa= rd things inside mma.el (the Mathematica package file major mode) then?

Bes= t,
Yi


On Thu,= Jan 9, 2014 at 10:28 AM, Bastien <bzg@gnu.org> wrote:
Hi Yi,

Yi Wang <tririverwangyi@gmai= l.com> writes:

> As far as I can find, there is no babel support for Mathematica. So I<= br> > wrote one and share it in case other people are interested:
>
> https://github.com/tririver/wy-els/blob/master/ob-= mathematica.el

Nice, thanks for sharing!

(By the way, you should fix the .el header, it says that the file is
part of Emacs while it's not.)

> While writing this extension, I have a question: How to add font-lock<= br> > mode in org code blocks?

(setq org-src-fontify-natively t)

HTH,

--
=A0Bastien

--047d7b33d81ac7f95f04ef87654d--