emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Bill Jackson <wj2@jacksonhost.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Function for html-preamble and html-postamble in org-publish
Date: Mon, 12 Dec 2011 16:30:19 +0100	[thread overview]
Message-ID: <874nx5u7sk.fsf@gnu.org> (raw)
In-Reply-To: <4EE53EE5.7040103@jacksonhost.com> (Bill Jackson's message of "Sun, 11 Dec 2011 15:38:13 -0800")

Hi Bill,

Bill Jackson <wj2@jacksonhost.com> writes:

> In version 7.7, a function provided to org-publish via :html-preamble or
> :html-postamble no longer accepts a property list of export options.  I do
> not know if this change is a bug, or if it is deliberate.

This is deliberate: I think the average user should not worry about
handling opt-plist if she doesn't know what it is for.  

Still, as the manual says, you can use opt-plist within your function.

Can you use it so?

There was a problem with inserting the output string of the function,
I just fixed this.  Let me know if things are fine on your side.

> I was able to restore the previous behavior simply by editing org-html.el
> to again pass opt-plist on the two lines, but am interested in what the
> future direction is for customizing the HTML output for org-publish.  Was
> this change unintentional, a deliberate minor change, or is org-publish or
> org-html undergoing significant re-design?  If this was deliberate, is
> there an alternate method for customization functions to access the
> property list?

Well, this area is definitely going to evolve in the next few months.  I
try not to break anything in the meantime.

Best,

-- 
 Bastien

      reply	other threads:[~2011-12-12 15:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-11 23:38 Function for html-preamble and html-postamble in org-publish Bill Jackson
2011-12-12 15:30 ` Bastien [this message]

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=874nx5u7sk.fsf@gnu.org \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=wj2@jacksonhost.com \
    /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).