From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt <alan.schmitt@polytechnique.org> Subject: Re: How do I specify the language for a :results code block Date: Thu, 05 Dec 2013 13:33:06 +0100 Message-ID: <m2k3fj5vgd.fsf@polytechnique.org> References: <m27gbq3mkp.fsf@polytechnique.org> <m1bo12yi37.fsf@poto.westell.com> <loom.20131130T001741-64@post.gmane.org> <m2r49y17qv.fsf@polytechnique.org> <m1vbz925f3.fsf@tsdye.com> <m2r49vfsc7.fsf@polytechnique.org> <8661r7ze4y.fsf@somewhere.org> <m2d2lfflp3.fsf@polytechnique.org> <CAOXM+eWdn-MR=ufvsVSHtWoxmp1MKKWwBkbLqV1T5UV19SZPeg@mail.gmail.com> <m2iov4bvph.fsf@polytechnique.org> <86li00l6t8.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> Received: from eggs.gnu.org ([2001:4830:134:3::10]:47531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alan.schmitt@polytechnique.org>) 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 <alan.schmitt@polytechnique.org>) 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 <alan.schmitt@polytechnique.org>) 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." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=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 <fni-news@pirilampo.org> 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 > <<exemple-liste-itemize>> > #+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