From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: [babel] export of table with inline source blocks Date: Fri, 06 Jul 2012 14:13:44 +0200 Message-ID: <87pq89axzb.fsf@med.uni-goettingen.de> References: <877gukc9io.fsf@med.uni-goettingen.de> <87obnuut7z.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sn7RK-0006D8-Ol for emacs-orgmode@gnu.org; Fri, 06 Jul 2012 08:15:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sn7RE-0006uZ-1z for emacs-orgmode@gnu.org; Fri, 06 Jul 2012 08:15:14 -0400 Received: from plane.gmane.org ([80.91.229.3]:46966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sn7RD-0006sq-Rk for emacs-orgmode@gnu.org; Fri, 06 Jul 2012 08:15:07 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Sn7RB-0001pt-N6 for emacs-orgmode@gnu.org; Fri, 06 Jul 2012 14:15:05 +0200 Received: from vpn-2197.gwdg.de ([134.76.2.197]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Jul 2012 14:15:05 +0200 Received: from andreas.leha by vpn-2197.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Jul 2012 14:15:05 +0200 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: emacs-orgmode@gnu.org Hi Eric, Eric Schulte writes: > 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. thanks for the confirmation. I am using the sbe function as workaround already. Cheers, Andreas