From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Feature request for noweb mode that strips references on export Date: Sat, 31 Mar 2012 11:32:24 -0400 Message-ID: <871uo8u6pj.fsf@gmx.com> References: <87d39ylgt0.fsf@gmx.com> <871uoagi08.fsf@gmail.com> <6955.1333209806@alphaville> 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]:33896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE2AM-0005mM-IC for emacs-orgmode@gnu.org; Sat, 31 Mar 2012 13:32:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SE2AF-0003UH-Rc for emacs-orgmode@gnu.org; Sat, 31 Mar 2012 13:32:42 -0400 Received: from mailout-us.gmx.com ([74.208.5.67]:44754 helo=mailout-us.mail.com) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SE2AF-0003U6-Jr for emacs-orgmode@gnu.org; Sat, 31 Mar 2012 13:32:35 -0400 In-Reply-To: <6955.1333209806@alphaville> (Nick Dokos's message of "Sat, 31 Mar 2012 12:03:26 -0400") 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: nicholas.dokos@hp.com Cc: Daimrod , emacs-orgmode@gnu.org Nick Dokos writes: > 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 > > Thanks for bringing this problem to light. I've just pushed up a fix. Cheers, --=20 Eric Schulte http://cs.unm.edu/~eschulte/