Hello, Johannes Rainer <johannes.rai...@gmail.com> writes:
> while working nicely for plain text I realized that macros are not expanded > if put in #+ATTR_LATEX: > > e.g. I defined > > #+MACRO: image_width 16 > > and wanted to use this macro like > > #+ATTR_LATEX: :center :placement [H] :width {{{image_width}}}cm > > however, in the exported tex file I get: > > \includegraphics[width={{{image_width}}}cm]{test.png} > > is that intentional that macro expansion works only for plain text? Yes. Macro are only expanded where one can find plain text. See "11.6 Macro replacement" in Org manual. Regards, -- Nicolas Goaziou