Re: [O] Org src blocks and multiline macros

2018-08-03 Thread Jarmo Hurri
"Berry, Charles" writes: > ob-org does not provide for variables AFAICS. I have been trying to advocate for multiline macros for years, because those are the _only_ thing I am really missing in org, again and again. For example, right now I am writing teaching material where I need to reuse

Re: [O] Org src blocks and multiline macros

2018-08-02 Thread Berry, Charles
> On Aug 2, 2018, at 5:32 AM, Jarmo Hurri wrote: > >> >> Org macros don't get evaluated inside src blocks as far as I know. But >> Noweb might help you. Look for this feature in Org manual. I use Noweb as >> "macros for src blocks". > Me, too. But maybe Jarmo just wants a template for

Re: [O] Org src blocks and multiline macros

2018-08-02 Thread Jarmo Hurri
>> I am once again facing a situation where I would like to define a >> multiline org macro. > > > I'm not sure what that means, but based on your example a different > solution might work for you. > > 2. If not, could we have this feature? This would give us immediate >>multiline macros in

Re: [O] Org src blocks and multiline macros

2018-08-02 Thread Kaushal Modi
Hello, On Thu, Aug 2, 2018, 2:34 AM Jarmo Hurri wrote: > > Greetings. > > I am once again facing a situation where I would like to define a > multiline org macro. I'm not sure what that means, but based on your example a different solution might work for you. 2. If not, could we have this

[O] Org src blocks and multiline macros

2018-08-02 Thread Jarmo Hurri
Greetings. I am once again facing a situation where I would like to define a multiline org macro. If my memory is not failing me (it might well be), this is not possible. So this lead me to consider the use of Org source blocks in Babel. Which might well be a discussion I have had here before,