Re: [O] org-babel-trangle, proble when loop is interrupted by documentation

2018-04-21 Thread Uwe Brauer
> Hello, > Uwe Brauer writes: > I guess you have to set `org-src-preserve-indentation' globally, or use > "-i" flag for the block, which is locally equivalent. Great that does it. However there is still an empty line generated. Any possibility get rid of this as well, I look a bit

Re: [O] org-babel-trangle, proble when loop is interrupted by documentation

2018-04-21 Thread Nicolas Goaziou
Hello, Uwe Brauer writes: > Please consider the following test org file > * A test example > , > | #+BEGIN_SRC matlab :tangle test.m > | function [ll x]=mitest(A0,x0) > | % initialization > | format long > | epsi=1.e-3; > | nit=0; > | nmaxit=200; > | Delta=10; > | A=A0; > | while Delta>eps

[O] org-babel-trangle, proble when loop is interrupted by documentation

2018-04-21 Thread Uwe Brauer
Hi Please consider the following test org file * A test example , | #+BEGIN_SRC matlab :tangle test.m | function [ll x]=mitest(A0,x0) | % initialization | format long | epsi=1.e-3; | nit=0; | nmaxit=200; | Delta=10; | A=A0; | while Delta>epsi & nitepsi & nit