[Orgmode] Re: [BABEL] Output with octave [PATCH]

2010-08-04 Thread d . tchin
Dan Davison stats.ox.ac.uk> writes: > > Hi Juan and d.tchin, > > One thing I'd like to ask for advice about is the behaviour of tabular > data structures containing strings. For example > > #+begin_src octave > ans = [['a','b'];['c','d']] > #+end_src > > #+results: > : acbd > > I don't know

[Orgmode] Re: [BABEL] Output with octave [PATCH]

2010-08-03 Thread Dan Davison
Hi Juan and d.tchin, One thing I'd like to ask for advice about is the behaviour of tabular data structures containing strings. For example #+begin_src octave ans = [['a','b'];['c','d']] #+end_src #+results: : acbd I don't know if my syntax above is correct, but it seems to me that this is a 2x

[Orgmode] Re: [BABEL] Output with octave

2010-08-03 Thread Dan Davison
Hi, d.tchin writes: > Hi, > > Dan Davison stats.ox.ac.uk> writes: > >> >> Eric S Fraga ucl.ac.uk> writes: >> >> > On Fri, 23 Jul 2010 16:59:43 + (UTC), d.tchin voila.fr> > wrote: [...] >> So the current workaround is to say "when using octave, you must end >> your block with a computat

[Orgmode] Re: [BABEL] Output with octave

2010-08-02 Thread d . tchin
Hi, Dan Davison stats.ox.ac.uk> writes: > > Eric S Fraga ucl.ac.uk> writes: > > > On Fri, 23 Jul 2010 16:59:43 + (UTC), d.tchin voila.fr> wrote: > >> > >> With :results value > >> > >> --8<---cut here---start->8--- > >> #+tblname: test > >> | 1 |

[Orgmode] Re: [BABEL] Output with octave + [PATCH] x2

2010-08-01 Thread Dan Davison
Juan writes: > Hi, > > I'm starting to work with ob-octave and found several problems: Hi Juan, Thanks very much. I've applied your patch with one minor change: (format "%s" (or var "nil")) However, is there a better way to receive an elisp nil value in octave? > I'm not working with session

Re: [Orgmode] Re: [BABEL] Output with octave [PATCH]

2010-08-01 Thread Juan Pechiar
Hi, Below is a single PATCH for the 3 issues: - passing tables with EXP or complex notation to octave - correct formatting of matrixes into octave - interpretation of octave output as table Regards, .j. 8< diff --git a/lisp/ob

Re: [Orgmode] Re: [BABEL] Output with octave + [PATCH] x2

2010-08-01 Thread Juan
Hi, I'm starting to work with ob-octave and found several problems: The first, for which I have a fix (see patch below) is that octave's output was passed on as a string instead of being interpreted as a table: 8< diff --git a/lisp/ob-o

[Orgmode] Re: [BABEL] Output with octave

2010-08-01 Thread Dan Davison
Eric S Fraga writes: > On Fri, 23 Jul 2010 16:59:43 + (UTC), d.tchin wrote: >> >> Hi >> >> I use babel to use with octave language. I use it and >> define a session so as to have interaction with >> octave process. >> >> It is great to have interaction with octave and >> check the action

[Orgmode] Re: [BABEL] Output with octave

2010-07-26 Thread d . tchin
Eric S Fraga ucl.ac.uk> writes: > > I don't think you are missing anything obvious as for the ":results > value" case, I get the same thing. In fact, for ":results output", I > don't actually get any output! I'm not sure why. I wonder if there > is a dependence on the version of Octave? I'm