emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] remote reference


From: Giovanni Ridolfi
Subject: Re: [Orgmode] remote reference
Date: Fri, 15 Jan 2010 11:29:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt)

Carsten,  

I cannot reference fields in tables as the manual says. 
Org-mode version 6.34
GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON

Example:
-------------------------------------------------
* [2010-01-15 ven] table & reference
** table a
#+TBLNAME: Taba
|   | # |  x | y |
|---+---+----+---|
|   | 1 | -2 | 4 |
|   | 2 | -1 | 1 |
|   | 3 |  0 | 0 |
|   | 4 |  1 | 1 |
|   | 5 |  2 | 4 |
| ^ |   |    | a |
** table b
the manual says:  
: remote(NAME-OR-ID,REF)
: REF is an absolute field or range reference
: as described above for example address@hidden' or `$somename', valid in the
: referenced table.

But I found that as a REF I can only  use: 
+ field  a cell  @5$1=remote(Taba,$a)
+ and *NOT* range reference (as $somename) or 
            ranges such as @address@hidden, 
  but in the manual is not explicitly said.
  So I could have misunderstoot the meaning of "range".

See the non working examples:
*** variables
#+TBLNAME: Tabb
|   |   |
|---+---|
| ^ | b |
#+TBLFM: $b=remote(Taba,$a)
*** columns  
#+TBLNAME: Tabc
|   |   |
|   |   |
|   |   |
|   |   |
|   |   |
|---+---|
| ^ | b |
#+TBLFM: $2=remote(Taba,$4)

#+TBLNAME: Tabcc
|   |   |
|   |   |
|   |   |
|   |   |
|   |   |
|---+---|
| ^ | b |
#+TBLFM: @address@hidden(Taba,$4)
*** ranges: 
#+TBLNAME: Tabr
|   |   |
|   |   |
|   |   |
|   |   |
|   |   |
|---+---|
| ^ | b |
#+TBLFM: @address@hidden(Taba,@address@hidden)
------------------------------------------------------------
Is my analysis correct? 
Did I misunderstand the meanong of "range"?
Is the documentation incomplete? 
Is there a bug  and  the documentation is correct?

cheers,
Giovanni




reply via email to

[Prev in Thread] Current Thread [Next in Thread]