From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Beckman Subject: Re: export: noweb blocks substituted versus verbatim ? Date: Sat, 26 Sep 2015 23:19:29 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfylP-0003b6-0w for emacs-orgmode@gnu.org; Sat, 26 Sep 2015 19:20:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZfylL-0005FL-1v for emacs-orgmode@gnu.org; Sat, 26 Sep 2015 19:20:19 -0400 Received: from plane.gmane.org ([80.91.229.3]:56426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfylK-0005F8-RY for emacs-orgmode@gnu.org; Sat, 26 Sep 2015 19:20:14 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Zfyl2-00022h-HU for emacs-orgmode@gnu.org; Sun, 27 Sep 2015 01:19:56 +0200 Received: from 50-245-150-254-static.hfc.comcastbusiness.net ([50-245-150-254-static.hfc.comcastbusiness.net]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Sep 2015 01:19:56 +0200 Received: from bc.beckman by 50-245-150-254-static.hfc.comcastbusiness.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 Sep 2015 01:19:56 +0200 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: emacs-orgmode@gnu.org Andreas Leha med.uni-goettingen.de> writes: > > Hi Brian, > [[ omitted: deeper quotes ]] > > As far as I can see, the difference is that some of the code blocks have > the header argument `:noweb yes', while others do not. > > I do not know how to achieve working noweb extension during evaluation > but omitting noweb extension during export, though. > > HTH, > Andreas > Hi Andreas, Thanks for answering. I did some experiments putting `:noweb yes' in various combinations and also putting a dummy line before the references in the first (offending) block, like this: #+NAME: test-block #+BEGIN_SRC python :noweb yes :tangle test_foo.py dummy_for_org_mode = True <> <> def test_smoke (): np.testing.assert_approx_equal (foo_func (), foo_constant) #+END_SRC and separating the code lines with blank lines (as we must do in org-babel `session' mode). None of it made any visible difference. None of it made any difference