From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Feature request for noweb mode that strips references on export Date: Sat, 31 Mar 2012 12:03:26 -0400 Message-ID: <6955.1333209806@alphaville> References: <87d39ylgt0.fsf@gmx.com> <871uoagi08.fsf@gmail.com> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE0m4-0005Ta-5W for emacs-orgmode@gnu.org; Sat, 31 Mar 2012 12:03:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SE0m2-0004xx-EN for emacs-orgmode@gnu.org; Sat, 31 Mar 2012 12:03:31 -0400 Received: from g1t0027.austin.hp.com ([15.216.28.34]:6385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE0m2-0004xo-8D for emacs-orgmode@gnu.org; Sat, 31 Mar 2012 12:03:30 -0400 In-Reply-To: Message from "Sean O'Halpin" of "Sat\, 31 Mar 2012 09\:33\:40 BST." 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: Sean O'Halpin Cc: Daimrod , nicholas.dokos@hp.com, emacs-orgmode@gnu.org Sean O'Halpin wrote: > On Fri, Mar 30, 2012 at 5:39 PM, Daimrod wrote: > > If you don't want to export boilerplate you've to use :exports none in > > it. > > > > #+name: boilerplate > > #+begin_src ruby :exports none > > def hello > > =C2=A0"Hello World" > > end > > #+end_src > > > > Use it > > > > #+name: example > > #+begin_src ruby :exports both :noweb strip-export > > <> > > > > hello > > #+end_src > > > Thanks but that's not my problem. When I use :exports both I get the > code but not the results output in my exported HTML. > Do you get the "Hello World" output? If so, it looks like I'll have to > debug my configuration. >=20 Now that I've tried it, I can reproduce it: the final results disappear on export. Nick