emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Stanton <stanton@haas.berkeley.edu>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Problem with code blocks and new exporter
Date: Wed, 27 Feb 2013 22:30:22 +0000	[thread overview]
Message-ID: <CD53C8F8.134BE%stanton@haas.berkeley.edu> (raw)

I'm having trouble exporting code blocks with the new exporter. I'm sure
I've missed something obvious, but can anyone tell me why the following
file doesn't work exporting to LaTeX or HTML?

-----------

Code snippet:

#+begin_src python
a = 5
#+end_src python

------------

When I export this, I don't get a code block displayed. Instead, I get a
single line that includes the text "#+begin_src", which is not what I
wanted (or what I was expecting). What am I doing wrong...?

Thanks very much.

Richard Stanton

             reply	other threads:[~2013-02-27 22:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-27 22:30 Richard Stanton [this message]
2013-02-27 23:31 ` Problem with code blocks and new exporter Bastien
2013-02-28  3:02   ` Richard Stanton

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=CD53C8F8.134BE%stanton@haas.berkeley.edu \
    --to=stanton@haas.berkeley.edu \
    --cc=emacs-orgmode@gnu.org \
    /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).