format package and exp



I am having an issue with the "format" package and the exponential function.

I tried to simplify the argument of the log function so that I defined 
something like this

logtest(f):=not(atom(f)) and op(f)='log$

Then, after loading the format package with

load("format/format")
load("format/coeflist")

I could do things like this to simplify the arguments in the log function

format(foo,%preformat(%p(match(logtest))),%match(logtest),%arg(1),A2/(A1*(%p(Ib)-1)),%f)

The problem is that when I tried to do the same with the exponential 
function defining

exptest(f):=not(atom(f)) and op(f)='exp$

things doesnt work.

Basically my test function is not finding the exp function.

I tried different combinations of the form %e^ like %e"^" and %e("^") 
and '(%e("^")) and some more but
nothing seems to work as for the log case example.

Could you please help me with the form that MAXIMA wants for the 
exponential operator in this context?

Thanks

Javi


		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y m?viles desde 1 c?ntimo por minuto. 
http://es.voice.yahoo.com