[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to get results into export?
From: |
Manfred Lotz |
Subject: |
Re: [O] How to get results into export? |
Date: |
Fri, 25 Jul 2014 11:11:23 +0200 |
On Fri, 25 Jul 2014 10:03:14 +0200
Thorsten Jolitz <address@hidden> wrote:
> Manfred Lotz <address@hidden> 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.
--
Thanks a lot, Manfred