emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] macro expansion not working in #+ATTR_LATEX


From: Johannes Rainer
Subject: [O] macro expansion not working in #+ATTR_LATEX
Date: Thu, 5 Sep 2013 21:33:48 +0200

hi all!

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?

thanks, jo


reply via email to

[Prev in Thread] Current Thread [Next in Thread]