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:11:23 +0200 Message-ID: <20140725111123.7d1e9a00@arcor.com> References: <20140725084004.238e4ced@arcor.com> <87lhrhq30d.fsf@gmail.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]:38990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAbXe-0001RI-P7 for emacs-orgmode@gnu.org; Fri, 25 Jul 2014 05:12:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAbXY-0007xh-13 for emacs-orgmode@gnu.org; Fri, 25 Jul 2014 05:11:54 -0400 Received: from plane.gmane.org ([80.91.229.3]:53981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAbXX-0007w6-Px for emacs-orgmode@gnu.org; Fri, 25 Jul 2014 05:11:47 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XAbXW-0005H3-S2 for emacs-orgmode@gnu.org; Fri, 25 Jul 2014 11:11:46 +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:11:46 +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:11:46 +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 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. -- Thanks a lot, Manfred