Question: Latex export on Maple 15

Maple 11 did a reasonable job of breaking up long output being exported to LaTeX, but it wasn't always

perfect. I had hoped that Maple 15 would do better, but it seems to do worse.

I can't get it to split long output lines into anything reasonable. The latex command is even worse.

I've tried every "export" option I can think of, without success.

Here is an example (see below):

Does anyone know how to induce Maple 15 to export the following Maple result (in 2D output format) into more than a single LaTeX line (preferably 5 or 6 lines)?

Thank you

 

 ((1/2)*(cos(Pi*(2*n-c-a+2*b))-cos(Pi*(a-c+2*n)))*WPMR(2*m+2*n-1, 2*n-1, 2*a-b+2*c-4*n+1-2*m, 1+2*c-b-2*n, c)*GAMMA(2*n-2*c)*GAMMA(a+1-b+c-2*n)*GAMMA(-a+2*n+2*m)*GAMMA(1+b-c)*GAMMA(b-a+1)/(Pi*sin(Pi*(-c+b+2*n))*GAMMA(b-2*c+2*n)*GAMMA(a+1-b+2*c-2*n)*GAMMA(-a+b-c+2*n+2*m)*GAMMA(-c+1))-(1/4)*WPMR(2*m+2*n-1, 2*m, 2*n-2*a+b+2*m, b, -a+b-c+2*n+2*m)*GAMMA(2*a+1-2*b+2*c-4*n-2*m)*GAMMA(-2*a+b-2*c+4*n+2*m)*GAMMA(-a+2*n+2*m)*GAMMA(1+b-c)*GAMMA(c)*GAMMA(b-a+1)*(-sin(Pi*(b-c+a-2*m))+sin(Pi*(-b-c+a-2*m))+sin(Pi*(3*b+4*n-c-3*a+2*m))-sin(Pi*(b+4*n-c-3*a+2*m)))/(Pi^3*GAMMA(-a+b+2*n+2*m))+(WPMR(2*m+2*n-1, 2*n-1, 2*a-b-2*n+1-2*m, -b+1, -c+2*n)*GAMMA(a+1-b+c-2*n)*GAMMA(2*c-2*n)*GAMMA(-2*a+b-2*c+4*n+2*m)*GAMMA(-a+2*n+2*m)*GAMMA(1+b-c)*(sin(Pi*(-a+2*n+2*b))-sin(Pi*(-2*c+2*n-a+2*b))-sin(Pi*(2*n+a))+sin(Pi*(-2*c+a+2*n)))/(GAMMA(a-b)^2*GAMMA(2*n-2*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