I just found that Maple 17 and Maple 16 do not have the option "output=string" in the latex command.
And I need a way to convert the Latex generated to the screen to a string and save it to a variable like I can do with Maple 2017
Here is an example. In current Maple 2017 this works
But in Maple 16, it gives an error
If I remove the output, then the result is not string.
How to capture the above output which is on the screen and save it as string in a variable?
I do not want to send the output to a file as is. I need to first convert it to a string, and save
it to variable first.