From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: Trouble exporting inline code blocks Date: Mon, 10 Apr 2017 20:00:33 -0700 Message-ID: References: <51D41F8A-6BC4-4900-A86D-4C7D84EF1D94@haas.berkeley.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="0-291032832-1491879633=:1754" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxm2s-0003pB-PR for emacs-orgmode@gnu.org; Mon, 10 Apr 2017 23:00:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxm2n-0001Ae-Vh for emacs-orgmode@gnu.org; Mon, 10 Apr 2017 23:00:42 -0400 Received: from iport-acv5-out.ucsd.edu ([132.239.0.10]:17099) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1cxm2n-00019P-GD for emacs-orgmode@gnu.org; Mon, 10 Apr 2017 23:00:37 -0400 In-Reply-To: <51D41F8A-6BC4-4900-A86D-4C7D84EF1D94@haas.berkeley.edu> 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" To: Richard Stanton Cc: emacs-orgmode@gnu.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-291032832-1491879633=:1754 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT On Mon, 10 Apr 2017, Richard Stanton wrote: > Here’s a very simple org file: > > ———— > > Some inline Python code: 2 plus 2 is src_python[:session]{2+2} > > ————- > > If I put the cursor on the code block and type C-c C-c, I get nice results block containing the answer, 4. So far so good. > > I’d like to export just the results to PDF via LaTeX. However, no matter > what options I pass, the exported PDF file shows both the source and the > output. I get this Some inline Python code: 2 plus 2 is \texttt{4} in response to C-c C-e C-b l L Org mode version 9.0.5 HTH, Chuck --0-291032832-1491879633=:1754--