It turns out that the newline is being injected by section reference 
expansion, and is not a problem with macros. This is handled within 
leoTangle.py. I do not know whether output of this newline could be 
prevented. Putting a "\" at the end of a line does not work because it must 
follow the section reference which will have already put out the newline by 
the time the "\" is seen. So you get

for f in xxx
\ ; do ....

BobS

On Wednesday, December 17, 2014 at 9:33:14 PM UTC-6, Davy Cottet wrote:
>
> Your need looks similar to mine.I think as well that would be very useful 
> to implement.
> https://github.com/leo-editor/leo-editor/issues/109
>
> As a workaround, what if you put a " \ " when define your $1 ? Is that 
> possible to obtain :
>
> for f in xxx \
>  ; do ....
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to