[Top][All Lists]

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

[Orgmode] MACRO with multiple arguments?

From: Stefan Vollmar
Subject: [Orgmode] MACRO with multiple arguments?
Date: Tue, 23 Jun 2009 00:15:37 +0200


I need to occasionally export a simple table with two images (so they are nicely aligned in one row). My approach was to use a MACRO:

#+MACRO: my-simple-2table #+HTML: <table><tr><td style="vertical- align:middle;margin-right:0em;margin-left:0em;padding:0;"><img src="./ images/$1"/></td><td style="vertical-align:middle"><img src="./images/ $2"/></td></tr></table>


{{{my-simple-2table(image1, image2)}}}

does not work (MACROs with just one argument work fine in 6.27trans of some minutes ago; MACRO support was broken some hours ago):

$1 -> "image1, image2"
$2 -> ""

I am not sure if this example is supposed to even work at all (there is no such claim in the 6.27 release notes), however, it would be nice if it did! Many thanks in advance!

I am sorry if this topic has been discussed before.

Warm regards,
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: address@hidden   http://www.nf.mpg.de

reply via email to

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