Hi Eric, Unfortunately I recently became very busy, so I will not be able to address this any time soon. However, the indexing behavior is self contained in the `org-babel-ref-index-list' function, so feel free to take a crack at that function. If you are able to implement your syntax as described below I would be happy to help fold in the change.
Cheers -- Eric Eric S Fraga <e.fr...@ucl.ac.uk> writes: > Hello, > > this is a very low priority request so please feel free to ignore or put > at the bottom of what I'm sure is a long list of TODOs... > > I have a data table. In different code blocks, I need to access > different sets of columns (or rows) from this table. At present, I am > passing the whole table to the code blocks and then extracting the > columns (or rows) within the code. However, it would be nice if I could > specify the actual column I want directly in the :var header argument, > such as > > : #+begin_src octave :var data=mytable[0:-1;1:3,5:6] > > where I've used a semi-colon to separate dimension indices and used a > comma to separate multiple ranges within an index. This, I realise, is > a change to the current syntax... but I'm doing this just for > illustration. > > As I said, I have a workaround so this is indeed a low priority request! > > Thanks, > eric -- Eric Schulte http://cs.unm.edu/~eschulte/