Hello,

Robert Klein <klein...@mpip-mainz.mpg.de> 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