From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manfred Lotz Subject: Re: How to get results into export? Date: Fri, 25 Jul 2014 11:40:41 +0200 Message-ID: <20140725114041.6b6fb7d5@arcor.com> References: <20140725084004.238e4ced@arcor.com> <87lhrhq30d.fsf@gmail.com> <20140725111123.7d1e9a00@arcor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAbzt-0000Ns-1M for emacs-orgmode@gnu.org; Fri, 25 Jul 2014 05:41:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAbzm-0005cQ-UE for emacs-orgmode@gnu.org; Fri, 25 Jul 2014 05:41:04 -0400 Received: from plane.gmane.org ([80.91.229.3]:54111) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAbzm-0005cK-Mn for emacs-orgmode@gnu.org; Fri, 25 Jul 2014 05:40:58 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XAbzl-0003Uj-EE for emacs-orgmode@gnu.org; Fri, 25 Jul 2014 11:40:57 +0200 Received: from p4fff2e75.dip0.t-ipconnect.de ([79.255.46.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Jul 2014 11:40:57 +0200 Received: from manfred.lotz by p4fff2e75.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 25 Jul 2014 11:40:57 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Fri, 25 Jul 2014 11:11:23 +0200 Manfred Lotz wrote: > On Fri, 25 Jul 2014 10:03:14 +0200 > Thorsten Jolitz wrote: > > > Manfred Lotz 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