* If org-html-preamble set to function, is there parameter(s) ?
@ 2024-07-27 17:05 Sébastien Gendre
2024-07-27 17:30 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: Sébastien Gendre @ 2024-07-27 17:05 UTC (permalink / raw)
To: Org mailing list
[-- Attachment #1: Type: text/plain, Size: 389 bytes --]
Hello,
If I set the variable `org-html-preamble' to a function, is this
function receive parameter(s) ?
The manual say nothing about it:
https://orgmode.org/manual/HTML-preamble-and-postamble.html
But I have a doubt, as a function that built a preamble need to know
some information, like the language of the page for example.
Best regards
-------
Gendre Sébastien
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: If org-html-preamble set to function, is there parameter(s) ?
2024-07-27 17:05 If org-html-preamble set to function, is there parameter(s) ? Sébastien Gendre
@ 2024-07-27 17:30 ` Ihor Radchenko
0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-07-27 17:30 UTC (permalink / raw)
To: Sébastien Gendre; +Cc: Org mailing list
Sébastien Gendre <seb@k-7.ch> writes:
> If I set the variable `org-html-preamble' to a function, is this
> function receive parameter(s) ?
Yes. Check out the docstring.
It is called with INFO plist as an argument.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-27 17:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-27 17:05 If org-html-preamble set to function, is there parameter(s) ? Sébastien Gendre
2024-07-27 17:30 ` Ihor Radchenko
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.