emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] headers on special blocks


From: John Kitchin
Subject: Re: [O] headers on special blocks
Date: Mon, 28 Mar 2016 12:25:09 -0400
User-agent: mu4e 0.9.16; emacs 25.1.50.1

If anyone is interested, here is a way I am using headers on special blocks:
http://kitchingroup.cheme.cmu.edu/blog/2016/03/28/Another-approach-to-embedded-molecular-data-in-org-mode/

The org-source can be found here:
http://kitchingroup.cheme.cmu.edu/org/2016/03/28/Another-approach-to-embedded-molecular-data-in-org-mode.org

It is kind of interesting I think.

Nicolas Goaziou writes:

> Hello,
>
> John Kitchin <address@hidden> writes:
>
>> I am playing around with storing data in special blocks. For example,
>> here is an example bit of "data" which is the CH4 (methane) molecule in
>> SMILES format in a MOLECULE block.
>>
>>
>> #+header: :format smiles
>> #+name: methane-smiles
>> #+BEGIN_MOLECULE
>> C
>> #+END_MOLECULE
>>
>> Is is legal syntax to put a header in like this? It works, as in it
>> parses to
>>
>> (special-block
>>           (:type "MOLECULE" :begin 240 :end 323 :hiddenp nil
>>           :contents-begin 305 :contents-end 307 :post-blank 1
>>           :post-affiliated 288 :header
>>                  (":format smiles")
>>                  :name "methane-smiles" :parent nil))
>>
>>
>> but I haven't seen any documentation for headers on a special block.
>
> Almost all elements accept HEADER affiliated keywords. They work the
> same in every type of element but ATM, only source blocks make use of
> them.
>
> In a nutshell, those locations are up for grabs.
>
> Regards,


--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



reply via email to

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