emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vikas Rawal <vikaslists@agrarianresearch.org>
To: Han Fan <visayafan@gmail.com>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Exporting org-mode source
Date: Mon, 5 May 2014 00:52:34 +0200	[thread overview]
Message-ID: <4748A59A-F023-40CA-B783-D5253AC96330@agrarianresearch.org> (raw)
In-Reply-To: <m3ppjtkha2.fsf@gmail.com>


On 04-May-2014, at 11:46 am, Han Fan <visayafan@gmail.com> wrote:

> Fletcher Charest <fletcher.charest@gmail.com> writes:
> 
>> Hi,
>> 
>> Sorry if I misunderstood... If you create an Org source block like this with nothing inside:
>> 
>> #+begin_src org
>> 
>> #+end_src
>> 
>> ...then, with your cursor inside, enter it with C-c ', write your org tree, and validate with C-c ' again, then export... Does it do
>> what you want?
>> 
>> FC
> 
This is what works for me

#+begin_src org :exports code

#+end_src

It does not work without ":exports code”

I found the solution here: http://lists.gnu.org/archive/html/emacs-orgmode/2011-01/msg01117.html

Vikas

  reply	other threads:[~2014-05-04 22:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-03  5:41 Exporting org-mode source Vikas Rawal
2014-05-03  7:03 ` Sebastien Vauban
2014-05-04  4:41   ` Vikas Rawal
2014-05-04  5:12     ` Vikas Rawal
2014-05-04  7:57       ` Han Fan
2014-05-04  8:04         ` Vikas Rawal
2014-05-04  9:05           ` Han Fan
2014-05-04  9:11           ` Fletcher Charest
2014-05-04  9:46             ` Han Fan
2014-05-04 22:52               ` Vikas Rawal [this message]
2014-05-08  8:07                 ` Sebastien Vauban
2014-05-08  8:17                   ` Vikas Rawal
2014-05-08  9:05                     ` Sebastien Vauban

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=4748A59A-F023-40CA-B783-D5253AC96330@agrarianresearch.org \
    --to=vikaslists@agrarianresearch.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=visayafan@gmail.com \
    /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).