[O] macro expansion in source code

2013-08-29 Thread Johannes Rainer
hi, I was just wondering if there is a way to use macro expansion also in source code blocks or headers. I tried this, but the macro was never expanded, but rather the {{{image_width}}} was exported. could the expansion be done by calling the macro expansion before export (e.g. using a hook)?

Re: [O] macro expansion in source code

2013-08-29 Thread Charles Berry
Johannes Rainer johannes.rainer at gmail.com writes: hi, I was just wondering if there is a way to use macro expansion also in source code blocks or headers. I tried this, but the macro was never expanded, but rather the {{{image_width}}} was exported. could the expansion be done by

Re: [O] macro expansion in source code

2013-08-29 Thread Johannes Rainer
thanks for that solution! I will give it a try! On Thu, Aug 29, 2013 at 5:15 PM, Charles Berry ccbe...@ucsd.edu wrote: Johannes Rainer johannes.rainer at gmail.com writes: hi, I was just wondering if there is a way to use macro expansion also in source code blocks or headers. I