Andreas Leha <andreas.l...@med.uni-goettingen.de> 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