[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] strange output when executing matlab using babel, strange ,
From: |
Nick Dokos |
Subject: |
Re: [O] strange output when executing matlab using babel, strange , |
Date: |
Fri, 31 May 2019 10:50:59 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Uwe Brauer <address@hidden> writes:
> Hi
>
> I am running Ubuntu 16.06, matlab 2018b and I am using the python
> kernel to use matlab from within org mode
>
> ....
>
> * The problem
>
> When I run
>
> #+begin_src matlab :results output latex :exports results :eval never-export
> disp('*Step 3:*')
> disp('*Step 3:* Calculate this')
> #+end_src
>
> On obtain
> #+RESULTS:
>
> #+begin_export latex
> ,*Step 3:*
> ,*Step 3:* Calculate this
> #+end_export
>
> Instead of
>
> #+begin_export latex
> *Step 3:*
> *Step 3:* Calculate this
> #+end_export
>
> Does anybody have an idea what is wrong there?
>
I don't think anything is wrong: org quotes lines that look like
headlines in the babel output by prepending the comma.
--
Nick
"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler