Re: Build a menu for an HTML publish

2024-08-13 Thread Sébastien Gendre
Thank you very much for your reply. I didn't know the bind part. I will take a look at it. Bruno Barbier writes: > Hi Sébastien, > > Sébastien Gendre writes: > > [...] >> I cannot found a way to define "very-strawbery" value in an Org-mode >> buffer and having it used while I manually expo

Re: Build a menu for an HTML publish

2024-08-13 Thread Sébastien Gendre
Another reply to myself about this specific part: Sébastien Gendre writes: > But if I set the variable `org-html-preamble` to my custom preamble > function like this: > > (setq org-html-preamble 'my/preamble-test) > > I cannot found a way to define "very-strawbery" value in an Org-mode > buffer

Re: Build a menu for an HTML publish

2024-08-13 Thread Bruno Barbier
Hi Sébastien, Sébastien Gendre writes: [...] > I cannot found a way to define "very-strawbery" value in an Org-mode > buffer and having it used while I manually export the Org-mode buffer. > > I tried with "#+very-strawbery: test123" and "#+OPTIONS: very-strawbery: > test123", without success.

Re: Build a menu for an HTML publish

2024-08-12 Thread Sébastien Gendre
So, I can partially reply to myself: Sébastien Gendre writes: > # How to pass parameters to this function > > If I set a function as value to the variable `org-html-preamble`, this > function will receive a plist containing all the export options. > > But can I set custom export option in the pu

Build a menu for an HTML publish

2024-08-11 Thread Sébastien Gendre
Hello, I (continue to) write an online documentation with Org-mode and I want to build the main navigation menu dynamically. I would like to have your opinion about what I plan to do. # What I plan I plan to write a function that I can assign to the variable `org-html-preamble` or the publish s