solve



>>>>> "BW" == Barton Willis <willisb at unk.edu> writes:

That shows an interesting buglet.  The TeX ouput for:

BW>  (%o15) %union([y=99/16])

is: 

  \mathrm{\%union}\left(\left[ y=\frac{99}{16} \right] \right)

whereas the TeX for:

BW>  (%o16) %union([y=(8*%i-61/4)/4],[y=-(8*%i+61/4)/4])

is:

  \left[ y=\ifracn{8\,i-\frac{61}{4}}{4} \right]  \cup \left(\left[ y=-\ifracn{8\,i+\frac{61}{4}}{4} \right] \right)

Note the use of \cup when %union() has two args, but of \mathrm{\%union}
when it has less than two args.

Perhaps %union() should simplify to nothing and %union(a) to a ?

-JimC
-- 
James Cloos <cloos at jhcloos.com>         OpenPGP: 1024D/ED7DAEA6