[Top][All Lists]

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

[O] Run lisp code in macros?

From: amscopub-mail
Subject: [O] Run lisp code in macros?
Date: Thu, 28 Apr 2011 13:56:40 -0700 (PDT)

Is there a way to apply text transformations to arguments in macros?

For example, say that you want to change the first argument to capital letters? 
or transpose the letters of the second argument? 

How would you do that? I imagine you would have to run elisp code, perhaps 
babel is the answer?

Sample code:

#+MACRO: test Change $1 to uppercase, somehow.

* Hello World
{{{test(test phrase)}}}

Desired HTML export:

TEST PHRASE to uppercase, somehow.

reply via email to

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