emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] New exporter - publishing org files doesn't include :tangle


From: Bernt Hansen
Subject: Re: [O] New exporter - publishing org files doesn't include :tangle
Date: Wed, 24 Apr 2013 10:52:55 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Nicolas Goaziou <address@hidden> writes:

> Hello,
>
> Bernt Hansen <address@hidden> writes:
>
>> James Yuan noticed that the .org file that is published with my document
>> (http://doc.norang.ca/org-mode.org does not contain :tangle on any of
>> the source blocks.
>>
>> One of the uses of this document is to pull up the file and tangle it to
>> create an emacs configuration but this seems to be broken in 8.0.
>
> This is not directly related to the export framework.
>
> For some reason, Babel removes all properties from the opening string of
> a block when evaluated. IOW
>
>   #+BEGIN_SRC emacs-lisp :exports code :tangle yes
>   (+ 1 1)
>   #+END_SRC
>
> becomes
>
>   #+BEGIN_SRC emacs-lisp 
>   (+ 1 1)
>   #+END_SRC
>
> One workaround is to add Babel properties on a #+header: affiliated
> keyword instead as
>
>   #+header: :tangle yes
>   #+BEGIN_SRC emacs-lisp :exports code
>   (+ 1 1)
>   #+END_SRC
>
> becomes
>
>   #+header: :tangle yes
>   #+BEGIN_SRC emacs-lisp
>   (+ 1 1)
>   #+END_SRC
>
>
> Regards,



reply via email to

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