all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ian Barton <lists@wilkesley.net>
To: emacs-orgmode@gnu.org
Subject: Remote References to Tables in Included Files.
Date: Thu, 12 Dec 2013 14:32:52 +0000	[thread overview]
Message-ID: <52A9C914.6080901@wilkesley.net> (raw)

I am trying to combine summary data from org tables. Data for each year 
is stored in a separate org file, with a table for each month. I have 
created a file called combined.org, which INCLUDES the org files for 
each of the 12 months.

Can't find remote table "october2012".

examplea.org:

* November.
#+tblname: november2013
|------------------+----------+-----------|
| Date             | Distance | Heading 3 |
|------------------+----------+-----------|
| [2012-11-03 Sat] |    42.70 |           |
| [2012-11-04 Sun] |    31.97 |           |
| Total            |    74.67 |           |
|------------------+----------+-----------|

exampleb.org:

* November.
#+tblname: november2013
|------------------+----------+-----------|
| Date             | Distance | Heading 3 |
|------------------+----------+-----------|
| [2012-11-03 Sat] |    42.70 |           |
| [2012-11-04 Sun] |    31.97 |           |
| Total            |    74.67 |           |
|------------------+----------+-----------|


combined.org:

#+INCLUDE: "./examplea.org"
#+INCLUDE: "./exampleb.org"

* Monthly Totals.

#+tblname: monthly_total_mileage
|-------+----------|
| Month | Distance |
|-------+----------|
| Oct   |          |
| Nov   |          |
|-------+----------|
| Total |          |
|       |          |
|-------+----------|
#+TBLFM: @2$2 = remote(october2012,@2$2)::@3$2 = remote(november2013,@3$2)::


Ian.

             reply	other threads:[~2013-12-12 14:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-12 14:32 Ian Barton [this message]
2014-01-04 14:19 ` Remote References to Tables in Included Files Bastien
2014-01-04 15:41 ` Michael Brand

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=52A9C914.6080901@wilkesley.net \
    --to=lists@wilkesley.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=ian@manor-farm.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.