[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] headers on special blocks
From: |
Nicolas Goaziou |
Subject: |
Re: [O] headers on special blocks |
Date: |
Mon, 28 Mar 2016 15:22:37 +0200 |
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,
--
Nicolas Goaziou