From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Stanton Subject: Trouble exporting inline code blocks Date: Mon, 10 Apr 2017 10:56:34 -0700 Message-ID: <51D41F8A-6BC4-4900-A86D-4C7D84EF1D94@haas.berkeley.edu> Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxdYR-0001ER-O2 for emacs-orgmode@gnu.org; Mon, 10 Apr 2017 13:56:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxdYN-0001XB-NQ for emacs-orgmode@gnu.org; Mon, 10 Apr 2017 13:56:43 -0400 Received: from mail-pg0-x22c.google.com ([2607:f8b0:400e:c05::22c]:36106) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cxdYN-0001We-Ez for emacs-orgmode@gnu.org; Mon, 10 Apr 2017 13:56:39 -0400 Received: by mail-pg0-x22c.google.com with SMTP id g2so108103189pge.3 for ; Mon, 10 Apr 2017 10:56:37 -0700 (PDT) Received: from mortgage.haas.berkeley.edu (mortgage.haas.berkeley.edu. [128.32.75.82]) by smtp.gmail.com with ESMTPSA id t12sm25935059pfg.14.2017.04.10.10.56.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Apr 2017 10:56:34 -0700 (PDT) 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: emacs-orgmode@gnu.org Here=E2=80=99s a very simple org file: =E2=80=94=E2=80=94=E2=80=94=E2=80=94 Some inline Python code: 2 plus 2 is src_python[:session]{2+2} =E2=80=94=E2=80=94=E2=80=94=E2=80=94- 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=E2=80=99d 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. E.g., src_python[:session :exports results]{2+2} src_python[:session :exports none]{2+2} Am I missing something? Thanks. By the way, I=E2=80=99m using org mode = v. 9.0.5.=20 Richard Stanton