Too many bracket problem



On Tue, Apr 27, 2010 at 12:24 PM, Ron Wiltshire <rjwiltsh at googlemail.com> wrote:
> I have attached a simple file that illustrates the problem of too many
> brackets being included on the output line of a maxima file. Unfortunately I
> can't get rid of them and would welcome any suggestions to present the
> output in a more normal form. Perhaps I'm missing something very simple.
>
> To a large extent the examples I give are cosmetic but in cases of lengthy
> tensor calculation the problem can be serious and result in confusing
> output. The problem never used to arise when I used?the old?MacSyma
> software.
>
> Any thoughts??

Try with the derivabbrev function. Use derivabbrev(false) instead of
derivabbrev:false.

HTH,
Andrej

(defun $derivabbrev (a)
  (if a
      (progn
	(defprop %derivative 130. wxxml-lbp)
	(defprop %derivative 129. wxxml-rbp)
	(setq $derivabbrev t))
      (progn
	(defprop %derivative 120. wxxml-lbp)
	(defprop %derivative 119. wxxml-rbp)
	(setq $derivabbrev nil))))