emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Philipp Kroos <philipp.kroos@t-online.de>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: subtree-export limitations
Date: Fri, 16 Nov 2012 16:45:35 +0100	[thread overview]
Message-ID: <87r4ntmu00.fsf@t-online.de> (raw)


Hi,

currently the support for subtree export is somewhat limited due to the
fact that individual EXPORT_* options are allowed only once.
I.e., in the following the second latex-header-property will be ignored:

* Some subtree
  :PROPERTIES:
  :LATEX_CLASS: scrartcl
  :EXPORT_OPTIONS: toc:nil
  :EXPORT_LATEX_HEADER: \usepackage[ngerman]{babel}
  :EXPORT_LATEX_HEADER: \usepackage{xcolor}
  :END:

So would be any other EXPORT_OPTIONS-line. The responsible function is
org-export--get-subtree-options, which builds a list of already seen
keywords. The lists members are then ignored if seen again.
Is there any particular reason why this is done?

Sorry if this is documented or discussed somewhere already, I couldn't
find any reference that explains this behaviour.

Best regards,
Philipp

             reply	other threads:[~2012-11-16 15:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-16 15:45 Philipp Kroos [this message]
2012-11-16 15:56 ` subtree-export limitations Alan Schmitt
2012-11-16 16:36 ` Suvayu Ali
2012-11-17 12:25   ` Philipp Kroos
2012-11-17 12:48     ` Nicolas Goaziou
2012-11-17 13:33       ` Nicolas Goaziou
2012-11-17 15:12         ` Philipp Kroos
2012-11-17 16:00           ` Nicolas Goaziou
2012-11-18 11:23             ` Philipp Kroos
2012-11-19 13:55         ` Alan Schmitt
2012-12-22 18:58         ` Bastien

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=87r4ntmu00.fsf@t-online.de \
    --to=philipp.kroos@t-online.de \
    --cc=emacs-orgmode@gnu.org \
    /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).