Re: noweb

2020-01-22 Thread Nuno Salgado
Marco, Thank you for your help. I read it again and didn't find. But no problem. My question was to figure out what's the point to tangle the code without substituition! NS Marco Wahl writes: > Nuno Salgado writes: > >> Vars definition: >> #+NAME:DEFVA

Re: noweb

2020-01-22 Thread Nuno Salgado
e https://orgmode.org/ > manual/tangle.html#tangle). > > Hope this helps, > --Diego > > > On Wed, Jan 22, 2020 at 8:41 PM Nuno Salgado wrote: > > Hi, > > I'm writing an installation script in org-mode. > > I'm doing something like thi

noweb

2020-01-22 Thread Nuno Salgado
Hi, I'm writing an installation script in org-mode. I'm doing something like this: Vars definition: #+NAME:DEFVARS #+BEGIN_SRC shell :tangle yes v1=1; v2=2; #+END_SRC Script1: #+BEGIN_SRC shell :tangle yes :noweb eval <> echo $v1; #+END_SRC Script2: #+BEGIN_SR