From mboxrd@z Thu Jan 1 00:00:00 1970 From: Malcolm Purvis Subject: Tangling and Exporting an Unsupported Language. Date: Mon, 29 Sep 2014 16:53:56 +1000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYUqa-0006Yw-GD for emacs-orgmode@gnu.org; Mon, 29 Sep 2014 02:54:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYUqU-0002vy-J5 for emacs-orgmode@gnu.org; Mon, 29 Sep 2014 02:54:12 -0400 Received: from mail109.syd.optusnet.com.au ([211.29.132.80]:33634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYUqU-0002vP-6w for emacs-orgmode@gnu.org; Mon, 29 Sep 2014 02:54:06 -0400 Received: from purvis.id.au (c110-20-44-66.rivrw8.nsw.optusnet.com.au [110.20.44.66]) by mail109.syd.optusnet.com.au (Postfix) with ESMTP id 3CE32D657F5 for ; Mon, 29 Sep 2014 16:53:56 +1000 (EST) 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 All, I'm writing an org document which contains code examples of a language not supported by Babel (a local domain specific language). The language doesn't even have a supporting Emacs mode. I'm wondering what the best portable approach is to managing the code blocks. I'm particularly interested in exporting the document to LaTeX and tangling the code. I may need to share the document with others, so I'd prefer not to require a supporting elisp file if I can help it. Currently I'm using the org language, since it seems to be the most generic: #+begin_src org :tangle foo.bar #+end_src Is there a case for 'begin_src text' to handle arbitrary content? Malcolm -- Malcolm Purvis