From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: remote reference Date: Fri, 15 Jan 2010 10:38:10 +0100 Message-ID: <2ACD6FB3-B415-4AE7-8D62-9450922514D0@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NVidK-0006Tt-Dp for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 04:38:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NVidF-0006Qz-QB for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 04:38:22 -0500 Received: from [199.232.76.173] (port=33343 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVidF-0006Qh-JB for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 04:38:17 -0500 Received: from mail-ew0-f209.google.com ([209.85.219.209]:43219) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NVidF-0007jF-7B for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 04:38:17 -0500 Received: by ewy1 with SMTP id 1so496278ewy.8 for ; Fri, 15 Jan 2010 01:38:13 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Karl Eichwalder Cc: emacs-orgmode@gnu.org On Jan 15, 2010, at 9:49 AM, Karl Eichwalder wrote: > I do not understand how I can reference tables (only the first one?) > in remote files. The manual says: > > Remote references > ................. > > You may also reference constants, fields and ranges from a different > table, either in the current file or even in a different file. The > syntax is > > remote(NAME-OR-ID,REF) > > where NAME can be the name of a table in the current file as set by a > `#+TBLNAME: NAME' line before the table. It can also be the ID of an > entry, even in a different file, and the reference then refers to the > first table in that entry. REF is an absolute field or range > reference > as described above for example `@3$3' or `$somename', valid in the > referenced table. > > = > = > ====================================================================== > > remote(FILENAME,REF) does not seem to work. All the tutorials I > found are either too basic or too advanced or too general. For tables in a different file, the remote table must be the first table in an outline node, and the outline node must have an ID property. First configure org-modules and turn on the id module. Then prepare your target file like this * here is my table :PROPERTIES: :ID: DDE64190-0C3D-4088-A303-DA3B60ECEB48 :END: and here we have the table. |...|...|...| The ID can be an arbitrary string, but then you must make sure yourself that it is globally unique. Or you can have Org-mode make the ID for you. Hope this gets you on the way. - Carsten > > > -- > Karl Eichwalder > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten