emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Manfred Lotz <manfred.lotz@arcor.de>
To: emacs-orgmode@gnu.org
Subject: Re: How to get results into export?
Date: Fri, 25 Jul 2014 11:11:23 +0200	[thread overview]
Message-ID: <20140725111123.7d1e9a00@arcor.com> (raw)
In-Reply-To: 87lhrhq30d.fsf@gmail.com

On Fri, 25 Jul 2014 10:03:14 +0200
Thorsten Jolitz <tjolitz@gmail.com> wrote:

> Manfred Lotz <manfred.lotz@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.

-- 
Thanks a lot, Manfred

  reply	other threads:[~2014-07-25  9:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-25  6:40 How to get results into export? Manfred Lotz
2014-07-25  8:03 ` Thorsten Jolitz
2014-07-25  9:11   ` Manfred Lotz [this message]
2014-07-25  9:40     ` Manfred Lotz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140725111123.7d1e9a00@arcor.com \
    --to=manfred.lotz@arcor.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).