emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] derived exporter EXPORT_... options


From: Nicolas Goaziou
Subject: Re: [O] derived exporter EXPORT_... options
Date: Tue, 26 Nov 2013 20:49:06 +0100

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,

-- 
Nicolas Goaziou



reply via email to

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