emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yi Wang <tririverwangyi@gmail.com>
To: emacs-orgmode@gnu.org
Cc: Yi Wang <tririverwangyi@gmail.com>
Subject: Babel language support for Mathematica
Date: Thu, 9 Jan 2014 03:46:51 +0000	[thread overview]
Message-ID: <CAJferG9iB58t8Jz_BP9nvAWpTMtB81BuM4L1r5JMxvP7n2Yk-Q@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 744 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1231 bytes --]

             reply	other threads:[~2014-01-09  3:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-09  3:46 Yi Wang [this message]
2014-01-09 10:28 ` Babel language support for Mathematica Bastien
2014-01-09 10:34   ` Sebastien Vauban
2014-01-09 10:39     ` Bastien
2014-01-09 10:51   ` Yi Wang
2014-01-09 10:55     ` Bastien
2014-01-09 11:03       ` Yi Wang
2014-01-09 11:15         ` Bastien
2014-01-09 11:31           ` Yi Wang
2014-01-09 11:49             ` Yi Wang
  -- strict thread matches above, loose matches on Subject: below --
2015-03-13 23:06 Richard Stanton
2015-03-13 23:09 ` John Kitchin
2015-03-13 23:16   ` Yi Wang
2015-03-15 17:26     ` Richard Stanton

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=CAJferG9iB58t8Jz_BP9nvAWpTMtB81BuM4L1r5JMxvP7n2Yk-Q@mail.gmail.com \
    --to=tririverwangyi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).