Is it possible to export a entire MuPAD notebook into LaTeX in the same fashion like Mathematica does? I am familiar with MuPAD latex command but it seems (at least on the first glance) that it is less convenient than export command in Mathematica.
Edit As requested minimal working example of MuPAD notebook.
diff(sin(x), x)
cox(x)
generate::TeX(hold(diff(sin(x),x)))
"\frac{\partial}{\partial x}\sin\!\left(x\right)"
generate::TeX(diff(sin(x),x))
"\cos\!\left(x\right)"
Instead of exporting command and the output separately I would just like to export the entire notebook.
P.S. The MuPAD language has a Pascal-like syntax and allows imperative, functional, and object-oriented programming. Its domains and categories are object-oriented classes that allow overriding and overloading methods and operators, inheritance, and generic algorithms.