On Fri, 25 Jul 2014 11:11:23 +0200 Manfred Lotz <manfred.l...@arcor.de> wrote:
> On Fri, 25 Jul 2014 10:03:14 +0200 > Thorsten Jolitz <tjol...@gmail.com> wrote: > > > Manfred Lotz <manfred.l...@arcor.de> writes: > > > > > I have this minimal example using minted: > > > > > > #+TITLE: Minimal example > > > #+LaTeX_HEADER: \usemintedstyle{emacs} > > > * Example > > > - some code > > > #+BEGIN_SRC sh :results values code > > > echo # of items > > > echo \# of items > > > echo "# of items" > > > #+END_SRC > > > > > > #+RESULTS: > > > #+BEGIN_SRC sh > > > > > > # of items > > > # of items > > > #+END_SRC > > > > > > > > > I evaluated the source code block and got the results. Now, when > > > exporting the file to say PDF the results won't appear in the PDF. > > > > > > Is there a possibility to make this happen? > > > > Try header arg > > > > ,---- > > | :exports results > > `---- > > > > (untested) > > > > Oops yes, it is such easy. In my case :results both is what I want. > Sorry, I wanted to say: :exports both -- Manfred