From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ista Zahn Subject: Re: Tangling and Exporting an Unsupported Language. Date: Mon, 29 Sep 2014 15:22:13 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYgWw-00085w-4n for emacs-orgmode@gnu.org; Mon, 29 Sep 2014 15:22:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYgWu-0000m8-50 for emacs-orgmode@gnu.org; Mon, 29 Sep 2014 15:22:42 -0400 Received: from mail-qc0-x22b.google.com ([2607:f8b0:400d:c01::22b]:63961) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYgWu-0000g2-14 for emacs-orgmode@gnu.org; Mon, 29 Sep 2014 15:22:40 -0400 Received: by mail-qc0-f171.google.com with SMTP id i17so2795385qcy.16 for ; Mon, 29 Sep 2014 12:22:34 -0700 (PDT) In-Reply-To: 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: Malcolm Purvis Cc: emacs-orgmode Mailinglist Exporting and tangling don't require any language support. #+begin_src foobarbas :tangle foo.bar #+end_src is perfectly fine and will export and tangle just fine. Or did I misunderstand your question? Best, Ista On Mon, Sep 29, 2014 at 2:53 AM, Malcolm Purvis wrote: > 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 >