From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Cox Subject: No Expansion of noweb references when exporting Date: Thu, 19 May 2011 14:35:25 +1000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMuxL-0003Qn-NK for emacs-orgmode@gnu.org; Thu, 19 May 2011 00:35:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMuxK-0000AV-PT for emacs-orgmode@gnu.org; Thu, 19 May 2011 00:35:27 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:64052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMuxK-0000AO-NG for emacs-orgmode@gnu.org; Thu, 19 May 2011 00:35:26 -0400 Received: by vxk20 with SMTP id 20so2154634vxk.0 for ; Wed, 18 May 2011 21:35:25 -0700 (PDT) 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 Hi, Is it possible for the output of the expansion of a code block to appear in the exported document? Consider the example: #+TITLE: No expansion of noweb references when exporting * Example :PROPERTIES: :tangle: illustration.hpp :END: #+srcname: boiler-plate-code-generator() #+begin_src emacs-lisp :results output :exports none :tangle no (dolist (type '("int8_t" "uint8_t" "float" "double")) (princ (format "template <> %s boiler_plate_code<%s>();\n" type type))) #+end_src #+begin_src c++ :noweb yes <> #+end_src When I export this to HTML using C-c C-e b, the text <> is present. What I would like to see is the output that is generated when tangling. Thanks Mark