From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: Re: noweb Date: Wed, 22 Jan 2020 21:21:01 +0100 Message-ID: <841rrrz1hu.fsf@gmail.com> References: <87sgk7qnxb.fsf@nulle1.home> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52700) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuMUt-0002Rz-3h for Emacs-orgmode@gnu.org; Wed, 22 Jan 2020 15:21:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuMUs-00019t-6t for Emacs-orgmode@gnu.org; Wed, 22 Jan 2020 15:21:07 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:35443) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iuMUr-00019T-Va for Emacs-orgmode@gnu.org; Wed, 22 Jan 2020 15:21:06 -0500 Received: by mail-wr1-x42b.google.com with SMTP id g17so519938wro.2 for ; Wed, 22 Jan 2020 12:21:04 -0800 (PST) In-Reply-To: <87sgk7qnxb.fsf@nulle1.home> (Nuno Salgado's message of "Wed, 22 Jan 2020 19:41:20 +0000") 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: Nuno Salgado Cc: Emacs-orgmode@gnu.org 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 -- Marco