emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Exporting org-mode source


From: Sebastien Vauban
Subject: Re: [O] Exporting org-mode source
Date: Thu, 08 May 2014 10:07:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (windows-nt)

Vikas Rawal wrote:
> On 04-May-2014, at 11:46 am, Han Fan <address@hidden> wrote:
>> Fletcher Charest <address@hidden> writes:
>>> 
>>> 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?
> 
> This is what works for me
>
> #+begin_src org :exports code
>
> #+end_src
>
> It does not work without ":exports code”

I don't understand that, as ":exports code" is the default for Org code
blocks, as shown by:

  ╭────
  │ org-babel-default-header-args:org is a variable defined in `ob-org.el'.
  │ Its value is ((:results . "raw silent") (:exports . "code"))
  │
  │ Documentation:
  │ Default arguments for evaluating a org source block.
  ╰────

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]