From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Babel Tangle issues Date: Fri, 01 Nov 2013 12:21:53 -0600 Message-ID: <87habwx9ry.fsf@gmail.com> References: <8738ngxb2c.fsf@wall.flintfam.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcJMp-0005yc-Nf for emacs-orgmode@gnu.org; Fri, 01 Nov 2013 14:22:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VcJMl-0002Mv-B8 for emacs-orgmode@gnu.org; Fri, 01 Nov 2013 14:22:43 -0400 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]:33332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcJMl-0002Mr-3n for emacs-orgmode@gnu.org; Fri, 01 Nov 2013 14:22:39 -0400 Received: by mail-pa0-f53.google.com with SMTP id kx10so4354614pab.26 for ; Fri, 01 Nov 2013 11:22:37 -0700 (PDT) In-Reply-To: <8738ngxb2c.fsf@wall.flintfam.org> (Sam Flint's message of "Fri, 01 Nov 2013 12:54:03 -0500") 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.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sam Flint Cc: Org-Mode --=-=-= Content-Type: text/plain Sam Flint writes: > I use org-babel to LP, and when I go to tangle, I get very little > output, a shebang line and that is about it, I have noweb set to tangle, > yet my references do not resolve. Any ideas why? Without a minimal example illustrating the problem it is impossible to say. The following tiny example works as expected. This, --=-=-= Content-Type: text/x-org Content-Disposition: inline; filename=noweb-tangle-example.org #+Title: example of tangling with noweb * Two noweb blocks #+name: begin #+begin_src sh echo begin #+end_src #+name: end #+begin_src sh echo end #+end_src * Containing tangled block #+begin_src sh :tangle yes :noweb tangle <> date <> #+end_src --=-=-= Content-Type: text/plain tangles to this, --=-=-= Content-Type: text/x-sh Content-Disposition: inline; filename=noweb-tangle-example.sh echo begin date echo end --=-=-= Content-Type: text/plain Best, -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D --=-=-=--