[Top][All Lists]

[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

If anyone is interested, here is a way I am using headers on special blocks:

The org-source can be found here:

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
>> C
>> 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

reply via email to

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