emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [babel] export of table with inline source blocks


From: Eric Schulte
Subject: Re: [O] [babel] export of table with inline source blocks
Date: Thu, 05 Jul 2012 07:44:52 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

Andreas Leha <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]