[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [babel] export of table with inline source blocks
From: |
Andreas Leha |
Subject: |
Re: [O] [babel] export of table with inline source blocks |
Date: |
Fri, 06 Jul 2012 14:13:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
Hi Eric,
Eric Schulte <address@hidden> writes:
> 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.
thanks for the confirmation. I am using the sbe function as workaround
already.
Cheers,
Andreas