From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [babel] export of table with inline source blocks Date: Thu, 05 Jul 2012 07:44:52 -0600 Message-ID: <87obnuut7z.fsf@gmx.com> References: <877gukc9io.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Smnvf-0005SK-PM for emacs-orgmode@gnu.org; Thu, 05 Jul 2012 11:25:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Smnva-0004mD-Qq for emacs-orgmode@gnu.org; Thu, 05 Jul 2012 11:25:15 -0400 Received: from mailout-us.gmx.com ([74.208.5.67]:46692) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Smnva-0004Xx-JX for emacs-orgmode@gnu.org; Thu, 05 Jul 2012 11:25:10 -0400 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: Andreas Leha Cc: emacs-orgmode@gnu.org Andreas Leha writes: > Hi all, > > I am having problems with the export of a minimal org file: > > ,---- > | #+PROPERTY: session *R* > | > | * Test > | > | | dtrn | xgnd | > | |------+---------------------------------------------------| > | | engd | src_R[:exports results :results raw replace]{1/2} | > | | engd | src_R[:exports results :results raw replace]{1/2} | > | | engd | src_R[:exports results :results raw replace]{1/2} | > | > `---- > > > Problems: > 1. only the first inline code is executed > 2. the inline block is not replaced > > > This is the latex output: > ,---- > | \begin{center} > | \begin{tabular}{ll} > | dtrn & xgnd\\ > | \hline > | engd & src$_{\mathrm{R[}}$:exports results :results raw replace]\{1/2\} 0.5\\ > | engd & src$_{\mathrm{R[}}$:exports results :results raw replace]\{1/2\}\\ > | engd & src$_{\mathrm{R[}}$:exports results :results raw replace]\{1/2\}\\ > | \end{tabular} > | \end{center} > `---- > > > Are inline blocks not allowed in tables? > That is correct, inline code blocks are not intended for use in tables. Tables already support the execution of arbitrary emacs-lisp functions using spreadsheet formulas. Using spreadsheet formulas the `sbe' function may be used to execute code blocks from table cells. -- Eric Schulte http://cs.unm.edu/~eschulte