Hi Andreas, On 2015-09-24 14:14, Andreas Leha writes: > if all of this is for a single block, you can get away quite cheaply > with sth along (untested) > > #+begin_src emacs-lisp :results silent > (save-excursion > ;; tangle > (org-babel-goto-named-src-block "hello") > (org-babel-tangle '(4))) > #+end_src > > and make sure this gets executed during export. I’ve tried this and somehow it replaces the whole org file with a version with comments and src block headers removed, and macros expanded. I have no idea why it does this … Best, Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Athmospheric CO₂ (Updated September 22, 2015, Mauna Loa Obs.): 397.23 ppm