Question: Error, (in Typesetting:-Parse) too many levels of recursion converting output of ODEsteps to latex

I found that sometimes Maple gives

               Error, (in Typesetting:-Parse) too many levels of recursion

When using the Latex command on the output of Student:-ODEs:-ODESteps

Below is worksheet showing it works for some and gives error for others. Is there a workaround for this? I'd like to convert the steps to Latex.

This happens in worksheet using either Display->Typesetting level as EXTENDED or STANDARD

restart;

interface(version);

`Standard Worksheet Interface, Maple 2024.0, Windows 10, March 01 2024 Build ID 1794891`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1722 and is the same as the version installed in this computer, created 2024, April 12, 17:58 hours Pacific Time.`

ode:=diff(y(x),x)=0;
the_output:=Student:-ODEs:-ODESteps(ode,y(x)):
latex(the_output)

diff(y(x), x) = 0

\begin{array}{ccc}
 & {} & \textrm{Let's solve}
\\
 {} & {} & \frac{d}{d x}y \! \left(x \right)=0
\\
 \textrm{•} & {} & \textrm{Highest derivative means the order of the ODE is}1
\\
 {} & {} & \frac{d}{d x}y \! \left(x \right)
\\
 \textrm{•} & {} & \textrm{Integrate both sides with respect to}x  
\\
 {} & {} & \int \left(\frac{d}{d x}y \! \left(x \right)\right)d x =\int 0d x +\mathit{C1}  
\\
 \textrm{•} & {} & \textrm{Evaluate integral}
\\
 {} & {} & y \! \left(x \right)=\mathit{C1}  
\\
 \textrm{•} & {} & \textrm{Solve for}y \! \left(x \right)
\\
 {} & {} & y \! \left(x \right)=\mathit{C1}  
\end{array}

ode := diff(y(x), x, x, x ) + 3*diff(y(x), x, x) + 4*diff(y(x), x) + 2*y(x) = 0;
the_output:=Student:-ODEs:-ODESteps(ode,y(x)):
latex(the_output)

diff(diff(diff(y(x), x), x), x)+3*(diff(diff(y(x), x), x))+4*(diff(y(x), x))+2*y(x) = 0

Error, (in Typesetting:-Parse) too many levels of recursion

 

 

Download latex_error_ODE_steps_maple_2024_april_13_2024.mw

update: Reported to Maplesoft support.

Please Wait...