emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Charles C. Berry" <ccberry@ucsd.edu>
To: Richard Stanton <stanton@haas.berkeley.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: Trouble exporting inline code blocks
Date: Mon, 10 Apr 2017 20:00:33 -0700	[thread overview]
Message-ID: <alpine.OSX.2.20.1704101949480.1754@charles-berrys-macbook.local> (raw)
In-Reply-To: <51D41F8A-6BC4-4900-A86D-4C7D84EF1D94@haas.berkeley.edu>

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

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

      reply	other threads:[~2017-04-11  3:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-10 17:56 Trouble exporting inline code blocks Richard Stanton
2017-04-11  3:00 ` Charles C. Berry [this message]

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=alpine.OSX.2.20.1704101949480.1754@charles-berrys-macbook.local \
    --to=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=stanton@haas.berkeley.edu \
    /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).