emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Include single values from a org-table into a code-block
@ 2012-12-14 19:08 Florian Adamsky
  2012-12-14 19:22 ` Eric Schulte
  0 siblings, 1 reply; 2+ messages in thread
From: Florian Adamsky @ 2012-12-14 19:08 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

at the moment I'm drafting a paper and I would like to insert values
from a org-table into a code-block. After searching a bit a found a mail
thread from 2010 [1] which says I have to do the following:

src_emacs-lisp[:var d=test-table[3,1]]{d}

This works fine but only in non code-blocks. But I want to insert these
values in a LaTeX block, since I want to generate a pgfplot. Is there
another way to get values from a org-table? Or is it possible to combine
the above code with a Macro? In the following you'll find an example:

#+Begin_LaTeX
\begin{tikzpicture}
%% pgfplot code
\addplot coordinates {(0, src_emacs-lisp[:var d=test-table[3,1]]{d})};
\end{tikzpicture}
#+End_LaTeX

Thanks in advance.

Best,
Florian 

[1]
http://lists.gnu.org/archive/html/emacs-orgmode/2010-07/msg01104.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-14 19:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-14 19:08 Include single values from a org-table into a code-block Florian Adamsky
2012-12-14 19:22 ` Eric Schulte

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).