emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Robert Klein <kleinrob@mpip-mainz.mpg.de>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: derived exporter EXPORT_... options
Date: Tue, 26 Nov 2013 20:49:06 +0100	[thread overview]
Message-ID: <87ob576j0t.fsf@gmail.com> (raw)
In-Reply-To: <5294DE87.8070205@mpip-mainz.mpg.de> (Robert Klein's message of "Tue, 26 Nov 2013 18:46:47 +0100")

Hello,

Robert Klein <kleinrob@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	other threads:[~2013-11-26 19:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-26 17:46 derived exporter EXPORT_... options Robert Klein
2013-11-26 19:49 ` Nicolas Goaziou [this message]
2013-11-27 18:49   ` Robert Klein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ob576j0t.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kleinrob@mpip-mainz.mpg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).