From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: How do I specify the language for a :results code block Date: Thu, 05 Dec 2013 13:33:06 +0100 Message-ID: References: <8661r7ze4y.fsf@somewhere.org> <86li00l6t8.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoY7G-0003dP-Jf for emacs-orgmode@gnu.org; Thu, 05 Dec 2013 07:33:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VoY79-0006BF-Tq for emacs-orgmode@gnu.org; Thu, 05 Dec 2013 07:33:14 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:52731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoY79-0006B6-KZ for emacs-orgmode@gnu.org; Thu, 05 Dec 2013 07:33:07 -0500 In-reply-to: <86li00l6t8.fsf@somewhere.org> 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: Fabrice Niessen Cc: emacs-orgmode@gnu.org Hello Fabrice, fni-news@pirilampo.org writes: > Hello Alan, > > Alan Schmitt wrote: >> I tried to apply the drawer trick to the :wrap src but it does not work, >> unfortunately. I like your approach better anyway as it allows me to specify >> not only the language used by the output source block, but other properties >> (such as whether it should be evaluated) which wrap does not let me do. > > Not sure this is true. Look at the following tricky example from my slides for > the "stage LaTeX de Dunkerque 2013" [1]: > > #+begin_src org :results latex replace :wrap "SRC latex :exports code" :exports results > <> > #+end_src ... > So, you definitely can pass extra options to the wrap header argument... Using quotes, of course! Thank you for the heads up. Alan