From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ista Zahn Subject: Re: Tangling and Exporting an Unsupported Language. Date: Wed, 1 Oct 2014 10:22:40 -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]:49069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZKo6-0001lj-UX for emacs-orgmode@gnu.org; Wed, 01 Oct 2014 10:23:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZKo2-00089a-5E for emacs-orgmode@gnu.org; Wed, 01 Oct 2014 10:23:06 -0400 Received: from mail-ob0-x22f.google.com ([2607:f8b0:4003:c01::22f]:36392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZKo2-00089G-1T for emacs-orgmode@gnu.org; Wed, 01 Oct 2014 10:23:02 -0400 Received: by mail-ob0-f175.google.com with SMTP id wn1so385537obc.6 for ; Wed, 01 Oct 2014 07:23:01 -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 On Wed, Oct 1, 2014 at 3:10 AM, Malcolm Purvis wrote: >>>>>> "Ista" == Ista Zahn writes: > > Ista> Exporting and tangling don't require any language support. > > Ista> #+begin_src foobarbas :tangle foo.bar > Ista> +end_src > > Ista> is perfectly fine and will export and tangle just fine. Or did I > Ista> misunderstand your question? > > Thanks, I wasn't aware that you could put an arbitrary string as the > language. > > I also found that I had org-latex-listings set to t, which was making > LaTeX error because it didn't know about the languages I was trying. > > I've now switched the using the minted LaTeX package, which supports > 'text' as a language, and have started using that. Yes, I find minted much nicer that listings, the only drawback being that it has external dependencies. I guess you've already discovered that you can do (add-to-list 'org-export-latex-minted-langs '(foo "bar")) where foo is the name of the language and bar is the pygments lexer that should be used to typeset it. Best, Ista > > Thanks for your help. > > Malcolm > > -- > Malcolm Purvis >