Hi all, thank you very much for your answers:
Sébastien Miquel <sebastien.miq...@posteo.eu> writes: > I think special blocks are a good fit for this purpose. "Fraga, Eric" <e.fr...@ucl.ac.uk> writes: > Have you tried /special blocks/, as in […] following this idea (also suggested by yantar92 on IRC) I tried this approach but failed because of: https://lists.gnu.org/archive/html/emacs-orgmode/2022-10/msg00565.html I could have introduced several kinds of boxes instead of just one with parameters but I felt that was a bit heavyweight. Ihor Radchenko <yanta...@posteo.net> writes: > Note that #+BOX is not a valid affiliated keyword. Only keywords from > org-element-affiliated-keywords + #+ATTR_X keywords are considered > affiliated. that's also what I understood after reading the code some more. > Something like > > #+ATTR_BACKEND: :style attention > This text will appear with a red background Max Nikulin <maniku...@gmail.com> writes: > If you have derived your export backend from ox-odt then you may use > something like > > #+attr_odt: :type attention > or perhaps even > #+attr_linuxmag: :type attention This is exactly what I finally decided to use. Thank you very much all of you! -- Damien Cassou "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill