all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* `:html-preamble` and `:html-postamble` options are lame
@ 2013-03-29 19:46 Luca Sabbatini
  2013-03-29 21:08 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Luca Sabbatini @ 2013-03-29 19:46 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 740 bytes --]

It seems to be that the `:html-preamble` and `:html-postamble` export 
options are impotent. They are overridden if the 
`org-export-html-preamble-format` and `org-export-html-postamble-format` 
are set to *anything*.

In order for the `:html-preamble` and `:html-postamble` html export 
options to even be considered during export, one must set their 
corresponding format variables to `nil`. But by then there's effectively 
no preamble or postamble to disable anyway.

How is one expected to make use of the :html-preamble` and 
`:html-postamble` options? (Perhaps I have misunderstood something).

In any case, shouldn't the options override the internal variables 
during export on the per-file basis?


Thank you for your time,

Luca

[-- Attachment #2: Type: text/html, Size: 1006 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: `:html-preamble` and `:html-postamble` options are lame
  2013-03-29 19:46 `:html-preamble` and `:html-postamble` options are lame Luca Sabbatini
@ 2013-03-29 21:08 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2013-03-29 21:08 UTC (permalink / raw)
  To: Luca Sabbatini; +Cc: emacs-orgmode

Hello,

Luca Sabbatini <sabbatini.luca@gmail.com> writes:

> It seems to be that the `:html-preamble` and `:html-postamble` export
> options are impotent. They are overridden if the
> org-export-html-preamble-format` and
> org-export-html-postamble-format` are set to *anything*.
>
> In order for the `:html-preamble` and `:html-postamble` html export
> options to even be considered during export, one must set their
> corresponding format variables to `nil`. But by then there's
> effectively no preamble or postamble to disable anyway.
>
> How is one expected to make use of the :html-preamble` and
> :html-postamble` options? (Perhaps I have misunderstood something).
>
> In any case, shouldn't the options override the internal variables
> during export on the per-file basis?

Could you provide the Org version you're using, and an ECM reproducing
the problem?


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-29 21:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-29 19:46 `:html-preamble` and `:html-postamble` options are lame Luca Sabbatini
2013-03-29 21:08 ` Nicolas Goaziou

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.