mailing-list for TeXmacs Users

Text archives Help


variant-replace


Chronological Thread 
  • From: Armin Straub <address@hidden>
  • To: address@hidden
  • Subject: variant-replace
  • Date: Wed, 22 Mar 2006 10:32:34 +0100

Hi,

I have found the Scheme macro variant-replace in tm-circulate.scm. Now I
wonder how to rewrite this macro in order to handle arity other than one.

In particular, I want to use this new macro in a shortcut to replace
equation*
with something similar to equation-lab. But I can't use just
(variant-replace "equation*" "equation-lab")
because the latter requires the additional label parameter whereas equation*
just takes the body.

Thanks
--
Armin Straub



Archive powered by MHonArc 2.6.19.

Top of page