Re: export to latex: begin_example gets exported to verbatim (

2022-05-12 Thread Uwe Brauer
>>> "JMM" == Juan Manuel Macías writes: > Hi Uwe, > Uwe Brauer writes: >> Which gets exported to verbatim not lstlisting as I want > Try adding this: > :wrap lstlisting It does! Thanks! smime.p7s Description: S/MIME cryptographic signature

Re: export to latex: begin_example gets exported to verbatim (

2022-05-12 Thread Juan Manuel Macías
Hi Uwe, Uwe Brauer writes: > Which gets exported to verbatim not lstlisting as I want Try adding this: :wrap lstlisting (I don't use matlab, but I think that should work). Best regards, Juan Manuel

Re: export to latex: begin_example gets exported to verbatim (

2022-05-12 Thread Uwe Brauer
>>> "ESF" == Eric S Fraga writes: > Hi Uwe, > should this line >> #+begin_src matlab :results output src :exports results: exports code :eval >> never-export > not be > #+begin_src matlab :results output :exports both :eval never-export Hm, when I use this and Execute the code I also

Re: export to latex: begin_example gets exported to verbatim (

2022-05-12 Thread Eric S Fraga
Hi Uwe, should this line > #+begin_src matlab :results output src :exports results: exports code :eval > never-export not be #+begin_src matlab :results output :exports both :eval never-export I.e. I think you have the syntax not quite right. -- : Eric S Fraga, with org

Re: export to latex: begin_example gets exported to verbatim (

2022-05-12 Thread Uwe Brauer
>>> "UB" == Uwe Brauer writes: > Hi > Please consider > * matlab :results output src :exports results: exports code :eval > never-export > #+begin_src matlab :results output src :exports results: exports code :eval > never-export > clear all > A=[1 1 0; 0 1 0; 0 1 1]; > B=[0 1; 1 0; 0