From: Torsten Wagner <torsten.wagner@gmail.com>
To: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: [babel] transfer a list of tables to a source code block
Date: Thu, 25 Jul 2013 23:26:30 +0200 [thread overview]
Message-ID: <CAPaq-gNxETcgstXqNa9rPuKoDeKMvCbfVaL0K86_bYtu6wowHg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 857 bytes --]
Hi,
I have a few functions defined with babel, which need to work on an list of
tables.
At the moment I use something like :var table1=<name1> :var table2=<name2>
etc.
As you can see this is rather inflexible.
I am looking for a way to receive a list of tables, whereas table[0] would
refer to the first table, etc.
Does someone know how to achieve this?
To make the best use of both worlds, I thought it would be nice to define a
list which contains the names of the tables and somehow manage to access
the tables from this list.
#+NAME: listoftables
- name1
- name2
- name3
#+CALL: myfunction(lst=listoftables)
I tried to play around with this idea but did not get a solution yet
For the moment I receive the names of the tables only as a string and
search for ways to actually transfer the table itself.
Thanks for ideas and thoughts...
Torsten
[-- Attachment #2: Type: text/html, Size: 1174 bytes --]
reply other threads:[~2013-07-25 21:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPaq-gNxETcgstXqNa9rPuKoDeKMvCbfVaL0K86_bYtu6wowHg@mail.gmail.com \
--to=torsten.wagner@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.