From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nuno Salgado Subject: Re: noweb Date: Thu, 23 Jan 2020 00:04:47 +0000 Message-ID: <87d0bbqbq8.fsf@nulle1.home> References: <87sgk7qnxb.fsf@nulle1.home> <841rrrz1hu.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55251) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuQ0d-0003C0-GC for Emacs-orgmode@gnu.org; Wed, 22 Jan 2020 19:06:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuQ0b-0002gj-JB for Emacs-orgmode@gnu.org; Wed, 22 Jan 2020 19:06:06 -0500 Received: from salgado.eu ([37.59.126.250]:58646 helo=cosov1.salgado.eu) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iuQ0b-0002du-CA for Emacs-orgmode@gnu.org; Wed, 22 Jan 2020 19:06:05 -0500 In-Reply-To: <841rrrz1hu.fsf@gmail.com> (Marco Wahl's message of "Wed, 22 Jan 2020 21:21:01 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: Marco Wahl Cc: Emacs-orgmode@gnu.org 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:DEFVARS >> >> #+BEGIN_SRC shell :tangle yes >> v1=1; >> v2=2; >> #+END_SRC >> >> Script1: >> >> #+BEGIN_SRC shell :tangle yes :noweb eval >> <> >> 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 <>. >> >> Does it makes sense? Since I set noweb = eval why does it exports >> <>? >> >> Could you please help me turning around this problem without removing every reference <> > > You can find the answer in the documentation, I think. See e.g. (info > "(org) Noweb Reference Syntax"). > > > HTH