Org-mode mailing list
 help / color / mirror / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Emacs Org mode mailing list <emacs-orgmode@gnu.org>
Subject: could a :var header argument refer to a data table in another file?
Date: Thu, 29 Apr 2021 13:22:45 +0100
Message-ID: <87czud8elm.fsf@ucl.ac.uk> (raw)

Hello all,

TL;DR: I have the need to reference a table that is in another file to
pass as data to a src block in the current file.  Is this possible?
Hints welcome!

Longer version: I am running a series of numerical experiments, each of
which generates output files (using org syntax!).  I want to process the
data in those files for inclusion in a paper.  Now, I could write a
shell script which extracts all these data and collates them etc. but it
would be ideal if I could simply refer to a table in another file
directly.  The tables are all named although a given table in each
output file will have the same name (I hope that makes sense).

One thing that comes to mind is some elisp in the argument to the :var
header argument.  Is this possible?  I've not tried...

Thank you,
eric

-- 
: Eric S Fraga via Emacs 28.0.50, Org release_9.4.5-381-g17ef1b.dirty


             reply	other threads:[~2021-04-29 12:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-29 12:22 Eric S Fraga [this message]
2021-04-29 13:17 ` John Kitchin
2021-04-29 13:42   ` Eric S Fraga
2021-04-29 14:51     ` John Kitchin
2021-04-29 15:36       ` Eric S Fraga
2021-05-03 12:43       ` [patch] documentation update (was Re: could a :var header argument refer to a data table in another file?) Eric S Fraga
2021-05-03 13:00         ` Bastien
2021-05-03 13:35           ` Eric S Fraga
2021-05-03 13:43             ` Bastien
2021-05-03 13:47               ` Eric S Fraga
2021-04-29 14:02   ` could a :var header argument refer to a data table in another file? Eric S Fraga
2021-05-01  5:58 ` Michael Welle
2021-05-01  8:42   ` Eric S Fraga

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

  List information: https://orgmode.org

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87czud8elm.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --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

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://orgmode.org/list/0 list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ https://orgmode.org/list \
		emacs-orgmode@gnu.org
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git