emacs-orgmode
[Top][All Lists]
Advanced

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

[BUG] ob-octave.el


From: Tobias Zawada
Subject: [BUG] ob-octave.el
Date: Mon, 20 Dec 2021 06:54:54 +0100 (CET)

Currently, evaluating the Org-mode source block

#+NAME: bug
#+BEGIN_SRC octave :exports results
["one"; "two"; "three"]
#+END_SRC

gives

#+RESULTS: bug
: ottnwheor  e  e

Substituting ~fprintf~ in ~org-babel-octave-wrapper-method~ with ~fdisp~ 
changes the output to

#+NAME: bug
#+BEGIN_SRC octave :exports results
["one"; "two"; "three"]
#+END_SRC

#+RESULTS: bug
| one   |
| two   |
| three |

which is more adequate.

The old behavior for scalar strings still works:
#+BEGIN_SRC octave
"Some string."
#+END_SRC

#+RESULTS:
: Some string.



reply via email to

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