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 <marcowahls...@gmail.com> writes: > Nuno Salgado <n...@salgado.eu> writes: > >> Vars definition: >> #+NAME:DEFVARS >> >> #+BEGIN_SRC shell :tangle yes >> v1=1; >> v2=2; >> #+END_SRC >> >> Script1: >> >> #+BEGIN_SRC shell :tangle yes :noweb eval >> <<DEFVARS>> >> echo $v1; >> #+END_SRC >> >> This works great when I do C-c C-c in each script. >> >> But when I do org-babel-tangle, the code gets two <<DEFVARS>>. >> >> Does it makes sense? Since I set noweb = eval why does it exports >> <<DEFVARS>>? >> >> Could you please help me turning around this problem without removing every >> reference <<DEFVARS>> > > You can find the answer in the documentation, I think. See e.g. (info > "(org) Noweb Reference Syntax"). > > > HTH