emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] src blocks: code is /always/ exported


From: Martin Gürtler
Subject: [O] src blocks: code is /always/ exported
Date: Thu, 29 Dec 2016 15:53:38 +0100

Dear list,
I am exporting the following org mode file:
----8<--------------------
* doc
#+BEGIN_SRC shell :exports none
ls |wc
#+END_SRC
#+RESULTS:
: 20      20     199
----8<--------------------
I'd expect org mode to honour the :exports none header argument and
create a document that contains only the result.
However, the exported document contains  both, code and results.
This seems to be independent of the type of SRC and independent of the
export type (I tried dot and shell for odt, latex and beamer exports).
How can I get rid of the src code in the exported document?
Thanks for help,
Martin
------------------------------------------------------------------------
Emacs  : GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.4)
 of 2016-12-01, modified by Debian
Package: Org mode version 9.0.3 (9.0.3-elpaplus @ /home/guertler/.emacs.d/elpa/org-plus-contrib-20161224/)
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]