[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] derived exporter EXPORT_... options
From: |
Robert Klein |
Subject: |
Re: [O] derived exporter EXPORT_... options |
Date: |
Wed, 27 Nov 2013 19:49:44 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
Thanks a lot, I was still thinking in old exporter terms.
Best regards
Robert
On 11/26/2013 08:49 PM, Nicolas Goaziou wrote:
> Hello,
>
> Robert Klein <address@hidden> writes:
>
>> I'm trying to user EXPORT_... options in subtree export in a derived
>> exporter.
>>
>> Using attached ox-hans exporter and the org file hans.org,
>> I only get "Wurst" as :hans-option, never "Bratwurst", as given under
>> the heading "Two", using both options with subtree export (C-c C-e C-d j
>> h and C-c C-e C-d j H.
>>
>> Do I misunderstand subtree export?
>
> Keyword are global. Subtree export options are expected to be properties
> attached to the root headline:
>
> * Two
> :PROPERTIES:
> :EXPORT_HANS_OPTION: Bratwurst
> :END:
>
> Also, the property name will still be :hans-option (i.e. no "export-"
> appended). During a subtree export the property has precedence over the
> keyword.
>
>
> Regards,
>
--
Robert Klein
UNIX Operations, Max Planck-Institut für Polymerforschung
Ackermannweg 10
55218 Mainz