emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* What does org-html--build-pre/postamble do?
@ 2014-10-31 23:21 Marcin Borkowski
  0 siblings, 0 replies; only message in thread
From: Marcin Borkowski @ 2014-10-31 23:21 UTC (permalink / raw)
  To: Org-Mode mailing list

Hi all,

I've started to write a derived backend based on the HTML one.  Since I
want my HTML file to be rather minimalist, I exclude as much as
possible.  While looking at org-html-template, I noticed the
(org-html--build-pre/postamble 'preamble info)
line.  I'm wondering, what does it do?  Including it in my backend does
not influence the result (admittedly, the Org file I'm testing it on is
quite simple for now).  I instrumented org-html--build-pre/postamble for
edebug, but it didn't help me a lot.

What is this for?  I guess it inserts whatever is in
org-html-preamble-format for the current language; anything else?  In
particular: most of this function deals with the case when
(plist-get info :html-preamble)
is non-nil.  When is it possible?

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-31 23:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-31 23:21 What does org-html--build-pre/postamble do? Marcin Borkowski

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).