Tellsimp and tellsimpafter



Hi List,

I have been trying to get Maxima to change an integral of a sum to the sum of integrals in cases where some of the 
integrals in the sum can be done and some cannot and have had no luck with it at all.  It seems like this cannot be done 
with matchdeclare and tellsimp and tellsimpafter.  I can write a program to do it but I would prefer to know for sure if 
it cannot be done with tellsimp, tellsimpafter and matchdeclare.  I always get a single integral sign of the entire sum.

Example

integrate(x^2*unit_step(x-5) + x,x)
->  integrate(x^2*unit_step(x-5) + x,x)

This form for the answer is of no help to me..

Thanks,

Rich