From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: inline code block within export block Date: Mon, 21 Nov 2016 23:17:58 +0100 Message-ID: <87inrgiijt.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8wuY-0003Jv-0g for emacs-orgmode@gnu.org; Mon, 21 Nov 2016 17:18:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8wuU-0007QU-U6 for emacs-orgmode@gnu.org; Mon, 21 Nov 2016 17:18:02 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:34603) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c8wuU-0007PS-Nn for emacs-orgmode@gnu.org; Mon, 21 Nov 2016 17:17:58 -0500 In-Reply-To: (Charles Millar's message of "Mon, 21 Nov 2016 15:02:24 -0500") 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" To: Charles Millar Cc: "emacs-orgmode@gnu.org" Hello, Charles Millar writes: > What is the syntax so that the inline source code will evaluate (SUMMARY > is a table elsewhere in the buffer)? > > #+begin_export latex > > some test here src_latex[:var > printthis=SUMMARY[-1,-1]]{\numprint{printthis}} > > #+end_export > > The above src_latex block evaluates if it is not within an export > block. Export block are a special case of verbatim blocks. No data is processed within. However (inline) source code can generate appropriate wrapper around its result. Regards, -- Nicolas Goaziou