Question: why infolevel display sometimes does not display some characters?

I do not remember now if this came up before or not. But this has been a problem in Maple for years.

when doing infolevel[dsolve]:=5 and call dsolve(), some of the display on the screen is missing commas and multiplication sign and who know what else. Since it is all replace by space.

This happens only to part of the display. Here is an example (must use restart each time to see the full display)

restart;
ode:=diff(y(x),x) = (-y(x)^2+4*a*x)^2/y(x); 
infolevel[dsolve]:=5;
dsolve(ode);

Here is the output. Using worksheet, V 2025.2 on windows 10 (I am only showing part of the output which has the problem)

Looking at the line where is says "-> Calling odsolve ". Notice the rest. diff(diff(y(x) x) x)  should be diff(diff(y(x),x),x)  and the end of the line has diff(y(x) x)) y(x)  . So one can guess this should be  diff(y(x),x))*y(x) or it could be diff(y(x),x))/y(x) or may be something else.

THis cause a problem when trying to copy it and use it to try it.

Is there something one can do  in settings to fix this part of the display? so nothing is replace by space?

Maple 2025.2 on windows 10

I also tried this in document mode instead of worksheet. Same result. 

Update

Found where this comes from. From `odsolve/2` proc, line 21.

THis is how to see it.

restart;

infolevel[dsolve]:=5;
ode:=diff(y(x),x)=x*y(x)+1/y(x)+y(x)^3;
stopat(`odsolve/2`);
dsolve(ode)

 

Now the debugger will come up. Then do in the debugger:

stopat 21

Click continue, you will now stop at this line

In the worksheet it now shows as

So something in 

 `ODEtools/userinfo`(2,dsolve,`-> Calling odsolve with the ODE`,A);

Is not right. Also the last y(x) was meant to be second item in A which is expression sequence. But in worksheet it all display on one line with no commas between.,

So better formating in ODEtools/useinfo is needed here. For some reason, commas are all replaced by spaces.

 

 

Please Wait...