[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] No Expansion of noweb references when exporting
From: |
Mark Cox |
Subject: |
[O] No Expansion of noweb references when exporting |
Date: |
Thu, 19 May 2011 14:35:25 +1000 |
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
<<boiler-plate-code-generator()>>
#+end_src
When I export this to HTML using C-c C-e b, the text
<<boiler-plate-code-generator()>> is present. What I would like to see
is the output that is generated when tangling.
Thanks
Mark
- [O] No Expansion of noweb references when exporting,
Mark Cox <=